@charset "UTF-8";

.wrapper {
	max-width: 1090px;
	margin: 0 auto;
	padding: 24px 20px;
	overflow: hidden;
}

.interactive-row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
	gap: 24px;
	scroll-margin-top: 84px;
}

canvas {
	display: block;
}

#geom {
	width: 100%;
	height: 58vh;
	min-height: 360px;
	display: block;
	background: transparent;
}

.controls_wrapper {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 240px;
	flex: 0 0 240px;
	width: 240px;
}

.canvas-section {
	-webkit-box-flex: 1;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	min-width: 0;
}

.controls {
	position: static;
	width: 100%;
	background: var(--bg-base);
	border: 1px solid var(--border-light);
	border-radius: 12px;
	padding: 15px;
	-webkit-box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
	color: var(--text-secondary);
}

.main-buttons {
	display: block;
}

.tools-row {
	display: block;
}

.btn_style {
	background: var(--btn-primary-bg);
	color: var(--btn-primary-text);
	border: none;
	padding: 10px 15px;
	margin: 5px 0;
	border-radius: 8px;
	cursor: pointer;
	font-family: inherit;
	display: block;
	width: 100%;
	-webkit-transition: background 0.2s ease;
	transition: background 0.2s ease;
}

.btn_style:hover {
	background: var(--btn-primary-hover);
}

.color-tool {
	position: relative;
	margin: 15px 0;
}

.color-label,
.opacity-label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	color: var(--text-secondary);
}

.color-preview {
	width: 26px;
	height: 26px;
	border-radius: 6px;
	margin: 0;
	border: 1px solid var(--border-light);
	flex-shrink: 0;
}

.current-color {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	width: 100%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 8px 12px;
	background: var(--bg-surface);
	border: 1px solid var(--border-light);
	border-radius: 8px;
	font-size: 13px;
	color: var(--text-secondary);
	cursor: pointer;
}

.color-palette-popup {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 1001;
	background: var(--bg-base);
	border: 1px solid var(--border-light);
	padding: 12px;
	border-radius: 12px;
	-webkit-box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
	box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
	min-width: 224px;
}

.color-tool.active .color-palette-popup {
	display: block;
}

.color-palette {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 8px 1fr 8px 1fr 8px 1fr;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}

.color-option {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	cursor: pointer;
	border: 2px solid transparent;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.color-option:hover,
.color-option.active {
	border-color: var(--border-focus);
	-webkit-transform: scale(1.08);
	-ms-transform: scale(1.08);
	transform: scale(1.08);
}

.opacity-tool {
	margin: 15px 0;
}

.opacity-slider {
	width: 100%;
	height: 6px;
	border-radius: 3px;
	background: var(--border-light);
	outline: none;
	-webkit-appearance: none;
}

.opacity-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--btn-primary-bg);
	cursor: pointer;
}

.opacity-slider::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--btn-primary-bg);
	cursor: pointer;
	border: none;
}

.edges-tool {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 10px;
	margin: 15px 0;
}

.toggle-label {
	color: var(--text-secondary);
	font-size: 14px;
}

.switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 24px;
	flex-shrink: 0;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--accent-no-active);
	-webkit-transition: 0.4s;
	transition: 0.4s;
	border-radius: 24px;
}

.slider:before {
	position: absolute;
	content: "";
	height: 16px;
	width: 16px;
	left: 4px;
	bottom: 4px;
	background-color: #ffffff;
	-webkit-transition: 0.4s;
	transition: 0.4s;
	border-radius: 50%;
}

input:checked + .slider {
	background-color: var(--btn-primary-bg);
}

input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

