/* =====================================================================
   НОВОГОДНЕЕ ОФОРМЛЕНИЕ ГРАФИКА ЦЕН (декабрь 2026 — январь 2027)
   Подключается в index.html и kirov.html после основного CSS.
   Чтобы убрать праздничный вид после праздников — удалите подключение
   newyear.css / newyear.js и блок <section class="xmas"> на обеих страницах.
   ===================================================================== */

:root {
    --ny-night: #0a1530;
    --ny-night-2: #132a5e;
    --ny-gold: #f8c006;
    --ny-gold-light: #ffe27a;
    --ny-red: #bb1d1d;
    --ny-green: #1f8a55;
    --ny-ice: #eaf3fc;
}

/* ---------- Праздничная зона (светлая, с узором из снежинок) ---------- */
.ny-zone {
    position: relative;
    isolation: isolate;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg fill='none' stroke='%23d3e3f4' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M34 22v26M22.7 28.5l22.6 13M22.7 41.5l22.6-13M34 22l-3 3M34 22l3 3M34 48l-3-3M34 48l3-3'/%3E%3Cpath d='M128 112v18M120.2 116.5l15.6 9M120.2 125.5l15.6-9'/%3E%3Ccircle cx='150' cy='40' r='1.6'/%3E%3Ccircle cx='70' cy='140' r='1.6'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(180deg, var(--ny-ice) 0%, #f6faff 30%, #fff 100%);
}

.ny-zone > :not(.ny-flakes):not(.garland) {
    position: relative;
    z-index: 1;
}

/* Падающие снежинки в светлой зоне (создаются скриптом) */
.ny-flakes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.ny-flake {
    position: absolute;
    top: 0;
    height: 100%;
    width: 30px;
    animation: ny-fall linear infinite;
    will-change: transform;
}

.ny-flake span {
    display: block;
    color: #a9c8ea;
    line-height: 1;
    animation: ny-sway 4s ease-in-out infinite alternate;
}

@keyframes ny-fall {
    from { transform: translateY(-6%); }
    to   { transform: translateY(100%); }
}

@keyframes ny-sway {
    from { transform: translateX(-14px) rotate(0deg); }
    to   { transform: translateX(14px) rotate(180deg); }
}

/* ---------- Гирлянда ---------- */
.garland {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 58px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    white-space: nowrap;
    pointer-events: none;
    z-index: 2;
    --wire: #2f4a3a;
}

.garland li {
    position: relative;
    display: inline-block;
    width: 12px;
    height: 20px;
    margin: 24px 22px 0;
    padding: 0;
    list-style: none;
    border-radius: 50%;
    background: var(--c);
    box-shadow: 0 4px 18px 3px var(--c);
    animation: ny-bulb 2.4s ease-in-out infinite;
}

.garland li::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 1px;
    width: 10px;
    height: 7px;
    border-radius: 3px;
    background: var(--wire);
}

.garland li::after {
    content: "";
    position: absolute;
    top: -15px;
    left: 9px;
    width: 52px;
    height: 19px;
    border-bottom: 2px solid var(--wire);
    border-radius: 50%;
}

