:root {
	--brand-gold: #b9a159;
	--brand-gold-light: #d5b870;
	--page-bg: #f7f8fa;
	--title-color: #1f2937;
	--body-color: #4b5563;
	--muted-color: #9ca3af;
	--line-color: #e5e7eb;
}

.SitePage {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.SiteHeader {
	padding: 50px 0;
	background: var(--page-bg);
}

.SiteHeader .brandLink {
	display: block;
	width: 183px;
	margin: 0 auto;
}

.SiteHeader .brandLink img {
	display: block;
	width: 183px;
	height: 120px;
	object-fit: contain;
}

.SiteHeader .brandLink:focus-visible {
	outline: 2px solid var(--brand-gold);
	outline-offset: 5px;
}

.SearchPanel {
	padding: 40px 0;
	border: 1px solid #edf0f3;
	border-radius: 10px;
	background: #fff;
}

.SearchPanel .searchControl {
	display: flex;
	align-items: center;
	width: 450px;
	max-width: calc(100% - 40px);
	margin: 0 auto;
	padding: 12px;
	border: 1px solid #dfe3e8;
	border-radius: 6px;
	background: #fff;
}

.SearchPanel .searchControl .icon {
	display: flex;
	flex: 0 0 16px;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	margin-right: 12px;
}

.SearchPanel .searchControl .iconImg {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.SearchPanel .searchControl input {
	width: 100%;
	padding: 0;
	border: 0;
	outline: 0;
	color: #9ca3af;
	font-family: Tahoma, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: 0;
}

.SearchPanel .searchControl:focus-within {
	border-color: var(--brand-gold);
	box-shadow: 0 0 0 3px rgba(185, 161, 89, 0.13);
}

.SiteFooter {
	padding: 18px 0;
	background: #f1f2f4;
}

.SiteFooter p {
	margin: 0 auto;
	color: #000;
	font-family: Tahoma, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: 0;
	text-align: center;
}

@media only screen and (max-width: 1440px) {
	.SiteHeader {
		padding: 36px 0;
	}

	.SearchPanel {
		padding: 32px 0;
	}
}

@media only screen and (max-width: 768px) {
	.SiteHeader {
		padding: 24px 0;
	}

	.SiteHeader .brandLink,
	.SiteHeader .brandLink img {
		width: 137px;
		height: 90px;
	}

	.SearchPanel {
		padding: 24px 0;
	}

	.SiteFooter {
		padding: 14px 0;
	}

	.SiteFooter p {
		font-size: 14px;
		line-height: 20px;
	}
}

.cartOverlay {
	position: fixed;
	inset: 0;
	z-index: 50;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}

.cartOverlay.open {
	opacity: 1;
	pointer-events: auto;
}

.cartBackdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.cartDrawer {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: 490px;
	max-width: 100%;
	height: 100%;
	background: #fff;
	box-shadow: -15px 0 30px rgba(0, 0, 0, 0.15);
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.cartOverlay.open .cartDrawer {
	transform: translateX(0);
}

.cartHeader {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px;
	border-bottom: 1px solid #e5e7eb;
}

.cartHeader h2 {
	margin: 0;
	font-family: sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 32px;
}

.cartClose,
.removeItem {
	padding: 4px;
	border: 0;
	background: transparent;
}

.cartClose img {
	width: 15px;
	height: 28px;
	object-fit: contain;
}

.cartList {
	padding: 0 24px;
	overflow-y: auto;
}

.cartList .emptyCart {
	margin: 48px 0;
	color: var(--muted-color);
	font-family: sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	text-align: center;
}

.cartItem {
	display: grid;
	grid-template-columns: 96px 1fr auto 20px;
	align-items: center;
	gap: 12px;
	padding: 24px 0;
	border-bottom: 1px solid #e5e7eb;
}

.cartItem .cartProductImage {
	display: block;
	width: 96px;
	height: 96px;
	object-fit: contain;
}

.cartItem h3 {
	margin: 0;
	font-family: sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
}

.cartItem p {
	margin: 4px 0 0;
	color: var(--body-color);
	font-family: sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
}

.cartItem > strong {
	color: var(--brand-gold);
	font-family: sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 28px;
}

.removeItem img {
	width: 14px;
	height: 16px;
}

.cartSummary {
	margin-top: auto;
	padding: 24px;
	border-top: 1px solid #e5e7eb;
}

.cartSummary > div {
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
	font-family: sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 28px;
}

.cartSummary > div strong {
	color: var(--brand-gold);
	font-size: 24px;
	line-height: 32px;
}

.cartSummary > a {
	display: block;
	padding: 12px;
	border-radius: 6px;
	color: #fff;
	font-family: sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	text-align: center;
	background: var(--brand-gold);
}

.cartSummary > a:hover,
.cartSummary > a:focus-visible {
	background: #a88e46;
}

.cartSummary > a.disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

@media only screen and (max-width: 768px) {
	.cartItem {
		grid-template-columns: 72px 1fr 20px;
	}

	.cartItem .cartProductImage {
		width: 72px;
		height: 72px;
	}

	.cartItem > strong {
		grid-column: 2;
	}

	.cartItem .removeItem {
		grid-column: 3;
		grid-row: 1;
	}
}
