/**
 * Natella — база (design tokens). home.css — только главная.
 */

:root {
	/* Брейкпоинты (~750 / 990 / 1200 px) */
	--natella-bp-sm: 46.875em;
	--natella-bp-md: 61.875em;
	--natella-bp-lg: 75em;
	--natella-color-bg: #fefefe;
	--natella-color-surface: #fff;
	--natella-color-text: #2f2e2e;
	--natella-color-text-rgb: 47 46 46;
	--natella-color-muted: rgb(var(--natella-color-text-rgb) / 60%);
	--natella-color-border: #cfc9c8;
	--natella-color-primary-hover: #8a8584;
	--natella-color-button-bg: #1A1A1A;
	--natella-color-surface-tint: #a1a1a1;
	--natella-color-button-text: #fff;
	--natella-font-body: "Heebo", "Montserrat", system-ui, sans-serif;
	--natella-font-heading: "Heebo", serif;
	--natella-font-ui: "Heebo", "Montserrat", system-ui, sans-serif;
	--natella-font-weight: 400;
	--natella-page-margin: 1rem;
	--natella-content-max: 110ch;
	/* רוחב מרכזי כמו .site-container בתוך main פנימי */
	--natella-layout-inner-max: calc(var(--natella-content-max) + 2 * var(--natella-page-margin));
	--natella-narrow-max: 53.125rem;
	--natella-gap-sm: 0.5rem;
	--natella-gap-md: 0.9rem;
	--natella-gap-lg: 1rem;
	--natella-gap-xl: 1.5rem;
	--natella-gap-2xl: 2rem;
	--natella-radius: 2px;
	--natella-radius-control: 6px;
	--natella-section-title-size: clamp(1.5rem, 3.2vw, 2.25rem);
	--natella-section-eyebrow-size: 0.75rem;
	--natella-shadow-card: 0 4px 20px rgb(var(--natella-color-text-rgb) / 15%);
	--natella-shadow-button: 0 2px 3px rgb(0 0 0 / 20%);
	--natella-tracking: 0.03em;
	--natella-tracking-display: 0.0875em;
	--natella-text-sm: 0.8125rem;
	--natella-text-body: 0.875rem;
	--natella-text-xs: 0.75rem;
	--natella-hover-lift: 4px;
	--natella-hover-scale: 1.03;
}

@media (min-width: 36em) {
	:root {
		--natella-page-margin: 1rem;
	}
}

@media (min-width: 46.875em) {
	:root {
		--natella-page-margin: 2.5rem;
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--natella-font-body);
	font-weight: var(--natella-font-weight);
	font-size: var(--natella-text-body);
	line-height: 1.7;
	color: var(--natella-color-text);
	background: var(--natella-color-bg);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
	overflow-x: clip;
}

body.is-drawer-open {
	overflow: hidden;
	touch-action: none;
}

html.is-drawer-open {
	overflow: hidden;
}

.site-header {
	flex: 0 0 auto;
}

#primary,
.site-main {
	flex: 1 0 auto;
}

.site-footer {
	flex: 0 0 auto;
	margin-block-start: auto;
}

/* ========================================================================
   Full-width page overrides: appointment, collections hub, brides (page 309).
   User explicitly wants these pages edge-to-edge, no framed container.
   ======================================================================== */
.page-template-template-natella-appointment .natella-layout__inner,
.page-template-template-natella-collections-hub .natella-layout__inner,
.page-template-template-natella-contact-page .natella-layout__inner,
.page-template-template-natella-process .natella-layout__inner,
.page-template-template-natella-studio .natella-layout__inner,
.page-template-template-natella-designer .natella-layout__inner,
.page-template-template-natella-testimonials .natella-layout__inner,
.page-id-309 .natella-layout__inner {
	padding-inline: 0;
	max-width: none;
	width: 100%;
}

.page-template-template-natella-appointment .natella-appt-clone .natella-appt-section.section--page-width {
	max-width: none;
	padding-inline: 1.25rem;
}

:is(h1, h2, h3, .site-title, .entry-title, .widget-title) {
	font-family: var(--natella-font-heading);
	font-weight: var(--natella-font-weight);
	letter-spacing: var(--natella-tracking-display);
	text-transform: uppercase;
	line-height: 1.25;
}

/* Hebrew text has no uppercase and gets visually stretched by letter-spacing. */
:lang(he) :is(h1, h2, h3, h4, .site-title, .entry-title, .widget-title),
[dir="rtl"] :is(h1, h2, h3, h4, .site-title, .entry-title, .widget-title) {
	letter-spacing: 0;
	text-transform: none;
}

:lang(he) .button,
[dir="rtl"] .button,
:lang(he) .site-header .site-nav .menu > .menu-item > a,
[dir="rtl"] .site-header .site-nav .menu > .menu-item > a {
	letter-spacing: 0;
}

/* Подписи интерфейса — Montserrat */
.site-header .site-nav .menu > .menu-item > a,
.site-header__cta.button,
.catalog-card__collection,
.catalog-card__price,
.button {
	font-family: var(--natella-font-ui);
	letter-spacing: var(--natella-tracking);
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: var(--natella-color-text);
	text-decoration-thickness: 0.05em;
	text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
	color: var(--natella-color-primary-hover);
	text-decoration: none;
}

