/**
 * РЃРїСЂСЃС‚РџРѕРєРµСЂ вЂ” СЃС‚РёР»Рё С‚РµРјС‹.
 * Р‘Р°Р·Р° (С†РІРµС‚Р°, С€СЂРёС„С‚С‹, СЂР°Р·РјРµСЂС‹) РїСЂРёС…РѕРґРёС‚ РёР· theme.json,
 * Р·РґРµСЃСЊ вЂ” РєРѕРјРїРѕРЅРµРЅС‚С‹: С€Р°РїРєР°, РіРµСЂРѕР№, РєР°СЂС‚РѕС‡РєРё, РїРѕРґРІР°Р», РјР°РіР°Р·РёРЅ.
 */

/* ==========================================================================
   1. РџРµСЂРµРјРµРЅРЅС‹Рµ Рё РѕСЃРЅРѕРІР°
   ========================================================================== */

:root {
	--yp-bg: #0a1210;
	--yp-bg-2: #0c1a13;
	--yp-felt: #14432f;
	--yp-ink: #06100c;
	--yp-accent: var(--wp--preset--color--gold, #e8c25a);
	--yp-accent-2: var(--wp--preset--color--bronze, #c9862a);
	--yp-accent-rgb: 232, 194, 90;
	--yp-cream: #f6f1e4;
	--yp-text: #eaf3ee;
	--yp-muted: #94aca0;
	--yp-line: rgba(232, 194, 90, .16);
	--yp-line-soft: rgba(255, 255, 255, .07);
	--yp-glass: rgba(255, 255, 255, .045);
	--yp-glass-2: rgba(255, 255, 255, .075);
	--yp-ok: #58d18c;
	--yp-danger: #ef6f63;
	--yp-red: #ff6b63;
	--yp-radius: 20px;
	--yp-radius-sm: 14px;
	--yp-radius-btn: 13px;
	--yp-shadow: 0 30px 60px -28px rgba(0, 0, 0, .9);
	--yp-shadow-accent: 0 18px 40px -16px rgba(var(--yp-accent-rgb), .75);
	--yp-container: 1180px;
	--yp-container-narrow: 760px;
	--yp-header-h: 72px;
	--yp-ease: cubic-bezier(.22, .61, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--yp-header-h) + 20px);
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: var(--wp--preset--font-family--system, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
	font-size: 17px;
	line-height: 1.65;
	color: var(--yp-text);
	background-color: var(--yp-bg);
	background-image:
		radial-gradient(1100px 620px at 10% -12%, rgba(29, 64, 49, .95), transparent 62%),
		radial-gradient(900px 520px at 94% 2%, rgba(var(--yp-accent-rgb), .12), transparent 60%),
		linear-gradient(170deg, var(--yp-bg-2), var(--yp-bg) 65%);
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 3px 3px;
	mix-blend-mode: overlay;
	opacity: .45;
}

body > * { position: relative; z-index: 1 }

img, svg, video { max-width: 100%; height: auto }
a { color: var(--yp-accent) }
a:hover { color: var(--yp-cream) }

::selection { background: rgba(var(--yp-accent-rgb), .35); color: #fff }

:focus-visible {
	outline: 2px solid var(--yp-accent);
	outline-offset: 3px;
	border-radius: 6px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	padding: 14px 22px;
	background: var(--yp-accent);
	color: #14201a;
	font-weight: 700;
	border-radius: 0 0 var(--yp-radius-sm) 0;
}

.skip-link:focus { left: 0 }

/* ==========================================================================
   2. Р Р°СЃРєР»Р°РґРєР°
   ========================================================================== */

.yp-container {
	width: 100%;
	max-width: var(--yp-container);
	margin-inline: auto;
	padding-inline: clamp(16px, 4vw, 40px);
}

.yp-container--narrow { max-width: var(--yp-container-narrow) }

.yp-main { min-height: 50vh }
.yp-main--plain .yp-page-body { padding-top: 28px }
.yp-main--bare { padding-block: 40px }

.yp-page-head {
	padding: clamp(28px, 5vw, 56px) 0 clamp(6px, 2vw, 14px);
	border-bottom: 1px solid var(--yp-line-soft);
	margin-bottom: clamp(24px, 4vw, 40px);
}

.yp-page-head__inner { display: grid; gap: 12px }

.yp-page-title {
	margin: 0;
	font-size: clamp(28px, 3.6vw, 40px);
	line-height: 1.12;
	letter-spacing: -.025em;
	font-weight: 800;
}

.yp-page-date { color: var(--yp-muted); font-size: 14px }

.yp-term-description {
	max-width: 46em;
	margin-top: 10px;
	color: var(--yp-muted);
	font-size: 15.5px;
	line-height: 1.65;
}

.yp-term-description p:last-child { margin-bottom: 0 }
.yp-page-body { padding-bottom: clamp(30px, 5vw, 60px) }

/* ==========================================================================
   3. РЁР°РїРєР°
   ========================================================================== */

.yp-site-header {
	position: relative;
	z-index: 60;
	background: rgba(10, 18, 16, .82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s, background .25s, box-shadow .25s;
}

.yp-site-header.is-fixed {
	position: fixed;
	inset-inline: 0;
	top: var(--yp-adminbar, 0px);
}

.yp-header-spacer { height: 0 }

.yp-site-header.is-stuck {
	border-bottom-color: var(--yp-line);
	box-shadow: 0 18px 40px -30px rgba(0, 0, 0, .9);
	background: rgba(10, 18, 16, .9);
}

/* Тонкая золотая линия появляется, когда шапка прилипла */
.yp-site-header::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: -1px;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(var(--yp-accent-rgb), .6), transparent);
	opacity: 0;
	transition: opacity .25s;
	pointer-events: none;
}

.yp-site-header.is-stuck::after { opacity: 1 }

/* РЈС‡РёС‚С‹РІР°РµРј Р°РґРјРёРЅ-Р±Р°СЂ WordPress, С‡С‚РѕР±С‹ Р»РёРїРєР°СЏ С€Р°РїРєР° РЅРµ Р»РµР·Р»Р° РїРѕРґ РЅРµРіРѕ */
body.admin-bar { --yp-adminbar: 32px }
body.admin-bar .yp-site-header { top: var(--yp-adminbar) }
body.admin-bar .yp-mobile-menu { inset-block-start: calc(var(--yp-header-h) + var(--yp-adminbar, 0px)) }

@media screen and (max-width: 782px) {
	body.admin-bar { --yp-adminbar: 46px }
}

/* 3D-веер тузов в шапке */
.yp-aces {
	position: relative;
	flex: 0 0 auto;
	width: 142px;
	height: 56px;
	margin-top: 6px;
	perspective: 900px;
	perspective-origin: 50% 40%;
}

.yp-aces::before {
	content: "";
	position: absolute;
	inset: -16px -10px;
	background: radial-gradient(closest-side, rgba(var(--yp-accent-rgb), .22), transparent 72%);
	filter: blur(4px);
	pointer-events: none;
}

.yp-aces__fan {
	position: absolute;
	inset: 0;
	transform-style: preserve-3d;
	animation: yp-fan-float 7s ease-in-out infinite;
}

@keyframes yp-fan-float {
	0%, 100% { transform: translateY(0) rotate(-1.2deg) }
	50% { transform: translateY(-6px) rotate(1.2deg) }
}

.yp-ace {
	position: absolute;
	left: 50%;
	bottom: 0;
	display: grid;
	place-items: center;
	width: 40px;
	height: 56px;
	margin-left: -20px;
	border-radius: 6px;
	color: #16202a;
	background: linear-gradient(158deg, #fdfbf3 0%, #efe9d8 55%, #ddd5c0 100%);
	border: 1px solid rgba(255, 255, 255, .85);
	box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(20, 32, 26, .06);
	transform-origin: 50% 118%;
	transition: transform .5s var(--yp-ease), box-shadow .5s var(--yp-ease);
	will-change: transform;
}

.yp-ace b {
	position: absolute;
	top: 4px;
	left: 6px;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
}

.yp-ace i { font-style: normal; font-size: 22px; line-height: 1 }

.yp-ace--heart,
.yp-ace--diamond { color: #b02a30 }

.yp-ace:nth-child(1) { transform: rotate(-26deg) translateX(-44px) translateZ(0) }
.yp-ace:nth-child(2) { transform: rotate(-9deg) translateX(-14px) translateZ(14px) }
.yp-ace:nth-child(3) { transform: rotate(9deg) translateX(14px) translateZ(28px) }
.yp-ace:nth-child(4) { transform: rotate(26deg) translateX(44px) translateZ(42px) }

.yp-aces:hover .yp-ace:nth-child(1) { transform: rotate(-38deg) translateX(-62px) translateZ(0); box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .95) }
.yp-aces:hover .yp-ace:nth-child(2) { transform: rotate(-13deg) translateX(-21px) translateZ(20px); box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .95) }
.yp-aces:hover .yp-ace:nth-child(3) { transform: rotate(13deg) translateX(21px) translateZ(34px); box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .95) }
.yp-aces:hover .yp-ace:nth-child(4) { transform: rotate(38deg) translateX(62px) translateZ(48px); box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .95) }

