/**
 * ORTOTO – produkto puslapio blokai.
 * Viskas apribota .ortoto-blocks, kad nesikirstų su Blocksy.
 */

.ortoto-blocks {
	--ob-line: rgba(87, 70, 79, .14);
	--ob-muted: rgba(87, 70, 79, .62);
	--ob-card: #fff;
	--ob-ink: var(--ortoto-ink, #57464f);
	--ob-cream: var(--ortoto-cream, #fff8e7);
	--ob-teal: var(--ortoto-teal, #4f9aad);
	--ob-yellow: var(--ortoto-yellow, #f6b319);
	--ob-radius: var(--ortoto-radius-lg, 20px);
	--ob-radius-sm: 10px;

	color: var(--ob-ink);
	max-width: 1290px;
	margin: 48px auto 0;
	padding-left: 20px;
	padding-right: 20px;
}

/* peržiūros juosta – dingsta paviešinus */
.ortoto-blocks__flag {
	background: rgba(246, 179, 25, .16);
	border-radius: var(--ob-radius-sm);
	padding: 10px 16px;
	font-size: 13px;
	line-height: 1.5;
	margin: 0 0 32px;
	color: var(--ob-ink);
}

.ortoto-blocks .ob {
	padding: 40px 0;
	border-top: 1px solid var(--ob-line);
}

.ortoto-blocks .ob:first-of-type {
	border-top: none;
	padding-top: 0;
}

.ortoto-blocks .ob__eyebrow {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-weight: 700;
	color: var(--ob-muted);
	margin: 0 0 8px;
}

.ortoto-blocks .ob__title {
	font-size: clamp(22px, 2.8vw, 29px);
	font-weight: 700;
	letter-spacing: -.015em;
	line-height: 1.2;
	margin: 0 0 8px;
}

.ortoto-blocks .ob__sub {
	margin: 0 0 26px;
	color: var(--ob-muted);
	max-width: 60ch;
}

.ortoto-blocks .ob__card {
	background: var(--ob-card);
	border-radius: var(--ob-radius);
	padding: 26px;
}

/* ---------- konfigūratorius ---------- */

.ortoto-blocks .ob-cfg {
	display: grid;
	grid-template-columns: 290px 1fr;
	gap: 30px;
}

.ortoto-blocks .ob-cfg__label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: 700;
	color: var(--ob-muted);
	margin: 0 0 10px;
}

.ortoto-blocks .ob-cfg__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.ortoto-blocks .ob-chip {
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	border: 1.5px solid var(--ob-line);
	background: #fff;
	color: var(--ob-ink);
	border-radius: 999px;
	padding: 9px 16px;
	cursor: pointer;
	transition: border-color .15s, background .15s, color .15s;
}

.ortoto-blocks .ob-chip:hover {
	border-color: var(--ob-ink);
}

.ortoto-blocks .ob-chip:focus-visible {
	outline: 2px solid var(--ob-teal);
	outline-offset: 2px;
}

.ortoto-blocks .ob-chip[aria-pressed="true"] {
	background: var(--ob-ink);
	border-color: var(--ob-ink);
	color: var(--ob-cream);
}

.ortoto-blocks .ob-cfg__readout {
	border-top: 1px solid var(--ob-line);
	padding-top: 18px;
}

.ortoto-blocks .ob-cfg__dim {
	font-size: 29px;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.15;
	margin: 0 0 3px;
}

.ortoto-blocks .ob-cfg__area {
	margin: 0 0 13px;
	color: var(--ob-muted);
	font-size: 15px;
}

.ortoto-blocks .ob-cfg__hint {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	background: rgba(79, 154, 173, .1);
	border-radius: var(--ob-radius-sm);
	padding: 10px 13px;
}

.ortoto-blocks .ob-cfg__stage {
	background: var(--ob-cream);
	border-radius: var(--ob-radius-sm);
	min-height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.ortoto-blocks .ob-cfg__stage svg {
	width: 100%;
	height: auto;
	max-height: 350px;
	display: block;
}

.ortoto-blocks .ob-pc {
	transition: x .3s cubic-bezier(.22, .8, .3, 1), y .3s cubic-bezier(.22, .8, .3, 1);
}

.ortoto-blocks .ob-scale {
	font-size: 12px;
	fill: var(--ob-muted);
}

@media (max-width: 780px) {
	.ortoto-blocks .ob-cfg {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.ortoto-blocks .ob__card {
		padding: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ortoto-blocks .ob-pc {
		transition: none;
	}
}

/* ---------- specifikacijos ---------- */

.ortoto-blocks .ob-specs {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 0 34px;
}

.ortoto-blocks .ob-specs li {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 11px 0;
	border-bottom: 1px dotted var(--ob-line);
	font-size: 15px;
	line-height: 1.45;
}

.ortoto-blocks .ob-specs li span {
	color: var(--ob-muted);
}

.ortoto-blocks .ob-specs li b {
	font-weight: 500;
	text-align: right;
}

/* ---------- kas dėžutėje ---------- */

.ortoto-blocks .ob-box {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 14px;
}

.ortoto-blocks .ob-box__item {
	background: var(--ob-card);
	border-radius: var(--ob-radius-sm);
	padding: 18px 20px;
}

.ortoto-blocks .ob-box__item b {
	display: block;
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 3px;
}

.ortoto-blocks .ob-box__item span {
	font-size: 13px;
	color: var(--ob-muted);
	line-height: 1.5;
}

/* ---------- akordeonas ---------- */

.ortoto-blocks .ob-acc {
	background: var(--ob-card);
	border-radius: var(--ob-radius);
	overflow: hidden;
}

.ortoto-blocks .ob-acc details {
	border-bottom: 1px solid var(--ob-line);
}

.ortoto-blocks .ob-acc details:last-child {
	border-bottom: none;
}

.ortoto-blocks .ob-acc summary {
	cursor: pointer;
	padding: 17px 24px;
	font-weight: 500;
	font-size: 16px;
	line-height: 1.4;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.ortoto-blocks .ob-acc summary::-webkit-details-marker {
	display: none;
}

.ortoto-blocks .ob-acc summary:focus-visible {
	outline: 2px solid var(--ob-teal);
	outline-offset: -2px;
}

.ortoto-blocks .ob-acc summary::after {
	content: "";
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--ob-muted);
	border-bottom: 2px solid var(--ob-muted);
	transform: rotate(45deg) translateY(-2px);
	flex: none;
	transition: transform .18s;
}

.ortoto-blocks .ob-acc details[open] summary::after {
	transform: rotate(225deg) translateY(-2px);
}

.ortoto-blocks .ob-acc__body {
	padding: 0 24px 20px;
	color: var(--ob-muted);
	font-size: 15px;
}

.ortoto-blocks .ob-acc__body p {
	margin: 0;
}

@media (prefers-reduced-motion: reduce) {
	.ortoto-blocks .ob-acc summary::after {
		transition: none;
	}
}

/* ---------- priežiūra ---------- */

.ortoto-blocks .ob-care__text {
	margin: 0 0 12px;
}

.ortoto-blocks .ob-care__link {
	margin: 0;
}

.ortoto-blocks .ob-link {
	font-size: 14px;
	font-weight: 500;
	color: var(--ob-ink);
	text-decoration: none;
	border-bottom: 2px solid var(--ob-yellow);
	padding-bottom: 1px;
}

.ortoto-blocks .ob-link:hover {
	border-bottom-color: var(--ob-ink);
}

/* ---------- GPSR ---------- */

.ortoto-blocks .ob-gpsr {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 22px;
}

.ortoto-blocks .ob-gpsr h3 {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--ob-muted);
	margin: 0 0 6px;
	font-weight: 700;
}

.ortoto-blocks .ob-gpsr p {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
}

.ortoto-blocks .ob-warn {
	margin-top: 22px;
	padding: 14px 18px;
	background: rgba(246, 179, 25, .14);
	border-radius: var(--ob-radius-sm);
	font-size: 14px;
	line-height: 1.55;
}

.ortoto-blocks .ob-warn b {
	display: block;
	margin-bottom: 4px;
}

/* ---------- kategorijos parinkiklis ---------- */

.ortoto-blocks--selector {
	margin-top: 24px;
}

.ortoto-blocks .ob--sel {
	padding-top: 0;
	border-top: none;
}

.ortoto-blocks .ob-cfg__panel .ob-cfg__label + .ob-cfg__chips {
	margin-bottom: 22px;
}

.ortoto-blocks .ob-sel__cta {
	margin: 16px 0 0;
}

.ortoto-blocks .ob-btn {
	display: inline-block;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	background: var(--ob-yellow);
	color: var(--ob-ink);
	border-radius: 999px;
	padding: 13px 26px;
	transition: background .15s;
}

.ortoto-blocks .ob-btn:hover,
.ortoto-blocks .ob-btn:focus {
	background: #e5a50f;
	color: var(--ob-ink);
}

.ortoto-blocks .ob-btn:focus-visible {
	outline: 2px solid var(--ob-ink);
	outline-offset: 2px;
}
