/*
Theme Name: Barkery
Theme URI: https://example.com/barkery
Author: Your Name
Description: An airy, patisserie-style block theme for a dog treat business. Every section is made of regular WordPress blocks, so text, images, colors, and menus can all be changed from the editor with no code.
Version: 2.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: barkery
*/

/* Small touches that theme.json cannot express. Safe to leave alone. */
html { scroll-behavior: smooth; }

/* Full-width homepage sections sit flush against each other. */
.wp-block-post-content > .alignfull { margin-block-start: 0; margin-block-end: 0; }

/* Script accent lines (set the font to "Great Vibes" in the editor). */
.has-script-font-family { line-height: 1.1; font-weight: 400; }

/* Menu item rows: name on the left, price on the right. */
.barkery-item-head { align-items: baseline; }
.barkery-item-head > * { margin: 0; }
.barkery-item-head > h3 { flex: 1 1 auto; min-width: 0; }
.barkery-item-head > p { flex: 0 0 auto; white-space: nowrap; }
.barkery-item img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* Review stars. */
.barkery-stars { color: var(--wp--preset--color--gold); letter-spacing: 0.2em; margin: 0; }

.barkery-site-header { position: relative; z-index: 20; }
.barkery-site-header .wp-block-site-title a { text-decoration: none; }

.wp-block-gallery.barkery-gallery .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; }

@media (max-width: 781px) {
	.barkery-item-head { flex-wrap: wrap; }
}

/* Buttons sitting on dark sections (hero, freshness banner). */
.has-ink-background-color .wp-block-button__link:not(.has-background) {
	color: var(--wp--preset--color--white);
	border-color: var(--wp--preset--color--white);
}
.has-ink-background-color .wp-block-button__link:not(.has-background):hover {
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink);
}
.wp-block-button__link.has-gold-background-color { border-color: var(--wp--preset--color--gold); }
.wp-block-media-text.has-ink-background-color .wp-block-media-text__content { padding: 8% 10%; }
