/*
Theme Name: macaronto
Theme URI: https://macarons.local/
Author: macaronto
Description: macaronto | マカロント オリジナルテーマ（お菓子・パン教室 / 焼き菓子販売）
Version: 2.0.0
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: macaronto
*/

/* ==========================================================================
   0. Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
	overflow-x: hidden;
	/* keeps the off-canvas mobile nav (translated off the right edge) from
	   ever becoming reachable by a horizontal scroll/swipe */
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; }
svg { display: block; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ==========================================================================
   1. Brand tokens — palette lifted directly from the shop's own macaron
      photography (caramel / rose / mauve shells on a white plate).
   ========================================================================== */
:root {
	--ink: #2C231D;
	--ink-soft: #6B5F57;
	--cream: #FBF5EA;
	--cream-deep: #F3E8D7;
	--paper: #FFFDF9;

	--caramel: #C08A4E;
	--caramel-deep: #9C6B34;
	--rose: #C4576B;
	--rose-deep: #9E3C4F;
	--mauve: #9C7E93;
	--mauve-deep: #7A5F72;

	--line: #E7D9C4;

	--font-latin: 'Fraunces', 'Times New Roman', serif;
	--font-jp-display: 'Shippori Mincho', 'Hiragino Mincho ProN', serif;
	--font-body: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;

	--container-width: 1120px;
	--radius-shell: 48% 52% 46% 54% / 54% 46% 54% 46%; /* same organic blob as the hero photo frame */
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

body {
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--cream);
	line-height: 1.9;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}

.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 24px;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.4; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--rose-deep);
	outline-offset: 3px;
}

.section { padding: 96px 0; position: relative; overflow: hidden; }
.section--soft { background: var(--cream-deep); }
.section--divide { border-top: 1px solid var(--line); }
.section > .container { position: relative; z-index: 1; }

/* Macaron-shell dots — the same ring/dot device used in the hero photo
   frame, repeated (in varying arrangements) as a quiet background texture
   so sections read as distinct "plates" even where two happen to share
   a background tone. Purely decorative, sits behind the content. */
.section-dots {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}
.section-dots span {
	position: absolute;
	border-radius: 50%;
	display: block;
}

.section-dots--a span:nth-child(1) { width: 240px; height: 240px; top: -70px; right: -70px; background: var(--rose); opacity: 0.08; }
.section-dots--a span:nth-child(2) { width: 150px; height: 150px; bottom: -40px; left: 6%; border: 1.5px solid var(--caramel); opacity: 0.35; }

.section-dots--b span:nth-child(1) { width: 270px; height: 270px; bottom: -100px; right: 6%; background: var(--caramel); opacity: 0.1; }
.section-dots--b span:nth-child(2) { width: 84px; height: 84px; top: 46px; left: -26px; background: var(--rose); opacity: 0.16; }

.section-dots--c span:nth-child(1) { width: 200px; height: 200px; top: -64px; right: 14%; border: 1.5px solid var(--mauve); opacity: 0.32; }
.section-dots--c span:nth-child(2) { width: 160px; height: 160px; bottom: -54px; left: -44px; background: var(--rose); opacity: 0.09; }

/* Variant d: tuned for the dark footer background */
.section-dots--d span:nth-child(1) { width: 230px; height: 230px; top: -70px; left: 8%; background: #E8A9B6; opacity: 0.1; }
.section-dots--d span:nth-child(2) { width: 170px; height: 170px; bottom: -60px; right: 10%; border: 1.5px solid var(--caramel); opacity: 0.3; }

/* Variant e: soft, small pair for the mobile menu panel */
.section-dots--e span:nth-child(1) { width: 150px; height: 150px; top: 20%; right: -50px; background: var(--rose); opacity: 0.1; }
.section-dots--e span:nth-child(2) { width: 110px; height: 110px; bottom: 12%; left: -36px; border: 1.5px solid var(--caramel); opacity: 0.3; }

/* Templates that render a single .container directly inside #main (all
   single/archive/page templates other than front-page.php, which builds
   its own full-width .section blocks) get consistent breathing room above
   the footer without doubling up on those .section paddings. */
#main > .container {
	padding-top: 16px;
	padding-bottom: 112px;
}