@media (prefers-reduced-motion: reduce) {
	.yp-aces__fan { animation: none }
}

.yp-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 18px;
	min-height: 66px;
	max-width: var(--yp-container);
	margin-inline: auto;
	padding: 12px clamp(16px, 4vw, 40px);
}

.yp-site-header__aside {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
}

/* Второй ряд шапки: меню и виджеты */
.yp-site-header__bar { border-top: 1px solid var(--yp-line-soft) }

.yp-header-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 52px;
	padding-block: 4px;
}

.yp-header-bar__inner .yp-header-widgets {
	max-width: none;
	margin: 0;
	padding: 0;
	justify-content: flex-end;
	flex-wrap: nowrap;
}

.yp-header-bar__inner .yp-widget {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.yp-header-bar__inner .yp-widget__title { margin: 0; font-size: 11px }

.yp-logo__text,
.yp-brand__text {
	display: inline-grid;
	gap: 3px;
	align-content: center;
	max-width: 380px;
	text-decoration: none;
	color: var(--yp-cream);
}

.yp-logo__text:hover,
.yp-brand__text:hover { color: var(--yp-cream) }

.yp-logo__mark { display: block; flex: 0 0 auto; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .5)) }

.yp-logo__name {
	position: relative;
	display: inline-block;
	font-weight: 800;
	font-size: clamp(26px, 2.5vw, 35px);
	line-height: 1.05;
	letter-spacing: -.035em;
	background: linear-gradient(100deg, #fff 0%, #f8ecc4 26%, var(--yp-accent) 52%, #fff 78%, #f8ecc4 100%);
	background-size: 220% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	white-space: nowrap;
	animation: yp-logo-shine 11s ease-in-out infinite;
}

/* Золотой ромб после названия — маленькая деталь, оживляет логотип */
.yp-logo__name::after {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-left: 7px;
	border-radius: 2px;
	background: var(--yp-accent);
	box-shadow: 0 0 14px rgba(var(--yp-accent-rgb), .9);
	transform: translateY(-9px) rotate(45deg);
	-webkit-text-fill-color: initial;
}

@keyframes yp-logo-shine {
	0%, 62%, 100% { background-position: 0% 50% }
	82% { background-position: 100% 50% }
}

@media (prefers-reduced-motion: reduce) {
	.yp-logo__name { animation: none }
}

.yp-logo__tagline {
	display: block;
	max-width: 380px;
	font-size: 11.5px;
	line-height: 1.35;
	letter-spacing: .01em;
	color: var(--yp-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.custom-logo-link img { max-height: 44px; width: auto; display: block }

.yp-site-header__nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 10px;
	min-width: 0;
}

.yp-menu-wrap { position: relative }

.yp-menu__list {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.yp-menu__list li { position: relative }

.yp-menu__list a {
	display: inline-block;
	padding: 9px 11px;
	border-radius: 999px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--yp-text);
	text-decoration: none;
	white-space: nowrap;
	transition: color .2s, background .2s;
}

.yp-menu__list a:hover { color: var(--yp-cream); background: var(--yp-glass) }

.yp-menu__list .current-menu-item > a,
.yp-menu__list .current_page_item > a {
	color: #14201a;
	background: linear-gradient(135deg, #f3d78a, var(--yp-accent));
	box-shadow: 0 8px 20px -12px rgba(var(--yp-accent-rgb), .9);
}

/* РџРѕРґРјРµРЅСЋ: РЅР° РґРµСЃРєС‚РѕРїРµ вЂ” РІС‹РїР°РґР°С€РєР°, РІ С€С‚РѕСЂРєРµ вЂ” РѕР±С‹С‡РЅС‹Р№ СЃРїРёСЃРѕРє */
.yp-menu__list .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 20;
	display: none;
	min-width: 210px;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: rgba(10, 18, 16, .97);
	border: 1px solid var(--yp-line-soft);
	border-radius: 14px;
	box-shadow: var(--yp-shadow);
	backdrop-filter: blur(10px);
}

.yp-menu__list li:hover > .sub-menu,
.yp-menu__list li:focus-within > .sub-menu { display: flex }

.yp-menu__list .sub-menu a { display: block; padding: 9px 12px; border-radius: 9px; white-space: normal }

.yp-header__actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto }

/* Кнопки и меню в шапке никогда не растягиваются на пол-экрана */
.yp-site-header__nav > * { flex: 0 0 auto }
.yp-site-header__nav .yp-menu-wrap { flex: 0 0 auto }
.yp-header__actions .yp-btn { flex: 0 0 auto; width: auto }

.yp-burger {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--yp-line-soft);
	border-radius: 12px;
	background: var(--yp-glass);
	cursor: pointer;
	position: relative;
}

.yp-burger span {
	position: absolute;
	left: 50%;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: var(--yp-cream);
	transform: translateX(-50%);
	transition: transform .28s var(--yp-ease), opacity .2s;
}

.yp-burger span:nth-child(1) { top: 15px }
.yp-burger span:nth-child(2) { top: 21px }
.yp-burger span:nth-child(3) { top: 27px }

.yp-burger[aria-expanded="true"] span:nth-child(1) { transform: translateX(-50%) translateY(6px) rotate(45deg) }
.yp-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0 }
.yp-burger[aria-expanded="true"] span:nth-child(3) { transform: translateX(-50%) translateY(-6px) rotate(-45deg) }

/* РњРѕР±РёР»СЊРЅР°СЏ С€С‚РѕСЂРєР° */
.yp-mobile-menu {
	position: fixed;
	inset: var(--yp-header-h) 0 auto 0;
	z-index: 55;
	max-height: calc(100dvh - var(--yp-header-h));
	overflow-y: auto;
	background: rgba(8, 15, 12, .97);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--yp-line);
	box-shadow: 0 30px 60px -30px #000;
}

.yp-mobile-menu[hidden] { display: none }

.yp-mobile-menu__inner { padding: 18px clamp(16px, 5vw, 32px) 32px }

.yp-mobile-menu__nav .yp-menu__list { display: grid; gap: 2px }

.yp-mobile-menu__nav .yp-menu__list > li > a {
	display: block;
	padding: 14px 4px;
	font-size: 19px;
	font-weight: 700;
	color: var(--yp-cream);
	border-radius: 0;
	border-bottom: 1px solid var(--yp-line-soft);
	white-space: normal;
}

.yp-mobile-menu__nav .yp-menu__list .current-menu-item > a { color: var(--yp-accent) }

.yp-mobile-menu__nav .sub-menu {
	position: static;
	display: grid;
	min-width: 0;
	padding: 0 0 0 14px;
	margin: 0;
	border: 0;
	border-left: 1px solid var(--yp-line-soft);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.yp-mobile-menu__nav .sub-menu a { padding: 10px 4px; font-size: 16px; font-weight: 500; color: var(--yp-muted) }

.yp-mobile-menu__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px }
.yp-mobile-menu__actions .yp-btn { flex: 1 1 46% }

/* ==========================================================================
   4. РљРЅРѕРїРєРё, С‡РёРїС‹, РёРєРѕРЅРєРё
   ========================================================================== */

.yp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 14px 26px;
	font: inherit;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none;
	border: 0;
	border-radius: var(--yp-radius-btn);
	cursor: pointer;
	white-space: nowrap;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	transition: transform .16s var(--yp-ease), box-shadow .22s, filter .22s, background .22s, color .22s;
}

