/*
Theme Name: Honey Brushed
Theme URI: https://honeybrushed.com
Author: Honey Brushed
Description: A warm block theme for Honey Brushed, a creative studio in Chehalis, Washington: nail artistry, original art and fresh bakes. Built from the Honey Brushed design system.
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: honey-brushed
*/

/* Fraunces' soft setting on every display face. */
h1, h2, h3,
.wp-block-site-title,
.has-display-font-family {
	font-variation-settings: "SOFT" 100;
}

/* Eyebrow: small uppercase label above a section title. */
.is-style-eyebrow {
	font-size: 0.8125rem !important;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.3;
}

/* Category badges (paragraph styles). */
p.is-style-badge-nails,
p.is-style-badge-art,
p.is-style-badge-bakery {
	display: inline-block;
	width: fit-content;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.4;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
}
p.is-style-badge-nails { background: var(--wp--preset--color--cinnamon); color: var(--wp--preset--color--linen); }
p.is-style-badge-art { background: var(--wp--preset--color--forest); color: var(--wp--preset--color--linen); }
p.is-style-badge-bakery { background: var(--wp--preset--color--honey); color: var(--wp--preset--color--ink); }

/* Outline button. */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--cinnamon);
	border-color: currentColor;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--apricot);
	color: var(--wp--preset--color--cinnamon);
}
/* Light button for dark panels. */
.wp-block-button.is-style-light > .wp-block-button__link {
	background: var(--wp--preset--color--linen);
	color: var(--wp--preset--color--forest);
	border-color: var(--wp--preset--color--linen);
}
.wp-block-button.is-style-light > .wp-block-button__link:hover {
	background: var(--wp--preset--color--cream);
	border-color: var(--wp--preset--color--cream);
}

/* Price list: a list block where each item is "Name — Price". */
.is-style-menu {
	list-style: none;
	padding-left: 0 !important;
	margin-left: 0;
}
.is-style-menu > li {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.25rem 1rem;
	padding: 0.875rem 0;
	border-bottom: 1px solid var(--wp--preset--color--sage);
	font-weight: 600;
}
.is-style-menu > li strong {
	font-family: var(--wp--preset--font-family--display);
	font-variation-settings: "SOFT" 100;
	font-weight: 600;
	color: var(--wp--preset--color--cinnamon);
}
.is-style-menu > li em {
	flex-basis: 100%;
	font-style: normal;
	font-weight: 400;
	font-size: 0.875rem;
}

/* Cards: rounded panels that clip their photo. */
.is-style-card {
	border-radius: 14px;
	overflow: hidden;
}
.is-style-card > .wp-block-image,
.is-style-card > figure {
	margin: 0;
}
.is-style-card > .wp-block-image img {
	border-radius: 0;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.is-style-card:hover { box-shadow: var(--wp--custom--shadow--soft); }

.is-style-panel { border-radius: 28px; }

/* Header. */
.hb-header .wp-block-navigation a { text-decoration: none; }
.hb-header .wp-block-navigation a:hover { text-decoration: underline; }
.hb-footer a { color: inherit; }

/* Note on the hero photo. */
.hb-hero-photo { position: relative; }
.hb-hero-note {
	position: absolute;
	left: -1.5rem;
	bottom: 2rem;
	max-width: 230px;
}
@media (max-width: 781px) {
	.hb-hero-note { position: static; margin-top: 1rem !important; max-width: none; }
}

/* Keyboard focus everywhere. */
:where(a, button, input, select, textarea):focus-visible {
	outline: 2px solid var(--wp--preset--color--forest);
	outline-offset: 2px;
}

/* Sections sit flush; each one carries its own padding. */
.wp-site-blocks > * + * { margin-block-start: 0; }
main.wp-block-group > * + * { margin-block-start: 0; }

/* Logos keep their own shape: no rounded corners. */
.wp-block-image img[src*="/assets/images/wordmark"],
.wp-block-image img[src*="/assets/images/seal"],
.wp-block-image img[src*="/assets/images/mark"] {
	border-radius: 0 !important;
}

/* Cards: photo runs edge to edge (WordPress pads groups that have a background). */
.wp-block-group.is-style-card.has-background { padding: 0; }

/* On a forest panel, the art badge flips to light so it stays visible. */
.has-forest-background-color p.is-style-badge-art {
	background: var(--wp--preset--color--linen);
	color: var(--wp--preset--color--forest);
}

/* Footer links: spaced out, underline on hover. */
.hb-footer p a { text-decoration: none; }
.hb-footer p a:hover { text-decoration: underline; }
.hb-footer p a + a { margin-left: 1.25rem; }

/* Phones: logo and menu share one row; booking lives in the hero. */
@media (max-width: 600px) {
	.hb-header .wp-block-buttons { display: none; }
	.hb-header img { height: 48px !important; }
}
