/*
Theme Name: Fennel & Ember
Template: twentytwentyfive
Description: The look of Fennel & Ember, the restaurant on the Plattivo public demo (demo.plattivo.com). A child theme of Twenty Twenty-Five: ember and saffron colours, Platypi and Fira Sans (bundled with the parent), header, footer, home page and the Our story and Visit us pages as patterns. Part of the demo kit, never shipped in the plugin.
Version: 1.0.1
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: fennel-ember
*/

/* Top strip and header */
.fe-strip { font-size: 0.85rem; }
.fe-strip p { margin: 0; }
.fe-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--wp--preset--color--base) 94%, transparent); backdrop-filter: saturate(140%) blur(6px); border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 10%, transparent); }
.admin-bar .fe-header { top: var(--wp-admin--admin-bar--height, 32px); }
.fe-brand { gap: 0.7rem !important; }
.fe-brand img { width: 46px; height: 46px; display: block; }
.fe-brand .wp-block-site-title { line-height: 1.05; }
.fe-brand .fe-tagline { margin: 0; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wp--preset--color--accent-4); line-height: 1.3; }
.fe-header .wp-block-button__link { padding: 0.55rem 1.15rem; font-size: 0.92rem; }

/* Hero */
.fe-hero { min-height: min(84vh, 700px) !important; }
.fe-hero .wp-block-cover__inner-container { max-width: var(--wp--style--global--wide-size); }
.fe-hero h1 { color: #fff; max-width: 13ch; }
.fe-eyebrow { font-size: 0.8rem !important; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }
.fe-hero .fe-eyebrow { color: var(--wp--preset--color--accent-1); }
.fe-hero .fe-lede { color: #fff; max-width: 36rem; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.fe-hero .is-style-outline .wp-block-button__link { color: #fff; border-color: #fff; }
.fe-chips { gap: 0.5rem !important; }
.fe-chips p { margin: 0; padding: 0.35rem 0.8rem; border-radius: 999px; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 0.88rem; backdrop-filter: blur(4px); }

/* Ways to order */
.fe-ways .fe-way { gap: 0.9rem !important; align-items: flex-start !important; }
.fe-way svg { flex: 0 0 44px; width: 44px; height: 44px; }
.fe-way h3 { margin: 0 0 0.25rem; }
.fe-way p { margin: 0; color: var(--wp--preset--color--accent-4); }

/* Menu section: the ordering block sits on a soft panel */
.fe-menu-intro p { max-width: 40rem; }

/* Photo band */
.fe-band { gap: 0.75rem !important; }
.fe-band figure { margin: 0 !important; }
.fe-band img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: 100%; border-radius: 14px; display: block; }

/* Story and media */
.fe-rounded img, img.fe-rounded { border-radius: 18px; }
.fe-story .wp-block-media-text__media img { border-radius: 18px; }
.fe-sign { font-family: var(--wp--preset--font-family--platypi); font-style: italic; font-size: 1.35rem; color: var(--wp--preset--color--accent-3); }

/* Reviews */
.fe-review { background: var(--wp--preset--color--base); border-radius: 16px; padding: 1.6rem 1.6rem 1.3rem !important; height: 100%; box-shadow: 0 1px 0 color-mix(in srgb, var(--wp--preset--color--contrast) 6%, transparent); }
.fe-stars { color: var(--wp--preset--color--accent-1); letter-spacing: 0.15em; margin: 0 0 0.6rem !important; font-size: 1.05rem; }
.fe-review blockquote { margin: 0; padding: 0; border: 0; }
.fe-review blockquote p { font-size: 1.05rem; }
.fe-review cite, .fe-who { font-style: normal; font-size: 0.9rem; color: var(--wp--preset--color--accent-4); }

/* Hours */
.fe-hours { width: 100%; border-collapse: collapse; }
.fe-hours td { padding: 0.55rem 0; border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 12%, transparent); }
.fe-hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.fe-hours tr.is-today td { font-weight: 600; color: var(--wp--preset--color--accent-3); }

/* Page heads */
.fe-pagehead { min-height: 340px !important; }
.fe-pagehead h1 { color: #fff; }

/* Footer */
.fe-footer a { color: inherit; text-decoration: none; }
.fe-footer a:hover { text-decoration: underline; }
.fe-footer h2 { font-size: 0.8rem !important; letter-spacing: 0.16em; text-transform: uppercase; font-family: var(--wp--preset--font-family--fira-sans) !important; color: var(--wp--preset--color--accent-1) !important; font-weight: 600; margin-bottom: 0.8rem; }
.fe-footer p { margin: 0.2rem 0; }
.fe-footer .fe-small { font-size: 0.85rem; opacity: 0.75; }
.fe-footer .fe-brand .wp-block-site-title a { color: #fff; }

/* WooCommerce pages: match the brand */
.woocommerce-page .wp-block-woocommerce-empty-cart-block .wc-block-grid,
.woocommerce-page .wp-block-woocommerce-empty-cart-block .wp-block-separator,
.woocommerce-page .wp-block-woocommerce-empty-cart-block > h2.wp-block-heading:not(.wc-block-cart__empty-cart__title) { display: none; }

@media (max-width: 781px) {
	.fe-hide-mobile { display: none !important; }
	.fe-brand img { width: 40px; height: 40px; }
	.fe-brand .fe-tagline { display: none; }
	.fe-hero { min-height: 78vh !important; }
	.fe-band { display: grid !important; grid-template-columns: 1fr 1fr; }
	.fe-band figure:first-child { grid-column: 1 / -1; }
}

/* The header on classic PHP pages (Plattivo's order page): keep the brand stacked and in the brand fonts */
.fe-brand > .wp-block-group { display: flex; flex-direction: column; gap: 0; }
.fe-brand .wp-block-site-title { font-family: var(--wp--preset--font-family--platypi); font-weight: 700; font-size: 1.4rem; margin: 0; }
.fe-brand .wp-block-site-title a { text-decoration: none; color: inherit; }
