:root {
	color-scheme: light;
	--ink: #28251f;
	--ink-soft: #514b42;
	--muted: #766f65;
	--paper: #fffdf2;
	--surface: #ffffff;
	--cream: #fbf4df;
	--cream-strong: #f0e1bb;
	--sage: #718a66;
	--sage-dark: #3c5843;
	--lavender: #aa93c5;
	--lavender-soft: #f0e9f7;
	--butter: #f5d66d;
	--honey: #d9a92e;
	--rose-clay: #a45c4d;
	--terracotta: #7d659b;
	--terracotta-dark: #5e4878;
	--border: #e5dcc9;
	--shadow: 0 22px 58px rgba(47, 55, 34, 0.13);
	--shadow-soft: 0 12px 30px rgba(47, 55, 34, 0.08);
	font-family:
		Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: var(--paper);
	color: var(--ink);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background:
		radial-gradient(circle at top left, rgba(245, 214, 109, 0.23), transparent 32rem),
		radial-gradient(circle at 88% 16%, rgba(170, 147, 197, 0.18), transparent 28rem),
		linear-gradient(180deg, var(--paper), #f8f1df 72%, var(--paper));
	margin: 0;
	min-height: 100vh;
}

a {
	color: inherit;
}

img {
	max-width: 100%;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1,
h2,
h3 {
	color: var(--ink);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
}

h1 {
	font-size: clamp(42px, 6.5vw, 76px);
	line-height: 0.96;
	margin-bottom: 20px;
}

h2 {
	font-size: clamp(29px, 4vw, 45px);
	line-height: 1.03;
	margin-bottom: 16px;
}

h3 {
	font-size: 24px;
	line-height: 1.12;
	margin-bottom: 10px;
}

p {
	color: var(--ink-soft);
	font-size: 17px;
	line-height: 1.65;
}

.site-header {
	align-items: center;
	background: rgba(255, 253, 242, 0.92);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(229, 220, 201, 0.9);
	display: flex;
	gap: 22px;
	justify-content: space-between;
	padding: 15px clamp(20px, 5vw, 56px);
	position: sticky;
	top: 0;
	z-index: 10;
}

.site-header nav {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.site-header a,
.button-link {
	font-weight: 850;
	text-decoration: none;
}

.site-header nav a {
	border-radius: 999px;
	color: var(--ink-soft);
	font-size: 14px;
	padding: 9px 12px;
	transition:
		background 160ms ease,
		color 160ms ease;
}

.site-header nav a:hover {
	background: var(--lavender-soft);
	color: var(--ink);
}

.brand-link {
	align-items: center;
	color: var(--ink);
	display: inline-flex;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	gap: 10px;
	font-weight: 700;
	white-space: nowrap;
}

.brand-link::before {
	background:
		radial-gradient(circle at 45% 38%, #fff6b0 0 18%, transparent 19%),
		radial-gradient(circle at 36% 55%, #f5d66d 0 25%, transparent 26%),
		radial-gradient(circle at 63% 58%, #d9a92e 0 22%, transparent 23%),
		#f8dc72;
	border: 1px solid rgba(60, 88, 67, 0.28);
	border-radius: 50%;
	box-shadow: 0 3px 9px rgba(60, 88, 67, 0.16);
	content: "";
	display: inline-block;
	height: 22px;
	width: 22px;
}

.button-link,
.primary-link,
.secondary-link,
button {
	align-items: center;
	border-radius: 8px;
	display: inline-flex;
	font-weight: 850;
	justify-content: center;
	min-height: 44px;
	padding: 11px 16px;
	text-decoration: none;
	transition:
		background 160ms ease,
		border-color 160ms ease,
		box-shadow 160ms ease,
		color 160ms ease,
		transform 160ms ease;
}

.button-link,
button {
	background: var(--sage-dark);
	border: 1px solid var(--sage-dark);
	color: var(--paper);
}

.button-link:hover,
button:hover {
	box-shadow: 0 10px 24px rgba(33, 31, 27, 0.18);
	transform: translateY(-1px);
}

.primary-link {
	background: var(--butter);
	border: 1px solid var(--butter);
	color: var(--ink);
}

.secondary-link {
	background: rgba(240, 233, 247, 0.14);
	border: 1px solid rgba(255, 253, 242, 0.72);
	color: var(--paper);
}

.primary-link:hover,
.secondary-link:hover {
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
	transform: translateY(-1px);
}

.hero {
	align-items: end;
	background:
		linear-gradient(90deg, rgba(37, 54, 42, 0.9), rgba(37, 54, 42, 0.58) 42%, rgba(37, 54, 42, 0.12)),
		url('/images/generated/yellow-rose-hero-v2.jpg');
	background-position: center;
	background-size: cover;
	color: var(--paper);
	display: grid;
	min-height: 650px;
	padding: 72px clamp(20px, 6vw, 80px);
	position: relative;
}

.hero::after {
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.14));
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.hero > div {
	max-width: 720px;
	position: relative;
	z-index: 1;
}

.hero h1,
.hero p {
	color: var(--paper);
}

.hero p:not(.eyebrow) {
	font-size: clamp(18px, 2vw, 21px);
	max-width: 650px;
}

.hero-actions,
.hero-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.hero-facts {
	margin-top: 28px;
}

.hero-facts span {
	background: rgba(255, 253, 242, 0.16);
	border: 1px solid rgba(255, 253, 242, 0.28);
	border-radius: 999px;
	color: var(--paper);
	font-size: 14px;
	font-weight: 850;
	padding: 8px 12px;
}

.eyebrow {
	color: var(--terracotta);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hero .eyebrow {
	color: #f8dc72;
}

.page-shell {
	margin: 0 auto;
	max-width: 1200px;
	padding: 76px clamp(20px, 5vw, 50px);
}

.store-intro {
	align-items: start;
	display: grid;
	gap: 34px;
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
}

.category-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-card {
	align-content: end;
	aspect-ratio: 4 / 3;
	background:
		linear-gradient(180deg, rgba(45, 61, 47, 0.02), rgba(45, 61, 47, 0.72)),
		var(--cream);
	background-position: center;
	background-size: cover;
	border-radius: 8px;
	box-shadow: var(--shadow-soft);
	color: var(--paper);
	display: grid;
	gap: 10px;
	overflow: hidden;
	padding: 24px;
	position: relative;
	text-decoration: none;
	transition:
		box-shadow 180ms ease,
		transform 180ms ease;
}

.category-card:hover {
	box-shadow: var(--shadow);
	transform: translateY(-3px);
}

.category-card--bakery {
	background-image:
		linear-gradient(180deg, rgba(45, 61, 47, 0.02), rgba(45, 61, 47, 0.76)),
		url('/images/generated/sourdough-professional.jpg');
}

.category-card--goods {
	background-image:
		linear-gradient(180deg, rgba(77, 58, 92, 0.02), rgba(77, 58, 92, 0.74)),
		url('/images/generated/apron-professional.jpg');
}

.category-card strong {
	color: var(--paper);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(25px, 3vw, 34px);
	line-height: 1.03;
	max-width: 11ch;
}

.category-card span:not(.eyebrow) {
	color: rgba(255, 253, 248, 0.86);
	line-height: 1.5;
	max-width: 30ch;
}

.info-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-grid article,
.slot-grid div,
.checkout-note,
.checkout-alert,
.date-picker-loading,
.payment-note,
.order-summary {
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid var(--border);
	border-radius: 8px;
}

.info-grid article {
	display: grid;
	gap: 8px;
	padding: 18px;
}

.info-grid strong {
	font-size: 18px;
}

.info-grid span {
	color: var(--muted);
	line-height: 1.45;
}

.storefront-section {
	display: grid;
	gap: 30px;
}

.section-heading {
	max-width: 780px;
}

.page-hero {
	align-items: end;
	background:
		linear-gradient(135deg, rgba(255, 253, 242, 0.86), rgba(240, 233, 247, 0.6)),
		radial-gradient(circle at 92% 12%, rgba(245, 214, 109, 0.34), transparent 20rem);
	border-bottom: 1px solid var(--border);
	display: flex;
	gap: 24px;
	justify-content: space-between;
	padding-bottom: 34px;
}

.page-hero > div {
	max-width: 760px;
}

.page-hero .button-link {
	flex: 0 0 auto;
}

.catalog-section {
	padding-top: 36px;
}

.section-grid {
	display: grid;
	gap: 32px;
	grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

.product-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
}

.product-card,
.panel {
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(229, 217, 202, 0.95);
	border-radius: 8px;
	box-shadow: var(--shadow-soft);
}

.product-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100%;
	overflow: hidden;
	transition:
		box-shadow 180ms ease,
		transform 180ms ease;
}

.product-card:hover {
	box-shadow: var(--shadow);
	transform: translateY(-3px);
}

.product-card > div,
.product-card > ul,
.product-card > .card-footer {
	margin-left: 22px;
	margin-right: 22px;
}

.product-card > div {
	margin-top: 22px;
}

.product-media {
	aspect-ratio: 4 / 3;
	background:
		linear-gradient(135deg, var(--cream), var(--lavender-soft));
	display: block;
	overflow: hidden;
	position: relative;
	text-decoration: none;
}

.product-media::after {
	background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.24));
	content: "";
	inset: 0;
	position: absolute;
}

.product-media img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 220ms ease;
	width: 100%;
}

.product-card:hover .product-media img {
	transform: scale(1.035);
}

.product-media span {
	background: rgba(60, 88, 67, 0.94);
	border: 1px solid rgba(255, 253, 242, 0.24);
	border-radius: 999px;
	color: var(--paper);
	font-size: 13px;
	font-weight: 900;
	padding: 8px 10px;
	position: absolute;
	right: 14px;
	top: 14px;
	z-index: 1;
}

.card-footer {
	align-items: center;
	border-top: 1px solid var(--cream-strong);
	display: flex;
	gap: 14px;
	justify-content: space-between;
	margin-bottom: 22px;
	margin-top: 22px;
	padding-top: 16px;
}

.card-footer span {
	font-weight: 900;
}

.card-footer .button-link {
	margin-top: 0;
}

.product-detail {
	align-items: start;
	display: grid;
	gap: 48px;
	grid-template-columns: minmax(320px, 0.96fr) minmax(0, 1.04fr);
}

.product-detail > section {
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid var(--border);
	border-radius: 8px;
	box-shadow: var(--shadow-soft);
	padding: clamp(22px, 4vw, 38px);
}

.product-detail__image {
	aspect-ratio: 4 / 3;
	background: var(--cream);
	border: 1px solid var(--border);
	border-radius: 8px;
	box-shadow: var(--shadow);
	object-fit: cover;
	width: 100%;
}

.add-to-cart,
.checkout-panel,
.cart-lines,
.cart-line,
.restock-form {
	display: grid;
	gap: 16px;
}

.add-to-cart {
	margin-top: 26px;
}

.product-options {
	background: linear-gradient(135deg, var(--cream), rgba(240, 233, 247, 0.7));
	border: 1px solid var(--border);
	border-radius: 8px;
	display: grid;
	gap: 16px;
	padding: 18px;
}

.product-options h2 {
	font-size: 26px;
	margin-bottom: 0;
}

fieldset {
	border: 1px solid var(--border);
	border-radius: 8px;
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 14px;
}

legend {
	font-weight: 900;
	padding: 0 6px;
}

label {
	color: var(--ink);
	display: grid;
	gap: 7px;
	font-size: 14px;
	font-weight: 850;
}

input,
select {
	appearance: none;
	background: var(--surface);
	border: 1px solid #d8caba;
	border-radius: 8px;
	color: var(--ink);
	font: inherit;
	min-height: 44px;
	padding: 10px 12px;
	width: 100%;
}

select {
	background-image:
		linear-gradient(45deg, transparent 50%, var(--muted) 50%),
		linear-gradient(135deg, var(--muted) 50%, transparent 50%);
	background-position:
		calc(100% - 18px) 18px,
		calc(100% - 12px) 18px;
	background-repeat: no-repeat;
	background-size: 6px 6px;
	padding-right: 34px;
}

input:focus,
select:focus {
	border-color: var(--lavender);
	box-shadow: 0 0 0 3px rgba(170, 147, 197, 0.2);
	outline: none;
}

.inline-choice {
	align-items: center;
	display: flex;
	gap: 10px;
}

.inline-choice input {
	min-height: auto;
	width: auto;
}

.choice-stack {
	display: grid;
	gap: 8px;
}

.restock-panel {
	background: linear-gradient(135deg, #fff8df, var(--lavender-soft));
	border: 1px solid #e9dcbb;
	border-radius: 8px;
	margin-top: 28px;
	padding: 22px;
}

.checkout-layout {
	align-items: start;
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
}

.checkout-panel {
	position: sticky;
	top: 92px;
}

.cart-section-heading {
	align-items: start;
	display: flex;
	gap: 18px;
	justify-content: space-between;
}

.cart-line {
	background: var(--paper);
	border: 1px solid var(--cream-strong);
	border-radius: 8px;
	grid-template-columns: minmax(0, 1fr) minmax(80px, 110px) minmax(180px, 220px) minmax(120px, auto);
	padding: 16px;
}

.cart-line > div {
	display: grid;
	gap: 4px;
}

.cart-line__identity strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 20px;
}

.cart-line__options {
	color: var(--muted);
	display: grid;
	font-size: 14px;
	gap: 3px;
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
}

.stock-note {
	color: var(--muted);
	font-size: 14px;
	font-weight: 850;
}

.cart-line__section {
	color: var(--terracotta);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cart-line__price {
	justify-items: end;
	text-align: right;
}

.cart-line__price span {
	color: var(--muted);
	font-size: 14px;
}

.text-button {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--terracotta-dark);
	min-height: auto;
	padding: 0;
	text-decoration: underline;
	transform: none;
}

.text-button:hover {
	box-shadow: none;
	color: var(--terracotta);
	transform: none;
}

.checkout-note,
.checkout-alert,
.date-picker-loading,
.payment-note,
.order-summary {
	padding: 14px;
}

.checkout-note,
.checkout-alert,
.date-picker-loading {
	display: grid;
	gap: 6px;
}

.checkout-note span,
.checkout-alert span,
.date-picker-loading span,
.payment-note,
.date-picker-meta {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.45;
}

.checkout-alert {
	background: #fff0eb;
	border-color: #efc8bd;
	color: var(--rose-clay);
}

.order-summary {
	display: grid;
	gap: 10px;
}

.order-summary > div {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.order-summary__total {
	border-top: 1px solid #ded0c0;
	font-size: 18px;
	padding-top: 10px;
}

.form-message,
.restock-message {
	font-weight: 850;
	margin-bottom: 0;
}

.form-message a {
	color: var(--terracotta-dark);
	font-weight: 900;
}

.variant-list {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
}

.variant-list li {
	align-items: center;
	border-top: 1px solid var(--cream-strong);
	color: var(--ink-soft);
	display: flex;
	gap: 16px;
	justify-content: space-between;
	padding-top: 10px;
}

.variant-list strong {
	color: var(--ink);
	white-space: nowrap;
}

.panel {
	padding: 28px;
}

.slot-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.slot-grid div {
	display: grid;
	gap: 6px;
	padding: 18px;
}

.slot-grid strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
}

.slot-grid span {
	color: var(--muted);
}

.schedule-section {
	padding-top: 24px;
}

.admin-list {
	display: grid;
	gap: 18px;
}

.order-card {
	display: grid;
	gap: 18px;
}

.order-card__header,
.status-row {
	align-items: start;
	display: flex;
	gap: 16px;
	justify-content: space-between;
}

.order-card__total {
	display: grid;
	gap: 6px;
	justify-items: end;
	white-space: nowrap;
}

.order-card__total strong {
	font-size: 24px;
}

.status-row {
	background: var(--cream);
	border: 1px solid var(--border);
	border-radius: 8px;
	flex-wrap: wrap;
	padding: 12px;
}

.status-row span {
	font-size: 14px;
	font-weight: 750;
}

.order-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

button {
	cursor: pointer;
	font: inherit;
}

button.danger {
	background: var(--rose-clay);
	border-color: var(--rose-clay);
}

@media (max-width: 900px) {
	.product-detail,
	.checkout-layout,
	.section-grid {
		grid-template-columns: 1fr;
	}

	.category-grid {
		grid-template-columns: 1fr;
	}

	.page-hero {
		align-items: flex-start;
		display: grid;
	}

	.checkout-panel {
		position: static;
	}
}

@media (max-width: 760px) {
	.store-intro,
	.info-grid {
		grid-template-columns: 1fr;
	}

	.hero {
		background-position: 62% center;
		min-height: 540px;
		padding-bottom: 44px;
	}

	.site-header {
		align-items: flex-start;
		display: grid;
	}

	.site-header nav {
		justify-content: flex-start;
	}

	.card-footer {
		align-items: flex-start;
		display: grid;
	}

	.order-card__header {
		display: grid;
	}

	.order-card__total {
		justify-items: start;
	}

	.cart-line {
		grid-template-columns: 1fr;
	}

	.cart-section-heading,
	.cart-line__price {
		display: grid;
		justify-items: start;
		text-align: left;
	}
}

@media (max-width: 520px) {
	h1 {
		font-size: 40px;
	}

	.page-shell {
		padding: 54px 18px;
	}

	.hero-actions,
	.hero-actions a {
		width: 100%;
	}

	.product-card > div,
	.product-card > ul,
	.product-card > .card-footer {
		margin-left: 18px;
		margin-right: 18px;
	}

	.category-card {
		aspect-ratio: auto;
		min-height: 320px;
		padding: 20px;
	}

	.panel,
	.product-detail > section {
		padding: 20px;
	}
}
