/**
 * Zoet by Sandy — globale frontendstijlen
 * Aanvullend op Elementor Global Colors & Fonts.
 */

/* ===== Elementor layout fixes ===== */
body.zbs-site {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

body.zbs-site .site-header:not(.zbs-header),
body.zbs-site header#site-header,
body.zbs-site .hello-elementor .site-header {
	display: none !important;
}

body.zbs-site #content,
body.zbs-site .site-main,
body.zbs-site .page-content,
body.zbs-site .elementor-page .elementor {
	padding: 0 !important;
	margin: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
}

body.zbs-site .elementor-location-single .elementor,
body.zbs-site .elementor-location-archive .elementor {
	width: 100%;
}

.zbs-full-section.elementor-element,
.elementor-element.zbs-full-section {
	width: 100% !important;
	max-width: 100% !important;
	--width: 100%;
	--content-width: 100%;
}

.zbs-full-section > .e-con-inner,
.zbs-full-section.elementor-widget-html {
	padding: 0 !important;
	margin: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
}

.elementor-widget-html .elementor-widget-container {
	padding: 0 !important;
	margin: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
}

.elementor-location-header .e-con,
.elementor-location-header .elementor-widget-html,
.elementor-location-footer .e-con,
.elementor-location-footer .elementor-widget-html {
	padding: 0 !important;
	margin: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
}

.elementor-location-header,
.elementor-location-footer {
	width: 100%;
}

.zbs-block,
.zbs-block section {
	display: block;
	width: 100%;
	max-width: 100%;
}

:root {
	--zbs-primary: #7A2321;
	--zbs-primary-dark: #4A1513;
	--zbs-secondary: #A6412F;
	--zbs-accent: #D47732;
	--zbs-accent-soft: #E5A066;
	--zbs-cream: #F8EFE5;
	--zbs-cream-light: #FFF9F2;
	--zbs-chocolate: #3B211B;
	--zbs-muted: #765C52;
	--zbs-border: #E4C2A7;
	--zbs-white: #FFF9F1;
	--zbs-radius: 10px;
	--zbs-radius-lg: 12px;
	--zbs-shadow: 0 8px 32px rgba(59, 33, 27, 0.08);
	--zbs-shadow-hover: 0 14px 40px rgba(59, 33, 27, 0.12);
	--zbs-container: 1200px;
	--zbs-container-wide: 1360px;
}

/* Skip link */
.zbs-skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	z-index: 100000;
	background: var(--zbs-accent);
	color: var(--zbs-white);
	padding: 12px 20px;
	border-radius: var(--zbs-radius);
	font-weight: 700;
}
.zbs-skip-link:focus {
	left: 16px;
	top: 16px;
	width: auto;
	height: auto;
}

/* Container */
.zbs-container {
	width: min(var(--zbs-container), calc(100% - 64px));
	margin-inline: auto;
}
.zbs-container--wide {
	width: min(var(--zbs-container-wide), calc(100% - 64px));
}

/* Header */
.zbs-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
	background: transparent;
	box-shadow: none;
	backdrop-filter: none;
	transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease, transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}
body.admin-bar .zbs-header {
	top: 32px;
}
@media (max-width: 782px) {
	body.admin-bar .zbs-header {
		top: 46px;
	}
}
.zbs-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 88px;
	gap: 24px;
	padding: 12px 0;
}
.zbs-header__right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 28px;
	margin-left: auto;
}
.zbs-nav {
	flex-shrink: 0;
}
.zbs-header__toggle {
	display: none;
}
.zbs-front-page .zbs-header {
	opacity: 0;
	visibility: hidden;
	transform: translateY(-100%);
	pointer-events: none;
}
.zbs-header.is-scrolled {
	background: rgba(74, 21, 19, 0.96);
	backdrop-filter: blur(8px);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}