/* Page loader — macaron splash shown on a visitor's first page load per
   browser tab session (JS re-shows it as skipped/removed on repeat loads;
   see navigation.js and the inline script in header.php). */
.page-loader {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--cream);
	transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.page-loader__mark {
	animation: page-loader-bounce 0.9s var(--ease) both;
}
.page-loader__mark .macaron-mark { width: 96px; height: 56px; }

.page-loader.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

@keyframes page-loader-bounce {
	0% { opacity: 0; transform: translateY(-28px) scale(0.9); }
	55% { opacity: 1; transform: translateY(6px) scale(1.04); }
	75% { transform: translateY(-6px) scale(0.99); }
	100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Reveal-on-scroll (progressive enhancement; content is visible without JS) */
.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   2. Signature mark + section headings
   ========================================================================== */
.macaron-mark__top,
.macaron-mark__bottom { fill: var(--rose); }
.macaron-mark__filling { fill: var(--paper); }

.section-heading {
	text-align: center;
	margin-bottom: 52px;
}
.section-heading__eyebrow {
	display: flex;
	justify-content: center;
	margin-bottom: 18px;
}
.section-heading__title {
	font-family: var(--font-latin);
	font-style: italic;
	font-weight: 500;
	font-size: clamp(2rem, 4vw, 2.6rem);
	color: var(--ink);
	letter-spacing: 0.01em;
}
.section-heading__title--jp {
	font-family: var(--font-jp-display);
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.04em;
}
.section-heading__lead {
	margin-top: 14px;
	color: var(--ink-soft);
	font-size: 0.95rem;
	letter-spacing: 0.03em;
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 15px 32px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.92rem;
	letter-spacing: 0.04em;
	border: 1.5px solid transparent;
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--gold {
	background: var(--caramel);
	color: var(--paper);
	box-shadow: 0 8px 20px -8px rgba(156, 107, 52, 0.6);
}
.btn--gold:hover { background: var(--caramel-deep); }

.btn--cta {
	background: var(--rose);
	color: var(--paper);
	box-shadow: 0 8px 20px -8px rgba(158, 60, 79, 0.55);
}
.btn--cta:hover { background: var(--rose-deep); }

.btn--outline {
	background: transparent;
	border-color: var(--caramel);
	color: var(--caramel-deep);
}
.btn--outline:hover {
	background: var(--caramel);
	color: var(--paper);
}

/* ==========================================================================
   4. Header / Navigation
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(251, 245, 234, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
	max-width: var(--container-width);
	margin: 0 auto;
}
.site-logo { display: flex; align-items: center; }
.site-logo img { max-height: 46px; width: auto; }
.site-logo__text {
	font-family: var(--font-latin);
	font-style: italic;
	font-size: 1.5rem;
	font-weight: 500;
	color: var(--ink);
}

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	padding: 8px;
	z-index: 110;
}
.nav-toggle__bar {
	width: 24px;
	height: 2px;
	background: var(--ink);
	transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-menu {
	display: flex;
	align-items: center;
	gap: 30px;
}
.primary-menu a {
	font-size: 0.86rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--ink);
	position: relative;
	transition: color 0.2s var(--ease);
}
.primary-menu a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 1.5px;
	background: var(--rose);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s var(--ease);
}
.primary-menu a:hover { color: var(--rose-deep); }
.primary-menu a:hover::after { transform: scaleX(1); }
.primary-menu .menu-item-instagram a { color: var(--rose-deep); font-weight: 700; }

.primary-menu-panel__mark { display: none; }
.primary-menu-panel .section-dots { display: none; }

.nav-overlay { display: none; }

@media (max-width: 860px) {
	.nav-toggle { display: flex; }

	.primary-menu-panel {
		display: flex;
		flex-direction: column;
		position: fixed;
		inset: 0 0 0 auto;
		width: 100vw;
		height: 100vh;
		height: 100dvh; /* accounts for mobile browser chrome so the panel truly reaches the bottom edge */
		overflow: hidden;
		background: var(--paper);
		transform: translateX(100%);
		transition: transform 0.3s var(--ease);
		z-index: 100;
	}
	.primary-menu-panel.is-open { transform: translateX(0); }
	.primary-menu-panel .section-dots { display: block; }

	.primary-menu-panel__mark {
		display: flex;
		justify-content: flex-start;
		flex-shrink: 0;
		position: relative;
		z-index: 1;
		padding: 40px 40px 0;
	}
	.primary-menu-panel__mark .macaron-mark { width: 46px; height: 27px; }

	.primary-menu {
		position: relative;
		z-index: 1;
		flex: 1 1 auto;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 28px;
		padding: 24px 40px 40px;
	}
	.primary-menu a { font-size: 1.05rem; }

	.nav-overlay {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 95;
		background: rgba(44, 35, 29, 0.4);
		border: none;
		padding: 0;
		margin: 0;
		cursor: default;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
	}
	.nav-overlay.is-open { opacity: 1; visibility: visible; }
}

