/*
Theme Name: Bakery Warm
Template: twentytwentyfive
Description: Warm, homemade child theme for MaksymSemeniaka's Bakery.
Version: 1.1.0
Requires at least: 6.7
Requires PHP: 7.2
Text Domain: bakery-warm
*/

body {
	font-variant-numeric: lining-nums;
}

p,
li,
td {
	overflow-wrap: anywhere;
}

.bakery-header {
	border-bottom: 1px solid var(--wp--preset--color--accent-3);
}

.bakery-header .wp-block-button__link {
	padding: 0.6rem 1.2rem;
}

.bakery-lang {
	display: inline-flex;
	border: 2px solid var(--wp--preset--color--accent-1);
	border-radius: 999px;
	padding: 2px;
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.04em;
}

.bakery-lang a {
	padding: 0.45rem 0.7rem;
	border-radius: 999px;
	color: var(--wp--preset--color--accent-4);
	text-decoration: none;
}

.bakery-lang a:hover {
	color: var(--wp--preset--color--accent-1);
}

.bakery-lang a.is-current {
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--base);
}

.bakery-card {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bakery-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(74, 46, 31, 0.1);
}

.bakery-card .wp-block-image {
	margin-bottom: 1rem;
}

.bakery-card h3 {
	margin-top: 0;
}

.bakery-step-number {
	font-family: var(--wp--preset--font-family--vollkorn);
	font-variant-numeric: lining-nums;
	font-size: 2.75rem;
	font-weight: 700;
	line-height: 1;
	color: var(--wp--preset--color--accent-1);
	margin: 0 0 0.5rem;
}

.wp-block-table.bakery-menu table {
	border-collapse: collapse;
	width: 100%;
}

.wp-block-table.bakery-menu thead {
	border-bottom: 2px solid var(--wp--preset--color--accent-3);
}

.wp-block-table.bakery-menu th,
.wp-block-table.bakery-menu td {
	border: 0;
	border-bottom: 1px dashed var(--wp--preset--color--accent-3);
	padding: 0.85rem 0.5rem;
	vertical-align: top;
	text-align: left;
}

.wp-block-table.bakery-menu th {
	font-family: var(--wp--preset--font-family--vollkorn);
	font-weight: 600;
	font-size: 1.05rem;
	color: var(--wp--preset--color--accent-4);
}

.wp-block-table.bakery-menu td:first-child {
	font-weight: 600;
}

.wp-block-table.bakery-menu td:nth-child(2) {
	color: var(--wp--preset--color--contrast-2);
}

.wp-block-table.bakery-menu th:last-child,
.wp-block-table.bakery-menu td:last-child {
	text-align: right;
	white-space: nowrap;
	font-weight: 600;
	color: var(--wp--preset--color--accent-4);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 2px solid var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--accent-4);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--base);
}

.bakery-footer a {
	color: var(--wp--preset--color--accent-3);
	text-decoration: none;
}

.bakery-footer a:hover {
	color: var(--wp--preset--color--base);
}

.bakery-footer .wp-block-navigation a {
	color: var(--wp--preset--color--base);
}

.bakery-footer .wp-block-navigation a:hover {
	color: var(--wp--preset--color--accent-3);
}

@media (max-width: 600px) {
	.bakery-hero .wp-block-image img {
		width: 260px !important;
	}

	.wp-block-table.bakery-menu table,
	.wp-block-table.bakery-menu tbody {
		display: block;
	}

	.wp-block-table.bakery-menu thead {
		display: none;
	}

	.wp-block-table.bakery-menu tr {
		display: grid;
		grid-template-columns: 1fr auto;
		column-gap: 0.75rem;
		padding: 0.7rem 0;
		border-bottom: 1px dashed var(--wp--preset--color--accent-3);
	}

	.wp-block-table.bakery-menu td {
		border: 0;
		padding: 0;
	}

	.wp-block-table.bakery-menu td:first-child {
		grid-column: 1;
		grid-row: 1;
	}

	.wp-block-table.bakery-menu td:nth-child(2) {
		grid-column: 1 / -1;
		grid-row: 2;
		font-size: 0.92rem;
	}

	.wp-block-table.bakery-menu td:last-child {
		grid-column: 2;
		grid-row: 1;
	}
}