.site-container {
	width: 100%;
	margin-inline: auto;
	padding-inline: var(--natella-page-margin);
}

/* מקטע חיצוני (רוחב מלא + ריווח צדדים) ופנימי (רוחב תוכן מרכזי) */
.natella-layout__section {
	width: 100%;
	padding-inline: var(--natella-page-margin);
}

.natella-layout__inner {
	width: 100%;
	max-width: var(--natella-layout-inner-max);
	margin-inline: auto;
}

/* Унифицированная "полоса"-секция для внутренних страниц (studio, process, contact, appointment).
   Чередуется белая ↔ бежевая, как на главной. */
.natella-page-section {
	width: 100%;
	padding-block: clamp(2.5rem, 5vw, 4rem);
	padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.natella-page-section--beige {
	background-color: color-mix(in srgb, var(--natella-color-surface-tint) 27%, transparent);
}

.natella-page-section__inner {
	width: 100%;
	max-width: var(--natella-narrow-max);
	margin-inline: auto;
}

.natella-page-section--wide .natella-page-section__inner {
	max-width: none;
}

.natella-page-section__title {
	margin: 0 0 1rem;
	font-family: var(--natella-font-heading);
	font-size: var(--natella-section-title-size, clamp(1.6rem, 3vw, 2.25rem));
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
}

.natella-page-section__title::after {
	content: "";
	display: block;
	width: 32px;
	height: 1px;
	margin: 0.7rem auto 0;
	background: var(--natella-color-button-bg, #a1a1a1);
}

.natella-page-section__lead {
	max-width: var(--natella-narrow-max);
	margin: 0 auto var(--natella-gap-lg, 1.5rem);
	text-align: center;
	line-height: 1.7;
	color: var(--natella-color-muted);
}

/* Соседние "полосы": убираем встроенный gap у studio секций — фоны должны прилегать */
.natella-page-section + .natella-page-section {
	padding-block-start: clamp(2.5rem, 5vw, 4rem);
}

/* Subnav под hero: первая полоса-секция не должна получать встроенный воздух */
.natella-subnav + .natella-page-section {
	padding-block-start: clamp(1.5rem, 3vw, 2.5rem);
}

/* Когда entry-header используется как intro-полоса — нейтрализуем дефолтное выравнивание и max-width */
.natella-page-section .entry-header {
	text-align: center;
	max-width: none;
	margin: 0;
}

/* Подгоняем .entry-title под размер секционных заголовков, когда он выступает как __title */
.natella-page-section .entry-title.natella-page-section__title {
	font-size: var(--natella-section-title-size, clamp(1.6rem, 3vw, 2.25rem));
	line-height: 1.3;
	margin: 0 0 1.5rem;
	text-align: center;
}

/* Страницы контента — שכבת .site-container ללא כפילות מול .natella-layout__inner */
.site-main--inner .site-container,
.site-main--inner.site-container {
	max-width: var(--natella-layout-inner-max);
}

.site-main--inner .entry-content {
	max-width: var(--natella-content-max);
	margin-inline: auto;
}

.site-footer__col-heading {
	font-family: var(--natella-font-ui);
	letter-spacing: var(--natella-tracking);
}

/* Header — три зоны: слева primary, по центру логотип, справа secondary + CTA + иконки */
.site-header.site-container {
	background: var(--natella-color-surface);
	position: fixed;
	inset-block-start: 0;
	inset-inline: 0;
	z-index: 100;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: clamp(0.35rem, 1.5vw, 1rem);
	padding-block: 0.2rem;
	min-height: 3.25rem;
}

body {
	padding-block-start: var(--natella-header-h, 3.25rem);
}

.site-header__drawer {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.site-branding {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	text-align: center;
	pointer-events: auto;
}

.site-branding--logo .custom-logo-link {
	display: block;
	line-height: 0;
}

.site-branding--logo .custom-logo {
	max-height: 3rem;
	width: auto;
}

.site-title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.2;
}

.site-title a {
	color: var(--natella-color-text);
	text-decoration: none;
}

.site-title a:hover {
	color: var(--natella-color-text);
}

.site-header__rail {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: nowrap;
	gap: clamp(0.35rem, 1.2vw, 1.35rem);
}

.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.35rem;
	margin: 0;
	min-width: 44px;
	min-height: 44px;
	background: transparent;
	border: none;
	border-radius: 0;
	cursor: pointer;
	flex-shrink: 0;
}

.menu-toggle__bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--natella-color-text);
	transform-origin: center;
	transition: transform 0.3s ease, opacity 0.2s ease;
}

.site-header.is-open .menu-toggle__bar:nth-child(1) {
	transform: translateY(calc(2px + 0.35rem)) rotate(45deg);
}

.site-header.is-open .menu-toggle__bar:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.site-header.is-open .menu-toggle__bar:nth-child(3) {
	transform: translateY(calc(-1 * (2px + 0.35rem))) rotate(-45deg);
}

