/*
Theme Name: Lyzzora Site
Theme URI: https://lyzzoracloud.com/
Author: Lyzzora Cloud
Author URI: https://lyzzoracloud.com/
Description: The Lyzzora Builder theme. Ready-made sections for restaurants, shops, services, schools, churches and portfolios. Pick a style, answer a few questions in Lyzzora Start, and your site is ready to edit.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lyzzora-site
Tags: block-patterns, full-site-editing, one-column, wide-blocks, style-variations, business
*/

/* Small extras that theme.json can't express. Colours always come from the palette, so every style variation works. */

header.wp-block-template-part { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; }
.lz-header { background: color-mix(in srgb, var(--wp--preset--color--base) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--wp--preset--color--line); }

.lz-eyebrow { font-size: var(--wp--preset--font-size--small); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--primary); }
.has-base-color .lz-eyebrow, .lz-on-dark .lz-eyebrow { color: var(--wp--preset--color--accent); }
/* over a photo the label needs plain white to stay readable */
.lz-hero .lz-eyebrow { color: #FFFFFF; text-shadow: 0 1px 14px rgb(0 0 0 / .45); }

.lz-card { background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--line); border-radius: 20px; box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 12px 30px rgb(0 0 0 / .05); transition: transform .25s ease, box-shadow .25s ease; height: 100%; }
.lz-card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgb(0 0 0 / .05), 0 20px 44px rgb(0 0 0 / .09); }
.lz-card .wp-block-image img { border-radius: 14px; }

.lz-num { font-family: var(--wp--preset--font-family--heading); font-weight: 700; color: var(--wp--preset--color--primary); }

.lz-price { font-weight: 700; color: var(--wp--preset--color--primary); white-space: nowrap; }

.lz-rounded img, .lz-rounded.wp-block-cover { border-radius: 24px; }
.lz-hero h1 { text-wrap: balance; }

.lz-band { border-radius: 28px; overflow: hidden; }

.lz-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.lz-header-button .wp-block-button__link { padding: .6rem 1.15rem; font-size: .9rem; }
@media (max-width: 600px) { .wp-block-buttons.lz-header-button { display: none !important; } }

.lz-checks { list-style: none; padding-left: 0; display: grid; gap: .6rem; }
.lz-checks li { position: relative; padding-left: 2rem; font-weight: 600; }
.lz-checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--wp--preset--color--primary); }
.lz-checks li::after { content: ""; position: absolute; left: .42rem; top: .45em; width: .35rem; height: .6rem; border: solid var(--wp--preset--color--on-primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.lz-menu-item { padding: 1rem 0; border-bottom: 1px dashed var(--wp--preset--color--line); }
.lz-menu-item > * + * { margin-top: .25rem; }
.lz-dish, .lz-strong { font-weight: 700; color: var(--wp--preset--color--contrast); }
.lz-dish { margin: 0; }
.lz-hours-row { padding: .7rem 0; border-bottom: 1px solid var(--wp--preset--color--line); margin-top: 0 !important; }
.lz-hours-row:last-child { border-bottom: 0; }
.lz-hours-row p { margin: 0; }
.lz-card .lz-price { margin-top: .25rem; }
.lz-on-dark .lz-strong { color: inherit; }

/* contact form (block from Lyzzora Start) */
.lz-form-wrap { margin-top: var(--wp--preset--spacing--50); }
.lz-form { display: grid; gap: 1rem; background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--line); border-radius: 20px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 12px 30px rgb(0 0 0 / .05); }
.lz-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.lz-form label { display: flex; flex-direction: column; gap: .4rem; font-weight: 700; font-size: .95rem; color: var(--wp--preset--color--contrast); }
.lz-form input, .lz-form textarea { font: inherit; font-weight: 400; padding: .8rem .95rem; border: 1.5px solid var(--wp--preset--color--line); border-radius: 12px; background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); }
.lz-form input:focus, .lz-form textarea:focus { outline: none; border-color: var(--wp--preset--color--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--wp--preset--color--primary) 18%, transparent); }
.lz-form button { justify-self: start; border: 0; cursor: pointer; }
.lz-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lz-form-ok, .lz-form-err { padding: .9rem 1.1rem; border-radius: 12px; font-weight: 600; margin-bottom: 1rem; }
.lz-form-ok { background: color-mix(in srgb, var(--wp--preset--color--accent) 18%, var(--wp--preset--color--base)); color: var(--wp--preset--color--contrast); }
.lz-form-err { background: #FDECEC; color: #8C1D18; }

/* social icons in the dark footer */
.lz-socials { margin-top: .5rem; }

/* the WhatsApp button that Lyzzora Start adds when a number is saved */
.lz-whatsapp-float { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 60; display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.1rem; border-radius: 999px; background: #1FAF38; color: #FFFFFF; font-weight: 700; font-size: .95rem; text-decoration: none; box-shadow: 0 10px 26px rgb(0 0 0 / .22); }
.lz-whatsapp-float:hover { color: #FFFFFF; transform: translateY(-1px); }
.lz-whatsapp-float svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
	.lz-card, .lz-whatsapp-float { transition: none; }
	.lz-card:hover { transform: none; }
}
/* WordPress pins left-aligned cover content to the edge; keep it in line with the rest of the page */
.wp-block-cover.lz-hero .wp-block-cover__inner-container { width: 100% !important; max-width: var(--wp--style--global--wide-size); margin-inline: auto !important; }