.yp-btn--gold {
	color: #14201a;
	background: linear-gradient(135deg, #f6e2a4, var(--yp-accent) 45%, var(--yp-accent-2));
	box-shadow: var(--yp-shadow-accent);
	position: relative;
	overflow: hidden;
}

.yp-btn--gold::after {
	content: "";
	position: absolute;
	top: 0;
	left: -120%;
	width: 55%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
	transform: skewX(-20deg);
	animation: yp-sheen 4.2s ease-in-out infinite;
}

.yp-btn--gold:hover {
	color: #14201a;
	transform: translateY(-2px);
	filter: brightness(1.06);
}

.yp-btn--gold:active { transform: translateY(0) }

.yp-btn--ghost {
	color: var(--yp-cream);
	background: var(--yp-glass);
	border: 1px solid var(--yp-line-soft);
	box-shadow: none;
}

.yp-btn--ghost:hover {
	color: var(--yp-accent);
	border-color: var(--yp-accent);
	background: rgba(var(--yp-accent-rgb), .1);
	transform: translateY(-1px);
}

.yp-btn--sm { padding: 10px 18px; font-size: 14.5px }

.yp-btn--wide { width: 100% }

@keyframes yp-sheen {
	0%, 62% { left: -120% }
	100% { left: 135% }
}

.yp-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 15px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--yp-accent);
	background: rgba(var(--yp-accent-rgb), .1);
	border: 1px solid var(--yp-line);
	border-radius: 999px;
}

.yp-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--yp-accent);
	margin-bottom: 12px;
}

.yp-icon { width: 20px; height: 20px; flex: 0 0 auto }

.yp-cart { position: relative; display: inline-flex }

.yp-cart__count {
	position: absolute;
	top: -6px;
	right: -8px;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	display: grid;
	place-items: center;
	font-size: 11px;
	font-weight: 700;
	border-radius: 999px;
	color: #14201a;
	background: var(--yp-accent);
	opacity: 0;
	transform: scale(.6);
	transition: opacity .2s, transform .2s;
}

.yp-cart__count.is-filled { opacity: 1; transform: none }

/* ==========================================================================
   5. Р“РµСЂРѕР№
   ========================================================================== */

.yp-hero {
	position: relative;
	padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 80px);
	overflow: hidden;
}

.yp-hero::after {
	content: "";
	position: absolute;
	top: -30%;
	right: -10%;
	width: 60vw;
	height: 60vw;
	max-width: 780px;
	max-height: 780px;
	background: radial-gradient(circle, rgba(var(--yp-accent-rgb), .14), transparent 62%);
	pointer-events: none;
	z-index: -1;
}

.yp-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}

.yp-hero__title {
	margin: 18px 0 16px;
	font-size: clamp(34px, 6.2vw, 66px);
	line-height: 1.03;
	font-weight: 800;
	letter-spacing: -.035em;
	background: linear-gradient(94deg, #fff 12%, var(--yp-accent) 62%, var(--yp-accent-2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.yp-hero__text {
	margin: 0 0 28px;
	max-width: 56ch;
	font-size: clamp(16px, 1.6vw, 19px);
	color: var(--yp-muted);
}

.yp-hero .wp-block-buttons { gap: 12px; margin-bottom: 34px }

.yp-hero__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.yp-hero__facts li {
	padding: 14px 16px;
	border-radius: var(--yp-radius-sm);
	background: var(--yp-glass);
	border: 1px solid var(--yp-line-soft);
}

.yp-hero__facts b {
	display: block;
	font-size: 26px;
	line-height: 1.1;
	color: var(--yp-accent);
	font-weight: 800;
}

.yp-hero__facts span { font-size: 13px; color: var(--yp-muted); line-height: 1.35; display: block }

/* Р’РµРµСЂ РёР· РєР°СЂС‚ */
.yp-hero__visual { position: relative; display: grid; place-items: center; min-height: 380px }

.yp-fan {
	position: relative;
	width: min(320px, 100%);
	aspect-ratio: 1 / 1;
	transform-style: preserve-3d;
}

.yp-fan__card {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 122px;
	height: 178px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border-radius: 14px;
	background: linear-gradient(165deg, #fffdf8, #ece5d5);
	box-shadow: 0 28px 44px -18px rgba(0, 0, 0, .9);
	font-weight: 800;
	color: #1b1f1d;
	animation: yp-float 7s ease-in-out infinite;
}

.yp-fan__card span:first-child { font-size: 42px; line-height: 1 }
.yp-fan__card span:last-child { font-size: 30px; line-height: 1 }
.yp-fan__card .red { color: var(--yp-red) }

.yp-fan__card--1 { transform: rotate(-16deg) translateX(-70px) translateY(16px); z-index: 4; animation-delay: -1.2s }
.yp-fan__card--2 { transform: rotate(-5deg) translateX(-24px); z-index: 3; animation-delay: -2.6s }
.yp-fan__card--3 { transform: rotate(6deg) translateX(24px); z-index: 2; animation-delay: -3.4s }
.yp-fan__card--4 { transform: rotate(17deg) translateX(70px) translateY(16px); z-index: 1; animation-delay: -4.6s }

@keyframes yp-float {
	0%, 100% { margin-top: 0 }
	50% { margin-top: -14px }
}

.yp-hero__badge {
	position: absolute;
	right: 2%;
	bottom: 6%;
	padding: 12px 18px;
	border-radius: 14px;
	font-size: 13px;
	line-height: 1.3;
	color: var(--yp-muted);
	background: rgba(10, 18, 16, .86);
	border: 1px solid var(--yp-line);
	box-shadow: var(--yp-shadow);
	backdrop-filter: blur(8px);
}

.yp-hero__badge b { color: var(--yp-ok); font-size: 17px }

/* ==========================================================================
   6. РЎРµРєС†РёРё Рё СЃРµС‚РєРё
   ========================================================================== */

.yp-section { padding: clamp(52px, 7vw, 96px) 0 }

.yp-section--tight { padding: clamp(38px, 5vw, 64px) 0 }

.yp-section__head { max-width: 68ch; margin: 0 auto clamp(30px, 4vw, 52px); text-align: center }
.yp-section__head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	max-width: none;
	text-align: left;
	flex-wrap: wrap;
}
.yp-section__head--row > div { max-width: 62ch; margin-inline: 0 }

.yp-section__title {
	margin: 0 0 12px;
	font-size: clamp(26px, 3.6vw, 40px);
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -.025em;
}

.yp-section__lead { margin: 0; color: var(--yp-muted); font-size: clamp(15px, 1.4vw, 17.5px) }

.yp-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 16px;
}

.yp-card-mini {
	padding: 26px 24px 28px;
	border-radius: var(--yp-radius);
	background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
	border: 1px solid var(--yp-line-soft);
	box-shadow: 0 20px 40px -30px rgba(0, 0, 0, .9);
	transition: transform .25s var(--yp-ease), border-color .25s, background .25s;
}

.yp-card-mini:hover {
	transform: translateY(-4px);
	border-color: var(--yp-line);
	background: linear-gradient(180deg, rgba(var(--yp-accent-rgb), .08), rgba(255, 255, 255, .02));
}

.yp-card-mini__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 16px;
	font-size: 22px;
	color: var(--yp-accent);
	background: rgba(var(--yp-accent-rgb), .1);
	border: 1px solid var(--yp-line);
	border-radius: 13px;
}

.yp-card-mini h3 { margin: 0 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -.015em }
.yp-card-mini p { margin: 0; color: var(--yp-muted); font-size: 15.5px; line-height: 1.55 }

/* РЁР°РіРё */
.yp-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: yp-step;
}

.yp-step {
	position: relative;
	padding: 28px 24px 30px;
	border-radius: var(--yp-radius);
	background: var(--yp-glass);
	border: 1px solid var(--yp-line-soft);
	overflow: hidden;
}

.yp-step::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: linear-gradient(var(--yp-accent), var(--yp-accent-2));
	transform: scaleY(0);
	transform-origin: top;
	transition: transform .35s var(--yp-ease);
}

.yp-step:hover::before { transform: scaleY(1) }

.yp-step__num {
	display: block;
	margin-bottom: 12px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .16em;
	color: var(--yp-accent);
}

.yp-step h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800 }
.yp-step p { margin: 0; color: var(--yp-muted); font-size: 15.5px }