.site-header .site-nav .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-header .site-nav .menu > .menu-item > a {
	display: block;
	padding: 0.35rem clamp(0.4rem, 0.9vw, 0.85rem);
	font-size: 1rem;
	line-height: 1.4;
	position: relative;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 400;
}

.site-header .site-nav .menu a {
	color: var(--natella-color-text);
	text-decoration: none;
}

.site-header .site-nav .menu > .menu-item > a::after {
	display: none;
}

.site-header .site-nav .menu > .menu-item > a:hover,
.site-header .site-nav .menu > .menu-item > a:focus-visible {
	color: var(--natella-color-text);
	opacity: 0.65;
}

.site-header .site-nav .menu > .menu-item.current-menu-item > a {
	opacity: 1;
}

/* CTA в шапке: контур, без скругления. */
.site-header__cta.button {
	padding: 0.5rem 1.15rem;
	min-height: auto;
	min-width: 0;
	white-space: nowrap;
	background: transparent !important;
	color: var(--natella-color-button-bg) !important;
	border: 1px solid var(--natella-color-button-bg) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	filter: none;
}

.site-header__cta.button:hover,
.site-header__cta.button:focus-visible {
	filter: none;
	background: var(--natella-color-button-bg) !important;
	color: var(--natella-color-button-text) !important;
}

.site-header__cta--drawer,
.site-header__drawer-cta {
	display: none;
}

.site-header__tools {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	flex-shrink: 0;
	margin-inline-end: 0;
	margin-inline-start: auto;
}

.site-header__tools .site-header__tool--social + .site-header__tool--social {
	margin-inline-start: -0.25rem;
}

.site-header__testimonials,
.site-header__appointment,
.site-header__temp {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 1.1rem;
	background: var(--natella-color-button-bg);
	color: #fff !important;
	font-family: var(--natella-font-ui);
	font-size: 0.9rem;
	letter-spacing: 0.03em;
	text-decoration: none !important;
	border: 1px solid var(--natella-color-button-bg);
	transition: background 0.25s, color 0.25s;
	margin-inline-end: 0.4rem;
}

.site-header__temp {
	background: transparent;
	color: var(--natella-color-button-bg) !important;
	opacity: 0.85;
}

.site-header__temp:hover,
.site-header__temp:focus-visible {
	background: var(--natella-color-button-bg);
	color: #fff !important;
	opacity: 1;
}

.site-header__appointment {
	background: transparent;
	color: var(--natella-color-button-bg) !important;
}

.site-header__testimonials:hover,
.site-header__testimonials:focus-visible,
.site-header__appointment:hover,
.site-header__appointment:focus-visible {
	background: var(--natella-color-button-bg);
	border-color: var(--natella-color-button-bg);
	color: #fff !important;
}

.site-header__tool {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.25rem;
	min-width: 44px;
	min-height: 44px;
	color: var(--natella-color-text);
	text-decoration: none;
	line-height: 0;
}

.site-header__tool--social {
	min-width: 2rem;
	min-height: 2rem;
	width: 2rem;
	height: 2rem;
	padding: 0.2rem;
	color: var(--natella-color-text);
	border: 1px solid color-mix(in srgb, var(--natella-color-text) 30%, transparent);
	border-radius: 6px;
	opacity: 0.55;
	transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}

.site-header__tool--social .site-header__icon {
	width: 16px;
	height: 16px;
}

.site-header__tools .site-header__tool--social + .site-header__tool--social {
	margin-inline-start: 0.15rem;
}

.site-header__tool:hover,
.site-header__tool:focus-visible {
	opacity: 0.65;
	color: var(--natella-color-text);
}

.site-header__tool--social:hover,
.site-header__tool--social:focus-visible {
	opacity: 1;
	background: var(--natella-color-text);
	color: var(--natella-color-surface);
	border-color: var(--natella-color-text);
}

.site-header__icon {
	display: block;
}

.site-nav--secondary--mobile {
	display: none;
}

/* Header tools + submenu — desktop ≥ 46.875em (синхронизировано с JS toggle) */
@media (min-width: 46.875em) {
	.site-header__tool {
		min-width: 2rem;
		min-height: 2rem;
		padding: 0.2rem;
	}

	.site-header__tool--social {
		min-width: 1.75rem;
		min-height: 1.75rem;
		width: 1.75rem;
		height: 1.75rem;
		padding: 0.15rem;
	}

	.site-header__tool--social .site-header__icon {
		width: 14px;
		height: 14px;
	}

	.site-nav .menu > .menu-item {
		position: relative;
	}

	.site-nav .sub-menu {
		display: none;
		position: absolute;
		inset-inline-start: 0;
		inset-block-start: 100%;
		min-width: 14rem;
		margin: 0;
		padding: var(--natella-gap-sm) 0;
		list-style: none;
		background: var(--natella-color-surface);
		border: 1px solid var(--natella-color-border);
		border-radius: var(--natella-radius);
		box-shadow: var(--natella-shadow-card);
		z-index: 200;
	}

	.site-nav .menu-item:hover > .sub-menu,
	.site-nav .menu-item:focus-within > .sub-menu {
		display: block;
	}

	.site-nav .sub-menu .menu-item > a {
		padding: 0.35rem var(--natella-gap-lg);
		font-size: var(--natella-text-sm);
		font-weight: 400;
	}

	.site-nav .sub-menu .menu-item > a::after {
		display: none;
	}
}