.zbs-front-page .zbs-header.is-scrolled {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}
.zbs-logo img {
	width: auto;
	height: auto;
	max-width: 130px;
	max-height: 72px;
	display: block;
	object-fit: contain;
}
.zbs-nav ul {
	display: flex;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.zbs-nav a {
	color: var(--zbs-white);
	text-decoration: none;
	font-family: "Nunito Sans", sans-serif;
	font-weight: 600;
	font-size: 15px;
	padding-bottom: 4px;
	border-bottom: 2px solid transparent;
	transition: color 0.2s, border-color 0.2s;
}
.zbs-nav a:hover,
.zbs-nav .current-menu-item > a,
.zbs-nav .current_page_item > a {
	color: var(--zbs-accent-soft);
	border-bottom-color: var(--zbs-accent);
}
.zbs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 12px 24px;
	border-radius: 8px;
	font-family: "Nunito Sans", sans-serif;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
	cursor: pointer;
	border: 2px solid transparent;
}
.zbs-btn--primary {
	background: var(--zbs-accent);
	color: var(--zbs-white);
	border-color: var(--zbs-accent);
}
.zbs-btn--primary:hover {
	background: var(--zbs-accent-soft);
	transform: translateY(-2px);
}
.zbs-btn--outline-light {
	background: transparent;
	color: var(--zbs-white);
	border-color: rgba(255, 249, 241, 0.7);
}
.zbs-btn--outline-light:hover {
	background: rgba(255, 249, 241, 0.1);
	transform: translateY(-2px);
}
.zbs-header__toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}
.zbs-header__toggle-bar {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--zbs-white);
	margin: 5px 0;
	transition: transform 0.2s;
}

/* Hero */
.zbs-hero {
	position: relative;
	min-height: 100svh;
	min-height: 100vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
}
.zbs-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
}
.zbs-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(74, 21, 19, 0.88) 0%, rgba(74, 21, 19, 0.55) 45%, rgba(74, 21, 19, 0.2) 100%);
}
.zbs-hero__content {
	position: relative;
	z-index: 2;
	padding: 140px 0 100px;
	max-width: 640px;
}
.zbs-hero__title {
	font-family: "Caveat", cursive;
	font-size: clamp(52px, 6vw, 84px);
	line-height: 1.05;
	color: var(--zbs-white);
	margin: 0 0 20px;
}
.zbs-hero__title-logo {
	display: block;
	width: min(100%, 460px);
	height: auto;
	margin: 0 0 20px;
}
.zbs-hero__text {
	font-family: "Lora", serif;
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.6;
	color: var(--zbs-white);
	margin: 0 0 32px;
	opacity: 0.95;
}
.zbs-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
.zbs-hero__scroll {
	position: absolute;
	bottom: 32px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	text-align: center;
	color: var(--zbs-white);
	text-decoration: none;
	font-size: 14px;
	opacity: 0.85;
	animation: zbs-bounce 2s ease infinite;
}
.zbs-hero__scroll:hover { opacity: 1; }
@keyframes zbs-bounce {
	0%, 100% { transform: translateX(-50%) translateY(0); }
	50% { transform: translateX(-50%) translateY(6px); }
}

/* Page hero (compact) */
.zbs-page-hero {
	position: relative;
	min-height: 320px;
	display: flex;
	align-items: center;
}
.zbs-page-hero--compact { min-height: 280px; }
.zbs-page-hero .zbs-hero__overlay {
	background: rgba(74, 21, 19, 0.72);
}
.zbs-page-hero .zbs-hero__content {
	max-width: 800px;
	padding: 120px 0 64px;
}

