/**
 * «Бесплатно» (archive-sr_free.php, single-sr_free.php, классы .fr*).
 * Дизайн-код SoundRoom — как на /oplata/: Unbounded капсом, линии #E6E8EC, синий акцент, скругления 16–28. Минимум декора.
 */
body.sr-free-body { background: #fff !important; }
.fr { --fr-line: #E6E8EC; --fr-soft: #F7F8FA; --fr-muted: #6B7280; --fr-ease: cubic-bezier(.22, 1, .36, 1); padding: 20px 0 96px; color: var(--c-text); }
.fr p, .fr h1, .fr h2, .fr h3, .fr dl, .fr dd { margin: 0; }
.fr ul, .fr ol { margin: 0; padding: 0; list-style: none; }
.fr li { margin: 0; }
.fr li::before { content: none !important; }
.fr img { max-width: 100%; }
.fr [hidden] { display: none !important; }

/* --- Общие элементы --- */
.fr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 24px; border: 0; border-radius: 16px; background: var(--c-accent); color: #fff !important; font: 600 15.5px/1 var(--font-body); text-decoration: none !important; white-space: nowrap; cursor: pointer; transition: background-color .2s ease, transform .4s var(--fr-ease); }
.fr-btn:hover { background: var(--c-primary-dark); }
.fr-btn svg { flex: 0 0 auto; transition: transform .3s var(--fr-ease); }
.fr-btn:hover svg { transform: translate(2px, -2px); }
.fr-btn--sm { height: 44px; padding: 0 18px; border-radius: 13px; font-size: 14.5px; }
.fr-btn--light { background: #fff; color: var(--c-text) !important; }
.fr-btn--light:hover { background: #fff; transform: translateY(-2px); }
.fr-btn--ghost { background: #F1F2F4; color: var(--c-text) !important; }
.fr-btn--ghost:hover { background: #E6E8EC; }
.fr-btn--outline { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.fr-btn--outline:hover { background: rgba(255, 255, 255, .12); }
.fr-btn--light svg, .fr-btn--outline svg, .fr-btn--ghost svg { transform: none !important; }

.fr-h2 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.05; letter-spacing: -0.035em; text-transform: uppercase; }
.fr-sec { margin-top: 96px; }
.fr-sec > .fr-h2 { margin-bottom: 28px; }
.fr-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 28px; }
.fr-sec__aside { font-size: 15.5px; color: var(--fr-muted); }
.fr-sec__aside b { color: var(--c-text); }
.fr-sec__aside .is-accent { color: var(--c-accent); }
.fr-sec__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--c-text) !important; text-decoration: none !important; }
.fr-sec__link:hover { color: var(--c-primary-dark) !important; }

.fr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fr-meta > span { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.fr-meta__brand { background: var(--c-text); color: #fff; text-transform: uppercase; }
.fr-meta__type { background: #F1F2F4; color: var(--fr-muted); }
.fr-meta__until { background: #FEF3C7; color: #92400E; }
.fr-meta__until.is-over { background: #F1F2F4; color: var(--fr-muted); }

.fr-price { display: inline-flex; align-items: baseline; gap: 10px; }
.fr-price b { font-family: var(--font-heading); font-size: 26px; font-weight: 800; letter-spacing: -0.04em; color: var(--c-accent); }
.fr-price s { font-size: 15px; font-weight: 600; color: #9CA3AF; }

.fr-badge { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--c-text); font-size: 12px; font-weight: 700; letter-spacing: .04em; }

/* Светлая подложка с точечной сеткой — как у первого экрана /oplata/ */
.fr-hero__art, .fr-sh__art { position: relative; border-radius: 28px; background: radial-gradient(120% 90% at 70% 20%, #DCEBFF 0%, #EEF5FF 45%, #F7F9FC 100%); overflow: hidden; isolation: isolate; }
.fr-hero__art::before, .fr-sh__art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(76, 155, 255, .18) 1px, transparent 1px); background-size: 18px 18px; mask-image: radial-gradient(closest-side, #000, transparent); -webkit-mask-image: radial-gradient(closest-side, #000, transparent); }
@keyframes fr-float { 50% { translate: 0 -8px; } }

/* --- Общая страница: первый экран --- */
.fr-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 12px; }
.fr-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.fr-hero__title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(38px, 5.4vw, 68px); line-height: .98; letter-spacing: -0.04em; text-transform: uppercase; }
.fr-hero__zero { display: block; color: var(--c-accent); }
.fr-hero__lead { max-width: 440px; font-size: 18px; line-height: 1.55; color: #4B5563; }
/* «50+ бесплатных плагинов и инструментов»: число с переливом, лица брендов внахлёст (sr-free.js досчитывает число при появлении) */
.fr-count { position: relative; display: flex; align-items: center; gap: 18px; padding: 14px 22px 14px 18px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px #E3ECF8, 0 20px 44px -30px rgba(26, 95, 204, .5); overflow: hidden; isolation: isolate; }
.fr-count::before { content: ""; position: absolute; z-index: -1; left: -30px; top: 50%; width: 170px; height: 170px; margin-top: -85px; border-radius: 50%; background: radial-gradient(closest-side, #DCEBFF, rgba(220, 235, 255, 0)); }
.fr-count__num { min-width: 2.6ch; font-family: var(--font-heading); font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; background: linear-gradient(100deg, #1A5FCC 0%, #4C9BFF 35%, #8EC5FF 50%, #4C9BFF 65%, #1A5FCC 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: fr-shine 5s ease-in-out infinite; }
@keyframes fr-shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.fr-count__body { display: flex; flex-direction: column; gap: 8px; padding-left: 18px; border-left: 1px solid #E3ECF8; }
.fr-count__label { font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--c-text); }
.fr-count__brands { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--fr-muted); }
.fr-count__faces { display: flex; padding-left: 6px; }
.fr-count__faces i { display: block; width: 34px; height: 34px; margin: 0 0 0 -9px; border-radius: 10px; overflow: hidden; background: #F7F8FA; box-shadow: 0 0 0 2px #fff, 0 6px 12px -6px rgba(15, 23, 42, .45); transition: margin .4s var(--fr-ease), transform .4s var(--fr-ease); }
/* миниатюры с полями — приближаем, чтобы в квадрате был сам плагин */
.fr-count__faces img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; transform: scale(1.55); }
.fr-count:hover .fr-count__faces i { margin-left: -3px; }
.fr-count:hover .fr-count__faces i:nth-child(odd) { transform: translateY(-2px) rotate(-5deg); }
.fr-count:hover .fr-count__faces i:nth-child(even) { transform: translateY(1px) rotate(5deg); }

.fr-hero__art { height: 400px; }
.fr-stack { position: absolute; z-index: 2; left: 50%; top: 50%; width: 250px; height: 250px; margin: -132px 0 0 -175px; }
.fr-stack__card { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 24px; background: #fff; overflow: hidden; box-shadow: 0 34px 60px -30px rgba(15, 23, 42, .45), 0 0 0 1px rgba(15, 23, 42, .04); animation: fr-float 6s ease-in-out infinite; }
.fr-stack__card img { width: 100%; height: 100%; object-fit: cover; margin: 0; }
.fr-stack__card .fr-thumb--empty { width: 40%; height: auto; object-fit: contain; opacity: .3; }
.fr-stack__card--1 { transform: rotate(-5deg); z-index: 3; }
.fr-stack__card--2 { transform: rotate(8deg) translate(96px, 6px) scale(.9); z-index: 2; animation-delay: -2s; }
.fr-stack__card--3 { transform: rotate(16deg) translate(170px, 30px) scale(.8); z-index: 1; animation-delay: -4s; }

/* --- Бирка «Цена 0 ₽»: тело + острый край из повёрнутого квадрата, общая тень через drop-shadow (без обрезки) --- */
.fr-tag { position: absolute; z-index: 4; right: 6%; top: 9%; transform-origin: 15px 50%; animation: fr-swing 5s ease-in-out infinite; filter: drop-shadow(0 18px 22px rgba(15, 23, 42, .16)) drop-shadow(0 2px 3px rgba(15, 23, 42, .08)); }
@keyframes fr-swing { 0%, 100% { transform: rotate(9deg); } 50% { transform: rotate(4deg) translateY(-4px); } }
.fr-tag__body { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 3px; height: 108px; margin-left: 27px; padding: 0 22px 0 12px; border-radius: 4px 18px 18px 4px; background: #fff; }
.fr-tag__body::before { content: ""; position: absolute; left: 0; top: 50%; width: 76px; height: 76px; margin-top: -38px; border-radius: 12px; background: #fff; transform: translateX(-38px) scaleX(.5) rotate(45deg); }
.fr-tag__body > * { position: relative; }
.fr-tag__hole { position: absolute !important; left: -17px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #DDEAFE; box-shadow: inset 0 1.5px 2px rgba(15, 23, 42, .28); }
.fr-tag__cord { position: absolute !important; left: -100px; top: calc(50% - 58px); width: 90px; height: 70px; color: #94A3B8; pointer-events: none; }
.fr-tag__label { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fr-muted); }
.fr-tag__zero { font-family: var(--font-heading); font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: var(--c-accent); }
.fr-tag__old { font-size: 14px; font-weight: 700; color: #9CA3AF; text-decoration-color: var(--c-discount); text-decoration-thickness: 2px; }
.fr-tag--sh { right: 5%; top: 6%; }

/* --- Плашки форматов --- */
.fr-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 12px; border-radius: 12px; background: #fff; font-family: var(--font-heading); font-size: 12.5px; font-weight: 800; letter-spacing: .02em; color: var(--c-text); box-shadow: 0 14px 30px -16px rgba(15, 23, 42, .35), 0 0 0 1px rgba(15, 23, 42, .04); animation: fr-float 5s ease-in-out infinite; }
.fr-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 3px var(--c-primary-light); }
.fr-chip--1 { left: 7%; top: 12%; animation-delay: -.5s; }
.fr-chip--2 { left: 5%; bottom: 22%; animation-delay: -2.5s; }
.fr-chip--2 i { background: #10B981; box-shadow: 0 0 0 3px #D1FAE5; }
.fr-chip--3 { right: 7%; bottom: 14%; animation-delay: -1.5s; }
.fr-chip--3 i { background: #8B5CF6; box-shadow: 0 0 0 3px #EDE9FE; }
.fr-chip--4 { left: 50%; bottom: 5%; margin-left: -64px; height: 32px; padding: 0 12px; font-family: var(--font-body); font-size: 12.5px; font-weight: 600; color: var(--fr-muted); animation-delay: -3.5s; }

/* --- Фильтр --- */
.fr-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 56px; }
.fr-filter__btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 1px solid var(--fr-line); border-radius: 999px; background: #fff; color: var(--c-text); font: 600 14.5px/1 var(--font-body); cursor: pointer; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.fr-filter__btn span { color: var(--fr-muted); font-weight: 500; }
.fr-filter__btn:hover { border-color: #C9CED6; }
.fr-filter__btn.is-active { border-color: var(--c-text); background: var(--c-text); color: #fff; }
.fr-filter__btn.is-active span { color: rgba(255, 255, 255, .6); }

/* --- Главное предложение --- */
.fr-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); margin-top: 64px; border: 1px solid var(--fr-line); border-radius: 28px; background: #fff; overflow: hidden; transition: border-color .25s ease, box-shadow .5s var(--fr-ease); }
.fr-feature:hover { border-color: #CBD2DB; box-shadow: 0 24px 44px -32px rgba(15, 23, 42, .4); }
.fr-filter + .fr-feature { margin-top: 20px; }
.fr-feature__media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--fr-soft); overflow: hidden; }
.fr-feature__media img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; transition: transform .8s var(--fr-ease); }
.fr-feature:hover .fr-feature__media img { transform: scale(1.03); }
.fr-feature__body { display: flex; flex-direction: column; gap: 16px; padding: 36px 40px; }
.fr-feature__title { font-family: var(--font-heading); font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; line-height: 1.05; letter-spacing: -0.04em; text-transform: uppercase; }
.fr-feature__title a, .fr-card__title a { color: inherit !important; text-decoration: none !important; }
.fr-feature__text { font-size: 15.5px; line-height: 1.6; color: #4B5563; }
.fr-feature__items { display: flex; flex-wrap: wrap; gap: 6px; }
.fr-feature__items li { display: inline-flex; align-items: center; height: 30px; padding: 0 11px; border-radius: 9px; background: var(--fr-soft); font-size: 13px; font-weight: 600; }
.fr-feature__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--fr-line); }
.fr-feature__facts { display: flex; flex-direction: column; gap: 2px; margin-right: auto; font-size: 13.5px; color: var(--fr-muted); }

/* --- Карточки --- */
.fr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
.fr-filter + .fr-grid { margin-top: 20px; }
.fr-grid:empty { display: none; }
.fr-grid { scroll-margin-top: 100px; }
.fr-hero .fr-btn:hover svg { transform: translateY(2px); }
.fr-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--fr-line); border-radius: 24px; background: #fff; overflow: hidden; transition: border-color .25s ease, transform .5s var(--fr-ease), box-shadow .5s var(--fr-ease); }
.fr-card:hover { border-color: #CBD2DB; transform: translateY(-4px); box-shadow: 0 24px 44px -30px rgba(15, 23, 42, .4); }
.fr-card__media { position: relative; display: block; aspect-ratio: 16 / 10; background: #fff; border-bottom: 1px solid var(--fr-line); overflow: hidden; }
.fr-card__media img { display: block; width: 100%; height: 100%; margin: 0; object-fit: contain; }
.fr-card__body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 12px; padding: 24px 28px 26px; }
.fr-card__title { font-family: var(--font-heading); font-size: 22px; font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; text-transform: uppercase; }
.fr-card__text { flex: 1 1 auto; font-size: 14.5px; line-height: 1.55; color: var(--fr-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fr-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--fr-line); }
.fr-card.is-expired { opacity: .6; }
.fr-card.is-expired .fr-card__media img { filter: grayscale(1); }

.fr-empty { margin-top: 48px; padding: 28px; border: 1.5px dashed var(--fr-line); border-radius: 22px; color: var(--fr-muted); text-align: center; }

/* --- Призыв (как на /oplata/) --- */
.fr-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: 96px; padding: 40px 44px; border-radius: 28px; background: linear-gradient(135deg, #4C9BFF 0%, #1A5FCC 100%); color: #fff; }
.fr-cta__title { margin-bottom: 8px !important; font-family: var(--font-heading); font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; text-transform: uppercase; color: #fff; }
.fr-cta p { max-width: 520px; font-size: 16px; color: rgba(255, 255, 255, .85); }
.fr-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* --- Страница предложения: первый экран --- */
.fr-sh { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 12px; }
.fr-sh__art { aspect-ratio: 1 / 1; max-height: 540px; }
.fr-sh__img { position: absolute; z-index: 2; inset: 13%; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 34px 60px -30px rgba(15, 23, 42, .45), 0 0 0 1px rgba(15, 23, 42, .04); animation: fr-float 6s ease-in-out infinite; }
.fr-sh__img img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; }

.fr-sh__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.fr-sh__title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(30px, 4.2vw, 52px); line-height: 1; letter-spacing: -0.04em; text-transform: uppercase; }
.fr-sh__lead { max-width: 500px; font-size: 17px; line-height: 1.6; color: #4B5563; }
.fr-sh__price { display: flex; align-items: baseline; gap: 12px; }
.fr-sh__price b { font-family: var(--font-heading); font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: var(--c-accent); }
.fr-sh__price s { font-size: 18px; font-weight: 600; color: #9CA3AF; }
.fr-sh__facts { margin-top: -8px !important; font-size: 14.5px; color: var(--fr-muted); }
.fr-get { min-width: 260px; }
.fr-get.is-got { background: var(--c-text); }
.fr-sh__note { margin-top: -10px !important; font-size: 13.5px; color: var(--fr-muted); }
.fr-sh__proof { font-size: 14px; font-weight: 600; color: var(--fr-muted); }
.fr-sh__over { padding: 16px 18px; border-radius: 16px; background: var(--fr-soft); font-size: 15px; color: #4B5563; }

/* --- Инструкция: отдельный подсвеченный блок в фирменном голубом, шаги — на белой панели --- */
.fr-guide { position: relative; margin-top: 80px; padding: 44px 48px 40px; border: 1px solid #D6E6FF; border-radius: 28px; background: radial-gradient(70% 90% at 100% 0%, #DCEBFF 0%, rgba(220, 235, 255, 0) 70%), #F4F8FF; box-shadow: 0 40px 80px -56px rgba(26, 95, 204, .45); scroll-margin-top: 90px; overflow: hidden; isolation: isolate; }
/* точечная сетка в углу — как на первом экране */
.fr-guide::before { content: ""; position: absolute; z-index: -1; right: 0; top: 0; width: 420px; height: 260px; background-image: radial-gradient(rgba(76, 155, 255, .22) 1px, transparent 1px); background-size: 18px 18px; mask-image: radial-gradient(closest-side at 80% 20%, #000, transparent); -webkit-mask-image: radial-gradient(closest-side at 80% 20%, #000, transparent); }
.fr-guide.is-locked { display: none; }
.fr-guide.is-open { animation: fr-open .7s var(--fr-ease) both; }
@keyframes fr-open { from { opacity: 0; transform: translateY(18px); } }

.fr-guide__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 28px; }
.fr-guide__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.fr-guide__eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #D6E6FF; color: var(--c-primary-deep); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fr-guide__eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }
.fr-guide__title { max-width: 720px; font-family: var(--font-heading); font-weight: 800; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.08; letter-spacing: -0.035em; text-transform: uppercase; }

/* прогресс: по делению на шаг */
.fr-progress { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fr-progress__segs { display: flex; gap: 6px; }
.fr-progress__segs i { width: 34px; height: 6px; border-radius: 99px; background: #D9E6F7; transition: background-color .4s ease; }
.fr-progress__segs i.is-on { background: var(--c-accent); }
.fr-guide.is-complete .fr-progress__segs i { background: var(--c-success); }
.fr-progress__num { font-size: 13.5px; font-weight: 600; color: var(--fr-muted); }
.fr-progress__num b { color: var(--c-text); }

/* шаги */
.fr-guide__list { border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px #E3ECF8, 0 18px 40px -34px rgba(15, 23, 42, .35); overflow: hidden; }
.fr-step { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 20px; padding: 26px 32px 26px 28px; transition: background-color .3s ease; }
.fr-step + .fr-step { border-top: 1px solid #EEF1F5; }
.fr-step::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: transparent; transition: background-color .3s ease; }
.fr-step.is-current { background: linear-gradient(90deg, #F5F9FF 0%, #fff 70%); }
.fr-step.is-current::before { background: var(--c-accent); }
.fr-step__n { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #F1F4F8; font-family: var(--font-heading); font-size: 15px; font-weight: 800; color: #8A93A1; transition: background-color .3s ease, color .3s ease, box-shadow .3s ease; }
.fr-step__n svg { position: absolute; opacity: 0; transform: scale(.4); transition: opacity .3s ease, transform .4s var(--fr-ease); }
.fr-step.is-current .fr-step__n { background: var(--c-accent); color: #fff; box-shadow: 0 10px 20px -10px rgba(26, 95, 204, .8); }
.fr-step.is-done .fr-step__n { background: #ECFDF5; color: var(--c-success); }
.fr-step.is-done .fr-step__n span { opacity: 0; }
.fr-step.is-done .fr-step__n svg { opacity: 1; transform: none; }
.fr-step__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; max-width: 780px; padding-top: 7px; }
.fr-step__title { font-family: var(--font-body); font-size: 17.5px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; text-transform: none; }
.fr-step.is-done .fr-step__title { color: #9CA3AF; }
.fr-step__body p { font-size: 15px; line-height: 1.65; color: #4B5563; }
.fr-step.is-done .fr-step__body p { color: #9CA3AF; }
.fr-step__body strong { color: var(--c-text); font-weight: 700; }
.fr-step__tip { display: flex; gap: 10px; padding: 11px 14px; border-radius: 12px; background: #F4F8FF; color: #33507A !important; font-size: 14px !important; }
.fr-step__tip-i { flex: 0 0 auto; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--c-accent); color: #fff; font: 800 10px/1 var(--font-heading); }
.fr-step__tip strong { color: var(--c-primary-deep) !important; }
.fr-step.is-done .fr-step__tip { display: none; }
.fr-step__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fr-link { color: var(--c-primary-deep) !important; text-decoration: underline; text-underline-offset: 3px; }
.fr-link--btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 12px; background: var(--c-accent); color: #fff !important; font-size: 14.5px; font-weight: 600; text-decoration: none !important; transition: background-color .2s ease, box-shadow .2s ease; }
.fr-link--btn:hover { background: var(--c-primary-dark); }
.fr-step:not(.is-current) .fr-link--btn { background: #fff; box-shadow: inset 0 0 0 1px var(--fr-line); color: var(--c-text) !important; }
.fr-step:not(.is-current) .fr-link--btn:hover { box-shadow: inset 0 0 0 1px #C9CED6; }
.fr-step__done { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 9px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--fr-line); color: var(--fr-muted); font: 600 13px/1 var(--font-body); cursor: pointer; transition: background-color .2s ease, box-shadow .2s ease, color .2s ease; }
.fr-step__done svg { opacity: .45; }
.fr-step__done:hover { box-shadow: inset 0 0 0 1px #C9CED6; color: var(--c-text); }
.fr-step.is-done .fr-step__done { box-shadow: none; background: #ECFDF5; color: #047857; }
.fr-step.is-done .fr-step__done svg { opacity: 1; }

/* итог */
.fr-finish { display: flex; align-items: center; gap: 14px 16px; margin-top: 22px; padding: 0 4px; }
.fr-finish__icon { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #D6E6FF; color: #9CB6D8; transition: background-color .4s ease, color .4s ease, box-shadow .4s ease; }
.fr-finish__text { flex: 1 1 auto; display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: 14.5px; color: var(--fr-muted); }
.fr-finish__ok { display: none; color: #047857; font-weight: 700; }
.fr-finish__link { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--c-primary-deep) !important; text-decoration: none !important; white-space: nowrap; }
.fr-finish__link:hover { color: var(--c-accent) !important; }
.fr-guide.is-complete .fr-finish__icon { background: var(--c-success); color: #fff; box-shadow: none; }
.fr-guide.is-complete .fr-finish__ok { display: inline; }

/* --- Что входит --- */
.fr-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fr-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 10px 18px 10px 10px; border: 1px solid var(--fr-line); border-radius: 18px; }
.fr-item__img { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px; background: var(--fr-soft); overflow: hidden; }
.fr-item__img img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.fr-item__mono { font-family: var(--font-heading); font-size: 18px; font-weight: 800; color: var(--fr-muted); text-transform: uppercase; }
.fr-item__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fr-item__name { font-size: 15.5px; font-weight: 700; }
.fr-item__text { font-size: 13.5px; line-height: 1.45; color: var(--fr-muted); }
.fr-item__price { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.fr-item__price s { font-size: 13px; font-weight: 600; color: #9CA3AF; }
.fr-item__price b { font-size: 14.5px; font-weight: 700; color: var(--c-accent); white-space: nowrap; }

/* --- О предложении --- */
.fr-prose { max-width: 760px; font-size: 16px; line-height: 1.7; color: #374151; }
.fr-prose p + p, .fr-prose ul, .fr-prose ol { margin-top: 14px !important; }
.fr-prose ul { padding-left: 20px; list-style: disc; }
.fr-prose a { color: var(--c-primary-deep); }

/* --- Требования: как страницы характеристик у Apple — белое поле, тонкие линии, подпись слева, значение справа --- */
.fr-specs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 64px; align-items: start; padding-top: 40px; border-top: 1px solid var(--fr-line); }
.fr-specs__side { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.fr-specs__src { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--c-primary-deep) !important; text-decoration: none !important; }
.fr-specs__src:hover { color: var(--c-accent) !important; }
.fr-specs__list { border-bottom: 1px solid var(--fr-line); }
.fr-specs__row { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 2fr); gap: 24px; padding: 20px 0; border-top: 1px solid var(--fr-line); }
.fr-specs__row:first-child { border-top: 0; padding-top: 6px; }
.fr-specs__row dt { font-size: 14.5px; font-weight: 500; color: var(--fr-muted); }
.fr-specs__row dd { font-size: 16.5px; font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; color: var(--c-text); }

@media (max-width: 1100px) {
	.fr-items { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
	.fr { padding-bottom: 64px; }
	.fr-hero, .fr-sh { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.fr-hero__art { order: -1; height: 280px; border-radius: 24px; }
	.fr-stack { width: 160px; height: 160px; margin: -84px 0 0 -118px; }
	.fr-stack__card { border-radius: 16px; }
	.fr-stack__card--2 { transform: rotate(8deg) translate(62px, 4px) scale(.9); }
	.fr-stack__card--3 { transform: rotate(16deg) translate(110px, 20px) scale(.8); }
	.fr-tag { right: 4%; top: 7%; }
	.fr-tag__body { height: 80px; margin-left: 20px; padding: 0 14px 0 8px; border-radius: 3px 14px 14px 3px; }
	.fr-tag__body::before { width: 57px; height: 57px; margin-top: -28.5px; border-radius: 9px; transform: translateX(-28.5px) scaleX(.5) rotate(45deg); }
	.fr-tag__hole { left: -13px; width: 8px; height: 8px; margin-top: -4px; }
	.fr-tag__cord { left: -76px; top: calc(50% - 44px); width: 68px; height: 53px; }
	.fr-tag__label { font-size: 9px; }
	.fr-tag__zero { font-size: 28px; }
	.fr-tag__old { font-size: 12px; }
	.fr-chip { height: 30px; padding: 0 10px 0 9px; gap: 6px; border-radius: 10px; font-size: 10.5px; }
	.fr-chip i { width: 6px; height: 6px; }
	.fr-chip--1 { left: 5%; top: 9%; }
	.fr-chip--2 { left: 4%; bottom: 20%; }
	.fr-chip--3 { right: 5%; bottom: 10%; }
	.fr-chip--4 { display: none; }
	.fr-hero__lead, .fr-sh__lead { font-size: 16px; }
	.fr-count { width: 100%; gap: 14px; padding: 12px 16px 12px 14px; border-radius: 20px; }
	.fr-count__num { font-size: 38px; }
	.fr-count__body { padding-left: 14px; gap: 6px; }
	.fr-count__label { font-size: 13.5px; }
	.fr-count__brands { font-size: 12.5px; gap: 8px; }
	.fr-count__faces i { width: 28px; height: 28px; margin-left: -8px; border-radius: 8px; }
	.fr-hero__text .fr-btn, .fr-sh__text .fr-btn { width: 100%; white-space: normal; text-align: center; }
	.fr-sh__art { aspect-ratio: 4 / 3; max-height: none; border-radius: 24px; }
	.fr-sh__img { inset: 10% auto; left: 50%; aspect-ratio: 1 / 1; transform: translateX(-50%); border-radius: 18px; }
	.fr-sh__price b { font-size: 34px; }
	.fr-sec { margin-top: 64px; }
	.fr-sec > .fr-h2, .fr-sec__head { margin-bottom: 20px; }
	.fr-feature { grid-template-columns: minmax(0, 1fr); margin-top: 40px; border-radius: 24px; }
	.fr-feature__media { aspect-ratio: 4 / 3; }
	.fr-feature__body { padding: 22px; }
	.fr-feature__foot .fr-btn { width: 100%; }
	.fr-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 40px; }
	.fr-card__body { padding: 20px 20px 22px; }
	.fr-card__title { font-size: 19px; }
	.fr-card__foot .fr-btn { flex: 1 1 auto; }
	.fr-cta { flex-direction: column; align-items: stretch; margin-top: 64px; padding: 28px 22px; border-radius: 24px; }
	.fr-cta__btns { flex-direction: column; }
	.fr-cta .fr-btn { width: 100%; }
	.fr-guide { margin: 48px -8px 0; padding: 24px 14px 22px; border-radius: 24px; }
	.fr-guide::before { width: 240px; height: 180px; }
	.fr-guide__head { margin-bottom: 20px; gap: 18px; padding: 0 4px; }
	.fr-progress { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; }
	.fr-progress__segs { flex: 1 1 auto; margin-right: 12px; }
	.fr-progress__segs i { flex: 1 1 0; width: auto; }
	.fr-guide__list { border-radius: 18px; }
	.fr-step { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 20px 16px 20px 14px; }
	.fr-step__n { width: 34px; height: 34px; border-radius: 10px; font-size: 13.5px; }
	.fr-step__body { padding-top: 5px; }
	.fr-step__title { font-size: 16.5px; }
	.fr-step__body p { font-size: 14.5px; }
	.fr-link--btn { max-width: 100%; white-space: normal; }
	.fr-finish { flex-wrap: wrap; }
	.fr-finish__link { width: 100%; justify-content: center; height: 46px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #D6E6FF; }
	.fr-item { grid-template-columns: 52px minmax(0, 1fr); padding: 10px 14px 10px 10px; }
	.fr-item__img { width: 52px; height: 52px; border-radius: 10px; }
	.fr-specs { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 28px; }
	.fr-specs__side { flex-direction: row; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
	.fr-specs__row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 0; }
	.fr-specs__row:first-child { padding-top: 16px; border-top: 1px solid var(--fr-line); }
	.fr-specs__row dd { font-size: 15.5px; }
	.fr-item__price { grid-column: 2; flex-direction: row; align-items: baseline; gap: 8px; margin-top: -8px; }
}
@media (prefers-reduced-motion: reduce) {
	.fr-stack__card, .fr-sh__img, .fr-guide.is-open, .fr-tag, .fr-chip, .fr-count__num { animation: none; }
}
