/* Bathroom Cabinets renovation guide. Shared catalog components retain their own styles. */
.kg-cat-bath {
	--bath-ink: #272724;
	--bath-muted: #55554e;
	--bath-paper: #f6f2eb;
	--bath-accent: #952d45;
	color: var(--bath-ink);
	background: #fff;
}
.kg-cat-bath-hero {
	display: grid;
	grid-template-columns: 45fr 55fr;
	align-items: stretch;
	background: var(--bath-paper);
}
.kg-cat-bath-hero-copy {
	align-self: center;
	padding: clamp(36px, 5vw, 90px) clamp(24px, 4vw, 76px) clamp(36px, 5vw, 90px) max(5vw, calc((100vw - 1260px) / 2));
}
.kg-cat-bath h1, .kg-cat-bath h2, .kg-cat-bath h3 { color: var(--bath-ink); }
.kg-cat-bath-hero h1 {
	max-width: 12.8em;
	margin: 0;
	font-size: clamp(2.55rem, 4.4vw, 4.9rem);
	font-weight: 600;
	line-height: 1.04;
	letter-spacing: -.052em;
	text-wrap: balance;
}
.kg-cat-bath-label {
	display: block;
	margin-bottom: 22px;
	color: var(--bath-accent);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .11em;
	line-height: 1.45;
	text-transform: uppercase;
}
.kg-cat-bath-hero-copy p, .kg-cat-bath-detail p, .kg-cat-bath-contact p, .kg-cat-bath .kg-cat-products__subtitle {
	max-width: 56ch;
	margin: 16px 0 0;
	color: var(--bath-muted);
	font-size: 1rem;
	line-height: 1.65;
}
.kg-cat-bath-hero-image {
	position: relative;
	margin: 0;
	min-height: clamp(400px, 37vw, 620px);
	overflow: hidden;
}
.kg-cat-bath-hero-frame { position: absolute; inset: 0; overflow: hidden; }
.kg-cat-bath-hero-image img {
	position: absolute;
	right: -3%;
	top: -16%;
	width: 128%;
	max-width: none;
	height: 128%;
	object-fit: cover;
	object-position: 73% 59%;
}
.kg-cat-bath-hero-image figcaption {
	position: absolute;
	bottom: 12px;
	left: 12px;
	padding: 0 10px;
	border-radius: 2px;
	background: rgb(31 28 23 / 78%);
	color: #fff;
	font-size: .75rem;
}
.kg-cat-bath-hero-image figcaption a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #fff;
	text-decoration: underline;
	text-underline-offset: .2em;
}
.kg-cat-bath-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 24px; }
.kg-cat-bath a.kg-cat-bath-btn, .kg-cat-bath a.kg-cat-bath-link {
	display: inline-flex;
	align-items: center;
	gap: .55em;
	min-height: 44px;
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.4;
}
.kg-cat-bath a.kg-cat-bath-btn {
	padding: 12px 20px;
	border-radius: 5px;
	background: var(--bath-accent);
	color: #fff;
	text-decoration: none;
}
.kg-cat-bath a.kg-cat-bath-btn:hover { background: #762038; }
.kg-cat-bath a.kg-cat-bath-link { color: var(--bath-ink); text-decoration: underline; text-underline-offset: .25em; }
.kg-cat-bath a.kg-cat-bath-link:hover { color: var(--bath-accent); }
.kg-cat-bath a:focus-visible { outline: 3px solid #0063a3; outline-offset: 4px; }
.kg-cat-bath-content, .kg-cat-bath .kg-cat-breadcrumb__inner {
	box-sizing: border-box;
	width: min(92%, 1200px);
	margin: 0 auto;
	padding-inline: 0;
}
.kg-cat-bath .kg-cat-breadcrumb a { color: var(--bath-muted); }
.kg-cat-bath-content > section { padding-block: clamp(38px, 5vw, 78px); }
.kg-cat-bath-content > .kg-cat-bath-details { padding-bottom: clamp(18px, 2.4vw, 32px); }
.kg-cat-bath-content h2 {
	margin: 0 0 24px;
	font-size: clamp(1.65rem, 2.65vw, 2.7rem);
	line-height: 1.15;
	letter-spacing: -.038em;
	font-weight: 600;
}
.kg-cat-bath-pair, .kg-cat-bath-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 42px); }
.kg-cat-bath-detail img { display: block; width: 100%; aspect-ratio: 2/1; height: auto; object-fit: cover; border-radius: 5px; }
.kg-cat-bath-detail h3 { margin: 0 0 14px; font-size: clamp(1.28rem, 1.85vw, 1.75rem); line-height: 1.2; letter-spacing: -.025em; }
.kg-cat-bath-edge-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kg-cat-bath-edge-photos figure { margin: 0; }
.kg-cat-bath-edge-photos img { aspect-ratio: 1; }
.kg-cat-bath-edge-photos figcaption { margin-top: 6px; font-size: .85rem; font-weight: 600; line-height: 1.35; }
@media (min-width: 761px) {
	.kg-cat-bath-detail h3 { min-height: 2.4em; }
}
.kg-cat-bath-detail p { margin-top: 10px; }
.kg-cat-bath .kg-cat-products { border-block: 1px solid #dcd8d1; }
.kg-cat-bath .kg-cat-products__title, .kg-cat-bath .kg-cat-products__subtitle { text-align: left; }
.kg-cat-bath .kg-cat-products__title { margin-bottom: 8px; }
.kg-cat-bath .kg-cat-products__subtitle { margin: 0; max-width: 68ch; }
.kg-cat-bath-content > .kg-cat-bath-note, .kg-cat-bath-content > .kg-cat-bath-contact { padding: clamp(18px, 2.4vw, 32px); border-radius: 6px; }
.kg-cat-bath-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 58px); border: 1px solid #d7cec1; background: var(--bath-paper); }
.kg-cat-bath-note h2 { margin: 0 0 10px; font-size: clamp(1.3rem, 1.75vw, 1.7rem); }
.kg-cat-bath-note ol { margin: 0; padding-left: 1.4em; }
.kg-cat-bath-note li { padding-left: .2em; line-height: 1.5; }
.kg-cat-bath-note li + li { margin-top: 4px; }
.kg-cat-bath-note .kg-cat-bath-btn { flex-shrink: 0; max-width: 29ch; }
.kg-cat-bath-note li::marker { color: var(--bath-accent); font-weight: 700; }
.kg-cat-bath-contact { margin-top: clamp(28px, 4vw, 58px); background: #313633; }
.kg-cat-bath-contact .kg-cat-bath-actions { margin-top: 0; }
.kg-cat-bath-contact .kg-cat-bath-service-link { display: inline-block; padding-block: 6px; color: #e0e3da; font-size: .875rem; text-decoration: underline; text-underline-offset: .2em; }
.kg-cat-bath-contact .kg-cat-bath-service-link:hover { color: #fff; }
.kg-cat-bath-contact h2, .kg-cat-bath-contact p, .kg-cat-bath-contact a.kg-cat-bath-link { color: #fff; }
.kg-cat-bath-contact a.kg-cat-bath-link:hover { color: #ece1d6; }
.kg-cat-bath-contact a.kg-cat-bath-btn { color: #262a27; background: #f8f5ee; }
.kg-cat-bath-contact a.kg-cat-bath-btn:hover { background: #e9e1d5; }
.kg-cat-bath-contact .kg-cat-bath-trade { font-size: .875rem; color: #e0e3da; }
.kg-cat-bath .kg-cat-related { border-top: 1px solid #dededb; }
@media (max-width: 760px) {
	.kg-cat-bath-hero, .kg-cat-bath-pair, .kg-cat-bath-contact { grid-template-columns: 1fr; }
	.kg-cat-bath-hero-copy { display: contents; }
	.kg-cat-bath-hero h1 { grid-row: 1; max-width: none; margin: 20px 5vw 16px; font-size: clamp(1.95rem, 7.6vw, 3.15rem); }
	.kg-cat-bath-label { margin-bottom: 8px; }
	.kg-cat-bath-hero-image { grid-row: 2; min-height: 0; }
	.kg-cat-bath-hero-frame { position: relative; aspect-ratio: 2.05; }
	.kg-cat-bath-hero-image img { width: 240%; height: 240%; right: -16%; top: -95%; object-position: right 75%; }
	.kg-cat-bath-hero-image figcaption { position: static; padding: 0 5vw; background: transparent; color: var(--bath-muted); }
	.kg-cat-bath-hero-image figcaption a { min-height: 30px; color: inherit; }
	.kg-cat-bath-hero-copy p { grid-row: 3; margin: 6px 5vw 0; }
	.kg-cat-bath-hero-copy .kg-cat-bath-actions { grid-row: 4; margin: 10px 5vw 20px; }
	.kg-cat-bath-hero-copy .kg-cat-bath-actions a { font-size: 15px; }
	.kg-cat-bath-hero-copy a.kg-cat-bath-btn { padding-inline: 14px; }
	.kg-cat-bath-actions { margin-top: 17px; gap: 6px 14px; }
	.kg-cat-bath-pair { gap: 32px; }
	.kg-cat-bath-edge-photos { gap: 8px; }
	.kg-cat-bath-note { flex-direction: column; align-items: flex-start; gap: 14px; }
	.kg-cat-bath-note .kg-cat-bath-btn { max-width: 100%; }
	.kg-cat-bath-content, .kg-cat-bath .kg-cat-breadcrumb__inner { width: 90%; }
	.kg-cat-bath .kg-cat-products__grid { margin-top: 20px; }
}
