.container:has(.mark_drugs) {
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
}

.container:has(.mark_drugs) .col-12:not(:last-child) {
    display: none;
}
.container:has(.mark_drugs) .col-12:last-child {
    margin-top: 0;
}

.mark__banner {
    height: 60vw;
    background-image: url(./banner.webp);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: contain;
}

.mark__title {
    display: none;
}

.page h2.mark__title {
    margin-bottom: 0;
    font-size: 1.25em;
}

.mark__title {
    margin-bottom: 0;
    padding: 0.9em;
    font-size: 1.25em;
    text-transform: uppercase;
    color: var(--color-white);
    background-color: var(--color-primary);
}

.mark__container {
    width: 100%;
    padding-right: var(--block-offset);
    padding-left: var(--block-offset);
}

.mark__intro {
    font-size: 1.25em;
    color: #000000;
}

.page p.mark__intro {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.mark__section {
    margin-top: 3em;
    margin-bottom: 3em;
}

.mark__section_white {
    padding: 1em;
    background-color: var(--color-white);
}

.mark__section_shadow {
    box-shadow: 0 10px 25px 0 rgba(76, 86, 86, 0.25);
}

.mark_drugs img {
    width: 100%;
    height: auto;
}

.page .mark h3 {
    margin-bottom: 1em;
    font-size: 1.5em;
}

.mark__products {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
    background-color: var(--color-white);
    list-style: none;
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.15);
}

.mark__products > li {
    display: flex;
    flex-direction: column;
}

.mark__products-hints {
    order: 1;
    padding: 0.25em 1em;
    background-color: var(--color-secondary);
}

.mark__products-data {
    order: 2;
    padding: 1em;
    border-right: 1px solid #c6c9cb;
    border-bottom: 1px solid #c6c9cb;
    border-left: 1px solid #c6c9cb;
}

.mark__products-target {
    font-weight: 700;
    text-transform: uppercase;
}