/* Sections */
.zbs-section {
	padding: 100px 0;
	width: 100%;
	display: block;
	box-sizing: border-box;
}
.zbs-section--cream { background: var(--zbs-cream-light); }
.zbs-section--light { background: var(--zbs-cream); }
.zbs-section--dark {
	background: linear-gradient(135deg, var(--zbs-primary-dark) 0%, var(--zbs-primary) 100%);
	color: var(--zbs-white);
}
.zbs-section__cta {
	text-align: center;
	margin-top: 40px;
}
.zbs-section-heading {
	text-align: center;
	margin-bottom: 48px;
}
.zbs-section-heading__accent {
	font-family: "Caveat", cursive;
	font-size: clamp(22px, 3vw, 28px);
	color: var(--zbs-accent);
	margin: 0 0 8px;
}
.zbs-section-heading__title {
	font-family: "Lora", serif;
	font-size: clamp(36px, 4vw, 54px);
	color: var(--zbs-chocolate);
	margin: 0;
}
.zbs-section--dark .zbs-section-heading__title { color: var(--zbs-white); }
.zbs-section-heading__heart {
	color: var(--zbs-accent);
	font-size: 14px;
	margin-top: 8px;
}

/* Welcome / two-column */
.zbs-welcome__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}
.zbs-welcome__image-wrap {
	position: relative;
}
.zbs-welcome__image {
	border-radius: var(--zbs-radius-lg);
	border: 2px solid var(--zbs-border);
	box-shadow: var(--zbs-shadow);
	width: 100%;
	height: auto;
	display: block;
}
.zbs-welcome__note {
	position: absolute;
	bottom: -16px;
	left: -16px;
	background: var(--zbs-cream-light);
	border: 1px solid var(--zbs-border);
	border-radius: var(--zbs-radius);
	padding: 12px 18px;
	font-family: "Caveat", cursive;
	font-size: 20px;
	color: var(--zbs-chocolate);
	box-shadow: var(--zbs-shadow);
}
.zbs-welcome__accent {
	font-family: "Caveat", cursive;
	font-size: 24px;
	color: var(--zbs-accent);
	margin: 0 0 8px;
}
.zbs-welcome__title {
	font-family: "Lora", serif;
	font-size: clamp(32px, 3.5vw, 44px);
	color: var(--zbs-chocolate);
	margin: 0 0 20px;
}
.zbs-welcome__text {
	font-family: "Nunito Sans", sans-serif;
	font-size: 17px;
	line-height: 1.7;
	color: var(--zbs-muted);
	margin: 0 0 28px;
}

/* Loop cards */
.zbs-loop-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.zbs-loop-card {
	background: var(--zbs-cream-light);
	border: 1px solid var(--zbs-border);
	border-radius: var(--zbs-radius);
	overflow: hidden;
	box-shadow: var(--zbs-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.zbs-loop-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--zbs-shadow-hover);
}
.zbs-loop-card__image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
.zbs-loop-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}
.zbs-loop-card:hover .zbs-loop-card__image img {
	transform: scale(1.03);
}
.zbs-loop-card__body { padding: 20px 22px 24px; }
.zbs-loop-card__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
	font-size: 13px;
}
.zbs-loop-card__cat {
	background: var(--zbs-accent);
	color: var(--zbs-white);
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.zbs-loop-card__title {
	font-family: "Lora", serif;
	font-size: 22px;
	color: var(--zbs-chocolate);
	margin: 0 0 10px;
}
.zbs-loop-card__excerpt {
	font-size: 15px;
	line-height: 1.6;
	color: var(--zbs-muted);
	margin: 0 0 14px;
}
.zbs-loop-card__link {
	color: var(--zbs-secondary);
	font-weight: 700;
	text-decoration: none;
	font-size: 15px;
}
.zbs-loop-card__link:hover { color: var(--zbs-accent); }

/* Filters */
.zbs-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-bottom: 40px;
}
.zbs-filters__btn {
	background: var(--zbs-cream-light);
	border: 1px solid var(--zbs-border);
	color: var(--zbs-chocolate);
	padding: 10px 18px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s;
}
.zbs-filters__btn:hover,
.zbs-filters__btn.is-active {
	background: var(--zbs-accent);
	border-color: var(--zbs-accent);
	color: var(--zbs-white);
}