/* ==========================================================================
   5. Hero — asymmetric split, real macaron photography, organic frame
   ========================================================================== */
.hero {
	padding: 64px 0 40px;
	overflow: hidden;
}
.hero__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
	align-items: center;
}
/* Photo first on mobile — a food business's hero should lead with the
   picture, not make people scroll past the buttons to see it. The H1 stays
   first in the actual markup (SEO/accessibility); this only reorders the
   visual presentation. */
.hero__figure { order: -1; }

@media (min-width: 900px) {
	.hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: 32px; }
	.hero__figure { order: 0; }
}

.hero__copy { text-align: center; }
@media (min-width: 900px) {
	.hero__copy { text-align: left; }
}

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-latin);
	font-style: italic;
	font-size: 0.95rem;
	color: var(--caramel-deep);
	letter-spacing: 0.08em;
	margin-bottom: 22px;
}
.hero__eyebrow::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 1px;
	background: var(--caramel);
}

.hero__title {
	font-size: clamp(2.4rem, 5.2vw, 3.6rem);
	line-height: 1.25;
	margin-bottom: 22px;
}
.hero__title-latin {
	display: block;
	font-family: var(--font-latin);
	font-style: italic;
	font-weight: 500;
	color: var(--ink);
}
.hero__title-jp {
	display: block;
	font-family: var(--font-jp-display);
	font-weight: 700;
	font-size: 0.55em;
	color: var(--rose-deep);
	letter-spacing: 0.06em;
	margin-top: 6px;
}

.hero__lead {
	max-width: 480px;
	margin: 0 auto 34px;
	color: var(--ink-soft);
	font-size: 1.02rem;
	letter-spacing: 0.02em;
}
@media (min-width: 900px) {
	.hero__lead { margin: 0 0 34px; }
}

.hero__actions {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}
@media (min-width: 900px) {
	.hero__actions { justify-content: flex-start; }
}

/* "View more" buttons under a section's card grid — always centered,
   unlike .hero__actions which goes left-aligned on desktop to match the
   hero's own left-aligned copy column. */
.section-actions {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 40px;
}

.hero__figure {
	position: relative;
	width: 100%;
	max-width: 460px;
	aspect-ratio: 1 / 1;
	margin: 0 auto;
	justify-self: center;
}
.hero__figure-shape {
	position: absolute;
	inset: 0;
	border-radius: 48% 52% 46% 54% / 54% 46% 54% 46%;
	overflow: hidden;
	box-shadow: 0 30px 60px -20px rgba(44, 35, 29, 0.35);
}
.hero__figure-shape img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Crossfade slider — same frame, several real photos. All frames stay
   absolutely positioned/stacked at all times (only opacity toggles) so
   swapping the active photo never changes the frame's layout/size. */