.garland li:nth-child(4n+1) { --c: #ff4040; }
.garland li:nth-child(4n+2) { --c: #ffd43b; animation-delay: -0.6s; }
.garland li:nth-child(4n+3) { --c: #38d98a; animation-delay: -1.2s; }
.garland li:nth-child(4n+4) { --c: #4dabf7; animation-delay: -1.8s; }
.garland li:nth-child(3n)   { animation-duration: 1.9s; }

.garland--night { --wire: #8ea2c8; }

@keyframes ny-bulb {
    0%, 100% { opacity: 1;    box-shadow: 0 4px 20px 4px var(--c); }
    50%      { opacity: 0.35; box-shadow: 0 2px 6px 0 var(--c); }
}

/* ---------- Заголовки ---------- */
.ny-zone .title__price h2::after,
.ny-zone .section__title::after {
    width: 130px;
    height: 8px;
    border-radius: 4px;
    background: repeating-linear-gradient(-45deg, var(--ny-red) 0 8px, #fff 8px 16px);
    background-size: 22.6px 22.6px;
    box-shadow: 0 0 0 1px rgba(187, 29, 29, 0.35);
    animation: ny-candy 1.6s linear infinite;
}

@keyframes ny-candy {
    to { background-position: 22.6px 0; }
}

.ny-subtitle {
    max-width: 760px;
    margin: -30px auto 22px;
    padding: 0 15px;
    text-align: center;
    font-size: 17px;
    line-height: 1.5;
    color: #4a5568;
}

.ny-subtitle b {
    color: var(--ny-red);
}

/* Кнопка-тизер, ведущая к праздничному блоку */
.ny-teaser {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    max-width: calc(100% - 30px);
    margin: 0 auto 30px;
    padding: 12px 24px;
    overflow: hidden;
    border: 1px solid rgba(248, 192, 6, 0.55);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ny-night) 0%, #1d3a7a 100%);
    box-shadow: 0 10px 28px rgba(10, 21, 48, 0.28);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ny-teaser b {
    color: var(--ny-gold);
}

.ny-teaser__arrow {
    display: inline-block;
    animation: ny-bounce 1.6s ease-in-out infinite;
}

.ny-teaser::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    animation: ny-sweep 3.6s ease-in-out infinite;
}

.ny-teaser:hover,
.ny-teaser:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(10, 21, 48, 0.36);
}

@keyframes ny-sweep {
    0%, 55% { left: -60%; }
    100%    { left: 130%; }
}

@keyframes ny-bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(3px); }
}

/* ---------- Блок «Цена сегодня» (главная) ---------- */
.ny-zone .price-today {
    position: relative;
    overflow: hidden;
    padding-top: 26px;
    background: linear-gradient(135deg, #a51616 0%, #e03131 55%, #b71c1c 100%);
    box-shadow: 0 14px 34px rgba(187, 29, 29, 0.3);
}

.ny-zone .price-today::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: radial-gradient(circle at 9px 0, #fff 9px, transparent 9.5px) 0 0 / 18px 12px repeat-x;
}

.ny-zone .price-today__value {
    text-shadow: 0 0 18px rgba(248, 192, 6, 0.55);
}

/* ---------- Таблица цен (главная) ---------- */
.ny-zone .table {
    background: #fff;
    box-shadow: 0 18px 45px rgba(16, 42, 90, 0.16);
}

.ny-zone .table th {
    padding-top: 26px;
    background:
        radial-gradient(circle at 10px 0, #fff 9px, transparent 9.5px) 0 0 / 20px 13px repeat-x,
        linear-gradient(135deg, #a51616 0%, #d62828 100%);
}

.ny-zone .table tbody tr {
    background: #fff;
}

.ny-zone .table tbody tr:nth-child(even) {
    background: #f4f9ff;
}

.ny-zone .table tbody tr.is-update td {
    background: #fff1c2;
}

.ny-zone .update-mark::before {
    content: "🎁";
    display: inline-block;
    margin-right: 6px;
    animation: ny-wiggle 2.6s ease-in-out infinite;
}

@keyframes ny-wiggle {
    0%, 70%, 100% { transform: rotate(0); }
    76% { transform: rotate(-14deg) scale(1.1); }
    82% { transform: rotate(12deg) scale(1.1); }
    88% { transform: rotate(-8deg); }
    94% { transform: rotate(5deg); }
}

.ny-zone .table tbody tr.is-today td {
    animation: ny-today 1.8s ease-in-out infinite;
}

.ny-zone .table tbody tr.is-today .td_left::before {
    content: "★ ";
    color: var(--ny-red);
}

@keyframes ny-today {
    0%, 100% { background-color: #f8c006; }
    50%      { background-color: #ffdd63; }
}

/* ---------- Карточки цен (Киров) ---------- */
.prices.ny-zone .price__card {
    background: #fff;
    border: 2px solid #e1ebf6;
    box-shadow: 0 10px 26px rgba(20, 55, 110, 0.08);
}

.prices.ny-zone .price__card::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 16px;
    right: 16px;
    height: 5px;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(90deg, var(--ny-red), var(--ny-gold), var(--ny-green));
}

.prices.ny-zone .price__card:hover {
    transform: translateY(-6px) rotate(-1deg);
    box-shadow: 0 18px 40px rgba(20, 55, 110, 0.16);
}

.prices.ny-zone .price__card--gift {
    background:
        radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.22) 0, transparent 45%),
        linear-gradient(160deg, #d32f2f 0%, #9b1111 100%);
    border-color: var(--ny-gold);
    box-shadow: 0 14px 34px rgba(187, 29, 29, 0.35);
}

.prices.ny-zone .price__card--gift::before {
    background: var(--ny-gold);
}

.prices.ny-zone .price__card--gift .price__day,
.prices.ny-zone .price__card--gift .price__label,
.prices.ny-zone .price__card--gift .price__note {
    color: #fff;
}

.prices.ny-zone .price__card--gift .price__amount {
    color: var(--ny-gold-light);
    text-shadow: 0 0 16px rgba(248, 192, 6, 0.45);
}

.prices.ny-zone .price__card--gift::after {
    content: "✦";
    position: absolute;
    right: 12px;
    bottom: 10px;
    color: var(--ny-gold-light);
    font-size: 18px;
    animation: ny-twinkle-one 2.2s ease-in-out infinite;
}

@keyframes ny-twinkle-one {
    0%, 100% { opacity: 0.25; transform: scale(0.7) rotate(0); }
    50%      { opacity: 1;    transform: scale(1.15) rotate(45deg); }
}

.prices.ny-zone .price__card--today {
    outline-color: var(--ny-gold);
    animation: ny-glow 2s ease-in-out infinite;
}

@keyframes ny-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(248, 192, 6, 0.0), 0 12px 30px rgba(20, 55, 110, 0.15); }
    50%      { box-shadow: 0 0 0 8px rgba(248, 192, 6, 0.35), 0 12px 30px rgba(20, 55, 110, 0.15); }
}

/* ---------- Появление при прокрутке ---------- */
.ny-js .ny-r {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    transition-delay: calc(var(--i, 0) * 35ms);
}

.ny-js .ny-r.is-in {
    opacity: 1;
    transform: none;
}

/* =====================================================================
   РОЖДЕСТВЕНСКАЯ РАСПРОДАЖА — отдельный блок
   ===================================================================== */
.xmas {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    max-width: 1000px;
    margin: 56px auto 0;
    padding: 76px 32px 36px;
    border-radius: 28px;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(120% 70% at 50% -10%, #2d4f9a 0%, rgba(45, 79, 154, 0) 60%),
        radial-gradient(70% 45% at 50% 115%, rgba(248, 192, 6, 0.2) 0%, rgba(248, 192, 6, 0) 70%),
        linear-gradient(180deg, var(--ny-night) 0%, var(--ny-night-2) 65%, #1a3672 100%);
    box-shadow: 0 30px 70px rgba(10, 21, 48, 0.35);
    scroll-margin-top: 20px;
}

.prices .xmas {
    max-width: none;
    margin: 0 0 60px;
}

.xmas > * {
    position: relative;
    z-index: 1;
}

.xmas > .garland,
.xmas > .xmas__stars,
.xmas > .ny-snow {
    position: absolute;
}

.xmas > .xmas__stars,
.xmas > .ny-snow {
    z-index: 0;
}

.ny-snow {
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Звёзды */
.xmas__stars,
.xmas__stars::before {
    inset: 0;
    pointer-events: none;
}

.xmas__stars {
    background:
        radial-gradient(1.6px 1.6px at 8% 18%, #fff 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 21% 34%, #fff 50%, transparent 52%),
        radial-gradient(1.8px 1.8px at 33% 12%, #fff 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 47% 27%, #fff 50%, transparent 52%),
        radial-gradient(1.6px 1.6px at 62% 15%, #fff 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 74% 31%, #fff 50%, transparent 52%),
        radial-gradient(1.8px 1.8px at 88% 20%, #fff 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 95% 42%, #fff 50%, transparent 52%),
        radial-gradient(1.4px 1.4px at 4% 55%, #fff 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 97% 70%, #fff 50%, transparent 52%);
    animation: ny-twinkle 3.2s ease-in-out infinite alternate;
}

.xmas__stars::before {
    content: "";
    position: absolute;
    background:
        radial-gradient(1.4px 1.4px at 14% 9%, #ffe9a8 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 27% 22%, #fff 50%, transparent 52%),
        radial-gradient(1.6px 1.6px at 41% 40%, #fff 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 55% 8%, #ffe9a8 50%, transparent 52%),
        radial-gradient(1.6px 1.6px at 68% 38%, #fff 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 81% 9%, #fff 50%, transparent 52%),
        radial-gradient(1.4px 1.4px at 92% 33%, #ffe9a8 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 2% 82%, #fff 50%, transparent 52%);
    animation: ny-twinkle 2.4s ease-in-out -1.2s infinite alternate;
}

@keyframes ny-twinkle {
    from { opacity: 0.35; }
    to   { opacity: 1; }
}

/* Шапка блока */
.xmas__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.xmas .xmas__title {
    margin: 16px 0 10px;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.12;
    color: var(--ny-gold);
    background: linear-gradient(100deg, #f8c006 0%, #fff6c9 18%, #f8c006 36%, #ffb703 54%, #fff6c9 72%, #f8c006 90%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ny-gold 7s linear infinite;
}

.xmas .xmas__title::after,
.xmas .xmas__title::before {
    content: none;
}

@keyframes ny-gold {
    to { background-position: -220% center; }
}

.xmas__lead {
    max-width: 620px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.xmas__lead strong {
    color: var(--ny-gold-light);
    white-space: nowrap;
}

/* Обратный отсчёт */
.xmas__cd {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 24px auto 0;
}

.xmas__cd-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.xmas__cd-blocks {
    display: flex;
    gap: 10px;
}

.xmas__cd-blocks[hidden] {
    display: none;
}

.xmas__cd-block {
    min-width: 70px;
    padding: 10px 8px 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.xmas__cd-num {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.xmas__cd-lbl {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.xmas__cd-msg {
    padding: 10px 22px;
    border-radius: 999px;
    background: rgba(248, 192, 6, 0.16);
    border: 1px solid rgba(248, 192, 6, 0.5);
    font-size: 18px;
    font-weight: 700;
    color: var(--ny-gold-light);
}

.xmas__cd-msg[hidden] {
    display: none;
}

/* Ёлочные шары с ценами */
.xmas__tree {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin: 36px -32px 0;
    padding: 0 26px 6px;
    list-style: none;
}

.xmas-day {
    position: relative;
    padding: 0;
    list-style: none;
}

/* «Мишура», на которой висят шары */
.xmas-day::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 7px;
    background: repeating-linear-gradient(90deg, #f8c006 0 6px, #fff0b3 6px 9px, #d99a00 9px 14px);
    box-shadow: 0 0 12px rgba(248, 192, 6, 0.55);
}

.xmas-day:first-child::before { left: -26px; }
.xmas-day:last-child::before  { right: -26px; }

.xmas-day__hang {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 4px;
    transform-origin: 50% 0;
    animation: ny-swing 3.8s ease-in-out infinite alternate;
    animation-delay: calc(var(--i, 0) * -0.7s);
}

@keyframes ny-swing {
    from { transform: rotate(3.5deg); }
    to   { transform: rotate(-3.5deg); }
}

.xmas-day__string {
    display: block;
    width: 2px;
    height: var(--len, 20px);
    background: linear-gradient(180deg, #f8c006, #cfd8e6);
}

.xmas-day__ball {
    --b1: #ff5a5a;
    --b2: #a31212;
    --fg: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 116px;
    height: 116px;
    margin-top: 11px;
    border-radius: 50%;
    color: var(--fg);
    background:
        radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.8) 0, rgba(255, 255, 255, 0.0) 24%),
        radial-gradient(circle at 50% 45%, var(--b1) 0%, var(--b2) 78%);
    box-shadow:
        inset -8px -12px 22px rgba(0, 0, 0, 0.28),
        0 14px 28px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease;
}

.xmas-day__ball::before {
    content: "";
    position: absolute;
    top: -11px;
    left: 50%;
    width: 24px;
    height: 13px;
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(90deg, #a87400, #ffe27a 45%, #a87400);
    transform: translateX(-50%);
}

.xmas-day:hover .xmas-day__ball {
    transform: scale(1.06);
}

.xmas-day--gold   .xmas-day__ball { --b1: #ffe58a; --b2: #cf9500; --fg: #3a2600; }
.xmas-day--green  .xmas-day__ball { --b1: #52d69a; --b2: #0f5f3b; }
.xmas-day--blue   .xmas-day__ball { --b1: #74bcff; --b2: #1d4aa3; }
.xmas-day--silver .xmas-day__ball { --b1: #ffffff; --b2: #aebdd2; --fg: #132a5e; }

.xmas-day__date {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    opacity: 0.95;
}

.xmas-day__date small {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.8;
}

.xmas-day__price {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.xmas-day__ball:not(.xmas-day__ball--light) .xmas-day__price,
.xmas-day__ball:not(.xmas-day__ball--light) .xmas-day__date {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.xmas-day__unit {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.85;
}

.xmas-day__price--off {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.xmas-day__tag {
    display: inline-block;
    margin-top: 14px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    color: #fff;
}

.xmas-day__tag--gold {
    background: var(--ny-gold);
    border-color: var(--ny-gold);
    color: #2b1c00;
}

/* Сегодняшний день в распродаже */
.xmas-day.is-today .xmas-day__ball {
    box-shadow:
        0 0 0 4px #fff,
        0 0 34px 10px rgba(255, 216, 77, 0.75),
        inset -8px -12px 22px rgba(0, 0, 0, 0.28);
}

.xmas-day.is-today .xmas-day__ball::after {
    content: "Сегодня";
    position: absolute;
    bottom: -11px;
    left: 50%;
    padding: 3px 10px;
    border-radius: 999px;
    background: #fff;
    color: var(--ny-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-shadow: none;
    transform: translateX(-50%);
    white-space: nowrap;
}

.xmas__hint {
    margin: 22px 0 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
}

.xmas__swipe {
    display: none;
}

.xmas__notes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.xmas__notes li {
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 14px;
    line-height: 1.4;
    list-style: none;
}

.xmas__notes a {
    color: var(--ny-gold-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Адаптив ---------- */
@media (max-width: 860px) {
    .xmas {
        margin: 44px 12px 0;
        padding: 68px 0 28px;
        border-radius: 22px;
    }

    .prices .xmas {
        margin: 0 0 50px;
    }

    .xmas__head,
    .xmas__hint,
    .xmas__notes {
        padding-left: 18px;
        padding-right: 18px;
    }

    .xmas__tree {
        display: flex;
        margin: 30px 0 0;
        padding: 0 0 14px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .xmas__tree::-webkit-scrollbar {
        display: none;
    }

    .xmas-day {
        flex: 0 0 112px;
        scroll-snap-align: center;
    }

    .xmas-day:first-child::before,
    .xmas-day:last-child::before {
        left: 0;
        right: 0;
    }

    .xmas-day:first-child { margin-left: 14px; }
    .xmas-day:last-child  { margin-right: 14px; }

    .xmas-day__string {
        height: calc(var(--len, 20px) * 0.7);
    }

    .xmas-day__ball {
        width: 98px;
        height: 98px;
    }

    .xmas-day__price {
        font-size: 25px;
    }

    .xmas-day__price--off {
        font-size: 11px;
        letter-spacing: 0;
    }

    .xmas__swipe {
        display: block;
        margin-top: 8px;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.6);
    }

    .xmas__hint {
        margin-top: 12px;
    }
}

@media (max-width: 767px) {
    .ny-subtitle {
        margin-top: -20px;
        font-size: 15px;
    }

    .ny-teaser {
        font-size: 14px;
        padding: 10px 18px;
    }
}

@media (max-width: 480px) {
    .xmas__cd-block {
        min-width: 60px;
    }

    .xmas__cd-num {
        font-size: 24px;
    }

    .xmas__lead {
        font-size: 16px;
    }

    .xmas__cd-msg {
        font-size: 15px;
        padding: 9px 16px;
    }
}

/* Для тех, у кого в системе отключена анимация */
@media (prefers-reduced-motion: reduce) {
    .ny-zone *,
    .ny-zone *::before,
    .ny-zone *::after,
    .xmas *,
    .xmas *::before,
    .xmas *::after {
        animation: none !important;
        transition: none !important;
    }

    .ny-flakes {
        display: none;
    }
}
