/* Header */

html .header__wrap .header__logo-link {
    max-height: calc(100% + 30px);
}

html .header__logo {
    max-height: calc(100% + 30px);
}

html a.main-navigation__logo-link {
    position: relative;
}

html .header__info-button--fav {
    height: 24px;
    padding: 0;
    width: 24px;
}

html .top-bar {
    display: none;
}

.header.priority .header__wrap .nav-button.nav-button--red-with-text{
    display: none;
}

html .main-navigation .fav-button--nav {
    filter: invert(1) hue-rotate(180deg);
}

.header__wrap .header__logo-link {
    justify-content: flex-start;
    max-width: 240px;
}

.header__wrap .main-navigation__link {
    font-size: 16px;
}

span.header__info-button-text {
    display: none
}

span.header__info-button-text {
    display: none;
}

html button.main-navigation__menu-toggler {
    display: none;
}

.header__button-wrapper {
    align-items: center;
    background: #202020;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    height: 54px;
    justify-content: center;
    transition: 0.15s ease-in-out;
    width: 54px;
}

header .header__button-wrapper svg {
    transition: 0.15s ease-in-out;
}

header.sticky .header__button-wrapper {
    height: 37px;
    width: 37px;
}

header.sticky .header__button-wrapper svg {
    transform: scale(0.8);
}

button.header__info-button.header__info-button--cart svg {
    margin-right: 0;
    position: relative;
}

button.header__info-button.header__info-button--cart {
    padding: 0;
}

button.header__info-button.header__info-button--cart span.cart-amount.header__cart-amount {
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    height: 20px;
    left: calc(50% + 14px);
    line-height: 15px;
    position: absolute;
    text-align: center;
    top: calc(50% - 17px);
    transform: translate(-50%, -50%);
    transition: 0.15s ease-in-out;
    width: 20px;
    /* background: #f1d7ff; */
    /* color: black; */
}

html .cart-amount {
    background: #7056B3;
    color: #fff;
    /* filter: invert(1) hue-rotate(167deg) brightness(0.97) saturate(1.7); */
}

html .cart-button {
    background-image: none;
}