@media (max-width: 46.8125em) {
	.site-header.site-container {
		flex-wrap: wrap;
		align-items: center;
	}

	.menu-toggle {
		display: flex;
		order: 1;
	}

	.site-branding {
		position: static;
		transform: none;
		order: 2;
		flex: 1 1 auto;
		min-width: 0;
	}

	.site-header__rail {
		order: 3;
		flex: 0 0 auto;
		min-width: 0;
		gap: 0.1rem;
	}

	.site-header__tools .site-header__appointment,
	.site-header__tools .site-header__testimonials,
	.site-header__tools .site-header__temp {
		display: none;
	}

	.site-header__drawer-cta {
		display: flex;
		flex-direction: column;
		gap: var(--natella-gap-sm);
		margin-block-start: var(--natella-gap-md);
		padding-block-end: var(--natella-gap-md);
	}

	.site-header__drawer-cta .button {
		width: 100%;
		justify-content: center;
	}

	.site-header__drawer-cta .site-header__appointment,
	.site-header__drawer-cta .site-header__testimonials {
		display: inline-flex;
		margin-inline-end: 0;
	}

	.site-nav--secondary--desktop {
		display: none !important;
	}

	.site-nav--secondary--mobile {
		display: block;
		width: 100%;
	}

	.site-header__cta--rail {
		display: none !important;
	}

	.site-header__cta--drawer {
		display: inline-flex !important;
		align-self: flex-start;
		margin-block-start: var(--natella-gap-md);
	}

	.site-header__drawer {
		order: 4;
		position: fixed;
		inset-block-start: var(--natella-header-h, 3.25rem);
		inset-inline: 0;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		height: calc(100dvh - var(--natella-header-h, 3.25rem));
		max-height: calc(100dvh - var(--natella-header-h, 3.25rem));
		background: var(--natella-color-surface);
		padding: var(--natella-gap-lg);
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		flex-direction: column;
		align-items: stretch;
		align-content: flex-start;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-0.5rem);
		transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
		z-index: 99;
	}

	.site-header.is-open .site-header__drawer {
		visibility: visible;
		opacity: 1;
		transform: translateY(0);
		transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
	}

	body.is-drawer-open::before {
		content: '';
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.5);
		z-index: 98;
		pointer-events: none;
	}

	.site-header .site-nav .menu {
		flex-direction: column;
		gap: var(--natella-gap-sm);
		padding-block: var(--natella-gap-md) 0;
		align-items: stretch;
	}

	.site-header__drawer .site-nav--primary .menu > .menu-item > a,
	.site-header__drawer .site-nav--secondary .menu > .menu-item > a {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		padding: 0.65rem 1.1rem;
		font-family: var(--natella-font-ui);
		font-size: 0.9rem;
		letter-spacing: 0.03em;
		text-transform: uppercase;
		text-decoration: none !important;
		background: #fff;
		color: var(--natella-color-button-bg) !important;
		border: 1px solid var(--natella-color-button-bg);
		transition: background 0.25s, color 0.25s;
	}

	.site-header__drawer .site-nav--primary .menu > .menu-item > a:hover,
	.site-header__drawer .site-nav--primary .menu > .menu-item > a:focus-visible,
	.site-header__drawer .site-nav--secondary .menu > .menu-item > a:hover,
	.site-header__drawer .site-nav--secondary .menu > .menu-item > a:focus-visible {
		background: var(--natella-color-button-bg);
		color: #fff !important;
		opacity: 1;
	}

	.site-header .site-nav .sub-menu {
		position: static;
		display: block;
		box-shadow: none;
		border: none;
		padding: var(--natella-gap-sm) 0 0;
		margin: 0;
		background: transparent;
		list-style: none;
	}

	.site-header .site-nav .sub-menu .menu-item {
		padding-inline-start: var(--natella-gap-md);
	}
}

/* Main — top padding 0 чтобы banner прилегал к header без зазора.
   Страницы без banner получают top-отступ через внутренние разделы. */
.site-main {
	padding-block: 0 3rem;
	min-height: 50vh;
}

.entry-featured,
.natella-page-hero {
	display: block;
	width: 100%;
	max-width: none;
	height: clamp(120px, 18vw, 220px);
	margin: 0 0 var(--natella-gap-xl);
	padding: 0;
	overflow: hidden;
}

.entry-featured__img,
.natella-page-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.entry--page .entry-header,
.entry--template .entry-header {
	text-align: start;
	max-width: var(--natella-narrow-max);
	margin-inline: auto;
}

.entry-header {
	margin-block-end: var(--natella-gap-lg);
}

.entry-title {
	margin: 0 0 var(--natella-gap-sm);
	font-size: clamp(1.5rem, 4.8vw, 3rem);
	line-height: 1;
}

.entry-content > *:first-child {
	margin-block-start: 0;
}