/* РўР°СЂРёС„С‹ */
.yp-plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
	align-items: stretch;
}

.yp-plan {
	display: flex;
	flex-direction: column;
	padding: 30px 26px 28px;
	border-radius: var(--yp-radius);
	background: var(--yp-glass);
	border: 1px solid var(--yp-line-soft);
	transition: transform .25s var(--yp-ease), border-color .25s;
}

.yp-plan:hover { transform: translateY(-4px); border-color: var(--yp-line) }

.yp-plan.is-featured {
	border-color: var(--yp-accent);
	background: linear-gradient(180deg, rgba(var(--yp-accent-rgb), .12), rgba(255, 255, 255, .02));
	box-shadow: var(--yp-shadow-accent);
}

.yp-plan__flag {
	align-self: flex-start;
	margin-bottom: 14px;
	padding: 5px 12px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #14201a;
	background: linear-gradient(135deg, #f6e2a4, var(--yp-accent));
	border-radius: 999px;
}

.yp-plan__name { margin: 0 0 6px; font-size: 21px; font-weight: 800 }

.yp-plan__price {
	margin: 0 0 4px;
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--yp-accent);
}

.yp-plan__note { margin: 0 0 18px; color: var(--yp-muted); font-size: 14.5px }
.yp-plan ul { flex: 1 }
.yp-plan__btn { margin-top: 20px; width: 100% }

.yp-plans__note { margin: 22px 0 0; text-align: center; color: var(--yp-muted); font-size: 14px }

.yp-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px }

.yp-ticks li {
	position: relative;
	padding-left: 28px;
	font-size: 15px;
	color: var(--yp-text);
}

.yp-ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .48em;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: rgba(var(--yp-accent-rgb), .16);
	box-shadow: inset 0 0 0 1px var(--yp-line);
}

.yp-ticks li::after {
	content: "";
	position: absolute;
	left: 5px;
	top: .82em;
	width: 6px;
	height: 3px;
	border-left: 2px solid var(--yp-accent);
	border-bottom: 2px solid var(--yp-accent);
	transform: rotate(-45deg);
}

/* Р¦РёС‚Р°С‚С‹ */
.yp-quotes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
}

.yp-quote {
	margin: 0;
	padding: 26px 24px;
	border-radius: var(--yp-radius);
	background: var(--yp-glass);
	border: 1px solid var(--yp-line-soft);
}

.yp-quote blockquote {
	margin: 0 0 16px;
	font-size: 16.5px;
	line-height: 1.6;
	color: var(--yp-cream);
}

.yp-quote figcaption { font-size: 13.5px; color: var(--yp-muted) }
.yp-quote figcaption::before { content: "вЂ” " }

/* FAQ */
.yp-faq { display: grid; gap: 10px }

.yp-faq__item {
	border-radius: var(--yp-radius-sm);
	background: var(--yp-glass);
	border: 1px solid var(--yp-line-soft);
	overflow: hidden;
	transition: border-color .2s;
}

.yp-faq__item[open] { border-color: var(--yp-line); background: var(--yp-glass-2) }

.yp-faq__item summary {
	position: relative;
	padding: 18px 52px 18px 22px;
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
	color: var(--yp-cream);
}

.yp-faq__item summary::-webkit-details-marker { display: none }

.yp-faq__item summary::after {
	content: "+";
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	font-weight: 400;
	color: var(--yp-accent);
	transition: transform .25s var(--yp-ease);
}

.yp-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg) }

.yp-faq__item p { margin: 0; padding: 0 22px 20px; color: var(--yp-muted); font-size: 15.5px }

/* Р Р°Р·РґРµР» В«РёРЅС‚РµСЂС„РµР№СЃВ» */
.yp-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 60px);
	align-items: center;
}

.yp-split__text p { color: var(--yp-muted) }
.yp-split__text .yp-ticks { margin-top: 22px }

.yp-shot {
	border-radius: 18px;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
	border: 1px solid var(--yp-line-soft);
	box-shadow: var(--yp-shadow);
}

.yp-shot__bar {
	display: flex;
	gap: 7px;
	padding: 12px 14px;
	background: rgba(0, 0, 0, .35);
	border-bottom: 1px solid var(--yp-line-soft);
}

.yp-shot__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18) }
.yp-shot__bar i:first-child { background: #ef6f63 }
.yp-shot__bar i:nth-child(2) { background: #e8c25a }
.yp-shot__bar i:last-child { background: #58d18c }

.yp-shot__body { padding: 26px 22px 30px; display: grid; gap: 18px; justify-items: center }

.yp-shot__cards { display: flex; gap: 12px }

.yp-shot__cards span {
	width: 64px;
	height: 90px;
	display: grid;
	place-items: center;
	font-size: 22px;
	font-weight: 800;
	color: #1b1f1d;
	border-radius: 10px;
	background: linear-gradient(165deg, #fffdf8, #ece5d5);
	box-shadow: 0 14px 24px -12px rgba(0, 0, 0, .9);
}

.yp-shot__cards .red { color: var(--yp-red) }

.yp-shot__pot { font-size: 13.5px; color: var(--yp-muted) }

.yp-shot__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center }

.yp-shot__actions span {
	padding: 9px 16px;
	font-size: 13.5px;
	font-weight: 700;
	border-radius: 10px;
	color: var(--yp-muted);
	background: rgba(255, 255, 255, .05);
	border: 1px solid var(--yp-line-soft);
}

.yp-shot__actions .is-active {
	color: #14201a;
	background: linear-gradient(135deg, #f6e2a4, var(--yp-accent));
	border-color: transparent;
}

/* CTA */
.yp-cta { padding: clamp(30px, 5vw, 60px) 0 }

.yp-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
	padding: clamp(26px, 4vw, 44px);
	border-radius: 26px;
	border: 1px solid var(--yp-line);
	background:
		radial-gradient(600px 200px at 12% 0%, rgba(var(--yp-accent-rgb), .18), transparent 70%),
		linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
	box-shadow: var(--yp-shadow);
}

.yp-cta__title { margin: 0 0 8px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.02em }
.yp-cta__text p, .yp-cta__text { margin: 0; color: var(--yp-muted) }
.yp-cta__actions { display: flex; gap: 12px; flex-wrap: wrap }

/* ==========================================================================
   7. Р‘Р»РѕРі: СЃРµС‚РєР°, РєР°СЂС‚РѕС‡РєРё
   ========================================================================== */

.yp-archive { padding-block: clamp(30px, 4vw, 48px) clamp(40px, 6vw, 80px) }

/* Раскладка «контент + правая колонка».
   Колонка появляется только если в виджетах что-то есть. */
.yp-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(26px, 3vw, 46px);
	align-items: start;
}

@media (min-width: 1025px) {
	.yp-layout:has(> .yp-sidebar) { grid-template-columns: minmax(0, 1fr) 320px }
}

.yp-layout__main { min-width: 0 }

/* Если в колонке есть заголовок страницы, сайдбар опускается на его уровень */
.yp-layout:has(> .yp-layout__main > .yp-page-head) > .yp-sidebar {
	padding-top: clamp(28px, 5vw, 56px);
}

.yp-sidebar { display: grid; gap: 18px; min-width: 0 }

.yp-sidebar .yp-widget {
	margin: 0;
	padding: 22px 22px 24px;
	border-radius: var(--yp-radius);
	background: var(--yp-glass);
	border: 1px solid var(--yp-line-soft);
}

.yp-sidebar .yp-widget__title { margin-bottom: 16px }
.yp-sidebar .widget-title { margin: 0 0 14px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--yp-accent) }

/* Сетка карточек в узкой колонке — по одной в ряд */
.yp-layout__main .yp-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) }

.yp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 18px;
}

.yp-grid > article {
	display: flex;
	flex-direction: column;
	border-radius: var(--yp-radius);
	background: var(--yp-glass);
	border: 1px solid var(--yp-line-soft);
	overflow: hidden;
	transition: transform .25s var(--yp-ease), border-color .25s;
}

.yp-grid > article:hover { transform: translateY(-4px); border-color: var(--yp-line) }

.yp-grid__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: rgba(0, 0, 0, .3);
	text-decoration: none;
}

.yp-grid__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--yp-ease) }
.yp-grid > article:hover .yp-grid__media img { transform: scale(1.04) }