html .cart-button i {
    background-color: transparent;
    background-image: url(../../img/cart-icon.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    border: 0;
    display: block;
    filter: invert(1);
    height: 24px;
    position: relative;
    width: 24px;
}

header.sticky button.header__info-button.header__info-button--cart span.cart-amount.header__cart-amount {
    left: calc(50% + 8px);
    top: calc(50% - 14px);
}

.cart-success .h1-heading.heading{
    color: #fff;
}

.cart-success__text{
    color: #fff;
}

html .header__button-wrapper.mr-40,
html .header__button-wrapper.mr-40.smallBasketNode.desktop-basket {
    margin-right: 20px;
}

html header.sticky .header__button-wrapper.mr-40,
html header.sticky .header__button-wrapper.mr-40.smallBasketNode.desktop-basket {
    margin-right: 10px;
}

html .js--linked-items section.ajax_load {
    display: flex;
    flex-direction: column;
}

html .js--linked-items section.ajax_load .grid-wrapper__items .card-component-wrapper__grid {
    --grid-column-count: 4;
    --gap-count: calc(var(--grid-column-count) - 1);
    display: grid;
    --total-gap-width: calc(var(--gap-count) * var(--grid-layout-gap));
    grid-gap: var(--grid-layout-gap);
    grid-template-columns: repeat(auto-fill, minmax(max(var(--grid-item--min-width), var(--grid-item--max-width)), 1fr));
    --grid-item--max-width: calc((100% - var(--total-gap-width)) / var(--grid-column-count));
    --grid-item--min-width: 280px;
    --grid-layout-gap: 20px;
    padding-top: 40px;
}

html .js--linked-items section.ajax_load .grid-wrapper__items .card-component-wrapper__grid .card-component-wrapper {
    max-width: initial;
}

html .js--linked-items section.ajax_load .grid-wrapper__items .card-component-wrapper__grid .card-component-wrapper.blank {
    display: none;
}

html .priority-catalog {
    margin-bottom: 40px;
}

html .store-node {
    display: none;
}

html .basket-header .heading.basket__title {
    order: 0;
}

html .basket-header .basket-header__clear {
    order: 2;
}

html .basket-header .basket__counter {
    order: 1;
}

html .basket-header .download-calculator {
    order: 3;
}

html .basket-header .basket-share {
    order: 4;
}

html .basket-address .basket-address-info a {
    color: #fff;
}

html .basket-address .basket-address__list,
html .basket-address .basket-address__list-item,
html .basket-address__list-item-delete,
html .basket-address .basket-address__group input,
html .basket-address .basket-address__group textarea {
    border-color: #404040;
}

html .basket-address .basket-address__list-item p {
    color: #fff;
}

html .basket-address__list-item-delete {
    background: transparent;
}

html .basket-address .basket-address__list-item:hover,
html .basket-address .basket-address__list-item.waiting-btn {
    background-color: #3e0b72;
}

html .basket-address .basket-address__group label > span,
html .basket-address .basket-address__group input,
html .basket-address .basket-address__group textarea,
html .express-address .express-address__group label > span,
html .express-address .express-address__group input,
html .express-address .express-address__group textarea,
html .basket-address__label .checkbox,
html .basket-address ul.basket-address__expander,
html .basket-address .jsCalendar,
html .basket-address ul.basket-address__expander:after,
html .basket-address .jsCalendar:after,
html .basket-delivery__label.basket-delivery__label--no-icon input,
html .basket-commentary .basket-commentary__textarea:focus,
html .basket-address .basket-info__tooltip,
html .basket-address .basket-info__tooltip:after {
    background-color: #191919;
    border-color: #404040;
    color: #fff;
}

html .jsCalendar.clean-theme table {
    color: #fff;
}

html .basket-address .jsCalendar.clean-theme thead .jsCalendar-nav-left:after,
.basket-address .jsCalendar.clean-theme thead .jsCalendar-nav-right:after {
    filter: brightness(0) invert(1);
}

html .basket-address .jsCalendar.clean-theme tbody td,
html .basket-address .jsCalendar.clean-theme tbody td.jsCalendar-current {
    background: #2c2c2c;
    color: #fff;
}

html .basket-address .jsCalendar.clean-theme tbody td.jsCalendar-next,
html .basket-address .jsCalendar.clean-theme tbody td.jsCalendar-previous {
    color: #5d5c5c;
    opacity: 1;
}

html .basket-address .jsCalendar.clean-theme tbody td.jsCalendar-selected {
    background-color: #3e0b72;
}

html .basket-address ul.basket-address__expander:after,
html .basket-address .jsCalendar:after,
html .basket-address .basket-info__tooltip:after {
    border-bottom-color: transparent;
    border-right-color: transparent;
}

html .basket-address ul.basket-address__expander.new .expander-item__later:hover a,
html .basket-address ul.basket-address__expander.new .expander-item__later.expander-item__last a {
    background-color: #3e0b72;
    color: #ebebf7;
}
html .basket-address ul.basket-address__expander.new .expander-item__later a {
    background-color: #191919;
    color: #ebebf7;
}

html .basket-address ul.basket-address__expander.new li:after,
html .basket .basket-address-info__selector i {
    filter: invert(1);
}

html .express-address .basket-address__edit-preloader {
    background: #191919ee;
}

html .express-address .express-address__group .express-address__important input,
html .express-address .express-address__group .express-address__important textarea {
    border-color: #848484;
}

html .suggestions-wrapper {
    color: black;
    filter: invert(0.9) hue-rotate(210deg);
    z-index: 10;
}

html .express-address__warning {
    background-color: #CE8A5E;
    color: #F9DFCE;
}

html .express-address__warning:after {
    filter: brightness(1.76) saturate(0.4) hue-rotate(-15deg);
    left: 12px;
}

html .promocodes__field .main-button {
    background-color: #191919;
    border: 1px solid #404040;
    border-left-width: 0;
    color: #fff;
}

html .promocodes__field .main-button:hover {
    background-color: #3e0b72b3;
}

html .main-field{
    background-color: var(--color-background-bright);
}

html .promocodes__field .main-field {
    background-color: #000;
    border-color: #404040;
}

html .item-wr {
    border-left: 1px solid #404040;
    border-right: 1px solid #404040;
}

html .header__info-button:hover svg {
    stroke: #7d5fbc;
}

a.main-navigation__btn {
    align-items: center;
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    display: flex;
    flex-direction: row;
    font-size: 16px;
    justify-content: center;
    margin-left: 66px;
    padding: 8px 19px;
    transition: 0.25s ease-in-out;
    white-space: nowrap;
}

a.main-navigation__btn:hover {
    background-color: #fff3;
    color: #fff;
    text-decoration: none;
}

.header__menu .main-navigation__link:hover {
    color: #9A9A9A;
}

.header__info {
    margin-left: 20px;
}

@media (min-width: 971px) {
    .header__menu .main-navigation__item:hover .main-navigation__container {
        top: 103px;
    }
    .header__menu .main-navigation__list {
        margin: -28px auto;
        min-height: 110px;
    }
}
.header__wrap .main-navigation__link {
    font-size: 18px;
    font-weight: 400;
}

html .favorites .wrapper {
    padding: 0 20px;
}

/* Catalog */
html body i.icon-flag {
    background-size: 22px 16px;
}
html .card-component__wine-sort {
    height: 18px;
    min-width: 18px;
    width: 18px;
}
html i.icon-comp {
    height: 22px;
    width: 22px;
}

html .card-component__img-bg {
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 0;
    height: calc(100% - 10px);
    left: 50%;
    opacity: 1;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    transition: 0.3s ease-in;
    width: 100%;
    z-index: 0;
}

html .basket-list .card-component__img-bg {
    height: 70%;
    left: 120px;
    top: calc(50% + 10px);
    transform: translate(-50%, -50%);
}

html .catalog-content__cards .card-component-wrapper:nth-child(8n + 1) .card-component__img-bg,
html .basket-list .basket-list__item:nth-child(8n + 1) .card-component__img-bg,
html .priority-catalog .card-component-wrapper:nth-child(8n + 1) .card-component__img-bg {
    background-image: url(../../img/priority/collection-card-bg-1.svg);
}

html .catalog-content__cards .card-component-wrapper:nth-child(8n + 2) .card-component__img-bg,
html .basket-list .basket-list__item:nth-child(8n + 2) .card-component__img-bg,
html .priority-catalog .card-component-wrapper:nth-child(8n + 2) .card-component__img-bg {
    background-image: url(../../img/priority/collection-card-bg-2.svg);
}

html .catalog-content__cards .card-component-wrapper:nth-child(8n + 3) .card-component__img-bg,
html .basket-list .basket-list__item:nth-child(8n + 3) .card-component__img-bg,
html .priority-catalog .card-component-wrapper:nth-child(8n + 3) .card-component__img-bg {
    background-image: url(../../img/priority/collection-card-bg-3.svg);
}

html .catalog-content__cards .card-component-wrapper:nth-child(8n + 4) .card-component__img-bg,
html .basket-list .basket-list__item:nth-child(8n + 4) .card-component__img-bg,
html .priority-catalog .card-component-wrapper:nth-child(8n + 4) .card-component__img-bg {
    background-image: url(../../img/priority/collection-card-bg-4.svg);
}

html .catalog-content__cards .card-component-wrapper:nth-child(8n + 5) .card-component__img-bg,
html .basket-list .basket-list__item:nth-child(8n + 5) .card-component__img-bg,
html .priority-catalog .card-component-wrapper:nth-child(8n + 5) .card-component__img-bg {
    background-image: url(../../img/priority/collection-card-bg-5.svg);
}

html .catalog-content__cards .card-component-wrapper:nth-child(8n + 6) .card-component__img-bg,
html .basket-list .basket-list__item:nth-child(8n + 6) .card-component__img-bg,
html .priority-catalog .card-component-wrapper:nth-child(8n + 6) .card-component__img-bg {
    background-image: url(../../img/priority/collection-card-bg-6.svg);
}

html .catalog-content__cards .card-component-wrapper:nth-child(8n + 7) .card-component__img-bg,
html .basket-list .basket-list__item:nth-child(8n + 7) .card-component__img-bg,
html .priority-catalog .card-component-wrapper:nth-child(8n + 7) .card-component__img-bg {
    background-image: url(../../img/priority/collection-card-bg-7.svg);
}

html .catalog-content__cards .card-component-wrapper:nth-child(8n + 8) .card-component__img-bg,
html .basket-list .basket-list__item:nth-child(8n + 8) .card-component__img-bg,
html .priority-catalog .card-component-wrapper:nth-child(8n + 8) .card-component__img-bg {
    background-image: url(../../img/priority/collection-card-bg-8.svg);
}

html .catalog-content__cards .card-component-wrapper .card-component:hover .card-component__img-bg.card-component__img-bg_white,
html .basket-list .basket-list__item:hover .card-component__img-bg.card-component__img-bg_white,
html .priority-catalog .card-component-wrapper:hover .card-component__img-bg.card-component__img-bg_white {
    filter: sepia(1) brightness(1.2) saturate(1) hue-rotate(0deg);
    transition: 0.2s ease-out;
}

html .catalog-content__cards .card-component-wrapper .card-component:hover .card-component__img-bg.card-component__img-bg_red,
html .basket-list .basket-list__item:hover .card-component__img-bg.card-component__img-bg_red,
html .priority-catalog .card-component-wrapper:hover .card-component__img-bg.card-component__img-bg_red {
    filter: sepia(1) brightness(0.7) saturate(4) hue-rotate(-50deg);
    transition: 0.2s ease-out;
}

html .catalog-content__cards .card-component-wrapper .card-component:hover .card-component__img-bg.card-component__img-bg_pink,
html .basket-list .basket-list__item:hover .card-component__img-bg.card-component__img-bg_pink,
html .priority-catalog .card-component-wrapper:hover .card-component__img-bg.card-component__img-bg_pink {
    filter: sepia(1) brightness(1.2) saturate(0.8) hue-rotate(280deg);
    transition: 0.2s ease-out;
}

.card-component__img-bg.card-component__img-bg_white {
    /* background-color: #e4c990; */
}

.card-component__img-bg.card-component__img-bg_red {
    /* background-color: #b72637; */
}

.card-component__img-bg.card-component__img-bg_pink {
    /* background-color: #ffcce6; */
}

/* html .detail-crumbs__item:first-child, */
html a.detail-contacts__link:first-child {
    margin-right: initial;
    max-width: initial;
    width: initial;
}

/* html .detail-crumbs__item:first-child, */
html a.detail-contacts__link:first-child {
    margin-right: initial;
    max-width: initial;
    width: initial;
}

/* html .detail-crumbs, */
html .detail-contacts {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* html .detail-crumbs .detail-crumbs__item, */
html .detail-contacts a.detail-contacts__link {
    flex-basis: 33.33%;
    padding: 12px 0;
    position: relative;
}

/* html .detail-crumbs .detail-crumbs__item:nth-child(3n + 1):before, */
html .detail-contacts a.detail-contacts__link:nth-child(3n + 1):after {
    background: #404040;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    top: 0;
    width: 300%;
}

/* html .detail-crumbs .detail-crumbs__item, */
html .detail-contacts a.detail-contacts__link {
    align-items: flex-start;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

/* html .detail-crumbs .detail-crumbs__item .detail-crumbs__title, */
html html .detail-contacts .detail-contacts__link .detail-crumbs__title {
    height: 36px;
    max-width: 150px;
    order: 2;
    overflow: hidden;
}

/* html .detail-crumbs .detail-crumbs__item .card-component__icon, */
html .detail-contacts .detail-contacts__link .card-component__icon {
    margin-right: 10px;
    order: 1;
}

html .detail-contacts a.detail-contacts__link {
    min-height: 40px;
    padding-left: 40px;
}

html .detail-contacts__link {
    margin-right: 0;
}

html .detail-contacts__link::before {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}


html .catalog-content__cards .special-offer__item {
    margin-bottom: 30px;
}

html .card-component__img {
    height: 200px;
    margin: 10px auto 20px;
}

html .card-component--vertical .card-component__img-wrapper {
    margin-top: -10px;
}

html .catalog-information {
    top: 55px;
    z-index: 10;
}

html .card-component__sticker {
    height: 22px;
    min-height: 22px;
}

html .card-component__crumbs-wrapper {
    margin-bottom: 12px;
}

html .card-component__name {
    margin-bottom: 12px;
}

html .breadcrumbs__item:last-child .breadcrumbs__link {
    color: #7D5FBC;
}

html .card-component__stock-wrapper-status.card-component__stock-wrapper-status--in {
    color: #7d5fbc;
}

html .card-component__stock-wrapper-status.card-component__stock-wrapper-status--in i {
    background-color: #7d5fbc;
}

/* News and events */
.priority-news .priority-news__title {
    color: #FFFFFF;
    display: inline-flex;
    font-size: 46px;
    font-style: normal;
    font-weight: normal;
    line-height: 59px;
    margin: 50px 0;
    position: relative;
    text-transform: uppercase;
    hyphens: auto;
    max-width: 100%;
    overflow: hidden;
}

.priority-news .priority-news__title:after {
    background-image: url(../../img/priority/title-dots-blue.svg);
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    height: 42px;
    left: -24px;
    position: absolute;
    top: -18px;
    width: 177px;
    z-index: -1;
}

.priority-events {
    background-image: url(../../img/priority/news-banner.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 460px;
    position: relative;
    width: 100%;
}

.priority-events .wrapper {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.priority-events .priority-events__title {
    color: #FFFFFF;
    font-size: 46px;
    font-style: normal;
    font-weight: normal;
    line-height: 59px;
    margin-bottom: 21px;
    text-transform: uppercase;
}

.priority-events .priority-events__description {
    color: #FFFFFF;
    font-size: 24px;
    font-style: normal;
    font-weight: normal;
    line-height: 31px;
    margin-bottom: 36px;
}

.priority-events .priority-events__button {
    background: #3e0b72;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-flex;
    font-size: 18px;
    font-style: normal;
    font-weight: normal;
    line-height: 23px;
    padding: 15px 50px;
    text-align: center;
    text-decoration: none;
    transition: 0.25s ease-in-out;
}

.priority-events .priority-events__button:hover {
    background: #3e0b72aa;
    text-decoration: none;
}

.priority-news .priority-news__grid {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    margin: 0;
    width: 100%;
}

.priority-news .priority-news__grid .priority-news__grid-items {
    --grid-column-count: 3;
    --gap-count: calc(var(--grid-column-count) - 1);
    display: grid;
    --total-gap-width: calc(var(--gap-count) * var(--grid-layout-gap));
    grid-gap: var(--grid-layout-gap);
    grid-template-columns: repeat(auto-fill, minmax(max(var(--grid-item--min-width), var(--grid-item--max-width)), 1fr));
    --grid-item--max-width: calc((100% - var(--total-gap-width)) / var(--grid-column-count));
    --grid-item--min-width: 280px;
    --grid-layout-gap: 30px;
    margin-bottom: 30px;
}

.priority-news .priority-news__grid-item {
    background: #0f0f0f;
    margin: 0;
    text-decoration: none;
    width: 100%;
}

.priority-news .priority-news__grid-item:hover {
    text-decoration: none;
}

.priority-news .priority-news__grid-info {
    background: #101010;
    display: flex;
    flex-direction: column;
    padding: 21px 16px;
    width: 100%;
}

.priority-news .priority-news__grid-image {
    aspect-ratio: 4/2;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 105%;
    height: 330px;
    height: auto;
    transition: 0.2s linear;
    width: 100%;
}

.priority-news .priority-news__grid-item:hover .priority-news__grid-image {
    background-size: 115%;
    transition: 0.3s ease-out;
}

.priority-news .priority-news__grid-title {
    color: #FFFFFF;
    font-size: 22px;
    font-style: normal;
    font-weight: normal;
    hyphens: auto;
    line-height: 32px;
    margin-bottom: 10px;
    min-height: 64px;
    text-transform: uppercase;
    white-space: normal;
    word-break: break-word;
}

.priority-news .priority-news__grid-description {
    color: #C0C0C0;
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    line-height: 21px;
}

.priority-news .priority-news__grid-button {
    background: #3e0b72;
    border: 0;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-flex;
    font-size: 18px;
    font-style: normal;
    font-weight: normal;
    line-height: 23px;
    margin: 60px auto;
    padding: 15px 50px;
    text-decoration: none;
    transition: 0.25s;
}

.priority-news .priority-news__grid-button:hover {
    background: #3e0b72aa;
    text-decoration: none;
}

section.academy__detail.priority-partners.priority-news {
    display: flex;
    flex-direction: column;
}

/* Footer */
.priority-footer {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    padding-bottom: 40px;
    width: 100%;
}

.priority-footer .priority-footer__content {
    border: 1px solid #373737;
    border-left-width: 0;
    border-right-width: 0;
    padding: 70px 0;
}

.priority-footer .priority-footer__sections {
    display: flex;
    flex-direction: row;
}

.priority-footer .priority-footer__section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.priority-footer .priority-footer__section:nth-child(1) {
    flex-basis: 35%;
    justify-content: space-between;
}

.priority-footer .priority-footer__section:nth-child(2) {
    flex-basis: 60%;
}

.priority-footer .priority-footer__section:nth-child(3) {
    flex-basis: 50%;
}

.priority-footer .priority-footer__logo {
    background-image: url(../../img/priority/logo.svg);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
    display: block;
    filter: brightness(0) invert(1);
    height: 70px;
    width: 147px;
}

.priority-footer .priority-footer__rules {
    color: #FFFFFF;
    font-size: 18px;
    font-style: normal;
    font-weight: normal;
    line-height: 23px;
    opacity: 0.3;
    text-decoration: none;
    transition: 0.25s;
}

.priority-footer .priority-footer__rules:hover {
    opacity: 0.7;
    text-decoration: none;
}

.priority-footer .priority-footer__contacts-title {
    color: #FFFFFF;
    font-size: 28px;
    font-style: normal;
    font-weight: normal;
    line-height: 36px;
    margin-bottom: 15px;
}

.priority-footer .priority-footer__contacts-phone {
    color: #FFFFFF;
    font-size: 18px;
    font-style: normal;
    font-weight: normal;
    line-height: 23px;
}

.priority-footer .priority-footer__callback {
    display: flex;
    flex-direction: column;
}

.priority-footer .priority-footer__callback-title {
    color: #FFFFFF;
    font-size: 32px;
    font-style: normal;
    font-weight: normal;
    line-height: 41px;
    margin-bottom: 10px;
}

.priority-footer .priority-footer__callback-input {
    background: transparent;
    border: 1px solid transparent;
    border-bottom-color: #fff;
    color: #fff;
    font-size: 16px;
    margin-bottom: 35px;
    max-width: 360px;
    outline: 0;
    padding: 25px 0;
    width: 100%;
}

.priority-footer .priority-footer__callback-input:focus {
    color: #fff;
    outline: 0;
}

.priority-footer .priority-footer__callback-input::placeholder {
    color: #ffffff66;
    opacity: 1;
}

.priority-footer .priority-footer__callback-input:-ms-input-placeholder {
    color: #ffffff66;
}

.priority-footer .priority-footer__callback-input::-ms-input-placeholder {
    color: #ffffff66;
}

.priority-footer .priority-footer__callback-button {
    background-color: #3e0b72;
    border: 1px solid transparent;
    color: #FFFFFF;
    display: inline-flex;
    font-size: 18px;
    font-style: normal;
    font-weight: normal;
    line-height: 23px;
    padding: 15px 50px;
    text-decoration: none;
    transition: 0.25s;
    width: fit-content;
}

.priority-footer .priority-footer__callback-button:hover {
    background-color: #3e0b72b3;
    text-decoration: none;
}

.priority-footer .priority-footer__copyright {
    color: #959595;
    font-size: 10px;
    font-style: normal;
    font-weight: normal;
    line-height: 18px;
    padding: 30px 0;
    text-align: center;
}

/* Academy */
.academy__detail-sublogo {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 40px;
    margin: 0 auto 40px;
    max-width: 220px;
    width: 100%;
}
.academy .academy__detail {
    color: #A0A0A0;
}
.academy .academy__detail_two-blocks {
    display: flex;
    flex-direction: row;
    margin-top: 20px;
}
.academy .academy__detail_two-blocks > div {
    flex-basis: 55%;
    flex-grow: 1;
}

.academy .academy__detail_two-blocks > div:first-child {
    padding-right: 40px;
    text-align: left;
}

.academy .academy__detail_two-blocks > div:last-child {
    flex-basis: 50%;
}

.partner-specials__info {
    align-items: flex-start;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-bottom: 20px;
}

.partner-specials__info .partner-specials__info-item {
    flex-grow: 1;
    margin: -10px;
    max-width: 420px;
    min-width: 120px;
    padding: 10px;
    text-align: center;
}

.partner-specials__info .partner-specials__info-item p:nth-child(1) {
    color: #fff;
    font-size: 28px;
    font-weight: 400;
}

.partner-specials__info .partner-specials__info-item p:nth-child(2) {
    font-size: 18px;
    font-weight: 400;
    margin: 0;
}

.academy__detail > div.partner-specials__info {
    max-width: 100%;
    width: 100%;
}

.academy__detail > div.partner-specials__info {
    margin-top: 50px;
}

.academy__partners-main {
    text-align: justify;
    max-width: 1100px;
    font-size: 18px;
}

.academy__partners-main > p > b {
    font-size: 26px;
    margin-bottom: 20px;
}

.academy__partners-main a,
.academy__partners-main b {
    color: #fff;
}

.academy .card-component__img {
    height: 200px;
}

.main-navigation__sub-menu .recommend__slider-wrap {
    padding-top: 10px;
}

section.grid-wrapper__filter {
    margin-top: 20px;
}

/* Expert block */
.expert-block .priority-expert__info {
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
}

.expert-block .priority-expert__info .priority-expert__info-work-position {
    font-size: 42px;
    line-height: 1;
    margin-bottom: 60px;
}

.expert-block .priority-expert__info .priority-expert__info-name {
    font-size: 32px;
    font-weight: 500;
    text-align: center;
    margin: 0 auto 10px 0;
}

.expert-block .priority-expert__info .priority-expert__info-name span {
    border-bottom: 4px solid #3e0b72;
    padding-bottom: 0;
    margin: 0;
}

.expert-block .priority-expert__info .priority-expert__info-phone {
    text-align: center;
    font-size: 32px;
    margin-bottom: 60px;
}

.expert-block .priority-expert__info a.main-button {
    width: fit-content;
    padding: 25px 50px;
    margin-right: auto;
    font-size: 16px;
}

.expert-block .priority-expert__info-photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 12/16;
}

/* Partner privileges */
.priority-partners .priority-partners__title {
    color: #FFFFFF;
    display: inline-flex;
    font-size: 46px;
    font-style: normal;
    font-weight: normal;
    line-height: 59px;
    margin: 50px 0 73px;
    position: relative;
    text-transform: uppercase;
}

.priority-partners .priority-partners__title:after {
    background-image: url(../../img/priority/title-dots.svg);
    background-repeat: no-repeat;
    background-size: contain;
    bottom: -16px;
    content: "";
    filter: hue-rotate(273deg) brightness(0.419) saturate(2);
    height: 42px;
    position: absolute;
    right: -77px;
    width: 177px;
    z-index: -1;
}

.priority-partners .priority-partners__title.priority-partners__title--alt {
    font-size: 50px;
    font-weight: 500;
    text-transform: none;
}

.priority-partners .priority-partners__title.priority-partners__title--alt:after {
    bottom: initial;
    left: -48px;
    right: initial;
    top: -9px;
}

.academy__detail > p.priority-partners__title-subtitle {
    margin: -60px 0 80px;
}

.priority-partners__title-subtitle span {
    border-bottom: 2px solid #3d0b72;
    padding-bottom: 8px;
}

.exclusive__text {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    margin-top: -55px;
}

.exclusive__text > * {
    display: block;
    flex-grow: 1;
    flex-shrink: 1;
    max-width: 960px;
    min-width: 320px;
    padding: 4px 30px 4px 30px;
    position: relative;
}

.exclusive__text > *:before {
    background-image: url(../../img/tilde-icon.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 14px;
    content: "";
    filter: hue-rotate(267deg) brightness(1.35) saturate(0.72);
    height: 18px;
    left: 0;
    position: absolute;
    top: 6px;
    width: 16px;
}

.academy__detail.priority-partners.priority-news {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.priority-partners .priority-partners__grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: -25px;
    margin-bottom: 20px;
}

.priority-partners .priority-partners__grid-item {
    align-items: flex-start;
    background-image: url(../../img/priority/services-item-1.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    height: 480px;
    justify-content: flex-end;
    margin: 25px;
    padding: 26px;
    transition: 0.75s ease-in-out;
    width: calc((100% / 2) - 50px);
}

.priority-partners .priority-partners__grid-title {
    color: #FFFFFF;
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    line-height: 34px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.priority-partners .priority-partners__grid-description {
    color: #FFFFFF;
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    line-height: 21px;
}

.priority-partners .priority-partners__tags {
    margin-bottom: 50px;
    position: relative;
}

.priority-partners .priority-partners__tags-wrapper {
    align-items: flex-start;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: -7.5px;
    max-height: 170px;
    overflow: hidden;
    transition: 0.75s ease-out;
}

.priority-partners .priority-partners__tags-wrapper.priority-partners__tags-wrapper--ignore {
    max-height: initial;
}

.priority-partners .priority-partners__tags--expanded .priority-partners__tags-wrapper {
    max-height: 450px;
    transition: 0.75s ease-in;
}

.priority-partners .priority-partners__tags:after {
    background: linear-gradient(0deg, #000, transparent);
    bottom: 0;
    content: "";
    display: none;
    height: 20px;
    left: 0;
    opacity: 1;
    pointer-events: none;
    position: absolute;
    transition: 0.8s;
    width: 100%;
}

.priority-partners .priority-partners__tags--expanded.priority-partners__tags:after {
    height: 0;
}

.priority-partners .priority-partners__show-more-tags {
    background-color: #202020;
    background-image: url(../../img/arrow-down--white.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px;
    border-radius: 10px;
    bottom: -36px;
    content: "";
    display: none;
    height: 36px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    transition: 0.25s;
    width: 80px;
    z-index: 9;
}

.priority-partners .priority-partners__tags--expandable.priority-partners__tags:after {
    display: block;
}

.priority-partners .priority-partners__tags--expandable .priority-partners__show-more-tags {
    display: block;
}

.priority-partners .priority-partners__tags--expanded .priority-partners__show-more-tags {
    transform: translateX(-50%) scaleY(-1);
}

@media (min-width: 577px) {
    .priority-partners .priority-partners__show-more-tags:hover {
        opacity: 0.75;
    }
}

.priority-partners .priority-partners__tag {
    align-items: center;
    background: #202020;
    border-radius: 10px;
    color: #C0C0C0;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    justify-content: center;
    line-height: 21px;
    margin: 7.5px;
    overflow: hidden;
    padding: 12px 20px 8px;
    text-align: center;
    text-decoration: none;
    text-overflow: ellipsis;
    text-transform: uppercase;
    transition: 0.25s;
    white-space: nowrap;
}

.priority-partners .priority-partners__tag span {
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.priority-partners .priority-partners__tag--active {
    background: #404040;
    color: #fff;
    text-decoration: none;
}

.priority-partners .priority-partners__tag.disabled {
    background: #404040;
    color: #606060;
    pointer-events: none;
}

@media (min-width: 577px) {
    .priority-partners .priority-partners__tag:hover {
        background: #3e0b72;
        color: #fff;
        text-decoration: none;
    }
}

html .main-navigation__wrap + .main-content .bestsellers {
    overflow: hidden;
}
html .bestsellers__slider-wrap {
    padding-top: 20px;
}
html .bestsellers__slider .custom-slick {
    top: -70px;
}
html .recommend__slider-main .slick-list:before,
html .recommend__slider-main .slick-list:after {
    height: calc(100% + 108px);
    top: -4px;
    width: 300%;
}
html .main-navigation__main .main-navigation__sections .main-navigation__sections-list a.main-navigation__sections-title {
    margin-top: 8px;
}
html .main-navigation__main .main-navigation__sections .main-navigation__sections-list a.main-navigation__sections-title:first-child {
    margin-top: 0;
}

/* Privacy-policy */
section.privacy-policy {
    margin: 40px 0;
}

section.privacy-policy .privacy-policy__text {
    color: #A0A0A0;
    margin: 0 auto;
    max-width: 760px;
}

section.privacy-policy .privacy-policy__text h1, section.privacy-policy .privacy-policy__text h2 {
    color: #fff;
    line-height: 1.25;
    margin-bottom: 20px;
    text-align: left;
}

section.privacy-policy .privacy-policy__text h1 {
    font-size: 36px;
}

section.privacy-policy .privacy-policy__text h2 {
    font-size: 32px;
}

section.privacy-policy .privacy-policy__text p, section.privacy-policy .privacy-policy__text ul {
    font-size: 21px;
    margin: 0 auto 40px;
}

section.privacy-policy .privacy-policy__text ul li {
    list-style: disc;
    margin: 0 0 10px 20px;
}

/* Sommelier */
.sommeliers .sommelier-products {
    flex-direction: column;
    gap: 40px;
}

.sommeliers .card-component--horizontal .card-component__header {
    align-items: center;
    display: flex;
    gap: 10px;
}

.sommeliers .card-component--horizontal .card-component__stock-wrapper.card-component__stock-wrapper__show-instock {
    margin: 0;
    padding: 0;
}
html .sommeliers .card-component__crumbs-wrapper {
    margin: auto 0 auto auto;
}

html .grid-wrapper__items .link-button {
    margin: 40px auto;
    padding: 20px 40px;
    width: fit-content;
}

.partner-specials h1.h1-heading.heading.academy__detail-title {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 40px;
}

section.academy.partner-specials > .partner-specials h1.h1-heading.heading.academy__detail-title {
    margin-top: 20px;
}

@media (min-width: 971px) {
    html .main-navigation .nav-button {
        display: none;
    }
}

@media (max-width: 970px) {
    .main-navigation {
        padding: 20px;
    }
    .main-navigation__item.main-navigation__item--mobile .header__button-wrapper {
        width: 100%;
    }
    .header__button-wrapper .main-navigation__link.main-navigation__link--user {
        width: 100%;
    }
    nav.main-navigation.burger-expanded{
        background-color: #000;
        border-bottom: 1px solid var(--color-border-light-gray);
    }
    html .main-navigation__link {
        height: fit-content;
        min-height: 70px;
    }
    html  .main-navigation__item {
        height: fit-content;
        min-height: 70px;
    }

    html body .header__button-wrapper {
        height: 74px;
        margin-right: 0;
    }

    html .main-navigation__list {
        align-content: flex-start;
        display: flex;
    }
    html a.main-navigation__link.main-navigation__link--user {
        margin-right: auto;
    }
    .exclusive__text {
        margin-top: -25px;
    }
    html li.main-navigation__item.main-navigation__item--mobile,
    html li.main-navigation__item.main-navigation__item--mobile a {
        width: 100%;
    }
    html .fast-filter-wrapper .fast-filter-button {
        margin-top: 16px;
    }
    html .priority-news .priority-news__title {
        font-size: 36px;
        line-height: 1.25;
    }
}

@media (max-width: 576px) {
    .priority-partners .wrapper {
        padding: 0 20px;
    }

    .priority-partners .priority-partners__title {
        display: block;
        font-size: 28px;
        line-height: 1.25;
        margin: 40px 0;
        padding: 0 20px;
        text-align: center;
    }

    .priority-partners .priority-partners__title:after {
        bottom: -20px;
        right: 5%;
    }

    .priority-partners .priority-partners__tags {
        justify-content: center;
        margin: 0 0 60px;
    }

    section.priority-partners .wrapper {
        padding: 0 20px;
    }

    .priority-partners .priority-partners__tag {
        font-size: 14px;
        margin: 6px;
        padding: 8px 12px;
    }

    .priority-partners .priority-partners__grid {
        margin: 0;
    }

    .priority-partners .priority-partners__grid-item {
        height: 240px;
        margin: 0 0 20px;
        width: 100%;
    }

    .priority-partners .priority-partners__title.priority-partners__title--alt {
        font-size: 30px;
    }
    .priority-partners .priority-partners__tags-wrapper {
        max-height: 155px;
    }

    .priority-partners .priority-partners__tags--expanded .priority-partners__tags-wrapper {
        max-height: 638px;
    }
    .priority-partners .priority-partners__tag {
        flex-grow: 1;
    }
    .partner-specials__info {
        flex-direction: column;
    }
    .partner-specials__info .partner-specials__info-item {
        margin: -10px -10px 20px;
        max-width: 100%;
        width: 100%;
    }
    .priority-events .priority-events__description {
        font-size: 21px;
    }
    html .priority-news .priority-news__title {
        font-size: 28px;
    }
    html .expert-block .priority-expert__info .priority-expert__info-work-position {
        font-size: 32px;
        margin-bottom: 40px;
    }
    html .expert-block .priority-expert__info .priority-expert__info-name {
        font-size: 28px;
    }
    html .expert-block .priority-expert__info .priority-expert__info-phone {
        font-size: 28px;
        margin-bottom: 40px;
    }
    html .detail-contacts {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: center;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 360px) {
    section.priority-partners .wrapper + .wrapper {
        padding: 0;
    }
}

@media (min-width: 971px) {
    html .header__menu .main-navigation__item:hover .main-navigation__container {
        top: 79px;
    }
}

@media (max-width: 970px) {
    html .main-navigation__menu-toggler {
        display: block;
    }
    html .wrapper {
        padding: 0 20px;
    }
    html .main-navigation__wrap .wrapper {
        padding: 0;
    }

    html .header__logo {
        max-height: 40px;
    }

    html .header__menu > .wrapper {
        padding: 0;
    }

    html .header {
        padding-left: 20px;
        padding-right: 20px;
    }

    html .header__menu .main-navigation__logo-link, html .header__menu .main-navigation__button-wrapper {
        display: none;
    }

    html .header__button-wrapper {
        aspect-ratio: 1;
        height: 46px;
        margin-right: 20px;
        width: 46px;
    }

    html header.sticky .header__button-wrapper {
        margin-right: 10px;
    }

    html .header__wrap {
        flex-grow: 1;
        justify-content: flex-end;
        padding: 0;
    }

    html .header__wrap > .header__logo-link {
        justify-content: flex-start;
        margin-right: auto;
    }

    html .header__wrap .header__menu {
        order: 2;
    }

    html .header__menu .wrapper .main-navigation__list {
        align-content: flex-start;
        background-color: #000;
        border-top: 1px solid #404040;
        color: #fff;
        height: 100vh;
        opacity: 0;
        pointer-events: none;
        top: 87px;
        visibility: hidden;
    }

    html header.sticky .header__menu .wrapper .main-navigation__list {
        top: 50px;
    }

    html .header__menu .wrapper.wrapper--active .main-navigation__list {
        opacity: 1;
        pointer-events: initial;
        visibility: visible;
    }

    html .main-navigation__container.main-navigation__container--burger.main-burger {
        display: none!important;
    }

    html .header__menu .wrapper .main-navigation__item {
        background-color: #000;
        border-color: #404040;
        color: #fff;
        height: fit-content;
        opacity: 0;
        transition: 0.2s ease-out;
    }

    html .header__menu .wrapper.wrapper--active .main-navigation__item {
        opacity: 1;
        transition: 0.25s ease-in;
    }

    html .header__menu .wrapper.wrapper--active .main-navigation__item:nth-child(4),
    html .header__menu .wrapper.wrapper--active .main-navigation__item:nth-child(1) {
        transition-delay: 0.0s;
    }

    html .header__menu .wrapper.wrapper--active .main-navigation__item:nth-child(5),
    html .header__menu .wrapper.wrapper--active .main-navigation__item:nth-child(2) {
        transition-delay: 0.1s;
    }

    html .header__menu .wrapper.wrapper--active .main-navigation__item:nth-child(6),
    html .header__menu .wrapper.wrapper--active .main-navigation__item:nth-child(3) {
        transition-delay: 0.2s;
    }

    html .header__menu .wrapper.wrapper--active .main-navigation__item:nth-child(7) {
        transition-delay: 0.3s;
    }

    html .header__menu .wrapper.wrapper--active .main-navigation__item:nth-child(8) {
        transition-delay: 0.4s;
    }

    html .header__menu .wrapper.wrapper--active .main-navigation__item:nth-child(9) {
        transition-delay: 0.5s;
    }

    html .header__menu .wrapper.wrapper--active .main-navigation__item:nth-child(10) {
        transition-delay: 0.6s;
    }

    html .header__menu .wrapper.wrapper--active .main-navigation__item:nth-child(11) {
        transition-delay: 0.7s;
    }

    html .header__menu .wrapper.wrapper--active .main-navigation__item:nth-child(12) {
        transition-delay: 0.8s;
    }

    html .header__wrap .main-navigation__link {
        height: fit-content;
    }

    html button.main-navigation__menu-toggler {
        aspect-ratio: 1;
        background: #202020;
        border: 0;
        border-radius: 50%;
        display: block;
        position: relative;
        width: 46px;
    }

    html header.sticky button.main-navigation__menu-toggler {
        width: 37px;
    }

    html .wrapper .main-navigation__menu-toggler span {
        background: #fff;
        border-radius: 2px;
        height: 1.9px;
        left: 50%;
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
        transform-origin: center;
        transition: 0.15s ease-in-out;
        width: 50%;
    }

    html .wrapper .main-navigation__menu-toggler:hover span,
    html .wrapper.wrapper--active .main-navigation__menu-toggler span {
        background-color: #7d5fbc;
    }

    html .wrapper .main-navigation__menu-toggler span:nth-child(1) {
        margin-top: -8px;
    }

    html .wrapper .main-navigation__menu-toggler span:nth-child(3) {
        margin-top: 8px;
    }

    html header.sticky .wrapper .main-navigation__menu-toggler span:nth-child(1) {
        margin-top: -6px;
    }

    html header.sticky .wrapper .main-navigation__menu-toggler span:nth-child(3) {
        margin-top: 6px;
    }

    html .wrapper.wrapper--active .main-navigation__menu-toggler span:nth-child(1),
    html header.sticky .wrapper.wrapper--active .main-navigation__menu-toggler span:nth-child(1) {
        margin-top: 0;
        transform: translate(-50%, -50%) rotate(45deg);
    }

    html .wrapper.wrapper--active .main-navigation__menu-toggler span:nth-child(2) {
        opacity: 0;
    }

    html .wrapper.wrapper--active .main-navigation__menu-toggler span:nth-child(3),
    html header.sticky .wrapper.wrapper--active .main-navigation__menu-toggler span:nth-child(3) {
        margin-top: 0;
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    header.sticky button.header__info-button.header__info-button--cart span.cart-amount.header__cart-amount {
        left: calc(50% + 17px);
        top: calc(50% - 14px);
    }

    html .bestsellers__slider {
        padding-top: 30px;
    }
}

@media (max-width: 576px) {
    a.main-navigation__btn {
        font-size: 14px;
        margin-left: 10px;
        padding: 6px 10px;
    }
    .priority-footer {
        padding-bottom: 0;
    }
    .priority-footer .priority-footer__sections {
        flex-direction: column;
        gap: 40px;
    }
    .priority-footer .priority-footer__logo {
        margin-bottom: 20px;
    }
    .priority-footer .priority-footer__rules {
        font-size: 16px;
    }
    .priority-footer .priority-footer__callback-title {
        font-size: 21px;
        line-height: initial;
        margin-bottom: 0;
    }
    .priority-footer .priority-footer__callback-input {
        padding: 12px 0;
    }
    html .card-component {
        background: transparent;
    }
    html .catalog-information {
        border: 0;
    }
    html .catalog-content__grid {
        padding: 0;
    }
    html .priority-expert > .wrapper {
        padding: 0;
    }
    html .catalog-content__cards > div:nth-of-type(2n-1)::after,
    html .catalog-content__cards > div:nth-of-type(2n-2)::after {
        left: -100vw;
        width: 200vw;
    }
    html .main-navigation__burger {
        height: 35px;
        margin-left: 8px;
        width: 35px;
    }
    html body .header__menu .wrapper .main-navigation__list, html body header.sticky .header__menu .wrapper .main-navigation__list {
        top: 50px;
    }
    .partner-specials h1.h1-heading.heading.academy__detail-title {
        font-size: 28px;
        line-height: 1.25;
        margin-bottom: 20px;
    }

    .priority-service {
        margin-bottom: 20px;
    }

    img.academy__img {
        max-width: 100%;
    }
}

img{
    max-width: 100%;
    object-fit: contain;
}