@media (max-width: 820px) {
	.wrapper {
		display: block;
		padding: 16px 10px;
		gap: 0;
	}
	.interactive-row {
		display: block;
		gap: 0;
	}
	.canvas-section {
		width: 100%;
	}
	#geom {
		width: 100%;
		height: 62vh;
		min-height: 260px;
	}
	.mobile-hidden {
		display: none !important;
	}
	.controls_wrapper {
		position: fixed;
		top: 60px;
		left: 0;
		width: 100%;
		z-index: 40;
		padding: 4px 10px;
		pointer-events: none;
	}
	.landing .controls_wrapper {
		position: static;
		top: auto;
		left: auto;
		width: 100%;
		padding: 0;
		margin: 0 0 12px;
		pointer-events: auto;
	}
	.controls {
		position: static;
		top: auto;
		right: auto;
		background: var(--bg-base);
		border: 1px solid var(--border-light);
		border-radius: 12px;
		padding: 8px 12px;
		-webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
		min-width: 0;
		pointer-events: auto;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		gap: 6px;
	}
	.main-buttons {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		gap: 12px;
		width: 100%;
	}
	.main-buttons .btn_style {
		-webkit-box-flex: 1;
		-ms-flex: 1;
		flex: 1;
		margin: 0;
		padding: 12px 12px;
		min-height: 44px;
		font-size: 16px;
		font-weight: 600;
		border-radius: 10px;
	}
	.tools-row {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
		gap: 15px;
		height: 44px;
	}
	.color-tool {
		position: relative;
		flex-shrink: 0;
		margin: 0;
	}
	.current-color {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		width: 45px;
		height: 45px;
		border-radius: 10px;
		border: 3px solid var(--border-light);
		background: var(--bg-base);
		cursor: pointer;
		padding: 0;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		-webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	}
	.current-color .color-preview {
		width: 40px;
		height: 40px;
		border-radius: 6px;
		border: 2px solid var(--bg-base);
		margin: 0;
		-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15);
		box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15);
	}
	.color-palette-popup {
		display: none;
		position: absolute;
		top: 58px;
		left: 0;
		background: var(--bg-base);
		border: 1px solid var(--border-light);
		padding: 12px;
		border-radius: 12px;
		-webkit-box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
		box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
		z-index: 1001;
		min-width: 224px;
		margin-top: 0;
	}
	.color-tool.active .color-palette-popup {
		display: block;
	}
	.color-palette {
		margin-top: 0;
	}
	.opacity-tool {
		-webkit-box-flex: 1;
		-ms-flex: 1;
		flex: 1;
		max-width: 140px;
		margin: 0;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
	}
	.opacity-slider {
		width: 100%;
		height: 8px;
		margin: 0;
		border-radius: 4px;
	}
	.opacity-slider::-webkit-slider-thumb {
		width: 24px;
		height: 24px;
	}
	.opacity-slider::-moz-range-thumb {
		width: 24px;
		height: 24px;
	}
	.edges-tool {
		flex-shrink: 0;
		margin: 0;
		gap: 6px;
	}
	.switch {
		width: 54px;
		height: 28px;
	}
	.slider:before {
		height: 20px;
		width: 20px;
		left: 4px;
		bottom: 4px;
	}
	input:checked + .slider:before {
		-webkit-transform: translateX(26px);
		-ms-transform: translateX(26px);
		transform: translateX(26px);
	}
	.controls * {
		box-sizing: border-box !important;
		max-width: 100% !important;
	}
}

@media (max-width: 400px) {
	.controls {
		padding: 6px 10px;
		gap: 4px;
	}
	.main-buttons {
		gap: 8px;
	}
	.main-buttons .btn_style {
		padding: 11px 10px;
	}
	.tools-row {
		gap: 10px;
		height: 40px;
	}
	.current-color {
		width: 40px;
		height: 40px;
	}
	.current-color .color-preview {
		width: 32px;
		height: 32px;
	}
	.opacity-tool {
		max-width: 90px;
	}
	.color-palette-popup {
		min-width: 190px;
	}
	.color-option {
		width: 34px;
		height: 34px;
	}
	.switch {
		width: 50px;
		height: 26px;
	}
	.slider:before {
		height: 18px;
		width: 18px;
	}
	input:checked + .slider:before {
		-webkit-transform: translateX(24px);
		-ms-transform: translateX(24px);
		transform: translateX(24px);
	}
}