.entry-content > *:last-child {
	margin-block-end: 0;
}

.entry-content .alignwide {
	max-width: none;
	width: min(100%, 90vw);
	margin-inline: auto;
}

.entry-meta {
	font-size: var(--natella-text-sm);
	color: var(--natella-color-muted);
}

/* טיפוגרפיית גוף */
.natella-rte {
	font-family: var(--natella-font-body);
	font-weight: 400;
	line-height: 1.65;
}

.natella-rte :is(h2, h3, h4, h5, h6) {
	font-family: var(--natella-font-heading);
	font-weight: var(--natella-font-weight);
	letter-spacing: var(--natella-tracking-display);
	text-transform: uppercase;
	margin-block: clamp(1.25rem, 2.5vw, 2rem) clamp(0.75rem, 1.2vw, 1rem);
}

.natella-rte h2 {
	font-size: clamp(1.15rem, 2.5vw, 1.5rem);
}

.natella-rte h3 {
	font-size: clamp(1rem, 2vw, 1.25rem);
}

.natella-rte h4 {
	font-size: var(--natella-text-body);
}

.natella-rte > *:first-child,
.natella-rte > :first-child:is(h2, h3, h4, h5, h6) {
	margin-block-start: 0;
}

.natella-rte > *:last-child {
	margin-block-end: 0;
}

.natella-rte :is(p, ul, ol) {
	margin-block: 0 1em;
}

.natella-rte :is(ul, ol) {
	padding-inline-start: 1.5em;
}

.natella-rte blockquote {
	margin-block: 2rem;
	margin-inline: 0 1.5rem;
	padding-inline-start: 0.85rem;
	border-inline-start: 2px solid var(--natella-color-border);
	font-style: italic;
	font-weight: 400;
	color: var(--natella-color-text);
}

.natella-rte .wp-block-image,
.natella-rte figure {
	margin-block: var(--natella-gap-xl);
}

.natella-rte table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--natella-text-sm);
}

.natella-rte th,
.natella-rte td {
	text-align: start;
	padding: var(--natella-gap-sm) var(--natella-gap-md);
	border-block-end: 1px solid var(--natella-color-border);
}

.natella-rte thead th {
	font-family: var(--natella-font-ui);
	font-size: var(--natella-text-xs);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: rgb(var(--natella-color-text-rgb) / 5%);
}

/* גלריות — לא רצף אנכי של תמונות בודדות (בלוק גלריה + קלאסיק) */
.natella-rte .wp-block-gallery {
	display: grid;
	gap: var(--natella-gap-md);
	margin-block: var(--natella-gap-xl);
}

.natella-rte .wp-block-gallery.columns-default,
.natella-rte .wp-block-gallery:not(.is-cropped) {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr));
}

.natella-rte .wp-block-gallery.columns-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.natella-rte .wp-block-gallery.columns-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 46.8125em) {
	.natella-rte .wp-block-gallery.columns-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.natella-rte .wp-block-gallery .wp-block-image,
.natella-rte .wp-block-gallery figure {
	margin: 0;
}

.natella-rte .wp-block-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 3 / 4;
}

.natella-rte .gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr));
	gap: var(--natella-gap-md);
	margin-block: var(--natella-gap-xl);
	padding: 0;
}

.natella-rte .gallery-item {
	margin: 0;
	text-align: center;
}

.natella-rte .gallery-icon img {
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 3 / 4;
	vertical-align: middle;
}

.natella-rte .wp-block-columns {
	gap: var(--natella-gap-xl);
	margin-block: var(--natella-gap-xl);
}

.natella-rte .wp-block-column > .wp-block-image {
	margin-block: 0;
}

/* מדיה ברוחב מלא בתוך תוכן */
.natella-rte .alignwide {
	width: min(100%, 90vw);
	margin-inline: auto;
}

.natella-rte .alignfull {
	width: calc(100% + 2 * var(--natella-page-margin));
	max-width: none;
	margin-inline: calc(-1 * var(--natella-page-margin));
}

/* ארכיון בלוג */
.archive-posts__head {
	margin-block-end: var(--natella-gap-2xl);
	text-align: center;
}

.archive-posts__title {
	margin: 0 0 var(--natella-gap-md);
	font-size: clamp(1.25rem, 3vw, 1.85rem);
	line-height: 1.15;
}

.archive-posts__desc {
	max-width: var(--natella-content-max);
	margin-inline: auto;
	text-align: center;
	color: var(--natella-color-muted);
	font-size: var(--natella-text-sm);
}

.archive-posts__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
	gap: var(--natella-gap-lg);
}

.archive-posts__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
	background: var(--natella-color-surface);
	border: 1px solid var(--natella-color-border);
	border-radius: var(--natella-radius);
	overflow: hidden;
	transition: box-shadow 0.25s ease;
}

.archive-posts__card:hover,
.archive-posts__card:focus-visible {
	box-shadow: var(--natella-shadow-card);
	color: inherit;
}

.archive-posts__thumb {
	display: block;
	aspect-ratio: 16 / 10;
	width: 100%;
	object-fit: cover;
}

