/* Новогодняя ярмарка 2026 — блок «Призы» (последний на странице). Варианты подачи ?prz=1..4, разметка — index.php.
   1 «Витрина с вкладками» · 2 «Главные призы + категории» · 3 «Лестница мест» · 4 «Подарки под ёлкой».
   Общие детали: .nyp-prz__card (кремовая карточка-подарок с бантом), .nyp-prz__row (место · фото · приз),
   .nyp-prz__brand (карточка ТОП-5 марки), .nyp-prz__luck (случайные подарки), .nyp-prz__m (место; 1–3 — стеклянные шары). */

/* ---------- переключатель вариантов (только администраторам) ---------- */
.nyp-przsw { margin: 46px 32px 0; text-align: center; font-size: 13px; color: #f3dfae; white-space: nowrap; }
.nyp-przsw a { display: inline-block; min-width: 26px; margin-left: 3px; padding: 1px 8px; border-radius: 8px; border: 1px solid rgba(248, 226, 168, .4); color: #f3dfae !important; font-weight: 700; line-height: 1.6; text-align: center; transition: background .2s; }
.nyp-przsw a:hover { background: rgba(226, 184, 102, .18); }
.nyp-przsw a.is-on { background: linear-gradient(180deg, #fff1c4, #e2b866 60%, #c08c38); border-color: transparent; color: #3a2405 !important; }
.nyp-przsw + .nyp-prz { margin-top: 20px; }

/* ---------- сброс шаблона Aspro ---------- */
.nyp-prz ol, .nyp-prz ul, .nyp-prz li { list-style: none !important; margin: 0 !important; padding: 0 !important; background-image: none; }
.nyp-prz li::before, .nyp-prz li::marker { content: none !important; }
.nyp-prz img { display: block; max-width: 100% !important; height: auto; margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; background: none !important; }
.nyp-prz a { text-decoration: none !important; }
.nyp-prz h3 { margin: 0 !important; padding: 0 !important; }
.nyp-prz button { font: inherit; color: inherit; }
.nyp-prz .nyp-prz__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- заголовок — красная атласная лента, как в «Подарках» и рейтинге ---------- */
.nyp-prz .nyp-h2 { width: max-content; max-width: calc(100% - 70px); margin: 0 auto 22px !important; position: relative; z-index: 2; padding: 12px 40px 13px; gap: 0;
    background: linear-gradient(180deg, #c33a3f 0%, #a5262d 55%, #8f1d24 100%); font: 600 italic 30px/1.15 var(--serif); color: #fff3d6 !important;
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 0 0 1px rgba(248, 226, 168, .35); }
.nyp-prz .nyp-h2 span { position: relative; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff3d6; text-shadow: 0 1px 0 rgba(90, 10, 14, .6); }
.nyp-prz .nyp-h2 span::before { content: ''; position: absolute; left: -32px; right: -32px; top: -6px; bottom: -7px; border-top: 1px dashed rgba(248, 226, 168, .55); border-bottom: 1px dashed rgba(248, 226, 168, .55); }
.nyp-prz .nyp-h2::before, .nyp-prz .nyp-h2::after { content: ''; position: absolute; z-index: -1; top: 12px; bottom: -12px; width: 58px; height: auto; flex: none; opacity: 1; background: linear-gradient(180deg, #8f1d24, #6d151b); }
.nyp-prz .nyp-h2::before { left: -38px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 22px 50%); }
.nyp-prz .nyp-h2::after { right: -38px; clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 50%, 100% 100%, 0 100%); }

.nyp-prz .nyp-prz__lead { max-width: 760px; margin: 0 auto 26px !important; text-align: center; font-size: 15px; line-height: 1.5; color: rgba(246, 239, 224, .78); }
.nyp-prz .nyp-prz__lead b { color: #f8e2a8; font-weight: 700; }
.nyp-prz .nyp-prz__note { margin: 22px 0 0 !important; font-size: 12px; color: rgba(201, 216, 207, .55); }

/* ---------- место: число; 1–3 — стеклянные шары золото / серебро / бронза ---------- */
.nyp-prz .nyp-prz__m { position: relative; flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font: 700 14px/1 Montserrat, sans-serif; color: rgba(246, 239, 224, .8); background: rgba(255, 246, 230, .08); box-shadow: inset 0 0 0 1px rgba(226, 184, 102, .35); }
.nyp-prz .nyp-prz__m.is-m1, .nyp-prz .nyp-prz__m.is-m2, .nyp-prz .nyp-prz__m.is-m3 { font-weight: 800; box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .25), 0 3px 8px -2px rgba(0, 0, 0, .55); }
.nyp-prz .nyp-prz__m[class*="is-m"]::before { content: ''; position: absolute; left: 50%; top: -5px; width: 9px; height: 6px; margin-left: -4.5px; border-radius: 2px 2px 1px 1px; background: linear-gradient(90deg, #8c7444, #f4e3b0 45%, #8c7444); }
.nyp-prz .nyp-prz__m[class*="is-m"]::after { content: ''; position: absolute; left: 6px; top: 5px; width: 9px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); transform: rotate(-30deg); }
.nyp-prz .nyp-prz__m.is-m1 { color: #3a2405; background: radial-gradient(circle at 38% 32%, #fff6d2 0, #f6d77e 38%, #d29c35 78%, #9a6a18 100%); }
.nyp-prz .nyp-prz__m.is-m2 { color: #23282c; background: radial-gradient(circle at 38% 32%, #ffffff 0, #e3e8ec 38%, #aab3bb 78%, #747e87 100%); }
.nyp-prz .nyp-prz__m.is-m3 { color: #331a08; background: radial-gradient(circle at 38% 32%, #ffe3c4 0, #e8b07c 38%, #b8743c 78%, #84491d 100%); }

/* ---------- картинка приза: фото (ёлка) или 3D-подарок (марки) ---------- */
.nyp-prz .nyp-prz__pic { position: relative; display: block; flex: none; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.nyp-prz .nyp-prz__pic img { width: 100%; height: 100% !important; object-fit: cover; }
.nyp-prz .nyp-prz__pic.is-icon { overflow: visible; background: radial-gradient(closest-side, rgba(248, 226, 168, .35), transparent) !important; }
.nyp-prz .nyp-prz__pic.is-icon img { object-fit: contain; padding: 8% !important; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .3)); }
.nyp-prz .nyp-prz__pic.is-sm { width: 46px; border-radius: 8px; box-shadow: 0 0 0 2px rgba(255, 246, 230, .85), 0 4px 10px rgba(0, 0, 0, .35); }

.nyp-prz .nyp-prz__bow { position: absolute; z-index: 3; left: 50%; top: -30px; width: 66px; height: 66px; margin-left: -33px; pointer-events: none;
    background: url('/zooyarmarka/evroyear2027/hero/a/decor3d/bant-krasnyj.webp') center / contain no-repeat; filter: drop-shadow(0 5px 7px rgba(0, 0, 0, .45)); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }

/* ---------- кремовая карточка-подарок (топ-3) ---------- */
.nyp-prz .nyp-prz__cards { display: grid; grid-template-columns: 1fr 1.14fr 1fr; align-items: end; gap: 30px; max-width: 920px; margin: 0 auto !important; padding-top: 30px !important; }
.nyp-prz .nyp-prz__card { position: relative; display: flex; flex-direction: column; align-items: center; padding: 16px 16px 18px !important; border-radius: 18px; text-align: center; color: #2b1d12;
    background: linear-gradient(180deg, #fff8ea, #f2e0bd); box-shadow: 0 18px 36px -12px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(185, 138, 58, .35); transition: transform .3s ease; }
.nyp-prz .nyp-prz__card::after { content: ''; position: absolute; inset: 6px; border: 1px dashed rgba(150, 105, 40, .35); border-radius: 13px; pointer-events: none; }
.nyp-prz .nyp-prz__card .nyp-prz__pic { width: 100%; box-shadow: 0 0 0 3px #fff6e6, 0 0 0 4px rgba(185, 138, 58, .55), 0 10px 20px -6px rgba(0, 0, 0, .45); }
.nyp-prz .nyp-prz__card .nyp-prz__pic.is-icon { box-shadow: none; background: radial-gradient(closest-side, #ffffff, rgba(255, 255, 255, 0)) !important; }
.nyp-prz .nyp-prz__card .nyp-prz__m { z-index: 2; width: 40px; height: 40px; margin-top: -20px; font-size: 17px; }
.nyp-prz .nyp-prz__card .nyp-prz__m::before { display: none; }
.nyp-prz .nyp-prz__card .nyp-prz__nm { display: block; margin-top: 8px; font: 700 17px/1.25 var(--serif); color: #173d30; }
.nyp-prz .nyp-prz__card.is-p1 { order: 2; padding-bottom: 24px !important; box-shadow: 0 22px 44px -12px rgba(0, 0, 0, .65), 0 0 0 2px #e2b866, 0 0 36px rgba(226, 184, 102, .35); }
.nyp-prz .nyp-prz__card.is-p1 .nyp-prz__nm { font-size: 19px; }
.nyp-prz .nyp-prz__card.is-p2 { order: 1; }
.nyp-prz .nyp-prz__card.is-p3 { order: 3; }
.nyp-prz .nyp-prz__card.is-p2 .nyp-prz__bow, .nyp-prz .nyp-prz__card.is-p3 .nyp-prz__bow { width: 54px; height: 54px; margin-left: -27px; top: -26px; background-image: url('/zooyarmarka/evroyear2027/hero/a/decor3d/bant-zolotoj.webp'); }
.nyp-prz .nyp-prz__card.is-p1 .nyp-prz__bow { width: 80px; height: 80px; margin-left: -40px; top: -40px; }
.nyp-prz .nyp-prz__card:hover { transform: translateY(-4px); }
.nyp-prz .nyp-prz__card:hover .nyp-prz__bow { transform: rotate(-8deg) scale(1.08); }

/* ---------- строка списка: место · фото · приз ---------- */
.nyp-prz .nyp-prz__list { display: grid; }
.nyp-prz .nyp-prz__row { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 7px 4px !important; border-bottom: 1px solid rgba(246, 239, 224, .08); font-size: 14.5px; line-height: 1.3; color: rgba(246, 239, 224, .92); }
.nyp-prz .nyp-prz__row:last-child { border-bottom: 0; }
.nyp-prz .nyp-prz__row .nyp-prz__nm { min-width: 0; font-weight: 600; }
.nyp-prz .nyp-prz__row.is-top .nyp-prz__nm { color: #f8e2a8; }

/* ---------- карточка марки (ТОП-5) ---------- */
.nyp-prz .nyp-prz__brand { --rb1: #7d1820; --rb2: #d14a51; --ico: url('/zooyarmarka/evroyear2027/hero/a/decor3d/podarok-krasnyj.webp');
    position: relative; padding: 16px 18px 10px 24px; border-radius: 16px; background: rgba(0, 0, 0, .2);
    box-shadow: 0 0 0 1px rgba(226, 184, 102, .55), 0 0 0 4px rgba(13, 38, 30, .55), 0 0 0 5px rgba(226, 184, 102, .2), 0 18px 34px -18px rgba(0, 0, 0, .75); }
.nyp-prz .nyp-prz__brand::before { content: ''; position: absolute; left: -4px; top: 12px; bottom: 12px; width: 8px; border-radius: 2px;
    background: linear-gradient(90deg, var(--rb1) 0%, var(--rb2) 50%, var(--rb1) 100%); box-shadow: 0 2px 6px rgba(0, 0, 0, .45); }
.nyp-prz .nyp-prz__brand--rufus { --rb1: #8a6224; --rb2: #f3d48f; --ico: url('/zooyarmarka/evroyear2027/hero/a/decor3d/podarok-zelenyj.webp'); }
.nyp-prz .nyp-prz__brand--tree { --rb1: #1d5b45; --rb2: #4f9a78; --ico: url('/zooyarmarka/evroyear2027/hero/a/glass/c05-zvezda.webp'); }
.nyp-prz .nyp-prz__bh { position: relative; display: flex; flex-direction: column; gap: 2px; min-height: 52px; padding: 0 0 10px 60px !important; margin-bottom: 4px !important; border-bottom: 1px solid rgba(226, 184, 102, .35); text-align: left; }
.nyp-prz .nyp-prz__bh::before { content: ''; position: absolute; left: -4px; top: -6px; width: 56px; height: 56px; background: var(--ico) center / contain no-repeat; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .4)); }
.nyp-prz .nyp-prz__bh span { font: 700 22px/1.15 var(--serif); color: #f8e2a8; }
.nyp-prz .nyp-prz__bh small { font: 600 12px/1.35 Montserrat, sans-serif; letter-spacing: .02em; color: rgba(246, 239, 224, .62); }
.nyp-prz .nyp-prz__brand .nyp-prz__row { min-height: 46px; }

/* ---------- случайные подарки ---------- */
.nyp-prz .nyp-prz__luck { position: relative; display: flex; align-items: center; gap: 18px; padding: 16px 26px; border-radius: 12px; color: #3d2e17; background: linear-gradient(180deg, #fbf3df, #efe1bf);
    -webkit-mask: radial-gradient(circle 9px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
    mask: radial-gradient(circle 9px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat; }
.nyp-prz .nyp-prz__luck::after { content: ''; position: absolute; inset: 5px; border: 1px dashed rgba(140, 100, 40, .4); border-radius: 8px; pointer-events: none; }
.nyp-prz .nyp-prz__luckic { position: relative; flex: none; width: 92px; height: 64px; }
.nyp-prz .nyp-prz__luckic img { position: absolute; width: 60px; height: 60px !important; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(80, 50, 10, .35)); }
.nyp-prz .nyp-prz__luckic img:first-child { left: 0; top: 2px; transform: rotate(-8deg); }
.nyp-prz .nyp-prz__luckic img:last-child { right: 0; top: 6px; width: 50px; height: 50px !important; transform: rotate(9deg); }
.nyp-prz .nyp-prz__lucktx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nyp-prz .nyp-prz__lucktx small { font: 700 11.5px/1.3 Montserrat, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #9e1f27; }
.nyp-prz .nyp-prz__lucktx b { font: 700 21px/1.2 var(--serif); color: #173d30; }
.nyp-prz .nyp-prz__lucktx span { font-size: 14px; line-height: 1.4; color: #5a4632; }
.nyp-prz .nyp-prz__luck.is-strip { max-width: 920px; margin: 34px auto 0; }

/* ===================== 1 · витрина с вкладками ===================== */
.nyp-prz .nyp-prz__tabs { display: flex; justify-content: center; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 18px; padding: 5px; border-radius: 999px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px rgba(226, 184, 102, .22); }
.nyp-prz .nyp-prz__tab { display: flex; align-items: baseline; gap: 7px; padding: 9px 20px; border: 0; border-radius: 999px; background: transparent; color: rgba(246, 239, 224, .78); cursor: pointer; transition: background .2s, color .2s; }
.nyp-prz .nyp-prz__tab span { font: 700 14px/1.2 Montserrat, sans-serif; }
.nyp-prz .nyp-prz__tab small { font: 600 11px/1.2 Montserrat, sans-serif; opacity: .7; }
.nyp-prz .nyp-prz__tab:hover { color: #fff3d6; background: rgba(255, 255, 255, .06); }
.nyp-prz .nyp-prz__tab[aria-selected="true"] { color: #3a2405; background: linear-gradient(180deg, #fff1c4, #e2b866); }
.nyp-prz .nyp-prz__tab:focus-visible { outline: 3px solid #f8e2a8; outline-offset: 2px; }
.nyp-prz .nyp-prz__panel[hidden] { display: none !important; }
.nyp-prz--1 .nyp-prz__panel .nyp-prz__lead { margin-bottom: 8px !important; }
/* места 4+ — ряд компактных бирок */
.nyp-prz .nyp-prz__rest { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1100px; margin: 34px auto 0 !important; }
.nyp-prz .nyp-prz__rest .nyp-prz__row { position: relative; flex: 0 0 140px; flex-direction: column; gap: 8px; min-height: 0; padding: 12px 10px 12px !important; border: 0; border-radius: 14px; text-align: center;
    background: rgba(255, 246, 230, .06); box-shadow: inset 0 0 0 1px rgba(226, 184, 102, .28); }
.nyp-prz .nyp-prz__rest .nyp-prz__pic.is-sm { width: 76px; }
.nyp-prz .nyp-prz__rest .nyp-prz__pic.is-icon { box-shadow: none; }
.nyp-prz .nyp-prz__rest .nyp-prz__m { position: absolute; left: 8px; top: 8px; width: 26px; height: 26px; font-size: 12px; background: #173d30; }
.nyp-prz .nyp-prz__rest .nyp-prz__nm { font-size: 13px; }
.nyp-prz .nyp-prz__luck.is-big { max-width: 720px; margin: 24px auto 6px; padding: 26px 34px; gap: 26px; }
.nyp-prz .nyp-prz__luck.is-big .nyp-prz__luckic { width: 130px; height: 92px; }
.nyp-prz .nyp-prz__luck.is-big .nyp-prz__luckic img:first-child { width: 88px; height: 88px !important; }
.nyp-prz .nyp-prz__luck.is-big .nyp-prz__luckic img:last-child { width: 68px; height: 68px !important; top: 14px; }
.nyp-prz .nyp-prz__luck.is-big .nyp-prz__lucktx b { font-size: 25px; }

/* ===================== 2 · главные призы + категории ===================== */
.nyp-prz .nyp-prz__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: stretch; max-width: 1180px; margin: 46px auto 0; }
.nyp-prz .nyp-prz__cols > .nyp-prz__brand, .nyp-prz .nyp-prz__side > .nyp-prz__brand, .nyp-prz .nyp-prz__gifts > .nyp-prz__brand { display: flex; flex-direction: column; }
.nyp-prz .nyp-prz__cols .nyp-prz__list, .nyp-prz .nyp-prz__side .nyp-prz__list, .nyp-prz .nyp-prz__gifts .nyp-prz__list { flex: 1; grid-auto-rows: 1fr; }

/* ===================== 3 · лестница мест ===================== */
.nyp-prz .nyp-prz__ladder { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 30px; align-items: stretch; max-width: 1100px; margin: 0 auto; padding-top: 14px; }
.nyp-prz .nyp-prz__tw { position: relative; padding: 18px 22px 8px 30px; border-radius: 16px; background: rgba(0, 0, 0, .2);
    box-shadow: 0 0 0 1px rgba(226, 184, 102, .6), 0 0 0 4px rgba(13, 38, 30, .55), 0 0 0 5px rgba(226, 184, 102, .22), 0 18px 34px -18px rgba(0, 0, 0, .75); }
.nyp-prz .nyp-prz__tw::before { content: ''; position: absolute; z-index: 2; left: -5px; top: 10px; bottom: 10px; width: 9px; border-radius: 2px; background: linear-gradient(90deg, #7d1820 0%, #c8434a 35%, #e0656a 50%, #b8323a 65%, #7d1820 100%); box-shadow: 0 2px 6px rgba(0, 0, 0, .45); }
.nyp-prz .nyp-prz__tw .nyp-prz__bow { left: -2px; top: -30px; width: 58px; height: 58px; margin-left: -26px; }
.nyp-prz .nyp-prz__th { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px !important; border-bottom: 1px solid rgba(226, 184, 102, .45); }
.nyp-prz .nyp-prz__th span { font: 700 22px/1.2 var(--serif); color: #f8e2a8; }
.nyp-prz .nyp-prz__th small { font: 700 12px/1 Montserrat, sans-serif; letter-spacing: .1em; color: rgba(246, 239, 224, .6); }
.nyp-prz .is-ladder .nyp-prz__row { gap: 16px; min-height: 60px; font-size: 15.5px; }
.nyp-prz .is-ladder .nyp-prz__row .nyp-prz__pic.is-sm { width: 48px; }
.nyp-prz .is-ladder .nyp-prz__row.is-top { min-height: 76px; }
.nyp-prz .is-ladder .nyp-prz__row.is-top .nyp-prz__pic.is-sm { width: 62px; }
.nyp-prz .is-ladder .nyp-prz__row.is-top .nyp-prz__nm { font: 700 18px/1.25 var(--serif); }
.nyp-prz .nyp-prz__side { display: grid; grid-auto-rows: 1fr; gap: 30px; }

/* ===================== 4 · подарки под ёлкой ===================== */
.nyp-prz .nyp-prz__scene { position: relative; max-width: 1240px; height: 600px; margin: -10px auto 0; }
.nyp-prz .nyp-prz__scene::before { content: ''; position: absolute; left: 6%; right: 6%; bottom: 40px; height: 120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 246, 230, .2), rgba(255, 246, 230, .06) 60%, transparent); }
.nyp-prz .nyp-prz__tree { position: absolute; left: 50%; bottom: 112px; width: 380px; height: auto; transform: translateX(-50%); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }
.nyp-prz .nyp-prz__boxes { position: absolute; left: 0; right: 0; bottom: 74px; display: flex; justify-content: center; align-items: flex-end; gap: 12px; }
.nyp-prz .nyp-prz__box { --s: 84px; position: relative; flex: none; width: var(--s); }
.nyp-prz .nyp-prz__box.is-p1 { --s: 160px; } .nyp-prz .nyp-prz__box.is-p2, .nyp-prz .nyp-prz__box.is-p3 { --s: 130px; }
.nyp-prz .nyp-prz__box.is-p4, .nyp-prz .nyp-prz__box.is-p5 { --s: 110px; } .nyp-prz .nyp-prz__box.is-p6, .nyp-prz .nyp-prz__box.is-p7 { --s: 96px; }
.nyp-prz .nyp-prz__box button { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 6px; background: none; cursor: pointer; transform: rotate(var(--rot, 0deg)); transition: transform .3s ease; }
.nyp-prz .nyp-prz__box:nth-child(3n+1) { --rot: -1.6deg; } .nyp-prz .nyp-prz__box:nth-child(3n+2) { --rot: 1.2deg; } .nyp-prz .nyp-prz__box.is-p1 { --rot: 0deg; }
.nyp-prz .nyp-prz__box .nyp-prz__pic { width: 100%; border-radius: 6px; box-shadow: 0 0 0 3px #fff6e6, 0 0 0 4px rgba(185, 138, 58, .6), 0 14px 24px -8px rgba(0, 0, 0, .6); }
/* крышка коробки с лентой */
.nyp-prz .nyp-prz__box button::before { content: ''; position: absolute; z-index: 2; left: -7px; right: -7px; top: -8px; height: calc(var(--s) * .16); border-radius: 4px;
    background: linear-gradient(90deg, transparent calc(50% - var(--s) * .08), #8f1d24 0, #d9474e 50%, #8f1d24 calc(50% + var(--s) * .08), transparent 0), linear-gradient(160deg, #1d5b45, #123d2f);
    box-shadow: inset 0 0 0 1px rgba(248, 226, 168, .35), inset 0 -3px 0 rgba(0, 0, 0, .2), 0 5px 8px rgba(0, 0, 0, .35); transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.nyp-prz .nyp-prz__box:nth-child(even) button::before { background: linear-gradient(90deg, transparent calc(50% - var(--s) * .08), #9b6f28 0, #f8e2a8 50%, #9b6f28 calc(50% + var(--s) * .08), transparent 0), repeating-linear-gradient(135deg, #b3262d 0 8px, #9a1f26 8px 16px); }
.nyp-prz .nyp-prz__box .nyp-prz__bow { top: calc(var(--s) * -.36); width: calc(var(--s) * .52); height: calc(var(--s) * .52); margin-left: calc(var(--s) * -.26); }
.nyp-prz .nyp-prz__box:nth-child(even) .nyp-prz__bow { background-image: url('/zooyarmarka/evroyear2027/hero/a/decor3d/bant-zolotoj.webp'); }
.nyp-prz .nyp-prz__box .nyp-prz__m { position: absolute; z-index: 3; left: 50%; bottom: -15px; margin-left: -15px; }
.nyp-prz .nyp-prz__box .nyp-prz__m:not([class*="is-m"]) { background: #173d30; box-shadow: 0 0 0 2px #e2b866; color: #f8e2a8; }
.nyp-prz .nyp-prz__box button:hover, .nyp-prz .nyp-prz__box.is-on button { transform: translateY(-6px); }
.nyp-prz .nyp-prz__box button:hover::before, .nyp-prz .nyp-prz__box.is-on button::before { transform: translateY(-6px) rotate(-3deg); }
.nyp-prz .nyp-prz__box button:hover .nyp-prz__bow, .nyp-prz .nyp-prz__box.is-on .nyp-prz__bow { transform: translateY(-6px) rotate(-10deg); }
.nyp-prz .nyp-prz__box.is-on .nyp-prz__pic { box-shadow: 0 0 0 3px #fff6e6, 0 0 0 5px #e2b866, 0 0 30px rgba(255, 210, 120, .55), 0 14px 24px -8px rgba(0, 0, 0, .6); }
.nyp-prz .nyp-prz__box button:focus-visible { outline: 3px solid #f8e2a8; outline-offset: 6px; }
.nyp-prz .nyp-prz__cap { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); margin: 0 !important; padding: 9px 26px; border-radius: 999px; white-space: nowrap; font: 700 19px/1.2 var(--serif); color: #3a2405;
    background: linear-gradient(180deg, #fff1c4, #e2b866); box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .6); }
.nyp-prz .nyp-prz__list.is-mob { display: none; }
.nyp-prz .nyp-prz__gifts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; align-items: stretch; max-width: 1180px; margin: 46px auto 0; }
.nyp-prz .nyp-prz__luck.is-box { flex-direction: column; justify-content: center; text-align: center; padding: 26px 22px; }
.nyp-prz .nyp-prz__luck.is-box .nyp-prz__lucktx { align-items: center; }
.nyp-prz .nyp-prz__luck.is-box .nyp-prz__luckic { width: 150px; height: 104px; }
.nyp-prz .nyp-prz__luck.is-box .nyp-prz__luckic img:first-child { width: 100px; height: 100px !important; }
.nyp-prz .nyp-prz__luck.is-box .nyp-prz__luckic img:last-child { width: 76px; height: 76px !important; top: 18px; }

/* ---------- планшет ---------- */
@media (max-width: 1100px) {
    .nyp-prz .nyp-prz__cols, .nyp-prz .nyp-prz__gifts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nyp-prz .nyp-prz__cols > :first-child { grid-column: 1 / -1; }
    .nyp-prz .nyp-prz__gifts > .nyp-prz__luck { grid-column: 1 / -1; flex-direction: row; text-align: left; }
    .nyp-prz .nyp-prz__gifts > .nyp-prz__luck .nyp-prz__lucktx { align-items: flex-start; }
    .nyp-prz .nyp-prz__box { width: calc(var(--s) * .72); }
    .nyp-prz .nyp-prz__boxes { gap: 9px; }
    .nyp-prz .nyp-prz__scene { height: 470px; }
    .nyp-prz .nyp-prz__tree { width: 250px; bottom: 110px; }
}
@media (max-width: 900px) {
    .nyp-prz .nyp-prz__ladder { grid-template-columns: 1fr; }
    .nyp-prz .nyp-prz__side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- телефон ---------- */
@media (max-width: 760px) {
    .nyp-przsw { margin: 34px 14px 0; }
    .nyp-prz .nyp-h2 { font-size: 22px; padding: 9px 20px 10px; max-width: calc(100% - 50px); text-align: center; }
    .nyp-prz .nyp-h2 span::before { left: -14px; right: -14px; top: -5px; bottom: -6px; }
    .nyp-prz .nyp-h2::before, .nyp-prz .nyp-h2::after { width: 34px; top: 10px; bottom: -10px; }
    .nyp-prz .nyp-h2::before { left: -22px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 12px 50%); }
    .nyp-prz .nyp-h2::after { right: -22px; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%); }
    .nyp-prz .nyp-prz__lead { font-size: 14px; margin-bottom: 18px !important; }
    /* топ-3: первое место крупно, второе и третье — парой ниже */
    .nyp-prz .nyp-prz__cards { grid-template-columns: 1fr 1fr; gap: 34px 14px; padding-top: 30px !important; }
    .nyp-prz .nyp-prz__card { padding: 10px 10px 12px !important; }
    .nyp-prz .nyp-prz__card.is-p1 { order: 0; grid-column: 1 / -1; width: 78%; justify-self: center; }
    .nyp-prz .nyp-prz__card .nyp-prz__nm { font-size: 15px; }
    .nyp-prz .nyp-prz__card.is-p1 .nyp-prz__nm { font-size: 18px; }
    .nyp-prz .nyp-prz__card .nyp-prz__m { width: 34px; height: 34px; margin-top: -17px; font-size: 15px; }
    .nyp-prz .nyp-prz__card.is-p2 .nyp-prz__bow, .nyp-prz .nyp-prz__card.is-p3 .nyp-prz__bow { width: 46px; height: 46px; margin-left: -23px; top: -22px; }
    .nyp-prz .nyp-prz__card.is-p1 .nyp-prz__bow { width: 66px; height: 66px; margin-left: -33px; top: -34px; }
    /* вариант 1 */
    .nyp-prz .nyp-prz__tabs { width: 100%; gap: 2px; padding: 4px; }
    .nyp-prz .nyp-prz__tab { flex: 1 1 auto; flex-direction: column; align-items: center; gap: 1px; padding: 6px 4px; white-space: nowrap; }
    .nyp-prz .nyp-prz__tab span { font-size: 12px; }
    .nyp-prz .nyp-prz__tab small { font-size: 10px; }
    .nyp-prz .nyp-prz__rest { display: grid; gap: 0; margin-top: 24px !important; padding: 4px 14px !important; border-radius: 14px; background: rgba(0, 0, 0, .18); box-shadow: inset 0 0 0 1px rgba(226, 184, 102, .3); }
    .nyp-prz .nyp-prz__rest .nyp-prz__row { flex-direction: row; gap: 12px; padding: 7px 0 !important; border-radius: 0; background: none; box-shadow: none; border-bottom: 1px solid rgba(246, 239, 224, .08); text-align: left; }
    .nyp-prz .nyp-prz__rest .nyp-prz__row:last-child { border-bottom: 0; }
    .nyp-prz .nyp-prz__rest .nyp-prz__m { position: relative; left: auto; top: auto; background: rgba(255, 246, 230, .08); }
    .nyp-prz .nyp-prz__rest .nyp-prz__pic.is-sm { width: 44px; }
    .nyp-prz .nyp-prz__rest .nyp-prz__nm { font-size: 14px; }
    .nyp-prz .nyp-prz__luck { gap: 12px; padding: 14px 18px; }
    .nyp-prz .nyp-prz__luck.is-big { flex-direction: column; text-align: center; padding: 22px 20px; gap: 12px; }
    .nyp-prz .nyp-prz__luck.is-big .nyp-prz__lucktx { align-items: center; }
    .nyp-prz .nyp-prz__luck.is-big .nyp-prz__lucktx b { font-size: 21px; }
    .nyp-prz .nyp-prz__luckic { width: 70px; height: 52px; }
    .nyp-prz .nyp-prz__luckic img:first-child { width: 48px; height: 48px !important; }
    .nyp-prz .nyp-prz__luckic img:last-child { width: 40px; height: 40px !important; }
    .nyp-prz .nyp-prz__lucktx b { font-size: 18px; }
    .nyp-prz .nyp-prz__lucktx span { font-size: 13px; }
    /* варианты 2–4: колонки — друг под другом */
    .nyp-prz .nyp-prz__cols, .nyp-prz .nyp-prz__gifts, .nyp-prz .nyp-prz__side { grid-template-columns: 1fr; gap: 24px; margin-top: 30px; }
    .nyp-prz .nyp-prz__brand { padding: 14px 14px 6px 20px; }
    .nyp-prz .nyp-prz__bh span { font-size: 20px; }
    .nyp-prz .nyp-prz__luck.is-strip { margin-top: 26px; }
    .nyp-prz .nyp-prz__tw { padding: 16px 14px 6px 20px; }
    .nyp-prz .nyp-prz__tw .nyp-prz__bow { left: 4px; top: -24px; width: 46px; height: 46px; }
    .nyp-prz .nyp-prz__th { padding-left: 22px !important; }
    .nyp-prz .is-ladder .nyp-prz__row { gap: 12px; min-height: 54px; font-size: 14.5px; }
    .nyp-prz .is-ladder .nyp-prz__row .nyp-prz__pic.is-sm { width: 44px; }
    .nyp-prz .is-ladder .nyp-prz__row.is-top { min-height: 64px; }
    .nyp-prz .is-ladder .nyp-prz__row.is-top .nyp-prz__pic.is-sm { width: 54px; }
    .nyp-prz .is-ladder .nyp-prz__row.is-top .nyp-prz__nm { font-size: 16px; }
    /* вариант 4: под ёлкой — только топ-3, весь список ниже */
    .nyp-prz .nyp-prz__scene { height: 340px; }
    .nyp-prz .nyp-prz__scene::before { bottom: 30px; height: 80px; left: 0; right: 0; }
    .nyp-prz .nyp-prz__tree { width: 200px; bottom: 92px; }
    .nyp-prz .nyp-prz__boxes { bottom: 62px; gap: 14px; }
    .nyp-prz .nyp-prz__box:not(.is-p1):not(.is-p2):not(.is-p3) { display: none; }
    .nyp-prz .nyp-prz__box.is-p1 { --s: 118px; } .nyp-prz .nyp-prz__box.is-p2, .nyp-prz .nyp-prz__box.is-p3 { --s: 92px; }
    .nyp-prz .nyp-prz__box { width: var(--s); }
    .nyp-prz .nyp-prz__cap { max-width: 100%; padding: 8px 16px; font-size: 15px; white-space: normal; text-align: center; }
    .nyp-prz .nyp-prz__cap { width: max-content; }
    .nyp-prz .nyp-prz__list.is-mob { display: grid; margin-top: 18px !important; padding: 4px 14px !important; border-radius: 14px; background: rgba(0, 0, 0, .18); box-shadow: inset 0 0 0 1px rgba(226, 184, 102, .3); }
    .nyp-prz .nyp-prz__gifts > .nyp-prz__luck { flex-direction: row; text-align: left; padding: 16px 18px; }
    .nyp-prz .nyp-prz__luck.is-box .nyp-prz__luckic { width: 70px; height: 52px; }
    .nyp-prz .nyp-prz__luck.is-box .nyp-prz__luckic img:first-child { width: 48px; height: 48px !important; }
    .nyp-prz .nyp-prz__luck.is-box .nyp-prz__luckic img:last-child { width: 40px; height: 40px !important; top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    .nyp-prz *, .nyp-prz *::before, .nyp-prz *::after { transition: none !important; animation: none !important; }
    .nyp-prz .nyp-prz__card:hover, .nyp-prz .nyp-prz__box button:hover, .nyp-prz .nyp-prz__box.is-on button { transform: none; }
}