.hero-slider { position: relative; height: 100%; }
.hero-slider__img {
	position: absolute !important;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1.2s var(--ease);
}
.hero-slider__img.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
	.hero-slider__img { transition: none; }
}
.hero__figure-ring {
	position: absolute;
	inset: -18px;
	border: 1.5px solid var(--caramel);
	opacity: 0.5;
	border-radius: 46% 54% 44% 56% / 56% 44% 56% 44%;
	z-index: -1;
}
.hero__figure-dot {
	position: absolute;
	border-radius: 50%;
	z-index: -1;
}
.hero__figure-dot--left-1 {
	width: 90px;
	height: 90px;
	background: var(--rose);
	opacity: 0.15;
	bottom: -20px;
	left: -24px;
}
.hero__figure-dot--left-2 {
	width: 44px;
	height: 44px;
	background: var(--caramel);
	opacity: 0.35;
	top: 16%;
	left: -34px;
}
.hero__figure-dot--right-1 {
	width: 64px;
	height: 64px;
	background: var(--mauve);
	opacity: 0.28;
	top: -20px;
	right: 10%;
}

/* ==========================================================================
   6. About
   ========================================================================== */
.about {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: center;
}
@media (min-width: 860px) {
	.about { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
}

.about__figure {
	border-radius: 28px;
	overflow: hidden;
	box-shadow: 0 26px 48px -26px rgba(44, 35, 29, 0.4);
	aspect-ratio: 4 / 3;
}
.about__figure img { width: 100%; height: 100%; object-fit: cover; }

.about__copy .section-heading__eyebrow { justify-content: flex-start; margin-bottom: 14px; }
.about__copy .section-heading__title { margin-bottom: 18px; }

.about__owner {
	font-family: var(--font-jp-display);
	font-weight: 700;
	color: var(--rose-deep);
	letter-spacing: 0.04em;
	margin-bottom: 4px;
}
.about p { color: var(--ink-soft); letter-spacing: 0.02em; margin-bottom: 1.1em; }
.about__hours {
	display: inline-block;
	font-size: 0.85rem;
	color: var(--caramel-deep);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 9px 20px;
	margin-top: 6px;
}

@media (max-width: 859px) {
	.about__copy { text-align: center; }
	.about__copy .section-heading__eyebrow { justify-content: center; }
}

/* ==========================================================================
   7. Cards (lesson / product / news) — dome-shell silhouette
   ========================================================================== */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 30px;
}

.card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 22px;
	overflow: hidden;
	transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
	display: flex;
	flex-direction: column;
}
.card:hover {
	box-shadow: 0 22px 40px -22px rgba(44, 35, 29, 0.3);
	transform: translateY(-4px);
	border-color: var(--caramel);
}
.card__thumb {
	aspect-ratio: 4 / 3;
	background: var(--cream-deep);
	overflow: hidden;
	border-radius: var(--radius-shell);
	margin: 16px 16px 0;
}
.card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .card__thumb img { transform: scale(1.05); }
.card__body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.card__title { font-family: var(--font-jp-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; }
.card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 0.8rem;
	color: var(--ink-soft);
}
.card__price {
	margin-top: auto;
	font-family: var(--font-latin);
	font-style: italic;
	font-weight: 500;
	font-size: 1.1rem;
	color: var(--rose-deep);
}
.card__badge {
	display: inline-block;
	font-size: 0.72rem;
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--cream-deep);
	color: var(--rose-deep);
	width: fit-content;
}

/* ==========================================================================
   8. Instagram booking CTA — gift-ribbon tag treatment
   ========================================================================== */
.ig-cta {
	position: relative;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 28px;
	padding: 44px 28px;
	text-align: center;
	margin: 40px 0;
	overflow: hidden;
}
.ig-cta::before {
	content: "";
	position: absolute;
	top: -60px;
	right: -60px;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	background: var(--rose);
	opacity: 0.08;
}
.ig-cta::after {
	content: "";
	position: absolute;
	bottom: -50px;
	left: -50px;
	width: 130px;
	height: 130px;
	border-radius: 50%;
	background: var(--caramel);
	opacity: 0.1;
}
.ig-cta__heading {
	position: relative;
	font-family: var(--font-jp-display);
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: 0.03em;
	margin-bottom: 10px;
}
.ig-cta__lead {
	position: relative;
	color: var(--ink-soft);
	font-size: 0.9rem;
	margin-bottom: 22px;
}
.ig-cta__button { position: relative; }
.ig-cta__button svg { width: 18px; height: 18px; }

/* ==========================================================================
   9. Single lesson / product page
   ========================================================================== */