.archive-posts__card-title {
	font-family: var(--natella-font-heading);
	font-size: var(--natella-text-sm);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 400;
	padding: var(--natella-gap-lg);
	line-height: 1.35;
}

.archive-posts__excerpt {
	padding: 0 var(--natella-gap-lg) var(--natella-gap-lg);
	margin-block-start: calc(-1 * var(--natella-gap-sm));
	font-size: var(--natella-text-xs);
	color: var(--natella-color-muted);
	line-height: 1.5;
}

@media (min-width: 61.875em) {
	.archive-posts__grid {
		gap: var(--natella-gap-xl);
	}
}

/* Все основные кнопки темы */
.button,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem var(--natella-gap-xl);
	min-height: 0;
	background: var(--natella-color-button-bg);
	color: var(--natella-color-button-text) !important;
	border: 1px solid var(--natella-color-button-bg);
	border-radius: var(--natella-radius);
	font: inherit;
	font-weight: var(--natella-font-weight);
	font-size: var(--natella-text-body);
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: var(--natella-tracking);
	text-decoration: none;
	cursor: pointer;
	box-shadow: var(--natella-shadow-button);
	transition: filter 0.2s ease;
}

.button:hover,
.button:focus-visible,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
	filter: brightness(1.06);
	text-decoration: none;
}

/* Pre-footer pink CTA banner */
.natella-prefooter {
	background-color: color-mix(in srgb, var(--natella-color-surface-tint) 27%, transparent);
	padding-block: clamp(2.5rem, 6vw, 4rem);
	padding-inline: var(--natella-page-margin);
	text-align: center;
}