/* ============================================================
   Контент «выбора фигуры» и маркетинг (страница конуса)
   ============================================================ */

.cone-hero {
	padding: 28px 0 6px;
}

.cone-hero h1 {
	font-size: 1.9rem;
	font-weight: 700;
	color: var(--text-primary);
	line-height: 1.3;
	margin-bottom: 12px;
}

.cone-hero p {
	font-size: 1.02rem;
	color: var(--text-secondary);
	line-height: 1.7;
	margin-bottom: 8px;
}

.pain-list {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	gap: 12px;
	padding: 12px 0 6px;
}

.pain-item {
	-webkit-box-flex: 1;
	-ms-flex: 1 1 280px;
	flex: 1 1 280px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: flex-start;
	-ms-flex-align: flex-start;
	align-items: flex-start;
	gap: 10px;
	background: var(--bg-surface);
	border: 1px solid var(--border-light);
	border-radius: 12px;
	padding: 13px 15px;
	font-size: 0.93rem;
	color: var(--text-secondary);
	line-height: 1.5;
}

.pain-item i {
	color: var(--accent-chart);
	font-size: 1.15rem;
	margin-top: 2px;
	flex-shrink: 0;
}

.pain-item b {
	color: var(--text-primary);
}

.figures-grid .figure-card.is-current {
	border: 2px solid var(--border-focus);
	background: var(--bg-surface);
	cursor: default;
	box-shadow: 0 0 0 1px var(--border-focus);
}

.figure-card .figure-current-label {
	display: block;
	margin-top: 8px;
	font-size: 0.72rem !important;
	font-weight: 600 !important;
	color: var(--accent-success) !important;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.method-block {
	padding: 34px 0 6px;
}

.method-block h2 {
	text-align: center;
	font-size: 1.45rem;
	font-weight: 600;
	color: var(--text-primary);
	line-height: 1.4;
	max-width: 820px;
	margin: 0 auto 12px;
}

.method-lead {
	text-align: center;
	font-size: 1rem;
	color: var(--text-secondary);
	line-height: 1.7;
	max-width: 780px;
	margin: 0 auto 10px;
}

.method-steps {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	gap: 10px;
	list-style: none;
	padding: 14px 0 4px;
	margin: 0;
}

.method-steps li {
	background: var(--bg-surface);
	border: 1px solid var(--border-light);
	border-radius: 20px;
	padding: 7px 14px;
	font-size: 0.9rem;
	color: var(--text-secondary);
}

.method-steps li b {
	color: var(--text-primary);
}

.cta-wrap {
	text-align: center;
	padding: 18px 0 6px;
}

.btn-cta {
	display: inline-block;
	padding: 13px 26px;
	background: var(--btn-primary-bg);
	color: var(--btn-primary-text);
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.98rem;
	text-decoration: none;
	-webkit-transition: background 0.2s ease, -webkit-transform 0.2s ease;
	transition: background 0.2s ease, transform 0.2s ease;
}

.btn-cta:hover {
	background: var(--btn-primary-hover);
	-webkit-transform: translateY(-1px);
	-ms-transform: translateY(-1px);
	transform: translateY(-1px);
}

/* ---- Стрелка вниз к следующему блоку ---- */
.scroll-down {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin: 22px auto 6px;
	border-radius: 50%;
	background: var(--bg-surface);
	border: 2px solid var(--border-light);
	color: var(--text-secondary);
	font-size: 1.1rem;
	text-decoration: none;
	-webkit-transition: all 0.25s ease;
	transition: all 0.25s ease;
	-webkit-animation: scroll-down-bounce 1.8s ease-in-out infinite;
	animation: scroll-down-bounce 1.8s ease-in-out infinite;
}

.scroll-down:hover {
	border-color: var(--border-focus);
	background: var(--btn-primary-bg);
	color: var(--btn-primary-text);
	-webkit-transform: translateY(2px);
	-ms-transform: translateY(2px);
	transform: translateY(2px);
	-webkit-animation: none;
	animation: none;
}

.scroll-down:focus-visible {
	outline: 2px solid var(--border-focus);
	outline-offset: 2px;
}

@-webkit-keyframes scroll-down-bounce {
	0%, 100% { -webkit-transform: translateY(0); }
	50% { -webkit-transform: translateY(4px); }
}

@keyframes scroll-down-bounce {
	0%, 100% { -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }
	50% { -webkit-transform: translateY(4px); -ms-transform: translateY(4px); transform: translateY(4px); }
}

#method-block {
	scroll-margin-top: 84px;
}

