* {
    margin: 0;
    padding: 0;
    font-family: 'Gilroy';
}

.wrapper-article {
    margin-top: 50px;
}

.article {
    display: flex;
    flex-direction: column;
    margin-left: 8%;
    margin-right: 8%;
}

.article-title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.article-title-heading {
    color: var(--text-color);
    font-size: calc(40px * 1.33);
    font-weight: 300;
    margin: 0px;
}

.article-block {
    display: flex;
    margin-top: 50px;
    gap: calc(30px * 1.33);
    justify-content: center;
    align-items: center;
}

.article-subblock {
    display: flex;
    color: var(--text-color);
    flex-grow: 1;
    font-weight: 400;
    width: 100%;
}

.subblock-text {
    line-height: calc(24px * 1.33);
}

.subblock-video {
    justify-content: center;
    width: 100%;
    height: fit-content;
}

.subblock-img {
    justify-content: center;
    width: 100%;
    height: fit-content;
}

.article-subblock-text {
    font-size: calc(20px * 1.33);
    width: 100%;
}

.article-subblock-img, .article-subblock-video {
    border: 0;
    border-radius: 15px;
    margin: 0px;
    width: 100%;
}

.subblock-subarticle {
    display: flex;
    margin-top: 50px;
}

.article-subblock-subheading {
    color: var(--text-color);
    font-size: calc(40px * 1.33);
    font-weight: 600;
    margin: 0px;
}

.alignment-left {
    text-align: left;
    padding-right: 25px;
}

.alignment-center {
    text-align: center;
}

.alignment-right {
    text-align: right;
    padding-left: 25px;
}

.style-bold {
    font-weight: bold;
}

.style-italics {
    font-style: italic;
}

.style-regular {
    font-style: normal;
}

.back-catalog {
    width: calc(150px * 1.33);
    height: calc(54px * 1.33);
    display: flex;
    margin-top: 38px;
    margin-left: auto;
    margin-right: auto;
}

.back-catalog-btn {
    width: 100%;
    height: 100%;
    display: flex;
    background-color: var(--text-color);
}

.cart-buy-btn:active {
    -webkit-box-shadow: 0px 5px 7px rgba(0, 0, 0, 0.3);
     -moz-box-shadow: 0px 5px 7px rgba(0, 0, 0, 0.3);
          box-shadow: 0px 5px 7px rgba(0, 0, 0, 0.3);
    outline: none;
}

.back-catalog-btn-text {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Gilroy';
    color: var(--background-color);
    font-weight: 700;
    font-size: calc(16px * 1.33);
}

/* =========================
   Responsive enhancements
   ========================= */

/* Tablet and down */
@media (max-width: 1024px) {
    .wrapper,
    .container,
    .article,
    .article-content {
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    .article-block {
        /* Reduce vertical rhythm a bit on narrower screens */
        margin-top: 16px;
        margin-bottom: 16px;
    }

    /* Make any multi-column block stack vertically */
    .article-block,
    .subblock-subarticle {
        display: grid;
        gap: 32px;
    }

    .article-subblock {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 0;
    }

    /* Images scale to viewport width */
    .wrapper img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* Headings and text spacing */
    h1, h2, h3 {
        line-height: 1.2;
        word-wrap: break-word;
    }

    p, li {
        line-height: 1.6;
    }

    /* Alignment helpers become centered on narrow screens */
    .alignment-left,
    .alignment-right {
        float: none !important;
        text-align: left;
        padding-left: 0;
    }
    .alignment-center,
    .align-center {
        text-align: left;
    }

    /* Tables: horizontal scroll if overflow */
    .article table,
    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-collapse: collapse;
    }
    table td, table th {
        white-space: nowrap;
    }

    /* Pre/code blocks: wrap or scroll */
    pre, code, pre code {
        white-space: pre-wrap;
        word-break: break-word;
    }
    pre {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 12px;
        border-radius: 8px;
    }

    /* Videos/iframes: keep aspect ratio */
    iframe, video {
        max-width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    /* Lists indentation for readable bullets */
    ul, ol {
        padding-left: 1.25rem;
    }

    .article-subblock-subheading {
        font-size: calc(26px + 2vw);
    }

    .wrapper-article {
        margin-top: 0px;
    }
}

/* Phones and very narrow screens */
@media (max-width: 640px) {

    .article-block,
    .subblock-subarticle {
        display: grid;
        gap: 24px;
    }

    .article {
        margin: 0;
    }

    .article-block {
        margin-top: 12px;
        margin-bottom: 12px;
        justify-content: left;
    }

    .article-title {
        justify-content: left;
        margin-top: 25px;
        margin-bottom: 25px;
    }

    /* Buttons and links are easier to tap */
    a, button {
        line-height: 1.15;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }

    h1, h2, h3 {
        font-size: calc(16px * 1.33);
        line-height: 1.2;
        word-wrap: break-word;
    }

    .article-title-heading {
        font-size: calc(20px + 3vw);
    }

    .article-subblock-text {
        font-size: calc(16px* 1.33);
    }

    .article-subblock-img {
        border-radius: 5px;
    }

    .article-subblock-subheading {
        font-size: calc(16px + 2vw);
    }

}

/*!* Support safe-area on devices with notches *!*/
/*@supports (padding: max(0px)) {*/
/*    @media (max-width: 640px) {*/
/*        body {*/
/*            padding-left: max(16px, env(safe-area-inset-left));*/
/*            padding-right: max(16px, env(safe-area-inset-right));*/
/*        }*/
/*    }*/
/*}*/