.breadcrumbs { padding-top: 24px; }
.breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 0.8rem;
	letter-spacing: 0.02em;
	color: var(--ink-soft);
}
.breadcrumbs__item { display: flex; align-items: center; gap: 8px; }
.breadcrumbs__item:not(:last-child)::after {
	content: "/";
	color: var(--caramel);
	opacity: 0.6;
}
.breadcrumbs__item a { color: var(--ink-soft); transition: color 0.2s var(--ease); }
.breadcrumbs__item a:hover { color: var(--rose-deep); }
.breadcrumbs__item span[aria-current] { color: var(--ink); font-weight: 700; }

.entry-header { text-align: center; padding: 56px 0 16px; }
.entry-title {
	font-family: var(--font-jp-display);
	font-weight: 700;
	font-size: 1.9rem;
	letter-spacing: 0.03em;
}
.entry-thumb {
	max-width: 720px;
	margin: 0 auto 32px;
	border-radius: 28px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	box-shadow: 0 24px 44px -26px rgba(44, 35, 29, 0.35);
}
.entry-thumb img { width: 100%; height: 100%; object-fit: cover; }

.lesson-detail__meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 18px;
	background: var(--cream-deep);
	border-radius: 20px;
	padding: 26px;
	margin-bottom: 32px;
}
.lesson-detail__meta dt {
	font-size: 0.76rem;
	color: var(--ink-soft);
	margin-bottom: 4px;
	letter-spacing: 0.04em;
}
.lesson-detail__meta dd { font-weight: 700; font-family: var(--font-jp-display); }

.entry-content { max-width: 720px; margin: 0 auto; }
.entry-content p { margin-bottom: 1.3em; letter-spacing: 0.02em; }

.product-detail {
	display: grid;
	grid-template-columns: 1fr;
	gap: 36px;
	max-width: 780px;
	margin: 0 auto;
}
@media (min-width: 720px) {
	.product-detail { grid-template-columns: 1fr 1fr; align-items: start; }
}
.product-detail__thumb {
	border-radius: 24px;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	box-shadow: 0 24px 44px -26px rgba(44, 35, 29, 0.32);
}
.product-detail__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__body p {
	margin-bottom: 1.1em;
	letter-spacing: 0.02em;
	color: var(--ink-soft);
}
.product-detail__price {
	font-family: var(--font-latin);
	font-style: italic;
	font-size: 1.6rem;
	color: var(--rose-deep);
	font-weight: 500;
	margin: 8px 0 22px;
}
.product-detail__note {
	background: var(--cream-deep);
	border-radius: 18px;
	padding: 18px 20px;
	font-size: 0.88rem;
	margin-top: 22px;
}

/* ==========================================================================
   10. Contact form (CF7) styling
   ========================================================================== */
.contact-section { background: var(--cream-deep); }
.wpcf7 form p { margin-bottom: 20px; }
.wpcf7 label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 0.9rem; letter-spacing: 0.02em; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 13px 16px;
	font-family: inherit;
	font-size: 1rem;
	background: var(--paper);
	transition: border-color 0.2s var(--ease);
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus { border-color: var(--rose); }
.wpcf7 textarea { min-height: 150px; }
.wpcf7-submit {
	display: inline-block;
	background: var(--rose);
	color: var(--paper);
	border: 1.5px solid var(--rose);
	border-radius: 999px;
	padding: 15px 40px;
	font-weight: 700;
	letter-spacing: 0.04em;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.wpcf7-submit:hover { background: var(--rose-deep); border-color: var(--rose-deep); }
.wpcf7-not-valid-tip { color: var(--rose-deep); font-size: 0.8rem; }
.wpcf7form-required-tag {
	background: var(--rose);
	color: var(--paper);
	font-size: 0.66rem;
	padding: 2px 9px;
	border-radius: 999px;
	margin-left: 6px;
}

/* ==========================================================================
   11. Footer
   ========================================================================== */
.site-footer {
	position: relative;
	overflow: hidden;
	background: var(--ink);
	color: var(--cream);
	padding: 64px 0 28px;
}
.site-footer > .container { position: relative; z-index: 1; }
.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 36px;
	margin-bottom: 40px;
}
@media (min-width: 720px) {
	.footer-grid { grid-template-columns: 1.2fr 1fr; }
}
.footer-shop__name {
	font-family: var(--font-latin);
	font-style: italic;
	font-size: 1.3rem;
	font-weight: 500;
	margin-bottom: 12px;
	color: var(--paper);
}
.footer-shop__line { color: rgba(251, 245, 234, 0.65); font-size: 0.9rem; margin-bottom: 6px; letter-spacing: 0.02em; }