@media (prefers-reduced-motion: no-preference) {
	#method-block {
		scroll-behavior: smooth;
	}
}

@media (max-width: 768px) {
	.cone-hero h1 {
		font-size: 1.5rem;
	}
	.method-block h2 {
		font-size: 1.2rem;
	}
}

/* ---- Компактное вступление (страница конуса) ---- */
.cone-intro {
	padding: 6px 0 14px;
}

.cone-intro h1 {
	font-size: 1.55rem;
	font-weight: 700;
	color: var(--text-primary);
	line-height: 1.3;
	margin-bottom: 6px;
}

.cone-intro p {
	font-size: 0.98rem;
	color: var(--text-secondary);
	line-height: 1.6;
	max-width: 640px;
}

/* ---- Выбор фигуры в панели инструментов ---- */
.fig-picker {
	position: relative;
	margin: 0 0 12px;
}

.fig-picker-btn {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 8px 10px;
	background: var(--bg-surface);
	border: 1px solid var(--border-light);
	border-radius: 8px;
	cursor: pointer;
	font-family: inherit;
	color: var(--text-primary);
	text-align: left;
}

.fig-picker-btn:hover {
	border-color: var(--border-focus);
}

.fig-picker-thumb {
	width: 26px;
	height: auto;
	flex-shrink: 0;
}

.fig-picker-name {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--text-primary);
}

.fig-picker-change {
	margin-left: auto;
	font-size: 0.7rem;
	color: var(--text-tertiary);
}

.fig-picker-btn i {
	color: var(--text-tertiary);
	font-size: 0.8rem;
	-webkit-transition: -webkit-transform 0.2s ease;
	transition: transform 0.2s ease;
}

.fig-picker.open .fig-picker-btn i {
	-webkit-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	transform: rotate(180deg);
}

.fig-picker-popup {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 2000;
	display: none;
	width: 250px;
	padding: 12px;
	background: var(--bg-base);
	border: 1px solid var(--border-light);
	border-radius: 12px;
	-webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.fig-picker.open .fig-picker-popup {
	display: block;
}

.fig-picker-popup-title {
	font-size: 0.74rem;
	font-weight: 600;
	color: var(--text-tertiary);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 10px;
}

.fig-picker-grid {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 6px 1fr;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
}

.fig-pick {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 5px;
	padding: 8px 4px 7px;
	border: 1px solid var(--border-light);
	border-radius: 8px;
	text-decoration: none;
	-webkit-transition: border-color 0.15s ease, background 0.15s ease;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.fig-pick img {
	width: 34px;
	height: auto;
	display: block;
}

.fig-pick span {
	font-size: 0.68rem;
	color: var(--text-secondary);
	text-align: center;
	line-height: 1.15;
}

.fig-pick:hover {
	border-color: var(--border-focus);
	background: var(--bg-surface);
}

.fig-pick.is-current {
	border: 2px solid var(--border-focus);
	background: var(--bg-surface);
	cursor: default;
}

.fig-pick.locked {
	position: relative;
	border-style: dashed;
	cursor: pointer;
}

.fig-pick.locked img {
	-webkit-filter: blur(0.5px) saturate(0.8);
	filter: blur(0.5px) saturate(0.8);
	opacity: 0.85;
}

.fig-lock-corner {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--bg-base);
	color: var(--text-secondary);
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
	font-size: 0.8rem;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

/* ---- Окно подписки (конструктор 3D) ---- */
.sub-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3000;
	display: none;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, 0.45);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.sub-overlay.open {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.sub-modal {
	position: relative;
	width: 100%;
	max-width: 420px;
	text-align: center;
	background: var(--bg-base);
	border: 1px solid var(--border-light);
	border-radius: 18px;
	padding: 28px 24px;
	-webkit-box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
	box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
}

.sub-close {
	position: absolute;
	top: 12px;
	right: 12px;
	border: none;
	background: transparent;
	color: var(--text-tertiary);
	font-size: 1.1rem;
	cursor: pointer;
}

.sub-icon {
	width: 62px;
	height: 62px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: var(--bg-surface);
	color: var(--accent-chart);
	font-size: 1.5rem;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.sub-modal h2 {
	margin: 0 0 8px;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--text-primary);
}

.sub-text {
	font-size: 0.92rem;
	color: var(--text-secondary);
	line-height: 1.55;
	margin: 0;
}

.sub-price-row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	gap: 10px;
	margin: 8px 0 4px;
}

.sub-price-now {
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.1;
	color: var(--accent-chart);
}

.sub-price-old {
	font-size: 0.95rem;
	color: var(--text-tertiary);
	text-decoration: line-through;
	font-weight: 600;
}

/* ---- Блок тарифа (конструктор 3D) ---- */
.sub-offer {
	border: 1px solid var(--accent-chart);
	border-radius: 14px;
	background: var(--bg-surface);
	padding: 16px 14px 14px;
	text-align: center;
	margin: 16px 0 12px;
}

.sub-offer-head {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 6px;
}

.sub-offer-term {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text-primary);
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 7px;
}