.mark__list {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.mark__list_dotted > li {
    display: flex;
    align-items: baseline;
}

.mark__list_dotted > li:not(:last-child) {
    margin-bottom: 1em;
}

.mark__list_dotted > li::before {
    flex-shrink: 0;
    position: relative;
    bottom: 0.15625em;
    display: inline-block;
    width: 0.375em;
    height: 0.375em;
    margin-right: 0.625em;
    background-color: var(--color-secondary);
    border-radius: 50%;
    content: '';
}

.mark__products-tabs {
    display: none;
}

.mark__list_checked > li {
    display: flex;
}

.mark__list_checked > li:not(:last-child) {
    margin-bottom: 1em;
}

.mark__list_checked > li::before {
    position: relative;
    top: -7px;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    margin-right: 0.75em;
    line-height: 1;
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' fill='none'%3E%3Cpath fill='%23FDC700' d='M15 30c8.284 0 15-6.716 15-15 0-8.284-6.716-15-15-15C6.716 0 0 6.716 0 15c0 8.284 6.716 15 15 15Z'/%3E%3Cpath stroke='%23454240' stroke-width='2' d='m8.684 14.116 5.112 4.831 7.52-7.105'/%3E%3C/svg%3E");
}

.mark__howto {
    margin-bottom: 0;
    padding: 1em;
    background-color: var(--color-white);
    box-shadow: 0 10px 25px 0 rgba(76, 86, 86, 0.15);
}

.mark__howto-items {
    display: flex;
    flex-wrap: wrap;
    margin: calc(var(--block-offset) * -1);
    padding-left: 0;
    list-style: none;
}

.mark__howto-items > * {
    width: 50%;
    padding: var(--block-offset);
}

.mark__howto-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mark__howto-label {
    text-align: center;
}

.mark__howto-label:not(:first-child) {
    margin-top: 1em;
}

.mark__icon {
    font-size: 2.875em;
}

.mark__icon_rounded {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.521739130em;
    height: 1.521739130em;
}

.mark__icon_rounded::before {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: 2px solid currentColor;
    border-radius: 50%;
    z-index: 1;
    content: '';
}

.mark__icon_dawn {
    position:  relative;
}

.mark__icon_dawn::after {
    position: absolute;
    top: -14px;
    left: -14px;
    flex-shrink: 0;
    display: block;
    width: 1em;
    height: 1em;
    background-color: var(--color-secondary);
    border-radius: 50%;
    z-index: 0;
    content: '';
}

.mark__icon_dawn .icon {
    z-index: 1;
}
.mark__offer {
    margin-top: 2em;
    padding: 1.5em 1em;
    background-image: url(./offer-bg.webp);
    background-size: cover;
}

.mark__offer-3 {
    width: 200px;
    margin-top: 1em;
    margin-right: auto;
    margin-left: auto;
    padding-top: 225px;
    background-image: url(./discount.webp);
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: auto;
}

.page .mark h3.mark__offer-title,
.page .mark p.mark__offer-title {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 1em;
}

.page .mark p.mark__offer-title {
    font-size: 1.2em;
}

.page .mark .mark__offer-2 {
    font-size: 1.25em;
}

.mark__offer ul {
    margin-top: 0;
}

.page .mark .mark__offer-3 p {
    margin-left: 0.75em;
    margin-bottom: 1em;
    font-size: 1.25em;
    font-weight: 700;
}

.mark__offer-pros {
    font-size: 2em;
}

.mark__offer ul:not(:last-child) {
    margin-bottom: 1em;
}

.mark__footer {
    margin-top: 3em;
    margin-bottom: 3em;
    text-align: center;
}

.mark__footer button {
    max-width: 220px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .br-sm {
        display: block;
    }

    .mark__banner {
        height: auto;
        padding-top: 7.5em;
        padding-bottom: 7.5em;
        background-image: url(./banner_bg_2.webp), linear-gradient(to right, rgba(255, 204, 0, 0.6), rgba(255, 228, 0, 0.6)), url(./banner_bg_1.webp);
        background-repeat: no-repeat;
        background-size: auto, auto, cover;
        background-position: 100% 100%, 0 0, 0 0;
    }

    .mark__title {
        display: block;
        width: 58%;
    }

    .page p.mark__intro {
        margin-top: 2em;
        margin-bottom: 2em;
    }

    .page .mark h3 {
        margin-bottom: 1.5em;
    }

    .mark__section_white {
        padding: 2em;
    }

    .mark__offer-items {
        display: grid;
        grid-template-columns: 58% auto;
        gap: 1.125em;
    }

    .mark__offer-1 {
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 1;
        grid-row-end: 2;
    }

    .mark__offer-2 {
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 2;
        grid-row-end: 3;
    }

    .mark__offer-3 {
        grid-column-start: 2;
        grid-column-end: 3;
        grid-row-start: 1;
        grid-row-end: 3;
        align-self: end;
    }
}

@media (min-width: 768px) {
    .page h2.mark__title {
        font-size: 1.5em;
    }

    .mark__banner {
        padding-top: 9em;
        padding-bottom: 9em;
        background-image: url(./banner_bg_2_md.webp), linear-gradient(to right, rgba(255, 204, 0, 0.6), rgba(255, 228, 0, 0.6)), url(./banner_bg_1_md.webp);
    }

    .mark__title {
        width: 50%;
        padding: 0.75em;
    }

    .mark__section {
        margin-top: 5em;
        margin-bottom: 5em;
    }

    .mark__section_white {
        padding: 2.5em 1.75em;
    }

    .mark__products-data {
        display: flex;
        padding: 0;
    }

    .mark__products-data > * {
        padding: 1em;
    }

    .mark__products-data > :first-child {
        width: 40%;
        border-right: 1px solid #c6c9cb;
    }

    .mark__products-data > :last-child {
        width: 60%;
        border-left: 1px solid #c6c9cb;
    }

    .page p.mark__products-target {
        margin-bottom: 0;
    }

    .mark__advantages {
        display: flex;
        flex-wrap: wrap;
        margin: calc(var(--block-offset) * -1);
    }

    .mark__advantages > * {
        width: 50%;
        margin-bottom: 0 !important;
        padding: var(--block-offset);
    }

    .mark__advantages > :nth-child(1) {
        order: 1;
    }

    .mark__advantages > :nth-child(4) {
        order: 2;
    }

    .mark__advantages > :nth-child(2) {
        order: 3;
    }

    .mark__advantages > :nth-child(5) {
        order: 4;
    }

    .mark__advantages > :nth-child(3) {
        order: 5;
    }

    .mark__advantages > :nth-child(6) {
        order: 6;
    }

    .mark__howto {
        margin-bottom: 2em;
        padding: 2em 1.5em;
    }

    .page .mark__howto h3 {
        margin-bottom: 2em;
    }

    .mark__howto-item {
        flex-direction: row;
    }
    .mark__howto-item > :first-child {
        flex-shrink: 0;
        margin-left: 14px;
    }

    .mark__howto-label:not(:first-child) {
        margin-top: 0;
        margin-left: 1em;
        text-align: left;
    }

    .mark__offer {
        background-image: url(./offer-bg-md.webp);
    }

    .mark__footer {
        margin-bottom: 5em;
    }
}

@media (min-width: 992px) {
    .nobr-lg {
        display: inline;
    }

    .mark__banner {
        background-image: url(./banner_bg_2_md.webp), linear-gradient(to right, rgba(255, 204, 0, 0.6), rgba(255, 228, 0, 0.6)), url(./banner_bg_1_lg.webp);
    }

    .mark__title {
        width: 64%;
    }

    .mark__products {
        display: flex;
    }

    .mark__products > li {
        width: 33.333333333%;
        border-right: 1px solid #e2e3e5;
        border-bottom: 1px solid #c6c9cb;
        border-left: 1px solid #e2e3e5;
    }

    .mark__products > li:first-child {
        border-left-color: #c6c9cb;
        border-right-width: 0;
    }

    .mark__products > li:last-child {
        border-right-color: #c6c9cb;
        border-left-width: 0;
    }

    .mark__products-data {
        flex-direction: column;
        border: none;
    }

    .mark__products-data > :first-child,
    .mark__products-data > :last-child {
        width: 100%;
        border: none;
    }

    .mark__products-data > * {
        padding: 1.5em 2em;
    }

    .mark__products-target {
        border-top: 1px solid #c6c9cb !important;
        border-bottom: 1px solid #c6c9cb !important;
    }

    .mark__products-hints {
        border: 0 !important;
        clip: rect(1px, 1px, 1px, 1px) !important;
        -webkit-clip-path: inset(50%) !important;
        clip-path: inset(50%) !important;
        height: 1px !important;
        margin: -1px !important;
        overflow: hidden !important;
        padding: 0 !important;
        position: absolute !important;
        width: 1px !important;
        white-space: nowrap !important;
    }

    .mark__products-tabs {
        position: relative;
        bottom: -1px;
        display: flex;
    }

    .mark__products-tabs > span {
        width: 33.333333333%;
    }

    .mark__products-tabs > span > span {
        display: inline-block;
        margin-right: auto;
        padding: 0.5em 2em;
        background-color: var(--color-secondary);
        border-top-right-radius: 1em;
        border-top-left-radius: 1em;
    }

    .mark__footer {
        margin-top: 3.5em;
        margin-bottom: 3.5em;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .mark__products-target {
        min-height: 98px;
    }
}

@media (min-width: 1200px) {
    .mark__section {
        margin-top: 3em;
        margin-bottom: 3em;
    }

    .mark__advantages > * {
        width: 33.333333333%;
    }

    .mark__howto {
        padding: 0;
        background-color: transparent;
        box-shadow: none;
    }

    .mark__howto-items {
        margin: -1em -0.5em;
    }

    .mark__howto-items > * {
        width: 33.333333333%;
        padding: 1em 0.5em;
    }

    .mark__howto-item {
        height: 100%;
        padding: calc(2em + 14px) 2em 2em;
        background-color: var(--color-white);
        box-shadow: 0 10px 25px 0 rgba(76, 86, 86, 0.15);
    }

    .mark__offer {
        background-image: url(./offer-bg-lg.webp);
    }

    .mark__offer-items {
        grid-template-columns: 33% 33% 33%;
        background-image: url(./discount-lg.webp);
        background-position: 100% 50%;
        background-size: auto;
        background-repeat: no-repeat;
    }

    .mark__offer-1 {
        grid-row-start: 1;
        grid-row-end: 3;
    }

    .mark__offer-2 {
        grid-row-start: 1;
        grid-row-end: 2;
        grid-column-start: 2;
        grid-column-end: 3;
        text-align: center;
    }

    .mark__offer-3 {
        grid-column-start: 2;
        grid-column-end: 3;
        grid-row-start: 2;
        grid-row-end: 3;
        padding-top: 0;
        text-align: center;
        background-image: none;
    }
}

@media (min-width: 1366px) {
    .container:has(.mark_drugs) {
        max-width: 1320px;
        padding-right: var(--block-offset);
        padding-left: var(--block-offset);
    }

    .mark__container {
        padding-right: 0;
        padding-left: 0;
    }

    .mark__banner {
        background-image: url(./banner_bg_2_lg.webp), linear-gradient(to right, rgba(255, 204, 0, 0.6), rgba(255, 228, 0, 0.6)), url(./banner_bg_1_xl.webp);
    }

    .page p.mark__intro {
        margin-top: 2.5em;
        margin-bottom: 2.5em;
    }

    .mark__section_white {
        padding: 4em 3.625em;
    }

    .page .mark h3 {
        font-size: 2em;
    }
}
