html {
    scroll-behavior: smooth;
}

.tags__btn:hover,
.tags__btn:focus {
    background-color: var(--color-grey);
    border-color: transparent;
}

.tags__btn .tags__name {
    color: var(--color-blue);
}

.tags__btn .tags__quantity {
    color: var(--color-grey-dark);
}

.tags__btn.selected {
    color: var(--color-white);
    background-color: var(--color-blue);
    border-color: transparent;
}

.tags__btn.selected .tags__name{
    color: var(--color-white);
    background-color: var(--color-blue);
    border-color: transparent;
}

.tags__btn.selected:hover .tags__name{
    background-color: var(--color-blue-dark);
}

.tags__btn.selected:hover,
.tags__btn.selected:focus {
    background-color: var(--color-blue-dark);
    border-color: transparent;
}

.message-sent {
    color: var(--color-green-dark);
    font-weight: bold;
    font-size: var(--text-large);
    text-align: center;
}

.article__body ul:not([class]) li {
    display: block;
}

.article__body h2, .article__body h3, .article__body h4 {
    margin: 1rem 0rem;
}

ol {
    list-style-type: none;
    counter-reset: item;
    margin: 0;
    padding: 0;
}

ol > li {
    display: table;
    counter-increment: item;
    margin-bottom: 0.6em;
}

ol > li:before {
    content: counters(item, ".") ". ";
    display: table-cell;
    padding-right: 0.4em;
}

li ol > li {
    margin: 0;
}

li ol > li:before {
    content: counters(item, ".") " ";
}

ol li h2 {
    display: inline;
}

.popup__container {
    background: rgba(0,0,0,.8);
    position: fixed;
    left:0;
    top:0;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 1rem;
    display: none;
}

.popup__email-template {
    background: white;
    border-radius: 1rem;
    position: relative;
    border: 5px solid #f0f0f0;
    width: 100%;
    max-width: 800px;
    padding: 1rem;
    overflow-y: auto;
}

.popup__email-template p {
    margin : 0.5rem 0rem;
}

.popup__email-template a {
    text-decoration: underline;
}

.popup__close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    cursor: pointer;
    font-size: 1.4rem;
}

.popup__buttons {
    display: flex;
    justify-content: end;
    gap: 0.1rem;
}

.copy-icon {
    width: 1rem;
    height: 1rem;
}

.copied-success {
    color: #69F674;
}

.mr-3 {
    margin-right: 5px;
}

.last-updated, .published-at {
    font-size: 0.75rem;
    color: #738B9F;
    margin: 5px 0px;
}

@media(max-width: 480px) {
    .popup__email-template {
        max-height: 600px;
    }
    .popup__buttons > .btn {
        font-size: 0.7rem;
        height: 30px;
    }
}

.article__body img {
    border-radius: 0;
    width: auto;
    height: auto;
    max-width: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    -o-object-position: center;
    object-position: center;
}

.article__body p {
    margin: 12px 0px;
}

.grecaptcha-badge { visibility: hidden; }

.alert {
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid;
    font-size: 1rem;
}

.alert-success {
    background: #dcffe3;
    border-color: #bff1cc;
    text-color: #155022;
}

.alert-error {
    background: #ffdce3;
    border-color: #f1bfcc;
    text-color: #501522;
}

.size-2 {
    font-size: 2rem;
}

.cards__item.partner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cards__item.partner img {
    height: 40px;
}

.info__list {
    align-items: center;
}

.paysystems {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
    justify-content: start;
}

.paysystem {
    max-width: 62px;
}

.legal {
    font-size: 12px;
    color: #909090;
}

.legal img {
    width: 316px;
    height: 36px;
}
.btn_purple {
    background: linear-gradient(135deg, #8e44ad, #6c5ce7);
    color: white;
}
.btn_purple {
    padding: 0 30px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #8e44ad, #6c5ce7);
    color: white;
    border-radius: 12px;
    height: var(--height-btn); /* чтобы кнопка совпадала по высоте */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}