/* Jag Bakes — supplemental styles (front end + editor) */

/* ---- Small-caps eyebrow labels ---- */
.jb-eyebrow {
	letter-spacing: var(--wp--custom--letter-spacing--wider, 0.28em);
	text-transform: uppercase;
	font-weight: 500;
	font-size: 0.8rem;
}

/* ---- Site title lockup ---- */
.jb-site-title a {
	text-decoration: none;
	letter-spacing: var(--wp--custom--letter-spacing--wide, 0.18em);
}

/* ---- Parisian script accents (Maison d'Isabelle style) ---- */
.jb-script,
.jb-header .jb-eyebrow,
.jb-footer p.has-heading-font-family {
	font-family: var(--wp--preset--font-family--script, "Parisienne", cursive) !important;
	text-transform: none;
	letter-spacing: 0.02em;
	font-weight: 400;
	font-style: normal;
}
.jb-header .jb-eyebrow {
	font-size: 1.05rem;
	color: var(--wp--preset--color--gold);
	margin-top: -2px;
}
.jb-footer p.has-heading-font-family {
	font-size: 1.5rem;
	color: var(--wp--preset--color--cream);
}

/* ---- Noir hero vignette: moody storefront light ---- */
.jb-hero {
	background-image: radial-gradient(ellipse 70% 60% at 50% 38%, rgba(195, 155, 62, 0.16), rgba(23, 19, 14, 0) 65%);
	background-color: var(--wp--preset--color--green);
}
.jb-hero .jb-eyebrow {
	color: var(--wp--preset--color--gold);
}

/* ---- Noir mission band ---- */
.jb-mission-noir {
	background-image: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(195, 155, 62, 0.10), rgba(23, 19, 14, 0) 70%);
}

/* ---- Header nav ---- */
.jb-header .wp-block-navigation a {
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.85rem;
	font-weight: 500;
}
.jb-header .wp-block-navigation a:hover {
	color: var(--wp--preset--color--gold);
}

/* ---- Gold rule ornament ---- */
.jb-rule {
	width: 64px;
	height: 2px;
	background: var(--wp--preset--color--gold);
	border: none;
	margin-left: auto;
	margin-right: auto;
}
.jb-rule.alignleft {
	margin-left: 0;
	margin-right: auto;
}

/* ---- Product cards ---- */
.jb-card {
	background: var(--wp--preset--color--white);
	border: 1px solid rgba(75, 54, 33, 0.14);
	box-shadow: 0 1px 0 rgba(75, 54, 33, 0.06);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
	height: 100%;
}
.jb-card:hover {
	box-shadow: 0 14px 34px rgba(36, 28, 18, 0.12);
	transform: translateY(-3px);
}
.jb-card img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---- Numbered steps ---- */
.jb-step-number {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 2.6rem;
	line-height: 1;
	color: var(--wp--preset--color--gold);
	font-style: italic;
}

/* ---- Newsletter panel ---- */
.jb-newsletter-panel {
	border: 1px solid var(--wp--preset--color--gold);
	outline: 1px solid var(--wp--preset--color--gold);
	outline-offset: 5px;
}

/* MailPoet form styling to match the theme */
.jb-newsletter-panel .mailpoet_form,
.jb-newsletter-panel form {
	margin: 0;
}
.jb-newsletter-panel input[type="text"],
.jb-newsletter-panel input[type="email"] {
	background: var(--wp--preset--color--white);
	border: 1px solid rgba(75, 54, 33, 0.35);
	padding: 0.8em 1em;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1rem;
	width: 100%;
}
.jb-newsletter-panel input[type="submit"],
.jb-newsletter-panel .mailpoet_submit {
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--green);
	border: none;
	padding: 0.9em 2.2em;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 500;
	font-size: 0.9rem;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}
.jb-newsletter-panel input[type="submit"]:hover,
.jb-newsletter-panel .mailpoet_submit:hover {
	background: var(--wp--preset--color--gold-deep);
	color: var(--wp--preset--color--white);
}

/* ---- Footer ---- */
.jb-footer a {
	color: var(--wp--preset--color--cream);
}
.jb-footer a:hover {
	color: var(--wp--preset--color--gold);
}

/* ---- Hero flourish ---- */
.jb-hero-title {
	text-wrap: balance;
}
