/* Сторінка бренду (product/manufacturer_info.tpl, 17.10.2026). */
.dbr-page { --dbr-ac: var(--dp-primary); --dbr-ac-d: var(--dp-primary); --dbr-ink: #2e2236; --dbr-mute: #7d6f86; --dbr-line: #f0e5f4; }

/* ---------- шапка ---------- */
.dbr-hero {
	position: relative; isolation: isolate; overflow: hidden;
	display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 34px; align-items: center;
	margin: 0 0 26px; padding: 38px 40px;
	border-radius: 30px; border: 1px solid #f2e7f5;
	background: linear-gradient(135deg, #ffffff 0%, #fdf5fb 42%, #f7f0ff 78%, #fff8ef 100%);
	box-shadow: 0 30px 70px -48px rgba(122, 20, 120, .55);
	color: var(--dbr-ink);
}
.dbr-veil { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.dbr-veil i { position: absolute; border-radius: 50%; filter: blur(42px); opacity: .7; animation: dbr-drift 16s ease-in-out infinite alternate; }
.dbr-veil i:nth-child(1) { width: 320px; height: 320px; right: -60px; top: -120px; background: #ffd6ee; }
.dbr-veil i:nth-child(2) { width: 260px; height: 260px; right: 22%; bottom: -170px; background: #e6dafe; animation-duration: 20s; }
.dbr-veil i:nth-child(3) { width: 180px; height: 180px; left: -60px; bottom: -80px; background: #ffe9cf; opacity: .55; animation-duration: 13s; }
.dbr-veil::after {
	content: ""; position: absolute; inset: 0;
	background-image:
		radial-gradient(2px 2px at 72% 22%, rgba(173, 23, 173, .35), transparent 60%),
		radial-gradient(1.5px 1.5px at 84% 64%, rgba(173, 23, 173, .25), transparent 60%),
		radial-gradient(2px 2px at 92% 34%, rgba(255, 170, 60, .45), transparent 60%),
		radial-gradient(1.5px 1.5px at 64% 80%, rgba(122, 20, 120, .25), transparent 60%),
		radial-gradient(1.5px 1.5px at 58% 14%, rgba(255, 170, 60, .35), transparent 60%);
}
@keyframes dbr-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-26px, 18px, 0) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .dbr-veil i { animation: none; } }

.dbr-logo {
	display: flex; align-items: center; justify-content: center;
	width: 176px; height: 176px; padding: 24px;
	background: #fff; border-radius: 32px; border: 1px solid #f3e9f6;
	box-shadow: 0 24px 48px -28px rgba(122, 20, 120, .45), inset 0 0 0 6px #fdf7fc;
}
.dbr-logo img { display: block; max-width: 100% !important; max-height: 100% !important; width: auto !important; height: auto !important; margin: 0 !important; object-fit: contain; }
.dbr-logo span { font-size: 64px; font-weight: 800; color: var(--dbr-ac); }

.dbr-kicker {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #b27aa9;
}
.dbr-kicker::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, #d48ac8); }
.dbr-name {
	margin: 8px 0 4px; font-size: 48px; line-height: 1.05; font-weight: 800; letter-spacing: -.02em;
	background: linear-gradient(100deg, #3b0f4a 0%, var(--dp-primary) 45%, var(--dp-primary) 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.dbr-page h1.dbr-h1 {
	margin: 0 0 18px !important; padding: 0 !important; border: 0 !important;
	font-size: 17px !important; line-height: 1.45 !important; font-weight: 500 !important;
	text-transform: none !important; letter-spacing: 0 !important; color: var(--dbr-mute) !important; text-align: left !important;
}
.dbr-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.dbr-fact {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 8px 14px; border-radius: 999px;
	background: rgba(255, 255, 255, .85); border: 1px solid var(--dbr-line);
	font-size: 14px; color: var(--dbr-mute); box-shadow: 0 6px 14px -12px rgba(122, 20, 120, .5);
}
.dbr-fact b { color: var(--dbr-ac-d); font-weight: 800; }
.dbr-fact--sale { background: #fff1f6; border-color: #ffd4e3; color: #b0305f; }
.dbr-fact--sale b { color: #d6336c; }
.dbr-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.dbr-btn, .dbr-btn:visited {
	display: inline-flex; align-items: center; gap: 8px;
	height: 48px; padding: 0 24px; border-radius: 999px;
	background: linear-gradient(135deg, var(--dp-primary), var(--dp-primary)); color: #fff !important;
	font-size: 15px; font-weight: 700; text-decoration: none !important;
	box-shadow: 0 14px 26px -14px rgba(173, 23, 173, .85); transition: transform .15s, filter .15s;
}
.dbr-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.dbr-btn svg { width: 18px; height: 18px; fill: currentColor; }
.dbr-btn--ghost, .dbr-btn--ghost:visited { background: #fff; color: var(--dbr-ac-d) !important; border: 1px solid #ead8f0; box-shadow: none; }
.dbr-btn--ghost:hover { background: #fcf5fd; filter: none; }

/* ---------- фільтр за видом засобу ---------- */
.dbr-anchor { position: relative; top: -110px; }
.dbr-types { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.dbr-type {
	display: inline-flex; align-items: center; gap: 7px;
	height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
	background: #fff; border: 1px solid #ecdff1; color: var(--dbr-ink);
	font-size: 14px; font-weight: 600; white-space: nowrap; transition: all .15s;
}
.dbr-type i { font-style: normal; font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: #f6eef9; color: var(--dbr-ac-d); }
.dbr-type:hover { border-color: #d9b6e4; transform: translateY(-1px); }
.dbr-type.is-on { background: linear-gradient(135deg, var(--dp-primary), var(--dp-primary)); border-color: transparent; color: #fff; box-shadow: 0 10px 20px -12px rgba(173, 23, 173, .9); }
.dbr-type.is-on i { background: rgba(255, 255, 255, .25); color: #fff; }

.dbr-page .dbr-bar {
	display: flex; align-items: center; flex-wrap: wrap;
	margin: 0 0 20px !important; padding: 10px 4px;
	background: #fbf8fc; border: 1px solid #f1e9f5; border-radius: 16px;
}
.dbr-page .dbr-bar > [class*="col-"] { float: none; }

/* ---------- про бренд ---------- */
.dbr-about {
	position: relative; margin: 34px 0 24px; padding: 30px 32px 24px;
	background: #fff; border: 1px solid var(--dbr-line); border-radius: 28px;
	box-shadow: 0 26px 60px -50px rgba(122, 20, 120, .6);
}
.dbr-about-head { margin: 0 0 18px; }
.dbr-about-title { margin-top: 6px; font-size: 28px; font-weight: 800; color: var(--dbr-ink); letter-spacing: -.01em; }
.dbr-about-body { position: relative; overflow: hidden; transition: max-height .4s ease; }
.dbr-about.is-folded .dbr-about-body { max-height: 560px; }
.dbr-about.is-folded .dbr-about-body::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 85%); pointer-events: none;
}
.dbr-more {
	display: flex; align-items: center; justify-content: center;
	margin: 14px auto 0; height: 46px; padding: 0 26px; border-radius: 999px; cursor: pointer;
	background: #fff; border: 1px solid #e6d2ee; color: var(--dbr-ac-d); font-size: 15px; font-weight: 700;
	transition: all .15s;
}
.dbr-more:hover { background: #fcf4fd; border-color: #d6b0e2; }

/* ---------- інші бренди ---------- */
.dbr-others { margin: 30px 0 40px; }
.dbr-others-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.dbr-others-row a, .dbr-others-row a:visited {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 9px 16px; border-radius: 999px;
	background: linear-gradient(135deg, #fff, #fbf3fd); border: 1px solid #efe1f4;
	color: var(--dbr-ink) !important; font-size: 14px; font-weight: 700; text-decoration: none !important;
	transition: transform .15s, border-color .15s;
}
.dbr-others-row a:hover { transform: translateY(-2px); border-color: #d9b6e4; }
.dbr-others-row a i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--dbr-ac); }

@media (max-width: 767px) {
	.dbr-hero { grid-template-columns: 1fr; gap: 16px; padding: 22px 18px; border-radius: 22px; margin-bottom: 18px; }
	.dbr-logo { width: 78px; height: 78px; padding: 10px; border-radius: 20px; box-shadow: 0 14px 28px -20px rgba(122, 20, 120, .45), inset 0 0 0 4px #fdf7fc; }
	.dbr-name { font-size: 34px; }
	.dbr-page h1.dbr-h1 { font-size: 15px !important; margin-bottom: 14px !important; }
	.dbr-fact { font-size: 13px; padding: 7px 12px; }
	.dbr-cta .dbr-btn { flex: 1 1 auto; justify-content: center; height: 46px; padding: 0 16px; }
	.dbr-types { flex-wrap: nowrap; overflow-x: auto; margin: 0 -15px 14px; padding: 2px 15px 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.dbr-types::-webkit-scrollbar { display: none; }
	.dbr-page .dbr-bar { display: none !important; }
	.dbr-about { padding: 22px 16px 18px; border-radius: 22px; }
	.dbr-about-title { font-size: 22px; }
	.dbr-about.is-folded .dbr-about-body { max-height: 460px; }
}