.yp-grid__date { display: block; padding: 18px 22px 0; font-size: 12.5px; color: var(--yp-muted); letter-spacing: .04em }

.yp-grid__title {
	margin: 8px 22px 10px;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -.015em;
}

.yp-grid__title a { color: var(--yp-cream); text-decoration: none }
.yp-grid__title a:hover { color: var(--yp-accent) }

.yp-grid__excerpt {
	margin: 0 22px 20px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--yp-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.yp-grid .wp-block-post-date { padding: 0 }

.yp-latest { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px }

.yp-latest__item {
	padding: 22px 22px 24px;
	border-radius: var(--yp-radius);
	background: var(--yp-glass);
	border: 1px solid var(--yp-line-soft);
	transition: transform .25s var(--yp-ease), border-color .25s;
}

.yp-latest__item:hover { transform: translateY(-3px); border-color: var(--yp-line) }
.yp-latest__date { font-size: 12.5px; color: var(--yp-muted) }

.yp-latest__title {
	margin: 8px 0 8px;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.28;
}

.yp-latest__title a { color: var(--yp-cream); text-decoration: none }
.yp-latest__title a:hover { color: var(--yp-accent) }
.yp-latest__excerpt { margin: 0; font-size: 14.5px; color: var(--yp-muted) }
.yp-latest__more { margin-top: 22px }

/* Лента развёрнутых записей (главная) */
.yp-post-list { display: grid; gap: clamp(30px, 4vw, 52px) }

.yp-post {
	margin: 0;
	padding: 0 0 clamp(26px, 3.5vw, 44px);
	border-bottom: 1px solid var(--yp-line-soft);
}

.yp-post:last-child { border-bottom: 0; padding-bottom: 0 }

.yp-post__media {
	display: block;
	margin-bottom: clamp(18px, 2.4vw, 26px);
	border-radius: var(--yp-radius);
	overflow: hidden;
	background: rgba(0, 0, 0, .3);
}

.yp-post__media img { display: block; width: 100%; height: auto; transition: transform .5s var(--yp-ease) }
.yp-post__media:hover img { transform: scale(1.02) }

.yp-post__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin-bottom: 10px;
	font-size: 13px;
	color: var(--yp-muted);
}

.yp-post__cats a { color: var(--yp-accent); text-decoration: none }
.yp-post__cats a:hover { color: var(--yp-cream) }

.yp-post__sticky {
	padding: 3px 9px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #14201a;
	background: linear-gradient(135deg, #f3d78a, var(--yp-accent));
}

.yp-post__title {
	margin: 0 0 16px;
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: -.02em;
}

.yp-post__title a { color: var(--yp-cream); text-decoration: none }
.yp-post__title a:hover { color: var(--yp-accent) }

.yp-post__content { font-size: 1.02rem; line-height: 1.7 }

.yp-pagination {
	margin-top: clamp(28px, 4vw, 44px);
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: center;
}

.yp-pagination .page-numbers,
.yp-pagination a,
.yp-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	color: var(--yp-text);
	background: var(--yp-glass);
	border: 1px solid var(--yp-line-soft);
	border-radius: 12px;
	transition: border-color .2s, color .2s, background .2s;
}

.yp-pagination .current,
.yp-pagination .page-numbers.current {
	color: #14201a;
	background: linear-gradient(135deg, #f6e2a4, var(--yp-accent));
	border-color: transparent;
}

.yp-pagination a:hover { color: var(--yp-accent); border-color: var(--yp-accent) }

.yp-empty {
	padding: 40px;
	text-align: center;
	color: var(--yp-muted);
	border-radius: var(--yp-radius);
	background: var(--yp-glass);
	border: 1px dashed var(--yp-line-soft);
}

/* ==========================================================================
   8. Р—Р°РїРёСЃСЊ: РєРѕРЅС‚РµРЅС‚, РјРµС‚Р°, С€РµСЂРёРЅРі, РєРѕРјРјРµРЅС‚Р°СЂРёРё
   ========================================================================== */

/*
 * РљРѕРЅС‚РµРЅС‚РЅР°СЏ РєРѕР»РѕРЅРєР°. РЁРёСЂРёРЅР° вЂ” РїРѕРґ РєРѕРјС„РѕСЂС‚РЅРѕРµ С‡С‚РµРЅРёРµ, РЅРѕ Р±Р»РѕС‡РЅС‹Рµ СЌР»РµРјРµРЅС‚С‹
 * (РєР°СЂС‚РёРЅРєРё, С‚Р°Р±Р»РёС†С‹, РІРёРґРµРѕ) РјРѕРіСѓС‚ РІС‹С…РѕРґРёС‚СЊ Р·Р° РµС‘ РїСЂРµРґРµР»С‹.
 */
.yp-page-body {
	font-size: 1.06rem;
	line-height: 1.75;
	color: var(--yp-text);
	overflow-wrap: break-word;
}

.yp-page-body > *, .yp-content > * { max-width: 100% }

.yp-page-body > :where(p, ul, ol, blockquote, pre, table, figure),
.yp-content > :where(p, ul, ol, blockquote, pre, table, figure) { margin-block: 0 1.2em }

.yp-page-body > :where(h2, h3, h4, h5, h6),
.yp-content > :where(h2, h3, h4, h5, h6) {
	max-width: 46em;
	margin: 2em 0 .6em;
	color: var(--yp-cream);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.02em;
	scroll-margin-top: calc(var(--yp-header-h) + 24px);
}

.yp-page-body > h2 , .yp-content > h2 { font-size: clamp(22px, 2.4vw, 30px) }
.yp-page-body > h3 , .yp-content > h3 { font-size: clamp(19px, 1.9vw, 23px) }
.yp-page-body > h4 , .yp-content > h4 { font-size: 18px }

.yp-page-body > :where(p, li),
.yp-content > :where(p, li) { max-width: 42em }

.yp-page-body > ul, .yp-content > ul,
.yp-page-body > ol , .yp-content > ol { padding-left: 1.35em }

.yp-page-body li { margin-bottom: .4em }

.yp-page-body li::marker { color: var(--yp-accent) }

.yp-page-body strong { color: var(--yp-cream) }

.yp-page-body a:not(.wp-block-button__link):not(.wp-block-file__button) {
	color: var(--yp-accent);
	text-decoration: underline;
	text-decoration-color: rgba(var(--yp-accent-rgb), .4);
	text-underline-offset: 3px;
	transition: color .2s, text-decoration-color .2s;
}

.yp-page-body a:not(.wp-block-button__link):not(.wp-block-file__button):hover {
	color: var(--yp-cream);
	text-decoration-color: var(--yp-accent);
}

/* РљР°СЂС‚РёРЅРєРё: РјСЏРіРєРёРµ РєСЂР°СЏ, С‚РµРЅРё, РїРѕРґРїРёСЃСЊ */
.yp-page-body img,
.yp-page-body .wp-block-image img {
	border-radius: var(--yp-radius-sm);
	box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .9);
}

.yp-page-body figure { margin-block: 1.8em }
.yp-page-body figcaption,
.wp-caption-text { margin-top: 10px; font-size: 13.5px; color: var(--yp-muted) }

/* РЁРёСЂРѕРєРёРµ Рё РЅР° РІСЃСЋ С€РёСЂРёРЅСѓ Р±Р»РѕРєРё */
.yp-page-body .alignwide { max-width: 100%; width: 100% }
.yp-page-body .alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw) }

/* РўР°Р±Р»РёС†С‹ */
.yp-page-body table {
	width: 100%;
	margin-block: 1.8em;
	border-collapse: collapse;
	font-size: 15px;
	display: block;
	overflow-x: auto;
}

.yp-page-body th,
.yp-page-body td { padding: 12px 14px; border: 1px solid var(--yp-line-soft); text-align: left }
.yp-page-body thead th { color: var(--yp-muted); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; background: rgba(0, 0, 0, .25) }
.yp-page-body tbody tr:nth-child(even) { background: rgba(255, 255, 255, .02) }

/* Р¦РёС‚Р°С‚С‹ Рё РєРѕРґ */
.yp-page-body blockquote {
	max-width: 46em;
	margin-inline: 0;
	padding: 4px 0 4px 20px;
	border-left: 2px solid var(--yp-accent);
	font-style: normal;
	color: var(--yp-cream);
}

