.rme-btn-num__input {
    width: 44px;
    background: none;
    border: none;
    padding: 0;
    text-align: center;
    font: inherit;
    color: inherit;
    font-variant-numeric: tabular-nums;
    box-sizing: border-box;
}
.rme-cart__trash {
    cursor: pointer;
}
.rme-cart__trash { color: #ED1846; cursor: pointer; }
.rme-cart__trash:hover { opacity: .7; }
/* Выпадающее меню "Об издательстве" */
.header__dropdown {
    position: relative;
}
.header__dropdown-toggle {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    white-space: nowrap;
    gap: 5px;
}
.header__dropdown .header__dropdown-arrow {
    width: 10px !important;
    height: 10px !important;
    flex: 0 0 auto !important;
    display: inline-block !important;
}
.header__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 8px 0;
    margin: 8px 0 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 100;
}
.header__dropdown.is-open .header__dropdown-menu,
.header__dropdown:hover .header__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.header__dropdown.is-open .header__dropdown-arrow,
.header__dropdown:hover .header__dropdown-arrow {
    transform: rotate(90deg) scaleX(-1);
}
.header__dropdown-menu li {
    display: block;
}
.header__dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    white-space: nowrap;
}

/* Розовая кнопка "Садам и школам" */
.header__pink-btn {
    display: inline-block;
    background: #ed1846;
    color: #fff !important;
    border-radius: 35px;
    padding: 8px 22px;
    transition: background 0.2s ease;
}
.header__pink-btn:hover {
    background: #d1123c;
}
.header__nav-sub-title {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
    cursor: pointer;
}
.header__nav-sub-title svg {
    flex: 0 0 auto;
    transition: transform .25s ease;
}
.header__nav-sub-title.active svg {
    transform: rotate(90deg);
}
.header__nav-sub-wrap {
    display: none;
}
.header__nav-sub-list {
    list-style: none;
    padding: 5px 0 0 15px;
    margin: 0;
}
.header__nav-sub-list li a {
    display: block;
    padding: 8px 12px;
    border-radius: 10px;
    transition: background .2s ease, color .2s ease;
}
.header__nav-sub-list li a:hover {
    background: #ed1846;
    color: #fff;
}
.header__nav-list li.header__nav-btn {
    margin-top: 12px;
}
.header__nav-list li.header__nav-btn a.header__pink-btn {
    display: inline-block;
    background: #ed1846 !important;
    color: #fff !important;
    border-radius: 35px;
    padding: 8px 22px;
}

.iti {
    display: block !important;
    width: 100% !important;
}
.iti > input,
.iti input.form-control,
.iti input.rme-form__input {
    width: 100% !important;
}

.iti__country-list {
    background: #fff !important;
    color: #333 !important;
    text-align: left;
}
.iti__country-list .iti__country,
.iti__country-list .iti__country * {
    color: #333 !important;
}
.iti__country-list .iti__country:hover,
.iti__country-list .iti__country.iti__highlight {
    background: #f3f3f3 !important;
}
.iti__country-list .iti__dial-code {
    color: #888 !important;
}
.iti__selected-dial-code {
    color: #333 !important;
}

.audience__viewport,
.audience__track,
.audience-card {
    position: relative;
    z-index: 2;
}
.audience-card .button {
    position: relative;
    z-index: 3;
}

.audience__viewport::before,
.audience__viewport::after,
.audience__track::before,
.audience__track::after,
.section__inner::before,
.section__inner::after,
.section::before,
.section::after,
.line-loop {
    pointer-events: none !important;
}

.rme-loader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, .7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}
.rme-loader.is-visible { display: flex; }
.rme-loader__box { text-align: center; }
.rme-loader__text { font-size: 16px; color: #333; }
.rme-loader__img {
    display: block;
    margin: 0 auto 15px;
    max-width: 100%;
    height: auto;
}

.sect-product__series {
    display: flex;
    gap: 10px;
}
.sect-product__series-item {
    display: block;
    width: 90px;
    flex: 0 0 90px;
    border-radius: 12px;
    overflow: hidden;
}
.sect-product__series-item img {
    display: block;
    width: 100%;
    height: 90px;
    object-fit: cover;
}
.sect-product__series-all {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 90px;
    padding: 0 8px;
    background: #ed1846;
    color: #fff !important;
    font-size: 13px;
    line-height: 1.2;
    transition: background .2s ease;
}
.sect-product__series-all:hover {
    background: #d1123c;
}
.sect-product__info-item:not(:first-child) {
    margin-top: 30px;
}

.sect-product__series-link { position: relative; display: block; }
.sect-product__series-badge {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    background: #ed1846;
    color: #fff;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.sect-product__video-link { position: relative; display: block; }
.sect-product__play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    margin: -27px 0 0 -27px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .45);
    transition: background .2s ease, transform .2s ease;
}
.sect-product__play::after {
    content: '';
    position: absolute;
    left: 21px;
    top: 16px;
    border-style: solid;
    border-width: 11px 0 11px 18px;
    border-color: transparent transparent transparent #fff;
}
.sect-product__video-link:hover .sect-product__play {
    background: rgba(237, 24, 70, .85);
    transform: scale(1.08);
}

.sect-product__preview { position: relative; }
.sect-product__play_big {
    width: 84px;
    height: 84px;
    margin: -42px 0 0 -42px;
    cursor: pointer;
}
.sect-product__play_big::after {
    left: 33px;
    top: 25px;
    border-width: 17px 0 17px 28px;
}
.sect-product__preview:not(.has-video) .sect-product__play_big,
.sect-product__preview[data-preview-index]:not([data-preview-index="0"]) .sect-product__play_big {
    display: none;
}

@media (max-width: 767px) {
    .sect-product__series { gap: 8px; }
    .sect-product__series-item { width: 74px; flex: 0 0 74px; }
    .sect-product__series-item img,
    .sect-product__series-all { height: 74px; }
}