.kiki-door-catalog {
	--kd-bg: #f3f3f3;
	--kd-panel: #ffffff;
	--kd-text: #101010;
	--kd-muted: #5d5d5d;
	--kd-border: #d9d4c9;
	--kd-soft-border: #e7e3db;
	--kd-table: #eee9dd;
	--kd-gold: #08203A;
	--kd-gold-dark: #051629;
	--kd-focus: #2f6fed;
	color: var(--kd-text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: var(--kd-bg);
	margin: 0 auto;
	padding: 0 0 42px;
	width: 100%;
}

.kiki-door-catalog *,
.kiki-door-catalog *::before,
.kiki-door-catalog *::after {
	box-sizing: border-box;
}

.kiki-door-catalog button,
.kiki-door-catalog input {
	font: inherit;
}

.kd-tabs-wrap {
	background: var(--kd-panel);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
	margin: 0 auto 64px;
	overflow-x: auto;
}

.kd-tabs {
	align-items: stretch;
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(7, minmax(132px, 1fr));
	min-width: 980px;
}

.kd-tab {
	align-items: center;
	background: transparent;
	border: 0;
	color: var(--kd-text);
	cursor: pointer;
	display: flex;
	font-size: 17px;
	font-weight: 800;
	justify-content: flex-start;
	line-height: 1.16;
	min-height: 88px;
	padding: 24px 30px 22px;
	position: relative;
	text-align: left;
	transition: background-color 160ms ease, color 160ms ease;
}

.kd-tab:hover {
	background-color: var(--kd-gold);
	color: #ffffff;
}

.kd-tab.is-active:hover {
	background-color: var(--kd-gold);
	color: #ffffff;
}

.kd-tab::after {
	background: transparent;
	bottom: 14px;
	content: "";
	height: 3px;
	left: 30px;
	position: absolute;
	width: 52px;
	transition: background-color 160ms ease;
}

.kd-tab.is-active {
	background-color: var(--kd-gold);
	color: #ffffff;
}

.kd-tab.is-active::after {
	background: var(--kd-gold);
}

.kd-tab:focus-visible,
.kd-link-button:focus-visible,
.kd-outline-button:focus-visible,
.kd-solid-button:focus-visible,
.kd-icon-button:focus-visible,
.kd-hinge-button:focus-visible,
.kd-quantity button:focus-visible,
.kd-selection-line-meta button:focus-visible,
.kd-filter-option input:focus-visible,
.kd-assembled input:focus-visible {
	outline: 3px solid var(--kd-focus);
	outline-offset: 2px;
}

.kd-shell {
	display: grid;
	gap: 42px;
	grid-template-columns: minmax(0, 1fr);
	margin: 0 auto;
}

.kd-sidebar {
	align-self: start;
	background: var(--kd-panel);
	padding: 26px 14px 32px;
}

.kd-filter-header {
	align-items: center;
	display: flex;
	font-size: 15px;
	font-weight: 800;
	justify-content: space-between;
	padding: 0 0 12px;
}

.kd-link-button {
	background: transparent;
	border: 0;
	color: var(--kd-gold-dark);
	cursor: pointer;
	font-size: 13px;
	font-weight: 800;
	padding: 3px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.kd-filter-group {
	border-top: 1px solid #cfcfcf;
	padding: 0;
}

.kd-filter-group:last-child {
	border-bottom: 1px solid #cfcfcf;
}

.kd-filter-group summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	font-size: 17px;
	font-weight: 800;
	justify-content: space-between;
	line-height: 1.2;
	list-style: none;
	min-height: 74px;
	padding: 0;
}

.kd-filter-group summary::-webkit-details-marker {
	display: none;
}

.kd-filter-group summary::after {
	border-color: var(--kd-text);
	border-style: solid;
	border-width: 0 2px 2px 0;
	content: "";
	height: 11px;
	margin-right: 3px;
	transform: rotate(45deg) translateY(-3px);
	transition: transform 160ms ease;
	width: 11px;
}

.kd-filter-group[open] summary::after {
	transform: rotate(225deg) translate(-3px, -1px);
}

.kd-filter-options {
	display: grid;
	gap: 10px;
	padding: 0 0 20px;
}

.kd-filter-option {
	align-items: center;
	color: var(--kd-muted);
	cursor: pointer;
	display: flex;
	font-size: 14px;
	gap: 10px;
	line-height: 1.25;
}

.kd-filter-option input {
	accent-color: var(--kd-gold);
	height: 16px;
	width: 16px;
}

.kd-main {
	min-width: 0;
}

.kd-toolbar {
	align-items: center;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin: 8px 0 46px;
	padding: 0 20px;
}

.kd-count {
	font-size: 16px;
	line-height: 1.4;
	margin: 0;
}

.kd-toolbar-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.kd-outline-button,
.kd-solid-button {
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 800;
	min-height: 38px;
	padding: 8px 14px;
}

.kd-outline-button {
	background: var(--kd-panel);
	border: 1px solid var(--kd-border);
	color: var(--kd-text);
}

.kd-solid-button {
	background: var(--kd-gold);
	border: 1px solid var(--kd-gold);
	color: #ffffff;
}

.kd-products {
	display: grid;
	gap: 34px;
}

.kd-product-section {
	background: var(--kd-panel);
	padding: 36px 34px 34px;
}

.kd-product-section h2 {
	font-size: 24px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0 0 30px;
}

.kd-product-block {
	display: grid;
	gap: 94px;
	grid-template-columns: 252px minmax(0, 1fr);
}

.kd-product-media {
	align-items: center;
	background: #ffffff;
	border: 1px solid #d1d1d1;
	display: flex;
	justify-content: center;
	margin: 0;
	min-height: 312px;
	padding: 20px;
}

.kd-product-media img {
	display: block;
	height: auto;
	max-height: 270px;
	max-width: 100%;
	width: 210px;
}

.kd-product-table {
	min-width: 0;
	overflow-x: auto;
}

.kd-table-head,
.kd-product-row {
	display: grid;
	grid-template-columns:auto minmax(auto, 1.2fr) 120px 112px 126px 160px 112px;
	min-width: 1000px;
	gap: 8px;
}

.kd-bottom-row {
	display: contents;
}

.kd-table-head {
	background: var(--kd-table);
	color: #050505;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.2;
	padding: 0 16px;
}

.kd-table-head span {
	align-items: center;
	display: flex;
	min-height: 52px;
}

.kd-product-row {
	align-items: center;
	border-bottom: 1px solid var(--kd-gold);
	color: #202020;
	font-size: 14px;
	min-height: 90px;
	padding: 16px;
}

.kd-model {
	font-weight: 500;
}

.kd-model-link {
	color: var(--kd-gold);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.kd-model-link:hover,
.kd-model-link:focus-visible {
	color: var(--kd-gold-dark);
}

.kd-description {
	color: #4d4d4d;
	font-weight: 500;
	line-height: 1.55;
	padding-right: 16px;
}

.kd-price {
	align-items: center;
	display: flex;
	font-weight: 900;
	justify-content: center;
	white-space: nowrap;
}

.kd-assembled {
	align-items: center;
	display: flex;
	justify-content: center;
}

.kd-assembled input {
	appearance: none;
	background: #ffffff;
	border: 1px solid #bcbcbc;
	border-radius: 4px;
	cursor: pointer;
	height: 22px;
	position: relative;
	width: 22px;
}

.kd-assembled input:checked {
	background: var(--kd-gold);
	border-color: var(--kd-gold);
}

.kd-assembled input:checked::after {
	border: solid #ffffff;
	border-width: 0 2px 2px 0;
	content: "";
	height: 11px;
	left: 7px;
	position: absolute;
	top: 3px;
	transform: rotate(45deg);
	width: 6px;
}

.kd-hinges {
	align-items: center;
	display: flex;
	gap: 10px;
}

.kd-hinge-button {
	align-items: center;
	background: #d9d2be;
	border: 1px solid #bdb49a;
	color: #ffffff;
	cursor: pointer;
	display: flex;
	font-family: Georgia, serif;
	font-size: 16px;
	font-weight: 700;
	height: 36px;
	justify-content: center;
	padding: 0;
	position: relative;
	width: 28px;
}



.kd-hinge-button.is-active {
	background: #b5a77b;
	border-color: var(--kd-gold-dark);
}

.kd-muted {
	color: #777777;
	font-size: 13px;
}

.kd-quantity {
	align-items: center;
	display: flex;
	justify-content: center;
}

.kd-quantity-controls {
	align-items: center;
	display: grid;
	gap: 8px;
	grid-template-columns: 18px 52px 18px;
}

.kd-quantity button {
	align-items: center;
	background: transparent;
	border: 0;
	color: #222222;
	cursor: pointer;
	display: flex;
	height: 28px;
	justify-content: center;
	padding: 0;
	width: 18px;
}

.kd-quantity svg {
	height: 19px;
	width: 19px;
}

.kd-quantity input {
	border: 1px solid #c6c6c6;
	border-radius: 4px;
	height: 38px;
	text-align: center;
	width: 52px;
}

.kd-row-actions {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}

.kd-icon-button {
	align-items: center;
	background: var(--kd-gold);
	border: 1px solid var(--kd-gold);
	color: #ffffff;
	cursor: pointer;
	display: flex;
	height: 38px;
	justify-content: center;
	padding: 0;
	width: 38px;
}

.kd-icon-button:hover,
.kd-solid-button:hover {
	background: var(--kd-gold-dark);
	border-color: var(--kd-gold-dark);
}

.kd-icon-button svg {
	height: 23px;
	width: 23px;
}

.kd-icon-button.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

.kd-icon-button.is-added {
	background: #2a7d4f;
	border-color: #2a7d4f;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.kd-icon-button.is-error {
	background: #b32d2e;
	border-color: #b32d2e;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.kd-empty {
	background: var(--kd-panel);
	color: var(--kd-muted);
	margin: 0;
	padding: 34px;
}

@media (max-width: 1200px) {
	.kd-tabs-wrap {
		margin-bottom: 42px;
	}

	.kd-tab {
		padding-left: 22px;
		padding-right: 22px;
	}

	.kd-tab::after {
		left: 22px;
	}

	.kd-shell {
		gap: 24px;
		grid-template-columns: minmax(0, 1fr);
	}

	.kd-product-block {
		gap: 36px;
		grid-template-columns: 220px minmax(0, 1fr);
	}
}

@media (max-width: 900px) {
	.kd-tabs-wrap {
		margin-bottom: 28px;
	}

	.kd-tabs {
		display: flex;
		min-width: 0;
		width: max-content;
	}

	.kd-tab {
		font-size: 15px;
		max-width: 230px;
		min-height: 68px;
		min-width: 150px;
		padding: 18px 18px;
	}

	.kd-tab::after {
		bottom: 10px;
		left: 18px;
	}

	.kd-shell {
		display: block;
		padding: 0 14px;
	}

	.kd-sidebar {
		margin-bottom: 24px;
	}

	.kd-toolbar {
		align-items: flex-start;
		flex-direction: column;
		margin-bottom: 22px;
	}

	.kd-toolbar-actions {
		justify-content: flex-start;
		width: 100%;
	}

	.kd-product-section {
		padding: 24px 16px;
	}

	.kd-product-block {
		display: block;
	}

	.kd-product-media {
		margin-bottom: 18px;
		min-height: 230px;
	}

	.kd-product-media img {
		max-height: 205px;
		width: 180px;
	}

	.kd-product-table {
		overflow: visible;
	}

	.kd-table-head {
		display: none;
	}

	.kd-product-row {
		border: 1px solid var(--kd-soft-border);
		display: grid;
		gap: 12px;
		grid-template-columns: 1fr;
		margin-bottom: 16px;
		min-height: 0;
		min-width: 0;
		padding: 16px;
	}

	.kd-product-row > * {
		display: block;
		width: 100%;
	}

	.kd-assembled,
	.kd-hinges,
	.kd-quantity,
	.kd-row-actions {
		display: flex;
		align-items: center;
		gap: 8px;
		flex-wrap: wrap;
	}

	.kd-assembled::before,
	.kd-hinges::before,
	.kd-quantity::before,
	.kd-row-actions::before {
		display: block;
		margin-bottom: 0;
		flex-shrink: 0;
	}

	.kd-product-row > *::before {
		color: #777777;
		content: attr(data-label);
		display: block;
		font-size: 12px;
		font-weight: 800;
		margin-bottom: 4px;
		text-transform: uppercase;
		white-space: nowrap;
		word-break: keep-all;
	}

	.kd-assembled::before,
	.kd-hinges::before,
	.kd-quantity::before {
		margin-bottom: 0;
	}

	.kd-model {
		font-size: 14px;
	}

	.kd-description {
		line-height: 1.5;
		font-size: 13px;
	}

	.kd-price {
		white-space: nowrap;
		font-size: 15px;
	}

	.kd-assembled {
		justify-content: flex-start;
	}

	.kd-hinges {
		flex-wrap: nowrap;
	}

	.kd-row-actions {
		justify-content: flex-start;
		gap: 8px;
	}

	.kd-bottom-row {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		gap: 12px 20px;
	}
}

@media (max-width: 768px) {
	.kiki-door-catalog {
		padding: 0 0 28px;
	}

	.kd-product-section {
		padding: 20px 14px;
	}

	.kd-product-section h2 {
		font-size: 22px;
		margin-bottom: 20px;
	}

	.kd-product-media {
		min-height: 200px;
	}

	.kd-product-media img {
		max-height: 170px;
		width: 160px;
	}

	.kd-description {
		line-height: 1.4;
	}

	.kd-price {
		white-space: nowrap;
	}

	.kd-quantity {
		display: block;
	}

	.kd-quantity-controls {
		display: grid;
		grid-template-columns: 32px 50px 32px;
		gap: 0;
		align-items: center;
	}

	.kd-quantity input {
		width: 50px;
		height: 36px;
	}

	.kd-quantity button {
		height: 36px;
		width: 32px;
	}

	.kd-icon-button {
		height: 36px;
		width: 36px;
	}

	.kd-icon-button svg {
		height: 21px;
		width: 21px;
	}
}

@media (max-width: 560px) {
	.kd-tabs-wrap {
		margin-bottom: 20px;
	}

	.kd-tab {
		font-size: 14px;
		min-height: 60px;
		min-width: 130px;
		padding: 14px 16px;
	}

	.kd-tab::after {
		height: 2px;
		left: 16px;
		width: 40px;
	}

	.kd-filter-group summary {
		font-size: 15px;
		min-height: 58px;
	}

	.kd-product-section h2 {
		font-size: 20px;
	}

	.kd-product-media {
		min-height: 180px;
	}

	.kd-product-media img {
		max-height: 150px;
		width: 140px;
	}

	.kd-product-row {
		padding: 12px;
		gap: 10px;
	}

	.kd-model,
	.kd-description,
	.kd-price {
		font-size: 13px;
	}

	.kd-description {
		line-height: 1.4;
	}

	.kd-quantity {
		display: block;
	}

	.kd-quantity-controls {
		display: grid;
		grid-template-columns: 30px 46px 30px;
		gap: 0;
		align-items: center;
	}

	.kd-quantity input {
		width: 46px;
		height: 34px;
	}

	.kd-quantity button {
		height: 34px;
		width: 30px;
	}

	.kd-icon-button {
		height: 34px;
		width: 34px;
	}

	.kd-icon-button svg {
		height: 20px;
		width: 20px;
	}

	.kd-row-actions {
		gap: 8px;
	}
}

@media (max-width: 400px) {
	.kd-tab {
		font-size: 13px;
		min-width: 110px;
		padding: 12px 14px;
	}

	.kd-product-section {
		padding: 18px 12px;
	}

	.kd-product-section h2 {
		font-size: 18px;
	}

	.kd-product-media img {
		max-height: 130px;
		width: 120px;
	}
}