.yp-page-body blockquote p:last-child { margin-bottom: 0 }

.yp-page-body pre,
.yp-page-body code {
	font-family: var(--wp--preset--font-family--mono, ui-monospace, monospace);
	font-size: .92em;
}

.yp-page-body pre {
	padding: 18px 20px;
	overflow-x: auto;
	border-radius: var(--yp-radius-sm);
	background: rgba(0, 0, 0, .4);
	border: 1px solid var(--yp-line-soft);
}

.yp-page-body :not(pre) > code {
	padding: 2px 6px;
	border-radius: 6px;
	background: rgba(0, 0, 0, .35);
	color: var(--yp-accent);
}

/* Р—Р°РіРѕР»РѕРІРѕРє Р·Р°РїРёСЃРё: РѕР±Р»РѕР¶РєР° Рё РјРµС‚Р° */
.yp-post-hero { margin: 0 0 32px; border-radius: var(--yp-radius); overflow: hidden }
.yp-post-hero img { width: 100%; display: block }

.yp-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: var(--yp-muted) }
.yp-meta__cats { color: var(--yp-accent); font-weight: 600 }
.yp-meta__sep { opacity: .4 }

.yp-post-meta {
	margin: 36px 0 8px;
	padding-top: 22px;
	border-top: 1px solid var(--yp-line-soft);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.yp-post-terms a {
	display: inline-block;
	margin-right: 8px;
	padding: 5px 12px;
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none;
	color: var(--yp-accent);
	background: rgba(var(--yp-accent-rgb), .1);
	border: 1px solid var(--yp-line);
	border-radius: 999px;
}

.yp-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap }
.yp-share__label { font-size: 13px; color: var(--yp-muted) }

.yp-share__btn {
	padding: 8px 15px;
	font: inherit;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--yp-text);
	background: var(--yp-glass);
	border: 1px solid var(--yp-line-soft);
	border-radius: 999px;
	cursor: pointer;
	transition: color .2s, border-color .2s;
}

.yp-share__btn:hover { color: var(--yp-accent); border-color: var(--yp-accent) }

.yp-postnav { display: inline-block; margin: 12px 12px 12px 0; font-weight: 700; text-decoration: none }

.yp-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none }
.yp-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--yp-accent-2), var(--yp-accent), #fff6d8); box-shadow: 0 0 14px rgba(var(--yp-accent-rgb), .8) }

.yp-comments { margin-top: clamp(36px, 5vw, 60px); padding-top: 28px; border-top: 1px solid var(--yp-line-soft) }
.yp-comments .wp-block-post-comments-title,
.yp-comments .comments-title { font-size: 24px; font-weight: 800; margin-bottom: 20px }

.yp-comments textarea,
.yp-comments input[type="text"],
.yp-comments input[type="email"],
.yp-comments input[type="url"] {
	width: 100%;
	padding: 13px 16px;
	font: inherit;
	font-size: 16px;
	color: var(--yp-text);
	background: rgba(0, 0, 0, .3);
	border: 1px solid var(--yp-line-soft);
	border-radius: 12px;
	outline: none;
}

.yp-comments textarea:focus,
.yp-comments input:focus { border-color: var(--yp-accent); box-shadow: 0 0 0 4px rgba(var(--yp-accent-rgb), .14) }

.yp-comments .comment-body { color: var(--yp-text) }
.yp-comments .comment-meta { font-size: 13px; color: var(--yp-muted) }
.yp-comments .comment-reply-link { color: var(--yp-accent) }

/* Медиа в контенте не должно выходить за колонку */
.yp-content img,
.yp-content iframe,
.yp-content video,
.yp-content embed,
.yp-content object { max-width: 100% }

.yp-content img { height: auto }

/* Встраивания (YouTube и т.п.): пропорции сохраняем внутри колонки */
.yp-content .wp-block-embed { max-width: 100%; margin-inline: 0 }

.yp-content .wp-block-embed__wrapper { position: relative; max-width: 100% }

.yp-content .wp-block-embed iframe {
	width: 100%;
	max-width: 100%;
	height: auto;
}

.yp-content .wp-block-embed.wp-has-aspect-ratio .wp-block-embed__wrapper::before {
	content: "";
	display: block;
	padding-top: 56.25%;
}

.yp-content .wp-block-embed.wp-has-aspect-ratio iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.yp-content .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper::before { padding-top: 75% }
.yp-content .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper::before { padding-top: 100% }
.yp-content .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper::before { padding-top: 177.78% }

/* В раскладке с сайдбаром «широкие» блоки остаются в своей колонке */
.yp-layout .yp-content .alignwide,
.yp-layout .yp-content .alignfull {
	width: 100%;
	max-width: 100%;
	margin-inline: 0;
}

/* ==========================================================================
   9. РҐР»РµР±РЅС‹Рµ РєСЂРѕС€РєРё, РїРѕРёСЃРє, 404
   ========================================================================== */

.yp-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 13.5px;
	color: var(--yp-muted);
}

.yp-breadcrumbs a { color: var(--yp-muted); text-decoration: none }
.yp-breadcrumbs a:hover { color: var(--yp-accent) }
.yp-breadcrumbs__sep { opacity: .35 }

.yp-search { display: flex; gap: 8px; flex-wrap: wrap }

.yp-search__field {
	flex: 1 1 140px;
	min-width: 0;
	padding: 13px 16px;
	font: inherit;
	font-size: 16px;
	color: var(--yp-text);
	background: rgba(0, 0, 0, .3);
	border: 1px solid var(--yp-line-soft);
	border-radius: 12px;
	outline: none;
}

.yp-search__field:focus { border-color: var(--yp-accent) }

.yp-search__submit {
	flex: 0 0 auto;
	padding: 13px 20px;
	font: inherit;
	font-weight: 700;
	color: #14201a;
	background: linear-gradient(135deg, #f6e2a4, var(--yp-accent));
	border: 0;
	border-radius: 12px;
	cursor: pointer;
}

.yp-search-block { margin-bottom: 26px }

.yp-404 { padding: clamp(50px, 8vw, 110px) 0; text-align: center }

.yp-404__inner { display: grid; gap: 18px; justify-items: center }

.yp-404__code {
	font-size: clamp(84px, 18vw, 190px);
	font-weight: 800;
	line-height: .9;
	letter-spacing: -.05em;
	background: linear-gradient(180deg, rgba(var(--yp-accent-rgb), .55), transparent);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.yp-404__text { max-width: 52ch; margin: 0; color: var(--yp-muted) }
.yp-404__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center }
.yp-404 .yp-search { margin-top: 12px; justify-content: center }

/* ==========================================================================
   10. РџРѕРґРІР°Р»
   ========================================================================== */

.yp-site-footer {
	margin-top: clamp(50px, 8vw, 100px);
	border-top: 1px solid var(--yp-line-soft);
	background: rgba(0, 0, 0, .28);
}

.yp-site-footer__inner {
	max-width: var(--yp-container);
	margin-inline: auto;
	padding: clamp(34px, 5vw, 56px) clamp(16px, 4vw, 40px) clamp(24px, 3vw, 34px);
	display: grid;
	gap: 34px;
}

.yp-footer-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.yp-social { display: flex; align-items: center; gap: 8px; flex-wrap: wrap }

.yp-social__link {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	color: var(--yp-muted);
	background: var(--yp-glass);
	border: 1px solid var(--yp-line-soft);
	border-radius: 13px;
	transition: color .2s, border-color .2s, transform .2s, background .2s;
}

.yp-social__link:hover {
	color: var(--yp-accent);
	border-color: var(--yp-accent);
	background: rgba(var(--yp-accent-rgb), .1);
	transform: translateY(-2px);
}

.yp-widgets-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 26px 22px;
}

.yp-widget__title,
.yp-widgets__title {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--yp-accent);
}

.yp-widget ul, .yp-widget ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px }

.yp-widget a { color: var(--yp-text); text-decoration: none; font-size: 14.5px }
.yp-widget a:hover { color: var(--yp-accent) }

.yp-widget img { max-width: 100%; height: auto; border-radius: 10px }

.yp-widget-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px }

.yp-widget-list li { display: grid; gap: 3px }

.yp-widget-list a {
	color: var(--yp-text);
	text-decoration: none;
	font-size: 14.5px;
	line-height: 1.35;
}