.footer-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 14px;
}

.footer-instagram {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	background: var(--caramel-deep);
	color: var(--paper);
	border-radius: 999px;
}

.footer-tel {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--rose);
	color: var(--paper);
	border-radius: 999px;
	padding: 11px 22px;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.footer-nav-map {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.footer-map {
	position: relative;
	width: 100%;
	max-width: 420px;
	aspect-ratio: 16 / 11;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid rgba(251, 245, 234, 0.15);
	filter: grayscale(0.15) sepia(0.12) saturate(1.05);
}
.footer-map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.site-footer__bottom {
	text-align: center;
	font-size: 0.76rem;
	color: rgba(251, 245, 234, 0.4);
	border-top: 1px solid rgba(251, 245, 234, 0.15);
	padding-top: 22px;
	letter-spacing: 0.03em;
}

/* Mobile fixed quick-access bar — Instagram DM + phone call, always
   reachable without scrolling all the way to the real footer. */
.mobile-fixed-bar { display: none; }

@media (max-width: 860px) {
	.mobile-fixed-bar {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		box-shadow: 0 -6px 20px rgba(44, 35, 29, 0.18);
	}
	.mobile-fixed-bar__item {
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0px));
		color: var(--paper);
		font-size: 0.85rem;
		font-weight: 700;
		letter-spacing: 0.02em;
	}
	.mobile-fixed-bar__item--tel { background: var(--rose); }
	.mobile-fixed-bar__item--instagram { background: var(--caramel-deep); }

	/* keep the bar from covering the last bit of real content/footer */
	.site-footer { padding-bottom: 84px; }
}

/* ==========================================================================
   12. Misc / archive lists
   ========================================================================== */
.news-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; }
.news-list__item {
	display: flex;
	gap: 20px;
	padding: 20px 4px;
	border-bottom: 1px solid var(--line);
	transition: padding-left 0.2s var(--ease), color 0.2s var(--ease);
}
.news-list__item:hover { padding-left: 10px; color: var(--rose-deep); }
.news-list__date { color: var(--ink-soft); font-size: 0.85rem; white-space: nowrap; font-family: var(--font-latin); font-style: italic; }
.news-list__title { font-weight: 700; font-family: var(--font-jp-display); }

.empty-state { text-align: center; color: var(--ink-soft); padding: 48px 0; }

/* ==========================================================================
   Pagination — covers both WP's the_posts_pagination() output
   (nav.macaronto-pagination > div.nav-links > a/span.page-numbers) and the
   hand-rolled array pagination used on the lesson-listing template.
   ========================================================================== */
.macaronto-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 48px;
}
.macaronto-pagination .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}
.macaronto-pagination .page-numbers,
.macaronto-pagination__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--paper);
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--ink);
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.macaronto-pagination .page-numbers:hover,
.macaronto-pagination__link:hover {
	background: var(--caramel);
	border-color: var(--caramel);
	color: var(--paper);
}
.macaronto-pagination .page-numbers.current {
	background: var(--rose);
	border-color: var(--rose);
	color: var(--paper);
}
.macaronto-pagination .page-numbers.dots {
	border: none;
	background: none;
	color: var(--ink-soft);
}
.macaronto-pagination__status {
	font-family: var(--font-latin);
	font-style: italic;
	font-size: 0.95rem;
	color: var(--ink-soft);
	padding: 0 6px;
}

.error-404 { text-align: center; padding: 100px 0; }
.error-404__code { font-family: var(--font-latin); font-style: italic; font-size: 4.4rem; color: var(--caramel); font-weight: 500; }
