/* uBeauty — преміум-оформлення опису апаратів (24.10.2026), до ub_device.js */
.ubd {
	--ubd-plum: #6c0977;
	--ubd-plum-2: #8e2a9b;
	--ubd-lilac: #f6effa;
	--ubd-lilac-2: #ece0f3;
	--ubd-line: #eadff0;
	--ubd-ink: #2a2230;
	--ubd-mute: #6f6577;
	--ubd-r: 18px;
	color: var(--ubd-ink);
	font-size: 15px;
	line-height: 1.6;
	margin: 4px 0 8px;
}
.ubd * { box-sizing: border-box; }
.ubd svg { width: 100%; height: 100%; display: block; }
.ubd p { margin: 0; }

/* ---------- шапка: «космос» ---------- */
.ubd-hero {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	padding: 34px 34px 30px;
	color: #fff;
	background:
		radial-gradient(120% 90% at 100% 0%, rgba(214, 140, 255, .38) 0%, rgba(214, 140, 255, 0) 55%),
		radial-gradient(90% 80% at 0% 100%, rgba(255, 170, 220, .22) 0%, rgba(255, 170, 220, 0) 60%),
		linear-gradient(135deg, #2b0832 0%, #4a0b55 45%, #6c0977 100%);
	box-shadow: 0 18px 40px -22px rgba(76, 8, 88, .55);
}
.ubd-stars {
	position: absolute; inset: 0; pointer-events: none; opacity: .75;
	background-image:
		radial-gradient(1.2px 1.2px at 12% 22%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 28% 68%, rgba(255,255,255,.8) 50%, transparent 51%),
		radial-gradient(1.4px 1.4px at 44% 14%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 58% 82%, rgba(255,255,255,.7) 50%, transparent 51%),
		radial-gradient(1.6px 1.6px at 73% 38%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 86% 70%, rgba(255,255,255,.8) 50%, transparent 51%),
		radial-gradient(1.2px 1.2px at 93% 12%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 6% 86%, rgba(255,255,255,.7) 50%, transparent 51%),
		radial-gradient(1px 1px at 36% 42%, rgba(255,255,255,.55) 50%, transparent 51%),
		radial-gradient(1px 1px at 66% 8%, rgba(255,255,255,.6) 50%, transparent 51%);
	animation: ubd-twinkle 6s ease-in-out infinite alternate;
}
@keyframes ubd-twinkle { from { opacity: .45; } to { opacity: .85; } }
.ubd-orb {
	position: absolute; width: 340px; height: 340px; right: -110px; top: -140px; border-radius: 50%; pointer-events: none;
	background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.35), rgba(232,170,255,.12) 40%, rgba(232,170,255,0) 70%);
	border: 1px solid rgba(255,255,255,.12);
}
.ubd-hero-in { position: relative; z-index: 1; }
.ubd-eye {
	display: inline-flex; align-items: center; gap: 7px;
	font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: #f1d6ff; padding: 6px 12px 6px 9px; border-radius: 99px;
	background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
}
.ubd-eye svg { width: 14px; height: 14px; }
.ubd-model {
	margin: 14px 0 10px; font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em;
	background: linear-gradient(90deg, #fff 0%, #f3d9ff 60%, #ffc6e8 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.ubd-lead { max-width: 760px; color: rgba(255,255,255,.86); font-size: 15.5px; line-height: 1.65; }
.ubd-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.ubd-fact {
	padding: 14px 14px 13px; border-radius: 16px;
	background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ubd-fact i { display: block; width: 26px; height: 26px; color: #f0c8ff; margin-bottom: 10px; }
.ubd-fact b { display: block; font-size: 19px; line-height: 1.2; font-weight: 700; color: #fff; white-space: nowrap; }
.ubd-fact span { display: block; font-size: 12.5px; color: rgba(255,255,255,.66); margin-top: 3px; }

/* ---------- розділи ---------- */
.ubd-sec { margin-top: 38px; }
.ubd-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.ubd-num { font-size: 12px; font-weight: 700; color: var(--ubd-plum-2); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.ubd .ubd-head h3 { margin: 0; padding: 0; font-size: 21px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; color: var(--ubd-ink); border: 0; background: none; text-transform: none; }
.ubd-head::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--ubd-line), rgba(234,223,240,0)); transform: translateY(-5px); }

/* іконка в «таблетці» */
.ubd-card > i, .ubd-chip-card > i, .ubd-spec dt i {
	flex: none; display: inline-grid; place-items: center; color: var(--ubd-plum);
	background: linear-gradient(140deg, #fbf6fd, #efe2f6); border: 1px solid #ead9f3;
}

/* переваги */
.ubd-fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ubd-card {
	display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--ubd-r);
	background: #fff; border: 1px solid var(--ubd-line);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ubd-card:hover { transform: translateY(-2px); border-color: #dcc6e8; box-shadow: 0 14px 30px -20px rgba(108,9,119,.35); }
.ubd-card > i { width: 44px; height: 44px; border-radius: 13px; padding: 10px; }
.ubd-card b { display: block; font-size: 15.5px; margin-bottom: 3px; color: var(--ubd-ink); }
.ubd-card p { color: var(--ubd-mute); font-size: 14.5px; line-height: 1.55; }

/* що вирішує */
.ubd-use { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ubd-chip-card { display: flex; gap: 12px; align-items: center; padding: 13px 14px; border-radius: 16px; background: var(--ubd-lilac); border: 1px solid transparent; }
.ubd-chip-card > i { width: 40px; height: 40px; border-radius: 12px; padding: 9px; background: #fff; border-color: #ecdff3; }
.ubd-chip-card b { display: block; font-size: 14.5px; line-height: 1.3; color: var(--ubd-ink); }
.ubd-chip-card span { display: block; font-size: 13px; line-height: 1.4; color: var(--ubd-mute); margin-top: 2px; }
.ubd-chip-card b::first-letter { text-transform: uppercase; }

/* характеристики + комплектація */
.ubd-two { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.ubd-two .ubd-col { min-width: 0; }
.ubd-spec { margin: 0; border: 1px solid var(--ubd-line); border-radius: var(--ubd-r); overflow: hidden; background: #fff; }
.ubd-spec > div { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 14px; padding: 12px 16px; align-items: center; }
.ubd-spec > div + div { border-top: 1px solid #f1e8f5; }
.ubd-spec > div:nth-child(odd) { background: #fcf9fd; }
.ubd-spec dt { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ubd-mute); font-size: 14px; }
.ubd-spec dt i { width: 30px; height: 30px; border-radius: 9px; padding: 6px; }
.ubd-spec dd { margin: 0; font-weight: 600; font-size: 14.5px; color: var(--ubd-ink); }

.ubd-kit { list-style: none; margin: 0; padding: 6px 0; border-radius: var(--ubd-r); background: #fff; border: 1px solid var(--ubd-line); }
.ubd-kit li { display: flex; align-items: center; gap: 12px; padding: 10px 16px; font-size: 14.5px; }
.ubd-kit li + li { border-top: 1px dashed #efe4f4; }
.ubd-kit li i { flex: none; width: 22px; height: 22px; border-radius: 50%; padding: 4px; color: #fff; background: linear-gradient(135deg, var(--ubd-plum-2), var(--ubd-plum)); }
.ubd-kit li span { flex: 1; }
.ubd-kit li em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--ubd-plum); background: var(--ubd-lilac); padding: 3px 9px; border-radius: 99px; white-space: nowrap; }

.ubd-compat { margin-top: 14px; padding: 16px; border-radius: var(--ubd-r); background: linear-gradient(140deg, #faf4fc, #f1e5f7); border: 1px solid #ead9f3; }
.ubd-compat-t { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--ubd-ink); }
.ubd-compat-t svg { width: 20px; height: 20px; color: var(--ubd-plum); }
.ubd-compat-l { font-size: 13px; color: var(--ubd-mute); margin-top: 8px; }
.ubd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ubd-tags span { font-size: 13px; font-weight: 600; color: var(--ubd-plum); background: #fff; border: 1px solid #e3cdee; padding: 4px 11px; border-radius: 99px; }
.ubd a.ubd-pick { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--ubd-plum); text-decoration: none; border-bottom: 1px solid rgba(108,9,119,.3); }
.ubd a.ubd-pick:hover { border-bottom-color: var(--ubd-plum); }

/* кроки */
.ubd-steps { list-style: none; margin: 0; padding: 0; counter-reset: ubd; display: grid; gap: 0; }
.ubd-steps li { position: relative; counter-increment: ubd; padding: 0 0 18px 56px; min-height: 40px; }
.ubd-steps li::before {
	content: counter(ubd); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
	display: grid; place-items: center; font-weight: 700; font-size: 15px; color: #fff;
	background: linear-gradient(135deg, #a64bb5, var(--ubd-plum)); box-shadow: 0 6px 16px -8px rgba(108,9,119,.7);
}
.ubd-steps li::after { content: ""; position: absolute; left: 18.5px; top: 42px; bottom: 4px; width: 1px; background: linear-gradient(var(--ubd-lilac-2), rgba(236,224,243,0)); }
.ubd-steps li:last-child { padding-bottom: 0; }
.ubd-steps li:last-child::after { display: none; }
.ubd-steps p { padding-top: 7px; color: var(--ubd-ink); font-size: 15px; }

.ubd-other { color: var(--ubd-ink); }

/* FAQ */
.ubd-faq { display: grid; gap: 8px; }
.ubd-faq details { border: 1px solid var(--ubd-line); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.ubd-faq details[open] { border-color: #dcc6e8; box-shadow: 0 10px 26px -20px rgba(108,9,119,.4); }
.ubd-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 18px; font-weight: 600; font-size: 15px; color: var(--ubd-ink); }
.ubd-faq summary::-webkit-details-marker { display: none; }
.ubd-faq summary i { flex: none; position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--ubd-lilac); }
.ubd-faq summary i::before, .ubd-faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; background: var(--ubd-plum); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .25s ease; }
.ubd-faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.ubd-faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.ubd-faq details p { padding: 0 18px 16px; color: var(--ubd-mute); font-size: 14.5px; }
.ubd-ask { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: var(--ubd-lilac); color: var(--ubd-ink); font-size: 14px; }
.ubd-ask svg { flex: none; width: 22px; height: 22px; color: var(--ubd-plum); }

/* ---------- планшет / телефон ---------- */
@media (max-width: 991px) {
	.ubd-use { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ubd-two { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.ubd-two .ubd-col + .ubd-col { margin-top: 38px; }
	.ubd-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.ubd { font-size: 14.5px; }
	.ubd-hero { padding: 24px 18px 18px; border-radius: 20px; }
	.ubd-orb { width: 220px; height: 220px; right: -90px; top: -90px; }
	.ubd-model { font-size: 24px; }
	.ubd-lead { font-size: 14.5px; }
	.ubd-facts { gap: 8px; margin-top: 18px; }
	.ubd-fact { padding: 12px; border-radius: 14px; }
	.ubd-fact i { width: 22px; height: 22px; margin-bottom: 8px; }
	.ubd-fact b { font-size: 16px; white-space: normal; }
	.ubd-fact span { font-size: 12px; }
	.ubd-sec { margin-top: 30px; }
	.ubd .ubd-head h3 { font-size: 18.5px; }
	.ubd-fit, .ubd-use { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.ubd-card { padding: 14px; gap: 12px; }
	.ubd-card > i { width: 40px; height: 40px; padding: 9px; }
	.ubd-spec > div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 11px 14px; }
	.ubd-spec dd { padding-left: 40px; }
	.ubd-steps li { padding-left: 50px; }
	.ubd-steps li::before { width: 34px; height: 34px; font-size: 14px; }
	.ubd-steps li::after { left: 16.5px; top: 38px; }
	.ubd-steps p { padding-top: 5px; font-size: 14.5px; }
	.ubd-faq summary { padding: 13px 14px; font-size: 14.5px; }
	.ubd-faq details p { padding: 0 14px 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.ubd-stars { animation: none; }
	.ubd-card { transition: none; }
}

/* тема ставить маркери на li — прибираємо */
.ubd ol, .ubd ul, .ubd li { list-style: none !important; }
.ubd li::marker { content: none; }
.ubd .ubd-steps li { display: block; }

@media (max-width: 600px) {
	.ubd-hero { padding: 20px 16px 16px; }
	.ubd-fact b { font-size: 15px; white-space: nowrap; }
	.ubd-lead { line-height: 1.55; }
}

@media (max-width: 600px) {
	.ubd .ubd-card p, .ubd .ubd-lead, .ubd .ubd-steps p, .ubd .ubd-faq details p { font-size: 14px; line-height: 1.5; }
	.ubd .ubd-card b { font-size: 15px; }
}


/* ---------- 24.10.2026 (2): шапка під «Купити», липкі вкладки ---------- */
.ub-ship.ub-ship--solo { margin: 14px 0 0; background: #f6effa; border-radius: 12px; }
.ubd.ubd-side { margin: 12px 0 16px; }
.ubd-side .ubd-hero { padding: 22px 22px 20px; border-radius: 20px; }
.ubd-side .ubd-orb { width: 260px; height: 260px; right: -100px; top: -120px; }
.ubd-side .ubd-model { font-size: 22px; margin: 12px 0 8px; }
.ubd .ubd-side .ubd-lead, .ubd-side .ubd-lead {
	font-size: 14px; line-height: 1.55;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ubd-side .ubd-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.ubd-side .ubd-fact { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; }
.ubd-side .ubd-fact i { grid-row: span 2; width: 22px; height: 22px; margin: 0; }
.ubd-side .ubd-fact b { font-size: 15.5px; white-space: nowrap; }
.ubd-side .ubd-fact span { font-size: 11.5px; margin-top: 1px; line-height: 1.3; }
.ubd-more {
	display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; cursor: pointer;
	font: 600 13px/1 inherit; font-family: inherit; color: #fff; padding: 10px 16px; border-radius: 99px;
	background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28);
	transition: background .2s ease, border-color .2s ease;
}
.ubd-more:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.45); }
.ubd-more svg { width: 15px; height: 15px; }
#tab-description .ubd > .ubd-sec:first-child { margin-top: 6px; }

.tabs-box > .nav-tabs.ub-sticky-tabs { position: -webkit-sticky; position: sticky; z-index: 90; background: #fff; transition: box-shadow .2s ease; }
.tabs-box > .nav-tabs.ub-sticky-tabs.is-stuck { box-shadow: 0 6px 16px -6px rgba(36, 26, 48, .16); }
@media (max-width: 600px) {
	.ubd-side .ubd-hero { padding: 20px 16px 16px; }
	.ubd-side .ubd-model { font-size: 21px; }
	.ubd-side .ubd-fact { padding: 10px; column-gap: 8px; }
	.ubd-side .ubd-fact b { font-size: 14.5px; }
}

/* липкі вкладки на ПК: обгортка теми з overflow:hidden «вимикала» sticky */
.product-info { display: flow-root; overflow: visible !important; overflow-x: clip !important; }
@media (min-width: 769px) {
	.tabs-box > .nav-tabs.ub-sticky-tabs { display: block; width: 100%; }
}

/* ---------- 24.10.2026 (3): менше «таблиці», менше рамок, шапка на всю ширину ---------- */
/* характеристики — плитки замість таблиці */
.ubd .ubd-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; border: 0; border-radius: 0; background: none; overflow: visible; }
.ubd .ubd-spec > .ubd-sr {
	display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; row-gap: 1px; align-items: start;
	padding: 12px 14px; border: 0; border-radius: 14px; background: #faf6fc;
}
.ubd .ubd-spec > .ubd-sr + .ubd-sr { border-top: 0; }
.ubd .ubd-spec > .ubd-sr:nth-child(odd) { background: #faf6fc; }
.ubd .ubd-sr > i {
	grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; padding: 7px; display: grid; place-items: center;
	color: var(--ubd-plum); background: #fff; box-shadow: 0 2px 8px -4px rgba(108,9,119,.25);
}
.ubd .ubd-sr dt { display: block; font-size: 12px; font-weight: 500; color: var(--ubd-mute); letter-spacing: .01em; }
.ubd .ubd-sr dd { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--ubd-ink); padding: 0; }

/* шапка на планшеті — на всю ширину під колонками */
.ubd.ubd-side.ubd-side--wide { clear: both; margin: 4px 15px 22px; }
.ubd-side--wide .ubd-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ubd-side--wide .ubd-lead { -webkit-line-clamp: 4; }

@media (max-width: 767px) {
	/* шапка — майже від краю до краю екрана */
	.product-right > .ubd.ubd-side { margin-left: -27px; margin-right: -27px; }
	.ubd-side .ubd-hero { border-radius: 22px; padding: 22px 18px 18px; }
	.ub-ship.ub-ship--solo { margin-left: -12px; margin-right: -12px; }

	/* опис — без рамки й зайвих відступів навколо */
	.tabs-box.ubd-host { padding-left: 8px; padding-right: 8px; }
	.tabs-box.ubd-host > .tab-content { border: 0 !important; padding-left: 0 !important; padding-right: 0 !important; box-shadow: none !important; background: none !important; }

	/* без рамок: м'які бузкові підкладки */
	.ubd .ubd-card { border: 0; background: #faf6fc; }
	.ubd .ubd-card > i { background: #fff; border: 0; box-shadow: 0 2px 8px -4px rgba(108,9,119,.25); }
	.ubd .ubd-kit { border: 0; background: #faf6fc; }
	.ubd .ubd-kit li + li { border-top: 1px solid #fff; }
	.ubd .ubd-compat { border: 0; }
	.ubd .ubd-faq details { border: 0; background: #faf6fc; }
	.ubd .ubd-faq details[open] { background: #fff; box-shadow: 0 0 0 1px #eadff0, 0 10px 24px -18px rgba(108,9,119,.4); }
	.ubd .ubd-faq summary i { background: #fff; }
	.ubd .ubd-spec { grid-template-columns: minmax(0, 1fr); }

	/* заголовки розділів — помітні, без ліній */
	.ubd-sec { margin-top: 36px; }
	.ubd-head { display: block; margin-bottom: 14px; }
	.ubd-head::after { display: none; }
	.ubd-num {
		display: inline-block; margin-bottom: 6px; padding: 3px 9px; border-radius: 99px;
		font-size: 11px; color: #fff; background: linear-gradient(135deg, #a64bb5, var(--ubd-plum));
	}
	.ubd .ubd-head h3 { display: block; font-size: 21px; line-height: 1.2; font-weight: 800; letter-spacing: -.015em; }
}
@media (min-width: 480px) and (max-width: 767px) {
	.ubd .ubd-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* липкість на ПК потребує clip замість hidden — лише там, на мобільному тема й так липка */
@media (max-width: 768px) {
	.product-info { overflow-x: visible !important; }
}

/* заголовки розділів: старе правило теми (#tab-description h3 …!important) їх зменшувало */
#tab-description .ubd .ubd-head h3, .ubd .ubd-head h3 { font-size: 22px !important; line-height: 1.2 !important; font-weight: 800 !important; margin: 0 !important; padding: 0 !important; letter-spacing: -.015em; }
@media (max-width: 767px) {
	#tab-description .ubd .ubd-head h3, .ubd .ubd-head h3 { font-size: 21px !important; }
}

/* «Що вирішує»: сітка підлаштовується під кількість пунктів — без порожніх дірок */
@media (min-width: 992px) {
	.ubd .ubd-use { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.ubd .ubd-use > * { grid-column: span 2; }
	/* 5, 8 … пунктів: останні два — по половині ряду */
	.ubd .ubd-use > :nth-last-child(2):nth-child(3n+1),
	.ubd .ubd-use > :nth-last-child(2):nth-child(3n+1) ~ * { grid-column: span 3; }
	/* 4, 7 … пунктів: останні чотири — два ряди по два */
	.ubd .ubd-use > :nth-last-child(4):nth-child(3n+1),
	.ubd .ubd-use > :nth-last-child(4):nth-child(3n+1) ~ * { grid-column: span 3; }
}
@media (min-width: 601px) and (max-width: 991px) {
	.ubd .ubd-use > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* «Що вирішує» — стандарт із 6 проблем з іконками-обличчями */
.ubd .ubd-probs { gap: 12px; }
.ubd .ubd-prob {
	display: flex; gap: 14px; align-items: flex-start; padding: 18px 18px 18px 16px; border-radius: 18px;
	background: linear-gradient(160deg, #fbf7fd 0%, #f4ebf8 100%);
	transition: transform .25s ease, box-shadow .25s ease;
}
.ubd .ubd-prob:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -20px rgba(108,9,119,.4); }
.ubd .ubd-prob > i {
	flex: none; width: 54px; height: 54px; padding: 11px; border-radius: 50%; display: grid; place-items: center;
	color: var(--ubd-plum); background: #fff; box-shadow: 0 4px 14px -6px rgba(108,9,119,.3), inset 0 0 0 1px #efe2f5;
}
.ubd .ubd-prob > i svg { stroke-width: 1.35; }
.ubd .ubd-prob b { display: block; font-size: 15.5px; line-height: 1.3; color: var(--ubd-ink); margin: 3px 0 5px; }
.ubd .ubd-prob p { margin: 0; font-size: 13.5px !important; line-height: 1.5 !important; color: var(--ubd-mute); }
@media (max-width: 600px) {
	.ubd .ubd-probs { gap: 8px; }
	.ubd .ubd-prob { padding: 14px; gap: 12px; }
	.ubd .ubd-prob > i { width: 48px; height: 48px; padding: 10px; }
}

/* «Як проходить процедура» — звичайний нумерований список (побажання власниці) */
.ubd .ubd-steps { gap: 0; }
.ubd .ubd-steps li { padding: 0 0 10px 26px !important; min-height: 0; }
.ubd .ubd-steps li::before {
	width: auto !important; height: auto !important; border-radius: 0; background: none !important; box-shadow: none !important;
	display: block; top: 0; left: 0; content: counter(ubd) "."; font-size: 15px; font-weight: 700; line-height: 1.6; color: var(--ubd-plum);
}
.ubd .ubd-steps li::after { display: none !important; }
.ubd .ubd-steps p { padding-top: 0 !important; line-height: 1.6; }
@media (max-width: 600px) {
	.ubd .ubd-steps li { padding-left: 24px !important; }
	.ubd .ubd-steps li::before { font-size: 14px; }
}

/* тема додає абзацам і пунктам свої відступи — в оформленні опису вони зайві */
.ubd p { margin: 0 !important; }
.ubd li { margin: 0 !important; }
.ubd .ubd-steps li { padding-bottom: 8px !important; }

#tab-description .ubd p, #tab-description .ubd .ubd-steps p, .product-right .ubd p { margin: 0 !important; }
#tab-description .ubd li { margin: 0 !important; }


/* «Зв'язатися з менеджером в 1 клік» (як на дермапені, кольори uBeauty) */
.ubd .ubd-cta {
	position: relative; overflow: hidden; max-width: 380px; margin: 22px auto 4px; padding: 24px 20px 20px; text-align: center; border-radius: 20px; color: #fff;
	background: radial-gradient(120% 90% at 100% 0%, rgba(214,140,255,.32) 0%, rgba(214,140,255,0) 55%), linear-gradient(150deg, #4a0b55 0%, #6c0977 60%, #8e2a9b 100%);
	box-shadow: 0 16px 34px -22px rgba(76,8,88,.6);
}
.ubd .ubd-cta-t { font-weight: 700; font-size: 15.5px; line-height: 1.35; margin: 0 0 16px; color: #fff; }
.ubd .ubd-cta-row { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; }
.ubd .ubd-cta-btn { display: inline-flex; text-decoration: none; }
.ubd .ubd-cta-btn span {
	width: 54px; height: 54px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center;
	border: 2px solid transparent; box-shadow: 0 6px 16px rgba(0,0,0,.28); transition: transform .18s ease, border-color .18s ease;
}
.ubd .ubd-cta-btn:hover span { transform: translateY(-3px) scale(1.05); border-color: #e7a6e7; }
.ubd .ubd-cta-btn img { width: 56%; height: 56%; object-fit: contain; display: block; }
.ubd .ubd-cta-n { margin-top: 16px; font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.78); }
@media (max-width: 600px) { .ubd .ubd-cta { max-width: none; } }

/* ---------- мобільний: менше бокових відступів (усе на 10px від краю екрана) ---------- */
@media (max-width: 767px) {
	.container.ub-pc { padding-left: 0 !important; padding-right: 0 !important; }
	.container.ub-pc #content { padding-left: 10px !important; padding-right: 10px !important; }
	.container.ub-pc .product-right { padding-left: 0 !important; padding-right: 0 !important; }
	.container.ub-pc .tabs-box { padding-left: 0 !important; padding-right: 0 !important; }
	.container.ub-pc .tabs-box > .tab-content { padding-left: 0 !important; padding-right: 0 !important; border-left: 0 !important; border-right: 0 !important; }
	.product-right > .ubd.ubd-side { margin-left: 0 !important; margin-right: 0 !important; }
	.ub-ship.ub-ship--solo { margin-left: 0 !important; margin-right: 0 !important; }
	.tabs-box > .nav-tabs { scrollbar-width: none; }
	.tabs-box > .nav-tabs::-webkit-scrollbar { display: none; }
}
@media (max-width: 767px) {
	/* ряд теми має margin -15px, тож 25px = 10px від краю екрана */
	.container.ub-pc #content { padding-left: 25px !important; padding-right: 25px !important; }
}


/* номер розділу — в одному рядку із заголовком (і на мобільному) */
@media (max-width: 767px) {
	.ubd-head { display: flex !important; align-items: center; gap: 10px; }
	.ubd-num { margin-bottom: 0 !important; flex: none; }
}
/* сумісні картриджі — окремий розділ */
.ubd .ubd-compat { margin-top: 0; }
.ubd .ubd-compat-l { margin-top: 0; }
@media (max-width: 767px) {
	.container.ub-pc #container > .row { margin-left: 0 !important; margin-right: 0 !important; }
}

@media (max-width: 767px) {
	.container.ub-pc { overflow-x: clip; }
}


/* «в 1 клік» — без темної плашки: акуратний світлий рядок з месенджерами */
.ubd .ubd-cta {
	display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 18px;
	max-width: none; margin: 18px 0 0; padding: 14px 16px; text-align: left; color: var(--ubd-ink);
	background: none; box-shadow: none; border-radius: 16px; border: 1px dashed #e3cdee;
}
.ubd .ubd-cta-t { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--ubd-ink); }
.ubd .ubd-cta-row { gap: 10px; }
.ubd .ubd-cta-btn span { width: 42px; height: 42px; border: 1px solid #efe2f5; box-shadow: 0 3px 10px -5px rgba(108,9,119,.35); }
.ubd .ubd-cta-btn:hover span { transform: translateY(-2px); border-color: #dcc6e8; }
.ubd .ubd-cta-n { display: none; }
@media (max-width: 600px) {
	.ubd .ubd-cta { flex-direction: column; gap: 10px; text-align: center; }
}

/* ---------- вкладки товару: сучасний вигляд (24.10.2026) ---------- */
.tabs-box > .nav-tabs.ub-sticky-tabs {
	display: flex !important; flex-wrap: nowrap; align-items: stretch; gap: 2px; width: 100%;
	margin: 0 0 18px !important; padding: 0 2px !important; list-style: none;
	background: #fff !important; border: 0 !important; border-bottom: 1px solid #eee3f2 !important; border-radius: 0 !important;
	overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.tabs-box > .nav-tabs.ub-sticky-tabs::-webkit-scrollbar { display: none; }
.tabs-box > .nav-tabs.ub-sticky-tabs::before, .tabs-box > .nav-tabs.ub-sticky-tabs::after { display: none !important; }
.tabs-box > .nav-tabs.ub-sticky-tabs > li {
	float: none !important; flex: none; margin: 0 !important; padding: 0 !important;
	background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
.tabs-box > .nav-tabs.ub-sticky-tabs > li > a {
	position: relative; display: flex !important; align-items: center; gap: 6px; height: 100%;
	margin: 0 !important; padding: 15px 16px 14px !important; white-space: nowrap;
	font-family: Inter, Arial, sans-serif !important; font-size: 15px !important; font-weight: 600 !important; letter-spacing: -.005em;
	color: #6f6577 !important; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
	transition: color .2s ease;
}
.tabs-box > .nav-tabs.ub-sticky-tabs > li > a:hover, .tabs-box > .nav-tabs.ub-sticky-tabs > li > a:focus { color: #2a2230 !important; background: none !important; }
.tabs-box > .nav-tabs.ub-sticky-tabs > li > a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0;
	background: #6c0977; transform: scaleX(0); transition: transform .25s ease;
}
.tabs-box > .nav-tabs.ub-sticky-tabs > li.active > a { color: #6c0977 !important; }
.tabs-box > .nav-tabs.ub-sticky-tabs > li.active > a::after { transform: scaleX(1); }
.tabs-box > .nav-tabs.ub-sticky-tabs > li:not(.active) > a:hover::after { transform: scaleX(1); background: #e3cdee; }

/* «Картриджі» — це перехід до списку картриджів нижче: показуємо стрілкою вниз */
.tabs-box > .nav-tabs.ub-sticky-tabs > li.ub-tab-cart > a::before { display: none !important; }
.tabs-box > .nav-tabs.ub-sticky-tabs > li.ub-tab-cart > a {
	padding-right: 34px !important;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c0977' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v13M6 13l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 14px 14px !important;
}
.tabs-box > .nav-tabs.ub-sticky-tabs .mag-dot { margin-left: 2px !important; }
.tabs-box > .nav-tabs.ub-sticky-tabs.is-stuck { box-shadow: 0 8px 18px -12px rgba(36, 26, 48, .25); }

@media (max-width: 767px) {
	.tabs-box > .nav-tabs.ub-sticky-tabs { margin-bottom: 14px !important; padding: 0 !important; }
	.tabs-box > .nav-tabs.ub-sticky-tabs > li > a { font-size: 14.5px !important; padding: 13px 12px 12px !important; }
	.tabs-box > .nav-tabs.ub-sticky-tabs > li > a::after { left: 8px; right: 8px; }
	.tabs-box > .nav-tabs.ub-sticky-tabs > li.ub-tab-cart > a { padding-right: 28px !important; background-position: right 9px center !important; }
}

/* «Комплектація» — звичайним текстовим списком (як «Як проходить процедура») */
.ubd .ubd-kit, .ubd .ubd-kit:hover { padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; }
.ubd .ubd-kit li { position: relative; display: block !important; padding: 0 0 8px 22px !important; font-size: 15px; line-height: 1.6; border: 0 !important; }
.ubd .ubd-kit li + li { border-top: 0 !important; }
.ubd .ubd-kit li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--ubd-plum); }
.ubd .ubd-kit li i { display: none !important; }
.ubd .ubd-kit li span { display: inline; }
.ubd .ubd-kit li em { display: inline; padding: 0 !important; margin-left: 4px; background: none !important; border-radius: 0; font-style: normal; font-weight: 600; font-size: inherit; color: var(--ubd-mute) !important; white-space: nowrap; }
.ubd .ubd-kit li em::before { content: "— "; font-weight: 400; }
@media (max-width: 600px) { .ubd .ubd-kit li { font-size: 14.5px; } }
#tab-description .ubd .ubd-kit li::before { display: block !important; content: '' !important; position: absolute !important; left: 4px !important; top: .62em !important; width: 6px !important; height: 6px !important; border-radius: 50% !important; background: #6c0977 !important; }


/* «Сумісні картриджі» — без фону */
.ubd .ubd-compat { background: none !important; border: 0 !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important; }


/* мобільний: картки «Чому саме…» і «Що вирішує» — без фону, просто іконка + текст (на ПК як було) */
@media (max-width: 767px) {
	.ubd .ubd-fit, .ubd .ubd-probs { gap: 0 !important; }
	.ubd .ubd-card, .ubd .ubd-prob {
		background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
		padding: 10px 0 !important; transform: none !important;
	}
	.ubd .ubd-card > i, .ubd .ubd-prob > i { background: #f6effa !important; box-shadow: none !important; border: 0 !important; }
	.ubd .ubd-card > i { width: 40px; height: 40px; padding: 9px; }
	.ubd .ubd-prob > i { width: 44px; height: 44px; padding: 9px; }
}

/* мобільний: «Характеристики» — без фону, іконка + назва + значення рядками */
@media (max-width: 767px) {
	.ubd .ubd-spec { gap: 0 !important; }
	.ubd .ubd-spec > .ubd-sr, .ubd .ubd-spec > .ubd-sr:nth-child(odd) { background: none !important; border-radius: 0 !important; padding: 9px 0 !important; align-items: center; }
	.ubd .ubd-sr > i { background: #f6effa !important; box-shadow: none !important; }
}

.ubd .ubd-spec { align-items: start !important; }
.ubd .ubd-spec > .ubd-sr { align-content: start !important; align-items: start !important; }


/* ---------- перший екран на телефоні: нижча галерея, крапочки замість мініатюр ---------- */
.ub-gal-dots { display: none; }
@media (max-width: 767px) {
	.ub-has-gal .ub-gal, .ub-has-gal .ub-gal-track, .ub-has-gal .ub-gal-slide { height: min(300px, 72vw) !important; min-height: 0 !important; }
	.ub-has-gal .ub-gal-slide img { max-height: 100% !important; width: auto !important; max-width: 100% !important; object-fit: contain; }
	.ub-gal-thumbs { display: none !important; }
	.ub-gal-dots { display: flex; justify-content: center; gap: 7px; position: absolute; left: 0; right: 0; bottom: -18px; z-index: 3; }
	.ub-gal-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: #e2d3ea; transition: width .25s ease, background .25s ease; }
	.ub-gal-dots button.on { width: 20px; background: #6c0977; }
	.ub-has-gal { margin-bottom: 26px !important; }
}
/* текст у «вау» блоці — повністю */
.ubd .ubd-side .ubd-lead, .ubd-side .ubd-lead { display: block !important; -webkit-line-clamp: unset !important; overflow: visible !important; }
@media (max-width: 767px) {
	.container.ub-pc .product-info > .col-sm-6:not(.product-right) { padding-left: 0 !important; padding-right: 0 !important; }
}

@media (max-width: 767px) {
	.ub-gal-dots { bottom: 4px !important; }
	.ub-has-gal { margin-bottom: 10px !important; }
}

.ub-has-gal .ub-gal-dots { z-index: 30 !important; pointer-events: auto; }

.ub-has-gal .ub-gal-dots { z-index: 1100 !important; }


/* ---------- назва + «Код:» в один рядок (як на дермапені), менший H1 і верхній відступ на телефоні ---------- */
.container.ub-pc .product-info h1 { display: inline !important; margin-right: 8px !important; }
.container.ub-pc .product-info .ub-sku.ub-sku--inline { display: inline !important; margin: 0 !important; font-size: 12.5px !important; line-height: 1.3; color: #9c90a6 !important; white-space: nowrap; vertical-align: baseline; }
.container.ub-pc .product-info .ub-sku.ub-sku--inline + * { margin-top: 14px !important; }
@media (max-width: 767px) {
	.container.ub-pc > .content { margin-top: 4px !important; }
	.container.ub-pc .breadcrumb { padding-top: 4px !important; padding-bottom: 6px !important; margin-bottom: 4px !important; }
	.container.ub-pc .product-info h1 { font-size: 19px !important; line-height: 1.3 !important; letter-spacing: -.01em; }
	.container.ub-pc .product-info .ub-sku.ub-sku--inline + * { margin-top: 10px !important; }
}