.yp-widget-list a:hover { color: var(--yp-accent) }
.yp-widget-list time { font-size: 12.5px; color: var(--yp-muted) }

.yp-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-top: 24px;
	border-top: 1px solid var(--yp-line-soft);
	font-size: 13.5px;
	color: var(--yp-muted);
}

.yp-payments { display: flex; align-items: center; gap: 10px; flex-wrap: wrap }
.yp-payments img { max-height: 34px; width: auto }
.yp-copy { order: 3 }

.yp-legal__list { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; flex-wrap: wrap }
.yp-legal__list a { color: var(--yp-muted); text-decoration: none }
.yp-legal__list a:hover { color: var(--yp-accent) }

/* ==========================================================================
   11. WooCommerce
   ========================================================================== */

.yp-shop { display: grid; gap: 22px }

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 18px;
	padding: 0;
	list-style: none;
}

.woocommerce ul.products li.product {
	padding: 18px;
	border-radius: var(--yp-radius);
	background: var(--yp-glass);
	border: 1px solid var(--yp-line-soft);
	transition: transform .25s var(--yp-ease), border-color .25s;
}

.woocommerce ul.products li.product:hover { transform: translateY(-4px); border-color: var(--yp-line) }
.woocommerce ul.products li.product img { border-radius: var(--yp-radius-sm); margin-bottom: 14px }

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 8px;
	line-height: 1.3;
}

.woocommerce ul.products li.product .price {
	display: block;
	margin-bottom: 12px;
	font-size: 21px;
	font-weight: 800;
	color: var(--yp-accent);
}

.woocommerce ul.products li.product .price del { opacity: .5; margin-right: 8px; font-size: 15px }

.woocommerce span.onsale {
	position: absolute;
	top: 12px;
	left: 12px;
	min-height: 0;
	min-width: 0;
	margin: 0;
	padding: 6px 12px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	color: #14201a;
	background: linear-gradient(135deg, #f6e2a4, var(--yp-accent));
	border-radius: 999px;
}

.woocommerce ul.products li.product { position: relative }

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 24px;
	font: inherit;
	font-weight: 700;
	font-size: 15px;
	color: #14201a;
	background: linear-gradient(135deg, #f6e2a4, var(--yp-accent));
	border: 0;
	border-radius: var(--yp-radius-btn);
	text-decoration: none;
	transition: transform .16s, filter .2s, box-shadow .2s;
	box-shadow: var(--yp-shadow-accent);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	color: #14201a;
	transform: translateY(-2px);
	filter: brightness(1.06);
}

.woocommerce .quantity input[type="number"] {
	width: 84px;
	padding: 12px;
	font: inherit;
	color: var(--yp-text);
	background: rgba(0, 0, 0, .3);
	border: 1px solid var(--yp-line-soft);
	border-radius: 10px;
}

/* РћРґРёРЅРѕС‡РЅС‹Р№ С‚РѕРІР°СЂ */
.woocommerce div.product { display: grid; gap: clamp(24px, 4vw, 44px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--yp-muted) }
.woocommerce div.product .product_title { margin-bottom: 14px }
.woocommerce div.product .price { font-size: 32px; font-weight: 800; color: var(--yp-accent) }
.woocommerce div.product form.cart { display: flex; gap: 10px; align-items: center; flex-wrap: wrap }
.woocommerce div.product .product_meta { margin-top: 20px; font-size: 13.5px; color: var(--yp-muted) }

.woocommerce .woocommerce-breadcrumb { display: none }

/* РўР°Р±Р»РёС†С‹ Рё С‚Р°Р±С‹ */
.woocommerce table.shop_attributes, .woocommerce table { width: 100%; border-collapse: collapse }
.woocommerce th, .woocommerce td { padding: 12px 14px; border-bottom: 1px solid var(--yp-line-soft); text-align: left; font-size: 15px }
.woocommerce th { color: var(--yp-muted); font-weight: 600; font-size: 13.5px; text-transform: uppercase; letter-spacing: .06em }

.woocommerce .woocommerce-tabs { margin-top: clamp(30px, 5vw, 54px) }
.woocommerce .woocommerce-tabs ul.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; padding: 0; list-style: none }

.woocommerce .woocommerce-tabs ul.tabs li a {
	display: inline-block;
	padding: 10px 18px;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--yp-text);
	background: var(--yp-glass);
	border: 1px solid var(--yp-line-soft);
	border-radius: 999px;
	text-decoration: none;
}

.woocommerce .woocommerce-tabs ul.tabs li.active a { color: #14201a; background: linear-gradient(135deg, #f6e2a4, var(--yp-accent)); border-color: transparent }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.yp-notice {
	padding: 15px 18px;
	margin: 0 0 18px;
	border-radius: var(--yp-radius-sm);
	font-size: 15px;
	border: 1px solid var(--yp-line-soft);
	background: var(--yp-glass);
	color: var(--yp-text);
	list-style: none;
}

.woocommerce-message { border-color: rgba(88, 209, 140, .35); background: rgba(88, 209, 140, .1) }
.woocommerce-error { border-color: rgba(239, 111, 99, .4); background: rgba(239, 111, 99, .1) }
.woocommerce-message .button, .woocommerce-error .button { float: right; margin-left: 12px }

/* РљРѕСЂР·РёРЅР° / РѕС„РѕСЂРјР»РµРЅРёРµ */
.woocommerce-checkout .col2-set { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) }
.woocommerce form .form-row { display: grid; gap: 6px; margin-bottom: 14px }
.woocommerce form .form-row label { font-size: 13.5px; color: var(--yp-muted) }

.woocommerce input.input-text,
.woocommerce select,
.woocommerce textarea {
	width: 100%;
	padding: 13px 16px;
	font: inherit;
	font-size: 16px;
	color: var(--yp-text);
	background: rgba(0, 0, 0, .3);
	border: 1px solid var(--yp-line-soft);
	border-radius: 12px;
	outline: none;
}

.woocommerce input.input-text:focus, .woocommerce select:focus, .woocommerce textarea:focus {
	border-color: var(--yp-accent);
	box-shadow: 0 0 0 4px rgba(var(--yp-accent-rgb), .14);
}

.woocommerce #payment { background: var(--yp-glass); border-radius: var(--yp-radius); padding: 20px; border: 1px solid var(--yp-line-soft) }
.woocommerce .order_review table thead th, .woocommerce .order_review table thead td { color: var(--yp-muted); font-size: 13.5px; text-transform: uppercase; letter-spacing: .06em }
.woocommerce .order_review table td a { color: var(--yp-accent) }

/* Р›РёС‡РЅС‹Р№ РєР°Р±РёРЅРµС‚ WooCommerce */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px }

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 12px 16px;
	border-radius: 12px;
	color: var(--yp-text);
	background: var(--yp-glass);
	border: 1px solid var(--yp-line-soft);
	text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	color: var(--yp-accent);
	border-color: var(--yp-accent);
}

/* ==========================================================================
   12. РџРѕСЏРІР»РµРЅРёРµ РїСЂРё СЃРєСЂРѕР»Р»Рµ
   ========================================================================== */

.yp-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .6s var(--yp-ease), transform .6s var(--yp-ease);
}

.yp-reveal.is-visible { opacity: 1; transform: none }

.yp-no-reveal .yp-reveal { opacity: 1; transform: none; transition: none }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto }
	.yp-reveal { opacity: 1; transform: none }
	.yp-fan__card { animation: none }
	.yp-btn--gold::after { animation: none }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important }
}

/* ==========================================================================
   13. РЎРІРµС‚Р»Р°СЏ СЃС…РµРјР°
   ========================================================================== */

.yp-scheme-light {
	color-scheme: light;
}

.yp-scheme-light .yp-card-mini,
.yp-scheme-light .yp-plan,
.yp-scheme-light .yp-step,
.yp-scheme-light .yp-quote,
.yp-scheme-light .yp-latest__item,
.yp-scheme-light .yp-grid > article,
.yp-scheme-light .yp-faq__item,
.yp-scheme-light .yp-cta__inner,
.yp-scheme-light .yp-shot {
	background: rgba(255, 255, 255, .72);
	border-color: rgba(20, 40, 32, .1);
	box-shadow: 0 20px 40px -32px rgba(20, 40, 32, .5);
}

