/* Stanovi — horizontal floor-selector cards; click one and it expands in
   place (accordion, one floor at a time) into that floor's unit cards. */

body.stanovi-po-tipu-page {
	margin: 0;
	background-color: var(--kh-cream);
	color: var(--kh-navy-900);
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
}

html:has(body.stanovi-po-tipu-page) {
	scroll-behavior: smooth;
}

.kh-types {
	max-width: 1200px;
	margin: 0 auto;
	padding: 56px 24px 100px;
}

.kh-types__availability {
	display: flex;
	justify-content: center;
	margin-bottom: 32px;
}

.kh-floor-select {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-bottom: 40px;
}

.kh-floor-select__card {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 32px;
	width: 100%;
	min-height: 108px;
	padding: 30px 36px;
	background: linear-gradient(165deg, var(--kh-navy-900) 0%, var(--kh-navy-950) 100%);
	color: #fff;
	border: 0;
	border-radius: 12px;
	text-align: left;
	cursor: pointer;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.kh-floor-select__card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--kh-gold) 0%, var(--kh-gold-light) 100%);
}

.kh-floor-select__card:hover,
.kh-floor-select__card:focus-visible {
	transform: translateY(-5px);
	box-shadow: 0 20px 36px -16px rgba(10, 30, 61, 0.4);
}

.kh-floor-select__card.is-active {
	background: linear-gradient(165deg, var(--kh-gold-deep) 0%, var(--kh-navy-950) 78%);
}

.kh-floor-select__num {
	flex: 0 0 auto;
	font-family: 'Cinzel', 'Cormorant Garamond', serif;
	font-size: 28px;
	letter-spacing: 0.02em;
}

.kh-floor-select__stats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 20px;
	flex: 1;
}

.kh-floor-select__stats li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.75);
}

.kh-floor-select__stats svg {
	flex-shrink: 0;
	color: var(--kh-gold-light);
}

.kh-floor-select__cta {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	letter-spacing: 0.04em;
	color: var(--kh-gold-light);
}

.kh-floor-select__chevron {
	transition: transform 0.25s ease;
}

.kh-floor-select__card.is-active .kh-floor-select__chevron {
	transform: rotate(180deg);
}

@media (max-width: 640px) {
	.kh-floor-select__card {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
		min-height: auto;
		padding: 26px 22px 22px;
	}

	.kh-floor-select__stats {
		flex-direction: column;
		gap: 8px;
	}
}

.kh-floor-panel {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease;
}

.kh-floor-panel__inner {
	padding-top: 4px;
	padding-bottom: 40px;
}

.kh-type-section__title {
	font-size: 22px;
	font-weight: 500;
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(10, 30, 61, 0.12);
}
