:root {
	--ny-primary: #0c4a6e; 
	--ny-accent: #ef4444;  
	--ny-bg: #f0f9ff;      
	--ny-page-bg: #037ac212; /* фон между карточками-секциями */
	--ny-card-bg: #ffffff;
	--ny-text-main: #334155;
	--ny-text-mutted: #64748b;
	--ny-border: #e0f2fe;
	--ny-radius: 16px;
	--ny-shadow: 0 10px 25px -5px rgba(12, 74, 110, 0.05);
	--ny-font-main: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
	--ny-font-hand: 'Caveat', cursive, sans-serif;
}

html {
	scroll-behavior: smooth;
}

/* Контейнер на всю ширину (от хедера до футера) */

.ny-global-bg {
	position: relative;
	overflow: hidden;
	overflow: clip;
	padding: 60px 0;
	width: 100%;
	box-sizing: border-box;
	background: var(--ny-page-bg);
}

/* Падающий снег (позади каталога) */
.ny-snow-layer {
	position: sticky;
	top: 0;
	height: 100vh;
	margin-bottom: -100vh; /* чтобы слой не сдвигал контент вниз */
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.ny-snow-layer::before {
	content: '';
	position: absolute;
	left: 0; right: 0;
	top: -600px;
	height: calc(100% + 600px);
	background-image:
		radial-gradient(6px 6px at 20px 30px, #ffffff, transparent),
		radial-gradient(4px 4px at 40px 70px, #f0f9ff, transparent),
		radial-gradient(8px 8px at 90px 40px, #ffffff, transparent),
		radial-gradient(5px 5px at 160px 120px, #f0f9ff, transparent);
	background-size: 200px 200px, 150px 150px, 300px 300px, 100px 100px;
	will-change: transform;
	animation: ny-snow 10s linear infinite;
}

@keyframes ny-snow {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(0, 600px, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.ny-snow-layer::before { animation: none; }
}


/* Стопка секций (шрифт Nunito изолирован только внутри неё!). Сама обёртка прозрачная, карточки это .ny-section */
.ny-promo-wrapper {
	max-width: 1240px; 
	margin: 0 auto; 
	padding: 0 20px; 
	font-family: var(--ny-font-main); 
	box-sizing: border-box; 
	position: relative;
	z-index: 1; 
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
}

/* Отдельная секция-карточка */
.ny-section {
	position: relative;
	box-sizing: border-box;
	padding: 48px 28px;
	background-color: var(--ny-card-bg);
	border-radius: 24px;
	box-shadow: 0 20px 50px rgba(12, 74, 110, 0.08);
}

/* Последний элемент секции не добавляет нижний отступ, его задаёт padding карточки */
.ny-section > :last-child {
	margin-bottom: 0;
}

/* Голубоватые секции для чередования ритма */
.ny-section-tint {
	background-color: var(--ny-bg);
	border: 1px solid #bae6fd;
	box-shadow: none;
}
.ny-section-tint .ny-route-circle { background: #fff; }
.ny-section-tint .ny-faq-item { background: #fff; }

/* Каталог главная рабочая зона, чуть выразительнее по тени */
.ny-section-catalog {
	box-shadow: 0 24px 60px rgba(12, 74, 110, 0.12);
}

/* Плашки без карточки: служебный бейдж и контакты стоят прямо на фоне */
.ny-promo-wrapper > .ny-admin-badge,
.ny-promo-wrapper > .ny-contact-card {
	margin-bottom: 0;
}

/* Новогодняя гирлянда */
.ny-section-hero::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; height: 35px;
	border-radius: 24px 24px 0 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30' preserveAspectRatio='none'%3E%3Cpath d='M0,0 Q25,30 50,0 Q75,30 100,0' fill='none' stroke='%2316a34a' stroke-width='3'/%3E%3Ccircle cx='25' cy='15' r='5' fill='%23ef4444'/%3E%3Ccircle cx='75' cy='15' r='5' fill='%23eab308'/%3E%3Ccircle cx='50' cy='3' r='4' fill='%233b82f6'/%3E%3C/svg%3E");
	background-size: 150px 35px;
	z-index: 10;
	pointer-events: none;
}

.ny-admin-badge { background: #fff3cd; color: #856404; padding: 12px 16px; border-radius: 8px; margin-bottom: 28px; font-size: 14px; text-align: center; }
.ny-header-block { text-align: center; margin-bottom: 40px; }
.ny-main-title { font-size: 34px; font-weight: 700; color: var(--ny-primary); margin: 0 0 10px 0; letter-spacing: -0.01em; }
.ny-subtitle { font-size: 17px; color: var(--ny-text-mutted); margin: 0; font-weight: 400; }

.ny-soft-mark {
	background: #e0f2fe;
	color: var(--ny-primary);
	padding: 2px 8px;
	border-radius: 6px;
	font-weight: 600;
}

/* Фильтры и поиск */
.ny-controls { display: flex; gap: 16px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; background: #f8fafc; border: 1px solid var(--ny-border); padding: 20px; border-radius: var(--ny-radius); align-items: center;}
.ny-search-box { position: relative; flex: 1; min-width: 250px; max-width: 400px; }
.ny-search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: #94a3b8; }
.ny-search-box .ny-input { width: 100%; padding: 14px 16px 14px 45px; border: 1px solid #cbd5e1; border-radius: 12px; font-size: 15px; font-family: inherit; outline: none; box-sizing: border-box; background: #fff; }
.ny-select-box { min-width: 200px; position: relative;}
.ny-select { width: 100%; padding: 14px 36px 14px 16px; border: 1px solid #cbd5e1; border-radius: 12px; font-size: 15px; font-family: inherit; background: #fff; cursor: pointer; appearance: none; outline: none;}
.ny-select-box::after { content: "▼"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 12px; color: #64748b; pointer-events: none; }
.ny-btn-random { display: flex; align-items: center; gap: 8px; padding: 14px 20px; background: #fff; border: 1px solid #bae6fd; border-radius: 12px; font-size: 15px; font-family: inherit; font-weight: 600; cursor: pointer; color: var(--ny-primary); transition: all 0.2s; white-space: nowrap;}
.ny-btn-random:hover { background: #e0f2fe; border-color: #7dd3fc; }

/* Карточки каталога */
.ny-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-bottom: 40px;}
.ny-card { background: var(--ny-card-bg); border-radius: var(--ny-radius); padding: 24px; display: flex; flex-direction: column; border: 1px solid #e0f2fe; box-shadow: var(--ny-shadow); transition: all 0.3s ease; position: relative;}
.ny-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -10px rgba(12, 74, 110, 0.15); border-color: #bae6fd;}
.ny-card.ny-highlight { box-shadow: 0 0 0 4px #fbbf24, 0 10px 30px rgba(251, 191, 36, 0.3); transform: translateY(-5px); border-color: transparent;}
.ny-card.selected { border-color: #10b981; box-shadow: 0 0 0 2px #10b981, 0 10px 25px rgba(16, 185, 129, 0.2); }
.ny-card.is-disabled { background: #f8fafc; border-color: #e2e8f0; box-shadow: none; opacity: 0.78; }

.ny-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; position: relative;}
.ny-tags-right { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 6px; }

.ny-senior-dot {
	position: relative;
	flex-shrink: 0;
	width: 30px; height: 30px;
	border-radius: 50%;
	background: #fdf4ff;
	border: 1px solid #f5d0fe;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 0;
	cursor: help;
	outline: none;
}
.ny-senior-dot::before {
	content: '';
	width: 16px;
	height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a21caf'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
}
.ny-senior-dot::after {
	content: attr(data-tip);
	position: absolute;
	bottom: calc(100% + 8px);
	background: var(--ny-primary);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 6px 10px;
	border-radius: 8px;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s;
	pointer-events: none;
	z-index: 20;
}
.ny-senior-dot:hover::after,
.ny-senior-dot:focus::after { opacity: 1; visibility: visible; }

.ny-badge { background: var(--ny-primary); color: #fff; padding: 6px 12px; border-radius: 8px; font-weight: 700; font-size: 14px; position: relative;}
.ny-hat { 
	position: absolute; 
	top: -11px; 
	right: -10px; 
	width: 22px; 
	height: 22px; 
	font-size: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M6 22 C8 10, 18 6, 26 14 L22 22 Z' fill='%23ef4444'/%3E%3Ccircle cx='26' cy='14' r='3.5' fill='%23ffffff'/%3E%3Crect x='4' y='20' width='20' height='5' rx='2.5' fill='%23ffffff'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	transform: rotate(12deg); 
}

.ny-city-tag { 
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px; 
	color: #0284c7; 
	font-weight: 600; 
	background: #e0f2fe; 
	padding: 6px 12px; 
	border-radius: 20px; 
	white-space: nowrap; 
}
.ny-city-tag::before {
	content: '';
	width: 12px;
	height: 12px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230284c7' stroke-width='2.5'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
}

.ny-card-body { flex-grow: 1; }
.ny-name { font-size: 20px; font-weight: 700; margin: 0 0 16px 0; color: var(--ny-primary); }
.ny-wish-block { background: #fef2f2; padding: 16px; border-radius: 12px; margin-bottom: 16px; border-left: 4px solid var(--ny-accent); }
.ny-wish-label { display: block; font-size: 11px; text-transform: uppercase; font-weight: 700; color: #dc2626; margin-bottom: 6px; letter-spacing: 0.03em; }
.ny-wish-text { margin: 0; font-size: 14.5px; color: var(--ny-text-main); line-height: 1.55; font-weight: 400; }

.ny-links-wrapper { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.ny-ref-link { font-size: 13px; color: var(--ny-accent); text-decoration: none; font-weight: 600; padding: 6px 12px; background: #fff0f1; border-radius: 8px; border: 1px solid #ffe4e6; transition: 0.2s;}
.ny-ref-link:hover { background: var(--ny-accent); color: #fff; }

.ny-card-footer { margin-top: auto; padding-top: 20px; border-top: 1px dashed #e0f2fe; }
.ny-btn-primary { width: 100%; background: var(--ny-accent); color: #fff; border: none; padding: 14px; border-radius: 10px; font-family: inherit; font-weight: 600; font-size: 15px; cursor: pointer; transition: 0.2s; }
.ny-btn-primary:hover { background: #dc2626; transform: scale(1.02); }
.ny-card.selected .ny-btn-primary { background: #10b981; }
.ny-card.selected .ny-btn-primary:hover { background: #059669; transform: none; }

.ny-status-taken { 
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-align: center; 
	background: #e2e8f0; 
	color: var(--ny-text-mutted); 
	padding: 14px; 
	border-radius: 10px; 
	font-size: 14px; 
	font-weight: 600; 
}
.ny-status-taken::before {
	content: '';
	width: 16px;
	height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
}

.ny-taken-wrapper { margin-top: 40px; padding-top: 40px; position: relative;}
.ny-taken-wrapper::before { content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, transparent, #cbd5e1, transparent); }
.ny-taken-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 20px; border: 1px solid #e2e8f0; border-radius: 12px; font-family: inherit; font-size: 16px; font-weight: 600; color: var(--ny-text-mutted); cursor: pointer; }
.ny-taken-toggle svg { transition: transform 0.3s; }
.ny-taken-toggle.active svg { transform: rotate(180deg); }
.ny-taken-content { display: none; padding-top: 24px; }

/* --- ПЛАВАЮЩАЯ КОРЗИНА (САНИ) --- */
.ny-floating-cart { 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    font-family: var(--ny-font-main); 
    background: var(--ny-primary); 
    box-shadow: 0 -10px 40px rgba(12,74,110,0.3); 
    padding: 16px 0; 
    transform: translateY(100%); 
    transition: transform 0.4s; 
    z-index: 9000; 
}
.ny-floating-cart.visible { transform: translateY(0); }
.ny-cart-inner { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-size: 16px; 
    color: #fff; 
}
.ny-cart-left { display: flex; align-items: center; gap: 15px; }
.ny-cart-tip { font-size: 14px; color: #e2e8f0; background: rgba(255, 255, 255, 0.1); padding: 5px 14px; border-radius: 20px; border: 1px dashed rgba(255, 255, 255, 0.25); white-space: nowrap; }
.ny-cart-right { display: flex; align-items: center; gap: 20px; }
.ny-cart-clear-btn { background: none; border: none; color: #94a3b8; text-decoration: underline; cursor: pointer; font-size: 15px; padding: 0; transition: color 0.2s; display: inline-flex; align-items: center;}
.ny-cart-clear-btn:hover { color: #cbd5e1; }
.ny-btn-checkout { background: #10b981; color: #fff; border: none; padding: 14px 28px; border-radius: 10px; font-family: inherit; font-weight: 700; font-size: 16px; cursor: pointer; transition: 0.2s;}
.ny-btn-checkout:hover { background: #059669; transform: translateY(-2px);}

/* Адаптив для мобильных устройств */
@media (max-width: 767px) {
    .ny-cart-inner { 
        align-items: center; 
        gap: 12px; 
        padding: 0 16px; 
    }
    .ny-cart-left { 
        flex: 1; 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 8px; 
    }
    
    /* Форсируем текст счетчика и артикул в одну строку */
    .ny-cart-left > div:first-child {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 4px;
        line-height: 1.2;
    }
    
    .ny-cart-tip { 
        font-size: 13px; 
        padding: 4px 10px; 
        white-space: normal; 
        line-height: 1.35; 
    }
    
    .ny-cart-right { 
        display: flex;
        flex-direction: column; 
        align-items: center; 
        gap: 10px; /* Увеличил отступ между кнопкой и ссылкой */
        flex-shrink: 0; 
    }
    
    .ny-btn-checkout { 
        padding: 10px 16px; 
        font-size: 15px; 
        width: auto; 
    }
    
    .ny-cart-clear-btn { 
        font-size: 15px; 
        margin-top: 0; 
    }
}

/* Модалка */
.ny-overlay { position: fixed; inset: 0; font-family: var(--ny-font-main); background: rgba(12, 74, 110, 0.8); backdrop-filter: blur(8px); display: flex; justify-content: center; align-items: center; z-index: 9999; opacity: 0; visibility: hidden; transition: 0.3s; overflow-y: auto; padding: 20px;}
.ny-overlay.active { opacity: 1; visibility: visible; }
.ny-modal-content { background: #fff; width: 100%; max-width: 500px; border-radius: 24px; padding: 36px; position: relative; margin: auto; transform: translateY(20px); transition: 0.3s; box-sizing: border-box;}
.ny-overlay.active .ny-modal-content { transform: translateY(0); }
.ny-close-btn { position: absolute; top: 20px; right: 20px; background: #f1f5f9; border: none; cursor: pointer; color: #64748b; padding: 8px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.2s;}
.ny-close-btn:hover { background: #e2e8f0; color: var(--ny-primary); transform: rotate(90deg);}

.ny-modal-header { margin-bottom: 24px; text-align: center; }
.ny-modal-header h3 { font-size: 26px; font-weight: 700; color: var(--ny-primary); margin: 0 0 10px 0; }
.ny-req { color: var(--ny-accent); }
.ny-form-hint { display: block; font-size: 12px; color: #94a3b8; margin-top: 6px; line-height: 1.4;}
.ny-form .ny-input-group { margin-bottom: 18px; text-align: left; }
.ny-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--ny-text-main); }
.ny-form input, .ny-form textarea { width: 100%; padding: 14px 16px; border: 2px solid #e2e8f0; border-radius: 12px; font-size: 15px; background: #f8fafc; outline: none; font-family: inherit; box-sizing: border-box; transition: 0.2s;}
.ny-form input:focus, .ny-form textarea:focus { background: #fff; border-color: var(--ny-primary); }
.ny-checkbox-group { margin: 24px 0; background: #f8fafc; padding: 16px; border-radius: 12px; border: 1px solid #e2e8f0;}
.ny-checkbox-label { display: flex; gap: 12px; font-size: 13px; color: var(--ny-text-main); margin-bottom: 12px; align-items: flex-start; cursor: pointer;}
.ny-checkbox-label input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--ny-primary);}
.ny-checkbox-label a { color: var(--ny-primary); text-decoration: underline;}
.ny-btn-submit { width: 100%; background: var(--ny-accent); color: #fff; border: none; padding: 18px; border-radius: 12px; font-family: inherit; font-weight: 700; font-size: 16px; cursor: pointer; transition: 0.2s;}
.ny-btn-submit:hover { background: #dc2626; transform: translateY(-2px);}
.ny-form-result { margin-bottom: 15px; font-weight: 600; text-align: center; display: none; font-size: 15px; padding: 12px; border-radius: 8px;}


/* ==========================================================================
   ДИЗАЙН «ЗИМНЯЯ ПОЧТА ДОБРОГО ДЕЛА» (ДО И ПОСЛЕ КАТАЛОГА)
   ========================================================================== */

/* Двухколоночный Hero-экран */
.ny-hero-split {
	display: grid;
	grid-template-columns: 1.25fr 0.95fr;
	gap: 44px;
	align-items: center;
	margin-bottom: 52px;
	padding-top: 8px;
}

.ny-post-stamp-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #f0f9ff;
	color: var(--ny-primary);
	border: 1.5px dashed #7dd3fc;
	padding: 7px 16px;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 600;
	margin-bottom: 18px;
}

.ny-post-stamp-badge svg {
	color: #f59e0b;
	flex-shrink: 0;
}

.ny-hero-title {
	font-size: 38px;
	font-weight: 700;
	color: var(--ny-primary);
	line-height: 1.18;
	margin: 0 0 18px 0;
	letter-spacing: -0.01em;
}

.ny-hand-accent {
	display: block;
	font-family: var(--ny-font-hand);
	font-size: 46px;
	font-weight: 700;
	color: var(--ny-accent);
	line-height: 1.05;
	margin-top: 4px;
	letter-spacing: 0;
}

.ny-hero-lead {
	font-size: 16.5px;
	font-weight: 400;
	line-height: 1.68;
	color: var(--ny-text-main);
	margin: 0 0 28px 0;
}

/* Живой счетчик чудес */
.ny-magic-meter {
	background: var(--ny-primary);
	color: #fff;
	padding: 20px 24px;
	border-radius: 18px;
	box-shadow: 0 14px 30px -8px rgba(12, 74, 110, 0.22);
	position: relative;
	overflow: hidden;
	display: block;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
}

.ny-magic-meter:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 34px -8px rgba(12, 74, 110, 0.3);
}

.ny-meter-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 14.5px;
}

.ny-meter-found {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #e0f2fe;
	font-weight: 400;
}

.ny-meter-found b,
.ny-meter-found strong {
	color: #fff;
	font-weight: 700;
	font-size: 15.5px;
	white-space: nowrap;
}

.ny-meter-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #fbbf24;
	box-shadow: 0 0 10px #fbbf24;
}

.ny-meter-waiting {
	background: rgba(255, 255, 255, 0.12);
	padding: 4px 12px;
	border-radius: 99px;
	font-size: 13.5px;
	color: #bae6fd;
}

.ny-meter-waiting span {
	font-weight: 700;
	color: #fbbf24;
	font-size: 15px;
}

.ny-meter-bar {
	width: 100%;
	height: 10px;
	background: rgba(255, 255, 255, 0.16);
	border-radius: 99px;
	overflow: hidden;
}

.ny-meter-fill {
	height: 100%;
	background: linear-gradient(90deg, #fbbf24 0%, #10b981 100%);
	border-radius: 99px;
	transition: width 0.6s ease;
}

/* Полароидный коллаж справа */
.ny-hero-right {
	position: relative;
	display: flex;
	justify-content: center;
}

.ny-polaroid-stack {
	position: relative;
	width: 100%;
	max-width: 390px;
	height: 330px;
}

.ny-wax-stamp {
	position: absolute;
	top: -18px;
	right: -12px;
	color: var(--ny-accent);
	opacity: 0.22;
	transform: rotate(14deg);
	z-index: 3;
	pointer-events: none;
}

.ny-polaroid {
	position: absolute;
	width: 245px;
	background: #fff;
	padding: 12px 12px 18px 12px;
	border-radius: 6px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 16px 35px rgba(12, 74, 110, 0.12);
	transition: transform 0.35s ease;
}

.ny-polaroid-back {
	top: 8px;
	left: 10px;
	transform: rotate(-5deg);
	z-index: 1;
}

.ny-polaroid-front {
	bottom: 4px;
	right: 12px;
	transform: rotate(4deg);
	z-index: 2;
}

.ny-polaroid-stack:hover .ny-polaroid-back {
	transform: rotate(-7deg) translate(-6px, -4px);
}

.ny-polaroid-stack:hover .ny-polaroid-front {
	transform: rotate(2deg) translate(6px, 4px);
}

.ny-tape {
	position: absolute;
	top: -11px;
	left: 50%;
	transform: translateX(-50%) rotate(-2deg);
	width: 78px;
	height: 22px;
	background: rgba(254, 243, 199, 0.78);
	border-left: 1px dashed rgba(217, 119, 6, 0.25);
	border-right: 1px dashed rgba(217, 119, 6, 0.25);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.ny-polaroid-canvas {
	width: 100%;
	height: 155px;
	border-radius: 3px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ny-polaroid-canvas img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ny-canvas-warm { background: linear-gradient(145deg, #fffbeb 0%, #fef2f2 100%); }
.ny-canvas-sky { background: linear-gradient(145deg, #f0f9ff 0%, #e0f2fe 100%); }

.ny-illus-svg {
	width: 100%;
	height: 100%;
}

.ny-polaroid-caption {
	font-family: var(--ny-font-hand);
	font-size: 21px;
	font-weight: 600;
	color: var(--ny-primary);
	text-align: center;
	margin-top: 10px;
	line-height: 1.1;
}

/* 3 открытки "Кому мы дарим праздник" */
.ny-audience-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
	margin-bottom: 52px;
}

.ny-audience-card {
	background: #fff;
	border: 1px solid #e0f2fe;
	border-top: 4px solid var(--ny-primary);
	border-radius: 16px;
	padding: 24px;
	display: flex;
	gap: 16px;
	align-items: flex-start;
	box-shadow: var(--ny-shadow);
}

.ny-audience-card:nth-child(2) {
	border-top-color: #a21caf;
}

.ny-audience-card:nth-child(3) {
	border-top-color: var(--ny-accent);
}

.ny-audience-art {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
}

.ny-audience-content h3 {
	font-size: 17.5px;
	font-weight: 700;
	color: var(--ny-primary);
	margin: 0 0 8px 0;
}

.ny-audience-content p {
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--ny-text-mutted);
	margin: 0;
}

/* 4 шага на воздушном маршруте */
.ny-route-section {
	margin-bottom: 52px;
	text-align: center;
}

.ny-route-heading {
	margin-bottom: 28px;
	text-align: center;
}

.ny-hand-label {
	display: block;
	font-family: var(--ny-font-hand);
	font-size: 26px;
	font-weight: 600;
	color: var(--ny-accent);
	margin-bottom: 2px;
}

.ny-section-subtitle {
	font-size: 27px;
	font-weight: 700;
	color: var(--ny-primary);
	margin: 0;
}

.ny-route-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	position: relative;
}

.ny-route-grid::before {
	content: '';
	position: absolute;
	top: 34px;
	left: 12%;
	right: 12%;
	height: 2px;
	border-top: 2px dashed #bae6fd;
	z-index: 0;
}

.ny-route-step {
	position: relative;
	z-index: 1;
	padding: 0 8px;
}

.ny-route-circle {
	width: 68px;
	height: 68px;
	margin: 0 auto 16px;
	background: #f0f9ff;
	border: 2px solid #7dd3fc;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ny-primary);
	position: relative;
	box-shadow: 0 8px 20px rgba(12, 74, 110, 0.08);
	transition: transform 0.25s ease, background 0.25s ease;
}

.ny-route-step:hover .ny-route-circle {
	transform: translateY(-4px);
	background: #fff;
	border-color: var(--ny-primary);
}

.ny-route-num {
	position: absolute;
	top: -6px;
	right: -6px;
	background: var(--ny-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 7px;
	border-radius: 99px;
}

.ny-route-step h4 {
	font-size: 17px;
	font-weight: 700;
	color: var(--ny-primary);
	margin: 0 0 8px 0;
}

.ny-route-step p {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--ny-text-mutted);
	margin: 0;
}

/* Подарочные бирки с кодами городов */
.ny-catalog-anchor {
	text-align: center;
	margin-bottom: 24px;
}

.ny-tags-legend {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 20px;
}

.ny-legend-label {
	font-size: 14px;
	font-weight: 600;
	color: var(--ny-text-mutted);
	margin-right: 4px;
}

.ny-gift-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	padding: 6px 14px 6px 10px;
	border-radius: 6px 14px 14px 6px;
	font-size: 14px;
	font-weight: 400;
	color: var(--ny-text-main);
	position: relative;
}

.ny-tag-hole {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #fff;
	border: 1.5px solid #7dd3fc;
}

.ny-gift-tag b,
.ny-gift-tag strong {
	color: var(--ny-primary);
	font-weight: 700;
}

.ny-gift-tag-senior {
	background: #fdf4ff;
	border-color: #f5d0fe;
	color: #701a75;
}

.ny-gift-tag-senior .ny-tag-hole {
	border-color: #e879f9;
}

.ny-gift-tag-senior b,
.ny-gift-tag-senior strong {
	color: #a21caf;
}


/* ================= СЕКЦИЯ ПОСЛЕ КАТАЛОГА ================= */
/* Отрывной календарь дедлайна */
.ny-deadline-banner {
	display: flex;
	align-items: center;
	gap: 24px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: var(--ny-radius);
	padding: 24px 28px;
	margin-bottom: 28px;
}

.ny-calendar-leaf {
	width: 76px;
	height: 80px;
	background: #fff;
	border-radius: 14px;
	border: 1px solid #fca5a5;
	box-shadow: 0 8px 18px rgba(239, 68, 68, 0.12);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	flex-shrink: 0;
	text-align: center;
}

.ny-cal-month {
	background: var(--ny-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 5px 0;
}

.ny-cal-day {
	font-size: 30px;
	font-weight: 700;
	color: var(--ny-primary);
	line-height: 50px;
}

.ny-deadline-text h3 {
	font-size: 20px;
	font-weight: 700;
	color: #991b1b;
	margin: 0 0 6px 0;
}

.ny-deadline-text p {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
	color: #7f1d1d;
	margin: 0;
}

/* ================= ДВЕ КАРТОЧКИ ЛОГИСТИКИ: ОФИС И ПВЗ В ЕДИНОМ СТИЛЕ ================= */
.ny-logistics-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 24px;
	margin-bottom: 32px;
}

.ny-logistics-card {
	background: #fff;
	border: 1px solid #bae6fd;
	border-radius: var(--ny-radius);
	padding: 28px;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
	box-shadow: var(--ny-shadow);
}

/* Праздничная зелёно-золотая кайма сверху карточки Офиса (Способ 1) */
.ny-logistics-card:first-child::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 7px;
	background: repeating-linear-gradient(
		-45deg,
		#10b981,
		#10b981 14px,
		#ffffff 14px,
		#ffffff 22px,
		#f59e0b 22px,
		#f59e0b 36px,
		#ffffff 36px,
		#ffffff 44px
	);
}

/* Почтовая красно-синяя кайма сверху карточки ПВЗ (Способ 2) */
.ny-logistics-airmail::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 7px;
	background: repeating-linear-gradient(
		-45deg,
		#ef4444,
		#ef4444 14px,
		#ffffff 14px,
		#ffffff 22px,
		#0c4a6e 22px,
		#0c4a6e 36px,
		#ffffff 36px,
		#ffffff 44px
	);
}

.ny-logistics-badge {
	align-self: flex-start;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	background: #e0f2fe;
	color: #0369a1;
	padding: 5px 12px;
	border-radius: 8px;
	margin-bottom: 14px;
}

.ny-badge-blue {
	background: var(--ny-primary);
	color: #fff;
}

.ny-logistics-card h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	font-weight: 700;
	color: var(--ny-primary);
	margin: 0 0 14px 0;
}

/* Оформляем список в карточке Офиса как структурный бокс с цветными бейджами (под стать ПВЗ) */
.ny-logistics-list {
	list-style: none;
	margin: 0;
	padding: 16px;
	background: #f8fafc;
	border: 1px solid #bae6fd;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.55;
	color: var(--ny-text-main);
	flex-grow: 1;
}

.ny-logistics-list li {
	margin: 0;
	padding-bottom: 12px;
	border-bottom: 1px dashed #cbd5e1;
}

.ny-logistics-list li:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

/* Первые жирные плашки в строках Офиса (Адрес / График приёма / Важная деталь) */
.ny-logistics-list li > strong:first-child,
.ny-logistics-list li > b:first-child {
	display: inline-block;
	font-size: 12.5px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 6px;
	margin-right: 6px;
	margin-bottom: 4px;
}

.ny-logistics-list li:nth-child(1) > strong:first-child,
.ny-logistics-list li:nth-child(1) > b:first-child {
	background: #dcfce7;
	color: #166534;
}

.ny-logistics-list li:nth-child(2) > strong:first-child,
.ny-logistics-list li:nth-child(2) > b:first-child {
	background: #e0f2fe;
	color: #075985;
}

.ny-logistics-list li:nth-child(3) > strong:first-child,
.ny-logistics-list li:nth-child(3) > b:first-child {
	background: #fef3c7;
	color: #92400e;
}

.ny-logistics-list code {
	background: #fff;
	padding: 2px 7px;
	border-radius: 6px;
	border: 1px solid #cbd5e1;
	font-weight: 700;
	color: var(--ny-primary);
}

.ny-mp-desc {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--ny-text-main);
	margin: 0 0 16px 0;
}

.ny-pvz-box {
	background: #f8fafc;
	border: 1px solid #bae6fd;
	border-radius: 12px;
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 14px;
}

.ny-pvz-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 14px;
	padding-bottom: 8px;
	border-bottom: 1px dashed #cbd5e1;
}

.ny-pvz-item:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.ny-pvz-brand {
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 6px;
	font-size: 12.5px;
}

.ny-brand-ym { background: #fef08a; color: #854d0e; }
.ny-brand-ozon { background: #dbeafe; color: #1e40af; }
.ny-brand-wb { background: #f3e8ff; color: #6b21a8; }

.ny-pvz-addr {
	font-weight: 500;
	color: var(--ny-text-main);
}

.ny-mp-note {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.55;
	color: var(--ny-text-mutted);
	margin: auto 0 0 0;
}

/* Блок для бизнеса */
.ny-b2b-banner {
	display: flex;
	align-items: flex-start;
	gap: 22px;
	background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
	border: 1px solid #bae6fd;
	border-radius: var(--ny-radius);
	padding: 28px 30px;
	margin-bottom: 52px;
}

.ny-b2b-icon {
	width: 60px;
	height: 60px;
	border-radius: 16px;
	background: #fff;
	color: var(--ny-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: var(--ny-shadow);
}

.ny-b2b-tag {
	display: inline-block;
	background: var(--ny-primary);
	color: #fff;
	font-size: 11.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 4px 12px;
	border-radius: 999px;
	margin-bottom: 8px;
}

.ny-b2b-content h3 {
	font-size: 20px;
	font-weight: 700;
	color: var(--ny-primary);
	margin: 0 0 8px 0;
}

.ny-b2b-content p {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
	color: var(--ny-text-main);
	margin: 0;
}

/* FAQ Аккордеон */
.ny-section-title {
	font-size: 28px;
	font-weight: 700;
	color: var(--ny-primary);
	text-align: center;
	margin: 0 0 24px 0;
}

.ny-faq-section {
	max-width: 880px;
	margin: 0 auto 52px;
}

.ny-faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ny-faq-item {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	overflow: hidden;
	transition: all 0.2s;
}

.ny-faq-item[open] {
	background: #fff;
	border-color: #bae6fd;
	box-shadow: var(--ny-shadow);
}

.ny-faq-question {
	padding: 18px 22px;
	font-size: 16.5px;
	font-weight: 600;
	color: var(--ny-primary);
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.ny-faq-question::-webkit-details-marker {
	display: none;
}

.ny-faq-question::after {
	content: '+';
	font-size: 22px;
	font-weight: 500;
	color: #0284c7;
	flex-shrink: 0;
}

.ny-faq-item[open] .ny-faq-question::after {
	content: '−';
	color: var(--ny-accent);
}

.ny-faq-answer {
	padding: 0 22px 20px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
	color: var(--ny-text-main);
}

/* Карточка координатора Виктории */
.ny-contact-card {
	background: var(--ny-primary);
	color: #fff;
	border-radius: 20px;
	padding: 32px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px;
	margin-bottom: 52px;
	box-shadow: 0 15px 35px rgba(12, 74, 110, 0.2);
}

.ny-contact-info {
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: 620px;
}

.ny-contact-avatar {
	width: 100px;
	height: 100px;
	background: rgba(255, 255, 255, 0.1);
	border: 2px solid rgba(125, 211, 252, 0.4);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	overflow: hidden;
}

.ny-contact-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ny-contact-label {
	display: block;
	font-size: 12.5px;
	color: #7dd3fc;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 4px;
}

.ny-contact-info h3 {
	font-size: 23px;
	font-weight: 700;
	margin: 0 0 8px 0;
	color: #fff;
}

.ny-contact-info p {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.55;
	color: #e0f2fe;
	margin: 0;
}

.ny-contact-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 260px;
}

.ny-contact-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 20px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	transition: transform 0.2s, background 0.2s;
}

.ny-btn-phone {
	background: #fff;
	color: var(--ny-primary);
}

.ny-btn-phone:hover {
	background: #f0f9ff;
	transform: translateY(-2px);
}

.ny-btn-mail {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.25);
	font-weight: 500;
	font-size: 14px;
}

.ny-btn-mail:hover {
	background: rgba(255, 255, 255, 0.2);
}

.ny-messengers-note {
	text-align: center;
	font-size: 12px;
	color: #bae6fd;
	margin-bottom: 4px;
}

/* Фотоотчеты ВК — Полароидная гирлянда */
.ny-photos-section {
	text-align: center;
}

.ny-photos-subtitle {
	font-size: 15.5px;
	font-weight: 400;
	color: var(--ny-text-mutted);
	max-width: 720px;
	margin: -12px auto 32px;
	line-height: 1.55;
}

.ny-albums-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
	gap: 20px;
	padding: 8px 4px;
}

.ny-album-card {
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	padding: 14px 14px 18px 14px;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	box-shadow: 0 10px 20px rgba(12, 74, 110, 0.06);
	transition: all 0.3s ease;
}

.ny-album-card:nth-child(odd) { transform: rotate(-1.5deg); }
.ny-album-card:nth-child(even) { transform: rotate(1.5deg); }

.ny-album-card:hover {
	border-color: #0284c7;
	transform: rotate(0deg) translateY(-6px);
	box-shadow: 0 16px 30px -6px rgba(12, 74, 110, 0.15);
	z-index: 2;
}

.ny-album-pin {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--ny-accent);
	box-shadow: 0 2px 4px rgba(239, 68, 68, 0.4);
	margin-bottom: 10px;
}

.ny-album-thumb {
	width: 100%;
	height: 92px;
	background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #0284c7;
	margin-bottom: 12px;
	overflow: hidden; /* добавили */
}
/* новое правило целиком */
.ny-album-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}


.ny-album-year {
	font-family: var(--ny-font-hand);
	font-size: 26px;
	font-weight: 700;
	color: var(--ny-primary);
	line-height: 1.1;
	margin-bottom: 4px;
}

.ny-album-link {
	font-size: 13.5px;
	font-weight: 600;
	color: #0284c7;
}


/* ==========================================================================
   БЫСТРЫЕ ЯКОРЯ И КНОПКА «ПОКАЗАТЬ ЕЩЁ»
   ========================================================================== */

.ny-quick-jumps {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 18px;
	font-size: 13.5px;
}

.ny-jumps-label {
	color: var(--ny-text-mutted);
	font-weight: 500;
}

.ny-jump-link {
	color: var(--ny-primary);
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	padding: 6px 14px;
	border-radius: 99px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.2s ease;
}

.ny-jump-link:hover {
	background: var(--ny-primary);
	color: #fff;
	border-color: var(--ny-primary);
	transform: translateY(-1px);
}

.ny-load-more-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin: 8px 0 40px;
	padding: 24px;
	background: linear-gradient(180deg, #f8fafc 0%, #f0f9ff 100%);
	border: 1px dashed #7dd3fc;
	border-radius: var(--ny-radius);
	text-align: center;
}

.ny-load-more-counter {
	font-size: 14.5px;
	color: var(--ny-text-mutted);
}

.ny-load-more-counter strong {
	color: var(--ny-primary);
	font-weight: 700;
}

.ny-load-more-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.ny-btn-load-more {
	background: var(--ny-primary);
	color: #fff;
	border: none;
	padding: 14px 32px;
	border-radius: 12px;
	font-family: inherit;
	font-size: 15.5px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 8px 20px -4px rgba(12, 74, 110, 0.22);
	transition: all 0.2s ease;
}

.ny-btn-load-more:hover {
	background: #075985;
	transform: translateY(-2px);
}

.ny-btn-show-all {
	background: transparent;
	color: #0284c7;
	border: 1px solid #7dd3fc;
	padding: 13px 20px;
	border-radius: 12px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.ny-btn-show-all:hover {
	background: #fff;
	color: var(--ny-primary);
	border-color: var(--ny-primary);
}

.ny-empty-filter-msg {
	grid-column: 1 / -1;
	text-align: center;
	padding: 36px 20px;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 12px;
	color: var(--ny-text-mutted);
	font-size: 16px;
}

/* Адаптив для планшетов и мобильных устройств */
@media (max-width: 960px) {
	.ny-hero-split {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.ny-route-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.ny-route-grid::before {
		display: none;
	}
}

@media (max-width: 640px) {
	.ny-global-bg { padding: 32px 0; }
	.ny-promo-wrapper { padding: 0 10px; gap: 20px; }
	.ny-section { padding: 36px 14px; border-radius: 20px; }
	.ny-section-hero::before { border-radius: 20px 20px 0 0; }
	.ny-hero-title { font-size: 28px; }
	.ny-hand-accent { font-size: 36px; }
	.ny-polaroid-stack { height: 290px; max-width: 310px; }
	.ny-polaroid { width: 200px; }
	.ny-route-grid { grid-template-columns: 1fr; }
	.ny-contact-card { padding: 24px 20px; text-align: center; justify-content: center; }
	.ny-contact-info { flex-direction: column; }
	.ny-contact-actions { width: 100%; }
	.ny-deadline-banner { flex-direction: column; align-items: flex-start; gap: 14px; }
	.ny-b2b-banner { flex-direction: column; }
}

/* Блокировка скролла фона при открытой модалке */
body.ny-no-scroll {
    overflow: hidden !important;
    touch-action: none; 
}
.ny-overlay {
    -webkit-overflow-scrolling: touch; /* Плавный скролл самой формы на iOS */
}

/* Фиксы для модалки на мобильных */
@media (max-width: 767px) {
    /* Не даем тексту наезжать на крестик */
    .ny-modal-header {
        padding-right: 32px; 
    }
    .ny-modal-header h3 {
        font-size: 22px; /* Чуть уменьшили шрифт */
    }
    .ny-close-btn {
        top: 16px;
        right: 16px;
        padding: 6px;
    }
    
    /* Чиним огромные галочки */
    .ny-checkbox-label input {
        width: 16px !important;
        height: 16px !important;
        flex-shrink: 0; /* Запрещаем растягиваться */
        margin-top: 2px;
    }
}

/* Чиним лейблы и галочки внутри .ny-form */
.ny-form .ny-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 12px;
}

/* Чиним лейблы и галочки внутри .ny-form */
.ny-form .ny-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 12px;
}

.ny-form .ny-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    flex-shrink: 0;
    margin: 2px 0 0;
    padding: 0;
    border: 0;
    background: none;
    accent-color: var(--ny-primary);
}
@media (max-width: 767px) {
    .ny-form input,
    .ny-form textarea,
    .ny-form select,
    .ny-select,
    .ny-search-box .ny-input {
        font-size: 16px;
    }
}

/* Мобильный каталог: ровные фильтры и легенда */
@media (max-width: 767px) {

    /* Легенда с кодами городов */
    .ny-section-catalog .ny-tags-legend {
        justify-content: center;
        gap: 8px 10px;
        margin-top: 16px;
    }

    .ny-section-catalog .ny-legend-label {
        flex: 0 0 100%;
        margin-right: 0;
        text-align: center;
    }

    .ny-section-catalog .ny-gift-tag {
        padding: 6px 10px 6px 8px;
        gap: 6px;
        font-size: 13px;
    }

    /* Сетка фильтров в две колонки */
    .ny-section-catalog .ny-controls {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 16px;
        align-items: stretch;
    }

    /* Поиск на всю ширину */
    .ny-section-catalog .ny-search-box {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .ny-section-catalog .ny-search-box .ny-input {
        height: 48px;
    }

    /* Два одинаковых фильтра */
    .ny-section-catalog .ny-select-box {
        width: 100%;
        min-width: 0;
    }

    .ny-section-catalog .ny-select {
        box-sizing: border-box;
        min-width: 0;
        height: 48px;
        padding-left: 12px;
        padding-right: 28px;
        font-size: 16px;
    }

    .ny-section-catalog .ny-select-box::after {
        right: 11px;
        font-size: 10px;
    }

    /* Кнопка на всю ширину */
    .ny-section-catalog .ny-btn-random {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 48px;
        justify-content: center;
        box-sizing: border-box;
    }
}

/* Для очень узких телефонов */
@media (max-width: 350px) {
    .ny-section-catalog .ny-controls {
        grid-template-columns: minmax(0, 1fr);
    }
}