.yp-scheme-light .yp-site-header { background: rgba(246, 241, 228, .88) }
.yp-scheme-light .yp-mobile-menu { background: rgba(246, 241, 228, .98 ) }
.yp-scheme-light .yp-logo__name,
.yp-scheme-light .yp-section__title,
.yp-scheme-light h1,
.yp-scheme-light h2,
.yp-scheme-light h3,
.yp-scheme-light .yp-grid__title a,
.yp-scheme-light .yp-latest__title a,
.yp-scheme-light .yp-quote blockquote { color: var(--yp-ink) }
.yp-scheme-light .yp-faq__item summary { color: var(--yp-ink) }
.yp-scheme-light .yp-menu__list a { color: var(--yp-ink) }
.yp-scheme-light .yp-site-footer { background: rgba(20, 40, 32, .06) }
.yp-scheme-light .yp-progress i { box-shadow: none }

/* ==========================================================================
   14. Р’РёРґР¶РµС‚С‹ С€Р°РїРєРё Рё СЃР»СѓР¶РµР±РЅС‹Рµ РїРѕР»РѕСЃС‹
   ========================================================================== */

.yp-top-bar,
.yp-header-widgets,
.yp-footer-bar {
	max-width: var(--yp-container);
	margin-inline: auto;
	padding: 10px clamp(16px, 4vw, 40px);
	font-size: 14px;
	color: var(--yp-muted);
}

.yp-top-bar { border-bottom: 1px solid var(--yp-line-soft) }

/* Зона виджетов в шапке: справа, в одну строку с заголовком */
.yp-header-widgets {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 10px 20px;
	padding-bottom: 12px;
}

.yp-header-widgets .yp-widget {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.yp-header-widgets .yp-widget ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.yp-footer-bar { border-top: 1px solid var(--yp-line-soft) }

.yp-top-bar .yp-widget__title,
.yp-header-widgets .yp-widget__title,
.yp-footer-bar .yp-widget__title { margin-bottom: 6px; font-size: 12px }

.yp-member-note {
	padding: 16px 20px;
	margin: 18px 0;
	font-size: 15px;
	color: var(--yp-muted);
	background: var(--yp-glass);
	border: 1px dashed var(--yp-line);
	border-radius: var(--yp-radius-sm);
	text-align: center;
}

/* ==========================================================================
   15. РљРЅРѕРїРєР° В«РЅР°РІРµСЂС…В», РЅР°РІРёРіР°С†РёСЏ Р·Р°РїРёСЃРµР№
   ========================================================================== */

.yp-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 55;
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	color: var(--yp-cream);
	background: rgba(10, 18, 16, .85);
	border: 1px solid var(--yp-line-soft);
	border-radius: 14px;
	box-shadow: var(--yp-shadow);
	backdrop-filter: blur(10px);
	cursor: pointer;
	transition: opacity .25s, transform .25s, color .2s, border-color .2s;
}

.yp-to-top[hidden] { display: none }
.yp-to-top:hover { color: var(--yp-accent); border-color: var(--yp-accent); transform: translateY(-2px) }
.yp-to-top .yp-icon { transform: rotate(-90deg) }

.yp-postnav-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 28px 0 8px;
}

.yp-postnav {
	display: inline-flex;
	align-items: center;
	max-width: 46%;
	padding: 12px 18px;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--yp-text);
	text-decoration: none;
	background: var(--yp-glass);
	border: 1px solid var(--yp-line-soft);
	border-radius: var(--yp-radius-sm);
	transition: color .2s, border-color .2s;
}

.yp-postnav:hover { color: var(--yp-accent); border-color: var(--yp-accent) }
.yp-postnav--next { margin-left: auto; text-align: right }

/* ==========================================================================
   15. РђРґР°РїС‚РёРІ
   ========================================================================== */

@media (max-width: 1024px) {
	.woocommerce div.product { grid-template-columns: 1fr }
}

/* На средних экранах соцсети в шапке уступают место меню */
@media (max-width: 1100px) {
	.yp-header-bar__inner .yp-header-widgets { display: none }
	.yp-aces { display: none }
}

@media (max-width: 900px) {
	.yp-site-header__bar { display: none }
	.yp-site-header__nav .yp-menu-wrap { display: none }
	.yp-burger { display: block }
	.yp-hero__inner { grid-template-columns: 1fr }
	.yp-hero__visual { min-height: 300px; order: -1 }
	.yp-fan__card { width: 100px; height: 148px }
	.yp-fan__card--1 { transform: rotate(-14deg) translateX(-52px) translateY(12px) }
	.yp-fan__card--4 { transform: rotate(14deg) translateX(52px) translateY(12px) }
	.yp-split { grid-template-columns: 1fr }
	.yp-split__media { order: -1 }
}

@media (max-width: 640px) {
	body { font-size: 16px }

	.yp-site-header__inner { gap: 8px }
	.yp-site-header__nav { gap: 8px }
	.yp-logo__name { font-size: 20px }
	.yp-logo__tagline { display: none }

	/* РІ С€Р°РїРєРµ РЅР° С‚РµР»РµС„РѕРЅРµ РѕСЃС‚Р°РІР»СЏРµРј С‚РѕР»СЊРєРѕ РіР»Р°РІРЅРѕРµ РґРµР№СЃС‚РІРёРµ,
	   РІСЃС‘ РѕСЃС‚Р°Р»СЊРЅРѕРµ Р¶РёРІС‘С‚ РІ С€С‚РѕСЂРєРµ */
	.yp-header__actions .yp-social,
	.yp-header__actions .yp-header__account { display: none }
	.yp-header__actions .yp-btn { padding: 12px 18px; font-size: 15px }

	.yp-burger { width: 42px; height: 42px; flex: 0 0 auto }
	.yp-burger span:nth-child(1) { top: 14px }
	.yp-burger span:nth-child(2) { top: 20px }
	.yp-burger span:nth-child(3) { top: 26px }

	.yp-hero { padding-top: 32px }
	.yp-hero__title { font-size: clamp(30px, 8.4vw, 42px) }
	.yp-hero__text { font-size: 16px }
	.yp-hero .wp-block-buttons .wp-block-button { width: 100% }
	.yp-hero .yp-btn { width: 100% }
	.yp-hero__facts { grid-template-columns: 1fr; gap: 8px }
	.yp-hero__facts li { display: flex; align-items: baseline; gap: 10px }
	.yp-hero__facts b { font-size: 20px }
	.yp-hero__visual { min-height: 300px }
	.yp-fan { width: min(280px, 92%) }
	.yp-fan__card { width: 84px; height: 124px }
	.yp-fan__card span:first-child { font-size: 32px }
	.yp-fan__card span:last-child { font-size: 24px }
	.yp-fan__card--1 { transform: rotate(-13deg) translateX(-44px) translateY(10px) }
	.yp-fan__card--2 { transform: rotate(-4deg) translateX(-15px) }
	.yp-fan__card--3 { transform: rotate(4deg) translateX(15px) }
	.yp-fan__card--4 { transform: rotate(13deg) translateX(44px) translateY(10px) }
	.yp-hero__badge { right: 0; bottom: 4px; font-size: 12px; padding: 10px 14px }

	.yp-cards, .yp-steps, .yp-plans, .yp-quotes, .yp-latest, .yp-grid { grid-template-columns: 1fr }
	.yp-plan { padding: 24px 20px }
	.yp-cta__inner { flex-direction: column; align-items: flex-start; border-radius: 20px }
	.yp-cta__actions { width: 100% }
	.yp-cta__actions .yp-btn { flex: 1 1 100% }

	.yp-footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px }
	.yp-copy { order: 0 }
	.yp-shot__actions { width: 100% }
	.yp-shot__actions span { flex: 1 1 30%; text-align: center }

	.woocommerce ul.products { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px }
	.woocommerce ul.products li.product { padding: 14px }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px }
	.woocommerce div.product form.cart { flex-direction: column; align-items: stretch }
	.woocommerce div.product form.cart .button { width: 100% }

	.yp-search { flex-direction: column }
	.yp-search__submit { width: 100% }
}

@media (max-width: 380px) {
	.yp-grid { grid-template-columns: 1fr }
	.yp-logo__name { font-size: 16px }
	.yp-header__actions .yp-btn--gold { padding: 12px 14px; font-size: 15px }
}
