:root {
	--mcshan-shadow-soft: 0 24px 70px rgba(22, 20, 17, 0.14);
	--mcshan-border: 1px solid rgba(22, 20, 17, 0.12);
}

html {
	scroll-behavior: smooth;
}

body {
	text-rendering: optimizeLegibility;
}

a {
	text-underline-offset: 0.18em;
}

.wp-site-blocks > * {
	margin-block-start: 0;
}

.mcshan-header {
	backdrop-filter: blur(18px);
	background: rgba(255, 250, 242, 0.9);
	border-bottom: var(--mcshan-border);
	position: sticky;
	top: 0;
	z-index: 20;
}

.mcshan-header .wp-block-navigation__responsive-container-open,
.mcshan-header .wp-block-navigation__responsive-container-close {
	border: var(--mcshan-border);
	border-radius: 999px;
	padding: 0.55rem;
}

.mcshan-hero {
	min-height: min(760px, 92vh);
	position: relative;
}

.mcshan-hero:before {
	background: linear-gradient(90deg, rgba(22, 20, 17, 0.64), rgba(22, 20, 17, 0.18) 55%, rgba(22, 20, 17, 0.04));
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.mcshan-hero > * {
	position: relative;
	z-index: 2;
}

.mcshan-kicker {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.mcshan-button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
}

.mcshan-editorial-band {
	border-bottom: var(--mcshan-border);
	border-top: var(--mcshan-border);
}

.mcshan-occasion-grid {
	display: grid;
	gap: 1px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mcshan-occasion-card {
	background: #fff;
	min-height: 280px;
	overflow: hidden;
	position: relative;
}

.mcshan-occasion-card img {
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.mcshan-occasion-card a {
	align-items: flex-end;
	background: linear-gradient(180deg, rgba(22, 20, 17, 0), rgba(22, 20, 17, 0.62));
	color: #fff;
	display: flex;
	font-weight: 800;
	inset: 0;
	padding: 1.25rem;
	position: absolute;
	text-decoration: none;
}

.mcshan-product-shell {
	display: grid;
	gap: clamp(2rem, 5vw, 5rem);
	grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.mcshan-product-summary {
	align-self: start;
	background: rgba(255, 250, 242, 0.92);
	border: var(--mcshan-border);
	box-shadow: var(--mcshan-shadow-soft);
	padding: clamp(1.5rem, 3vw, 3rem);
	position: sticky;
	top: 7rem;
}

.mcshan-delivery-context,
.mcshan-add-special,
.mcshan-checkout-panel {
	background: #fff;
	border: var(--mcshan-border);
	padding: clamp(1rem, 2vw, 1.5rem);
}

.mcshan-delivery-context {
	box-shadow: 0 14px 38px rgba(22, 20, 17, 0.08);
}

.mcshan-footer {
	border-top: var(--mcshan-border);
}

.woocommerce div.product form.cart .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	background: var(--wp--preset--color--ink);
	border-radius: 999px;
	color: var(--wp--preset--color--ivory);
	font-weight: 800;
	padding: 0.95rem 1.4rem;
	text-transform: uppercase;
}

.woocommerce div.product p.price,
.woocommerce ul.products li.product .price {
	color: var(--wp--preset--color--rose);
	font-weight: 800;
}

@media (max-width: 900px) {
	.mcshan-occasion-grid,
	.mcshan-product-shell {
		grid-template-columns: 1fr;
	}

	.mcshan-product-summary {
		position: static;
	}
}

@media (max-width: 640px) {
	.mcshan-hero {
		min-height: 720px;
	}
}
.mcshan-delivery-context-form {
	display: grid;
	grid-template-columns: repeat(3, minmax(130px, 1fr)) auto;
	gap: 12px;
	align-items: end;
	width: 100%;
	max-width: 850px;
}
.mcshan-delivery-context-form label {
	display: grid;
	gap: 6px;
	font-size: 14px;
	min-width: 0;
}
.mcshan-delivery-context-form input {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	min-height: 44px;
	padding: 8px;
	border: 1px solid #757575;
	border-radius: 4px;
	background: #fff;
	color: #222;
	font: inherit;
}
.mcshan-delivery-context-form button {
	min-height: 44px;
	padding: 10px 18px;
	border: 0;
	border-radius: 4px;
	background: #285442;
	color: #fff;
	font: inherit;
	cursor: pointer;
}
.mcshan-delivery-context-form button:disabled { opacity: .65; cursor: wait; }
.mcshan-delivery-context-form output { grid-column: 1 / -1; min-height: 24px; overflow-wrap: anywhere; }
@media (max-width: 700px) {
	.mcshan-delivery-context-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 400px) {
	.mcshan-delivery-context-form { grid-template-columns: minmax(0, 1fr); }
}
.mcshan-delivery-strip { margin-block: 0; padding: 12px max(20px, calc((100% - 1440px) / 2)); background: #eef5ef; border-bottom: 1px solid #d4ddd5; }
.mcshan-delivery-widget { width: 100%; min-width: 0; }
.mcshan-delivery-widget [hidden], .wp-block-woocommerce-product-collection[hidden], ul.products[hidden], form.cart[hidden] { display: none !important; }
.mcshan-delivery-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.mcshan-delivery-summary > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; min-width: 0; }
.mcshan-delivery-summary strong { font-size: 16px; }
.mcshan-delivery-summary span { font-size: 14px; overflow-wrap: anywhere; }
.mcshan-delivery-summary button { background: none; color: #285442; border: 1px solid #809688; border-radius: 4px; padding: 8px 12px; font: inherit; font-size: 14px; cursor: pointer; flex-shrink: 0; }
.mcshan-delivery-widget form:not([hidden]) { margin-top: 12px; }
.mcshan-delivery-widget output { display: block; margin-top: 8px; min-height: 20px; font-size: 14px; overflow-wrap: anywhere; }
.mcshan-delivery-prompt { color: #713c39; font-size: 16px; line-height: 1.5; }
@media (max-width: 600px) {
	.mcshan-delivery-summary > div { display: grid; }
}