.natella-prefooter__inner {
	max-width: 760px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.natella-prefooter__form {
	width: 100%;
	margin-block-start: 1.5rem;
}

.natella-prefooter__form .natella-appt-ms__shell {
	background: transparent;
	box-shadow: none;
}

.natella-prefooter__title {
	font-family: var(--natella-font-heading);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	margin: 0;
	color: #4a2c1f;
	line-height: 1.25;
}

.natella-prefooter__text {
	margin: 0;
	color: #6e4434;
	max-width: 560px;
	line-height: 1.6;
}

.natella-prefooter__cta {
	display: inline-block;
	background: var(--natella-color-primary, #a1a1a1);
	color: #fff;
	padding: 0.85rem 2rem;
	border-radius: 999px;
	text-decoration: none;
	font-family: var(--natella-font-ui);
	letter-spacing: var(--natella-tracking);
	transition: background 0.2s ease, transform 0.2s ease;
}

.natella-prefooter__cta:hover,
.natella-prefooter__cta:focus-visible {
	background: var(--natella-color-primary-hover, #a8804f);
	color: #fff;
	transform: translateY(-1px);
}

/* Footer */
.site-footer {
	background: #fff;
	border-block-start: 1px solid var(--natella-color-border);
	margin-block-start: 0;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	max-width: var(--natella-layout-inner-max, 1280px);
	margin-inline: auto;
	padding: clamp(2rem, 5vw, 3.5rem) var(--natella-page-margin);
}

@media (min-width: 46em) {
	.site-footer__inner {
		grid-template-columns: 1.4fr repeat(3, 1fr);
		gap: 2.5rem;
	}
}

.site-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.site-footer__logo .custom-logo-link {
	display: inline-block;
}

.site-footer__logo img {
	max-height: 60px;
	width: auto;
}

.site-footer__title {
	font-family: var(--natella-font-heading);
	font-size: 1.5rem;
	color: var(--natella-color-text);
	text-decoration: none;
}

.site-footer__about {
	margin: 0;
	color: var(--natella-color-muted);
	line-height: 1.6;
	font-size: 0.95rem;
}

.site-footer__social {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.site-footer__social-label {
	font-family: var(--natella-font-ui);
	letter-spacing: var(--natella-tracking);
	font-size: 0.85rem;
	color: var(--natella-color-text);
}

.site-footer__social-list {
	display: flex;
	gap: 0.75rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.site-footer__social-list a {
	display: inline-flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--natella-color-border);
	border-radius: var(--natella-radius-control);
	color: var(--natella-color-text);
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-footer__social-list a:hover,
.site-footer__social-list a:focus-visible {
	background: var(--natella-color-primary, #a1a1a1);
	border-color: var(--natella-color-primary, #a1a1a1);
	color: #fff;
}

.site-footer__col {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.site-footer__col-title {
	font-family: var(--natella-font-ui);
	font-size: 0.85rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--natella-color-text);
	margin: 0 0 0.25rem;
	font-weight: 600;
}

[dir="rtl"] .site-footer__col-title,
:lang(he) .site-footer__col-title {
	text-transform: none;
	letter-spacing: 0.04em;
}

.site-footer__links,
.site-footer__contacts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.site-footer__links a,
.site-footer__contacts a {
	color: var(--natella-color-text);
	text-decoration: none;
	font-size: 0.95rem;
	transition: color 0.2s ease;
}

.site-footer__links a:hover,
.site-footer__contacts a:hover,
.site-footer__links a:focus-visible,
.site-footer__contacts a:focus-visible {
	color: var(--natella-color-primary-hover, #a8804f);
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

.site-footer__contacts li {
	color: var(--natella-color-muted);
	font-size: 0.95rem;
}

.site-footer__bar {
	border-block-start: 1px solid var(--natella-color-border);
	padding: 1rem var(--natella-page-margin);
	max-width: var(--natella-layout-inner-max, 1280px);
	margin-inline: auto;
}

.site-info {
	margin: 0;
	text-align: center;
	font-size: var(--natella-text-sm);
	color: var(--natella-color-muted);
	direction: ltr;
}

.site-info a {
	color: inherit;
}

.site-info .del {
	margin-inline: 0.4rem;
}

/* WooCommerce */
.site-main--woocommerce .woocommerce-breadcrumb {
	margin-block-end: var(--natella-gap-lg);
	font-size: var(--natella-text-sm);
	color: var(--natella-color-muted);
}

.site-main--woocommerce ul.products li.product:not(.catalog-card) {
	background: var(--natella-color-surface);
	border: 1px solid var(--natella-color-border);
	border-radius: var(--natella-radius);
	padding: var(--natella-gap-lg);
	text-align: center;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.site-main--woocommerce ul.products li.product:not(.catalog-card):hover {
	box-shadow: var(--natella-shadow-card);
	transform: translateY(-4px);
}

.site-main--woocommerce .woocommerce-loop-product__title {
	font-size: var(--natella-text-body);
	margin: 0.75rem 0 0.25rem;
}

.site-main--woocommerce .price {
	font-weight: 400;
}

/* חיפוש */
.site-main--search {
	padding-block: var(--natella-gap-2xl) 3rem;
}

.search-page__head {
	margin-block-end: var(--natella-gap-xl);
	text-align: center;
}

.search-page__title {
	margin: 0 0 var(--natella-gap-lg);
	font-size: clamp(1.25rem, 3vw, 1.75rem);
	font-weight: 400;
}

.search-page__form {
	display: flex;
	flex-wrap: wrap;
	gap: var(--natella-gap-sm);
	justify-content: center;
	max-width: 28rem;
	margin-inline: auto;
}

.search-page__form input[type="search"] {
	flex: 1 1 12rem;
	min-height: 44px;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--natella-color-border);
	border-radius: var(--natella-radius);
	font: inherit;
}

.search-page__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
	gap: var(--natella-gap-lg);
	max-width: 56rem;
	margin-inline: auto;
}

.search-page__item {
	margin: 0;
}

.search-page__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
	background: var(--natella-color-surface);
	border: 1px solid var(--natella-color-border);
	border-radius: var(--natella-radius);
	overflow: hidden;
	transition: box-shadow 0.25s ease;
}

.search-page__card:hover,
.search-page__card:focus-visible {
	box-shadow: var(--natella-shadow-card);
	color: var(--natella-color-primary-hover);
}

.search-page__media {
	display: block;
	aspect-ratio: 4 / 3;
	background: rgb(var(--natella-color-text-rgb) / 6%);
	overflow: hidden;
}

.search-page__media--empty {
	min-height: 6rem;
}

.search-page__thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.search-page__body {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: var(--natella-gap-md);
}

.search-page__kind {
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--natella-color-muted);
}

.search-page__name {
	font-size: var(--natella-text-body);
}

/* Utilities */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	width: auto;
	margin: 0;
	padding: 0.75rem var(--natella-gap-lg);
	background: var(--natella-color-text);
	color: var(--natella-color-button-text);
	z-index: 100000;
	inset-block-start: 0;
	inset-inline-start: 0;
	position: fixed;
}

/* ========================================================================
   Masonry galleries — classical [gallery] + Gutenberg .wp-block-gallery +
   pre-rendered .gallery HTML inside .gallery-spacing-custom wrappers.
   Default: 2 columns (brides). Collections hub override: 3 columns.
   Both break out of .natella-layout__inner padding for full-bleed.
   ======================================================================== */

:is(.natella-rte, .natella-collections-hub__panel-body) :is(.gallery, .wp-block-gallery) {
	display: block;
	columns: 2;
	column-gap: 5px;
	margin-inline: calc(-1 * var(--natella-page-margin));
	width: calc(100% + 2 * var(--natella-page-margin));
	max-width: none;
	padding: 0;
}

.natella-collections-hub__panel-body :is(.gallery, .wp-block-gallery) {
	columns: 3;
}

:is(.natella-rte, .natella-collections-hub__panel-body) .gallery-spacing-custom {
	margin-inline: calc(-1 * var(--natella-page-margin));
	width: calc(100% + 2 * var(--natella-page-margin));
	max-width: none;
}

:is(.natella-rte, .natella-collections-hub__panel-body) .gallery-spacing-custom :is(.gallery, .wp-block-gallery) {
	margin-inline: 0;
	width: 100%;
}

:is(.natella-rte, .natella-collections-hub__panel-body) :is(.gallery, .wp-block-gallery) > :is(.gallery-item, .wp-block-image, figure.wp-block-image) {
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	display: block;
	width: 100%;
	max-width: none;
	margin: 0 0 5px;
	padding: 0;
	float: none;
	text-align: initial;
	overflow: hidden;
	position: relative;
	background: transparent;
	border: 0;
}

/* Brides (page-id 309) — две аккуратные секции: портреты и репортаж.
   Группировка делается в the_content фильтре (inc/brides-page.php).
   Внутри каждой группы — равномерная сетка с зафиксированным
   aspect-ratio, object-fit:cover. Ничего не растягивается. */
.page-id-309 .entry--page > .entry-header {
	text-align: center;
	margin-block: clamp(1rem, 2.5vw, 2rem);
}

.page-id-309 .natella-rte .gallery-spacing-custom {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc((100% - 100vw) / 2);
	padding: 0;
}

.page-id-309 .natella-rte .gallery-spacing-custom > div,
.page-id-309 .natella-rte .gallery-spacing-custom > div > div,
.page-id-309 .natella-rte .gallery-spacing-custom > div > div > div:not(.gallery):not(.natella-brides-wrap):not(.natella-brides-section) {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.page-id-309 .natella-brides-wrap {
	display: flex;
	flex-direction: column;
	gap: clamp(3rem, 6vw, 5.5rem);
	padding-block: clamp(2rem, 4vw, 4rem);
	padding-inline: clamp(1rem, 3vw, 3rem);
}

.page-id-309 .natella-brides-section {
	display: block;
}

.page-id-309 .natella-brides-section__title {
	font-family: var(--natella-font-heading);
	font-weight: var(--natella-font-weight);
	font-size: clamp(1.4rem, 2.2vw, 2rem);
	line-height: 1.2;
	margin: 0 0 clamp(1rem, 2vw, 1.75rem);
	text-align: center;
	color: var(--natella-color-text);
}

.page-id-309 .natella-brides-gallery {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(0.35rem, 0.6vw, 0.6rem);
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.page-id-309 .natella-brides-gallery--landscapes {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-id-309 .natella-brides-gallery > .gallery-item {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	text-align: initial;
}

.page-id-309 .natella-brides-gallery > .gallery-item .gallery-icon,
.page-id-309 .natella-brides-gallery > .gallery-item a {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.page-id-309 .natella-brides-gallery--portraits .gallery-icon {
	aspect-ratio: 2 / 3;
}

.page-id-309 .natella-brides-gallery--landscapes .gallery-icon {
	aspect-ratio: 3 / 2;
}

.page-id-309 .natella-brides-gallery > .gallery-item img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center 30%;
	aspect-ratio: auto !important;
	transition: transform 0.6s ease;
}

.page-id-309 .natella-brides-gallery > .gallery-item:hover img {
	transform: scale(1.03);
}

/* Scroll-triggered reveal (site-wide). JS: assets/js/gallery-reveal.js */
.natella-reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
	will-change: opacity, transform;
}

.natella-reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.natella-reveal,
	.natella-reveal.is-visible {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* GLightbox trigger — cursor hint (desktop only) */
a.natella-lightbox {
	display: block;
	cursor: default;
}

@media (hover: hover) and (pointer: fine) {
	a.natella-lightbox {
		cursor: zoom-in;
	}
}

@media (max-width: 61.8125em) {
	.page-id-309 .natella-brides-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.page-id-309 .natella-brides-gallery--landscapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 46.8125em) {
	.page-id-309 .natella-brides-gallery,
	.page-id-309 .natella-brides-gallery--landscapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

:is(.natella-rte, .natella-collections-hub__panel-body) :is(.gallery-item, .wp-block-image, figure.wp-block-image) :is(a, .gallery-icon) {
	display: block;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

:is(.natella-rte, .natella-collections-hub__panel-body) :is(.gallery-item, .wp-block-image, figure.wp-block-image) img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

:is(.natella-rte, .natella-collections-hub__panel-body) :is(.gallery-item, .wp-block-image, figure.wp-block-image):hover img {
	transform: scale(1.06);
}

:is(.natella-rte, .natella-collections-hub__panel-body) .gallery-caption {
	display: none;
}

@media (max-width: 46.8125em) {
	:is(.natella-rte, .natella-collections-hub__panel-body) :is(.gallery, .wp-block-gallery),
	.natella-collections-hub__panel-body :is(.gallery, .wp-block-gallery) {
		columns: 2;
	}
}

@media (max-width: 30em) {
	:is(.natella-rte, .natella-collections-hub__panel-body) :is(.gallery, .wp-block-gallery),
	.natella-collections-hub__panel-body :is(.gallery, .wp-block-gallery) {
		columns: 1;
	}
}

/* Floating WhatsApp button (bottom-right, all pages) */
.natella-wa-float {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.natella-wa-float:hover,
.natella-wa-float:focus-visible {
	color: #fff;
	transform: scale(1.06);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media (min-width: 46.875em) {
	.natella-wa-float {
		right: 1.5rem;
		bottom: 1.5rem;
		width: 3.75rem;
		height: 3.75rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.natella-wa-float { transition: none; }
}

.site-footer__waze {
	display: inline-block;
	text-decoration: underline;
	text-underline-offset: 2px;
}