/* Contact */
.zbs-contact__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}
.zbs-contact__accent {
	font-family: "Caveat", cursive;
	font-size: 24px;
	color: var(--zbs-accent-soft);
	margin: 0 0 8px;
}
.zbs-contact__title {
	font-family: "Lora", serif;
	font-size: clamp(32px, 3.5vw, 42px);
	color: var(--zbs-white);
	margin: 0 0 20px;
}
.zbs-contact__text {
	font-size: 17px;
	line-height: 1.7;
	color: rgba(255, 249, 241, 0.9);
	margin-bottom: 28px;
}
.zbs-contact-panel {
	background: var(--zbs-cream-light);
	border-radius: var(--zbs-radius-lg);
	padding: 32px;
	border: 1px solid var(--zbs-border);
}

/* Form */
.zbs-form__field {
	margin-bottom: 16px;
}
.zbs-form__field label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 6px;
	color: var(--zbs-chocolate);
}
.zbs-form__field input,
.zbs-form__field select,
.zbs-form__field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	background: var(--zbs-cream);
	border: 1px solid var(--zbs-border);
	border-radius: 8px;
	font-family: "Nunito Sans", sans-serif;
	font-size: 15px;
	color: var(--zbs-chocolate);
}
.zbs-form__field input:focus,
.zbs-form__field select:focus,
.zbs-form__field textarea:focus {
	border-color: var(--zbs-accent);
	outline: 2px solid var(--zbs-accent-soft);
	outline-offset: 2px;
}
.zbs-form__submit {
	width: 100%;
	margin-top: 8px;
}
.zbs-form__note {
	display: none;
}
.zbs-contact-list {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
	line-height: 2;
	font-size: 16px;
}
.zbs-contact-list a {
	color: inherit;
	text-decoration: none;
}
.zbs-contact-list a:hover {
	color: var(--zbs-accent-soft);
}
.zbs-contact__grid--light .zbs-contact-list a {
	color: var(--zbs-secondary);
}
.zbs-faq {
	max-width: 800px;
	margin-inline: auto;
}
.zbs-faq__title {
	text-align: center;
	margin-bottom: 32px;
}
.zbs-faq__item {
	margin-bottom: 12px;
	padding: 16px;
	border: 1px solid var(--zbs-border);
	border-radius: 8px;
	background: var(--zbs-cream-light);
}
.zbs-faq__item summary {
	font-weight: 700;
	cursor: pointer;
}
.zbs-faq__item p {
	margin-top: 12px;
	color: var(--zbs-muted);
	line-height: 1.6;
}
.zbs-contact-form input,
.zbs-contact-form select,
.zbs-contact-form textarea {
	background: var(--zbs-cream) !important;
	border: 1px solid var(--zbs-border) !important;
	border-radius: 8px !important;
}
.zbs-contact-form input:focus,
.zbs-contact-form select:focus,
.zbs-contact-form textarea:focus {
	border-color: var(--zbs-accent) !important;
	outline: 2px solid var(--zbs-accent-soft);
	outline-offset: 2px;
}

/* Footer */
.zbs-footer {
	background: var(--zbs-primary-dark);
	color: var(--zbs-white);
	padding: 72px 0 0;
}
.zbs-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(255, 249, 241, 0.12);
}
.zbs-footer__tagline {
	font-size: 15px;
	line-height: 1.7;
	color: rgba(255, 249, 241, 0.85);
	margin: 16px 0;
	max-width: 320px;
}
.zbs-footer__heading {
	font-family: "Lora", serif;
	font-size: 18px;
	margin: 0 0 16px;
}
.zbs-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.zbs-footer li { margin-bottom: 10px; }
.zbs-footer a {
	color: rgba(255, 249, 241, 0.85);
	text-decoration: none;
	font-size: 15px;
}
.zbs-footer a:hover { color: var(--zbs-accent-soft); }
.zbs-footer__bottom {
	text-align: center;
	padding: 24px 0;
	font-size: 14px;
	color: rgba(255, 249, 241, 0.7);
}