.sub-offer-term i {
	color: var(--accent-chart);
}

.sub-sale-badge {
	font-size: 0.62rem;
	font-weight: 800;
	color: var(--accent-green);
	border: 1px solid var(--accent-green);
	background: var(--bg-base);
	border-radius: 8px;
	padding: 2px 7px;
	letter-spacing: 0.3px;
}

.sub-offer-note {
	font-size: 0.72rem;
	color: var(--text-secondary);
	line-height: 1.45;
	margin: 0 auto;
	max-width: 290px;
}

.sub-promo {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
	gap: 8px;
	text-align: left;
	font-size: 0.75rem;
	color: var(--text-secondary);
	line-height: 1.5;
	background: var(--bg-canvas);
	border: 1px dashed var(--border-light);
	border-radius: 10px;
	padding: 8px 10px;
	margin-bottom: 14px;
}

.sub-promo i {
	color: var(--accent-orange);
	margin-top: 1px;
}

.sub-promo strong {
	color: var(--text-primary);
	font-weight: 700;
}

.sub-divider {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 12px;
	color: var(--text-tertiary);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 4px 0 12px;
}

.sub-divider::before,
.sub-divider::after {
	content: '';
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
	height: 1px;
	background: var(--border-light);
}

.sub-qr {
	margin-bottom: 14px;
	border: 2px dashed var(--border-light);
	border-radius: 12px;
	padding: 22px 16px;
	min-height: 150px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	gap: 10px;
	color: var(--text-tertiary);
	background: var(--bg-canvas);
}

.sub-qr i {
	font-size: 3.2rem;
	opacity: 0.55;
}

.sub-qr span {
	font-size: 0.82rem;
}

.sub-btn {
	width: 100%;
	border: none;
	padding: 13px;
	border-radius: 10px;
	background: var(--btn-primary-bg);
	color: var(--btn-primary-text);
	font-family: inherit;
	font-weight: 600;
	font-size: 0.98rem;
	cursor: pointer;
	-webkit-transition: background 0.2s ease;
	transition: background 0.2s ease;
}

.sub-btn:hover {
	background: var(--btn-primary-hover);
}

.sub-note {
	margin-top: 10px;
	font-size: 0.72rem;
	color: var(--text-tertiary);
}

@media (max-width: 820px) {
	.cone-intro h1 {
		font-size: 1.3rem;
	}
	.fig-picker-popup {
		width: min(260px, calc(100vw - 40px));
	}
}