/* Icon boxes */
.zbs-values {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.zbs-value-card {
	text-align: center;
	padding: 28px 20px;
	background: var(--zbs-cream-light);
	border: 1px solid var(--zbs-border);
	border-radius: var(--zbs-radius);
}
.zbs-value-card__icon {
	font-size: 28px;
	color: var(--zbs-accent);
	margin-bottom: 12px;
}
.zbs-value-card__title {
	font-family: "Lora", serif;
	font-size: 18px;
	color: var(--zbs-chocolate);
	margin: 0 0 8px;
}
.zbs-value-card__text {
	font-size: 14px;
	color: var(--zbs-muted);
	line-height: 1.6;
	margin: 0;
}

/* CTA block */
.zbs-cta {
	text-align: center;
	padding: 72px 0;
	background: var(--zbs-cream);
}
.zbs-cta__title {
	font-family: "Lora", serif;
	font-size: clamp(28px, 3vw, 36px);
	color: var(--zbs-chocolate);
	margin: 0 0 12px;
}
.zbs-cta__text {
	color: var(--zbs-muted);
	margin: 0 0 24px;
	font-size: 17px;
}

/* Single baksel */
.zbs-single__hero img {
	width: 100%;
	border-radius: var(--zbs-radius-lg);
	margin-bottom: 32px;
}
.zbs-single__cat {
	display: inline-block;
	background: var(--zbs-accent);
	color: var(--zbs-white);
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
	.zbs-loop-grid { grid-template-columns: repeat(2, 1fr); }
	.zbs-footer__grid { grid-template-columns: 1fr 1fr; }
	.zbs-values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	.zbs-container,
	.zbs-container--wide {
		width: calc(100% - 36px);
	}
	.zbs-header__right {
		gap: 12px;
	}
	.zbs-header__inner {
		min-height: 72px;
	}
	.zbs-nav {
		display: none;
		position: fixed;
		top: 72px;
		right: 0;
		left: 0;
		background: var(--zbs-primary-dark);
		padding: 24px;
	}
	body.admin-bar .zbs-nav {
		top: calc(72px + 32px);
	}
	.zbs-nav.is-open { display: block; }
	.zbs-nav ul { flex-direction: column; gap: 16px; }
	.zbs-header__cta { display: none; }
	.zbs-header__toggle { display: block; }
	.zbs-hero { min-height: min(100svh, 800px); }
	.zbs-hero__content { padding-top: 120px; }
	.zbs-hero__actions { flex-direction: column; }
	.zbs-hero__actions .zbs-btn { width: 100%; }
	.zbs-welcome__grid,
	.zbs-contact__grid { grid-template-columns: 1fr; }
	.zbs-loop-grid { grid-template-columns: 1fr; }
	.zbs-footer__grid { grid-template-columns: 1fr; }
	.zbs-values { grid-template-columns: 1fr; }
	.zbs-logo img { max-width: 105px; }
	.zbs-section { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
	.zbs-hero__scroll { animation: none; }
	.zbs-loop-card,
	.zbs-gallery-card,
	.zbs-btn { transition: none; }
}

/* Bakselgalerij */
.zbs-baksel-gallery {
	width: 100%;
}

.zbs-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin-top: 32px;
}

.zbs-gallery-empty {
	grid-column: 1 / -1;
	text-align: center;
	color: var(--zbs-muted);
	padding: 48px 24px;
}

.zbs-gallery-card {
	border-radius: var(--zbs-radius-lg);
	overflow: hidden;
	background: var(--zbs-white);
	box-shadow: 0 8px 32px rgba(59, 33, 27, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zbs-gallery-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(59, 33, 27, 0.12);
}

.zbs-gallery-card__btn {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
	cursor: pointer;
	font: inherit;
	color: inherit;
}

.zbs-gallery-card__image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.zbs-gallery-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.zbs-gallery-card:hover .zbs-gallery-card__image img {
	transform: scale(1.04);
}

.zbs-gallery-card__body {
	padding: 20px 22px 24px;
}

.zbs-gallery-card__title {
	font-family: var(--zbs-font-heading);
	font-size: 20px;
	color: var(--zbs-chocolate);
	margin: 8px 0 10px;
	line-height: 1.3;
}

.zbs-gallery-card__excerpt {
	color: var(--zbs-muted);
	font-size: 15px;
	line-height: 1.55;
	margin: 0 0 12px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.zbs-gallery-card__link {
	font-size: 14px;
	font-weight: 700;
	color: var(--zbs-secondary);
}

.zbs-loop-grid .zbs-gallery-card {
	height: 100%;
}

/* Modal popup */
body.zbs-modal-open {
	overflow: hidden;
}

.zbs-modal[hidden] {
	display: none !important;
}

.zbs-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.zbs-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(59, 33, 27, 0.72);
	backdrop-filter: blur(4px);
}

.zbs-modal__panel {
	position: relative;
	width: min(960px, 100%);
	max-height: min(92vh, 900px);
	overflow-y: auto;
	background: var(--zbs-cream-light);
	border-radius: var(--zbs-radius-lg);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.zbs-modal__close {
	position: absolute;
	top: 12px;
	right: 16px;
	z-index: 2;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--zbs-chocolate);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.zbs-modal__gallery {
	position: relative;
	background: var(--zbs-chocolate);
}

.zbs-modal__image-wrap {
	aspect-ratio: 16 / 10;
	display: flex;
	align-items: center;
	justify-content: center;
}

.zbs-modal__image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.zbs-modal__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: var(--zbs-chocolate);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.zbs-modal__nav--prev { left: 12px; }
.zbs-modal__nav--next { right: 12px; }

.zbs-modal__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 12px 16px;
	background: var(--zbs-chocolate);
}

.zbs-modal__dot {
	width: 10px;
	height: 10px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	cursor: pointer;
	padding: 0;
}

.zbs-modal__dot.is-active {
	background: var(--zbs-accent);
	transform: scale(1.15);
}

.zbs-modal__content {
	padding: 28px 32px 36px;
}

.zbs-modal__cat {
	display: inline-block;
	background: var(--zbs-accent);
	color: var(--zbs-white);
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.zbs-modal__title {
	font-family: var(--zbs-font-heading);
	font-size: clamp(24px, 3vw, 32px);
	color: var(--zbs-chocolate);
	margin: 0 0 8px;
}

.zbs-modal__subtitle {
	font-family: var(--zbs-font-accent);
	font-size: 22px;
	color: var(--zbs-secondary);
	margin: 0 0 16px;
}

.zbs-modal__text {
	color: var(--zbs-muted);
	font-size: 16px;
	line-height: 1.7;
}

.zbs-modal__text p:first-child {
	margin-top: 0;
}

.zbs-modal__price {
	font-weight: 700;
	color: var(--zbs-chocolate);
	margin: 20px 0 0;
}

.zbs-modal__cta {
	margin-top: 20px;
}

/* Admin fotogalerij */
.zbs-admin-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 12px 0;
	padding: 0;
	list-style: none;
}

.zbs-admin-gallery li {
	position: relative;
	width: 96px;
	height: 96px;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid #ccd0d4;
}

.zbs-admin-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.zbs-admin-gallery .zbs-gallery-remove {
	position: absolute;
	top: 2px;
	right: 4px;
	width: 22px;
	height: 22px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

@media (max-width: 1024px) {
	.zbs-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
	.zbs-gallery-grid { grid-template-columns: 1fr; }
	.zbs-modal { padding: 12px; }
	.zbs-modal__content { padding: 20px 18px 28px; }
	.zbs-modal__nav { width: 36px; height: 36px; font-size: 22px; }
}
