/* ==========================================================================
   ZINGI – hlavné štýly
   ========================================================================== */

:root {
	--c-ground: #f6f3ed;
	--c-paper: #ffffff;
	--c-beige: #ede5d6;
	--c-line: #ddd2bf;
	--c-ink: #1d1d1b;
	--c-muted: #57524a;
	--c-gold: #c68a39;
	--c-gold-dark: #8a5a1c;
	--c-dark: #1d1d1b;
	--c-dark-line: #3b3933;
	--c-dark-muted: #d4cec2;
	--c-ginger: #c68a39;
	--c-honey: #e2b55c;
	--c-lemon: #e9d888;
	--c-success: #2f6b3a;
	--c-error: #a3312a;

	--f-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--f-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;

	--container: 1200px;
	--narrow: 800px;
	--gutter: clamp(16px, 4vw, 24px);
	--radius: 20px;
	--radius-lg: 28px;
	--section: clamp(64px, 9vw, 104px);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--c-ground);
	color: var(--c-ink);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; }
p, ul, ol, dl, figure { margin: 0; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--c-gold-dark); }
:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 100;
	background: var(--c-ink); color: var(--c-ground);
	padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--c-ground); }

/* Layout ----------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }

.section { padding-block: var(--section); }
.section--tight { padding-block: 0 var(--section); }
.section--flush-top { padding-top: 0; }
.section--beige { background: var(--c-beige); }
.section--dark { background: var(--c-dark); color: var(--c-ground); }
.section--dark a:hover { color: var(--c-honey); }

.section__head {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
	gap: 16px; margin-bottom: 40px;
}
.section__title {
	font-family: var(--f-display);
	font-size: clamp(36px, 5vw, 56px);
	letter-spacing: -0.01em;
	margin-bottom: 24px;
}
.section__head .section__title { margin-bottom: 0; }
.section__intro { max-width: 720px; margin-bottom: 48px; }
.section__intro p { font-size: 19px; color: var(--c-dark-muted); }

.eyebrow {
	font-size: 13px; font-weight: 600;
	letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--c-gold-dark);
	margin-bottom: 12px;
}
.pill {
	display: inline-block;
	background: var(--c-beige); color: var(--c-gold-dark);
	font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
	padding: 6px 14px; border-radius: 999px;
}

/* Buttons ---------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 26px;
	border: 1.5px solid transparent; border-radius: 999px;
	font: 600 16px/1.2 var(--f-body);
	text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.btn--dark { background: var(--c-ink); color: var(--c-ground); }
.btn--dark:hover { background: var(--c-gold-dark); color: #fff; }
.btn--gold { background: var(--c-gold); color: var(--c-ink); }
.btn--gold:hover { background: var(--c-ink); color: var(--c-ground); }
.btn--outline { border-color: var(--c-ink); color: var(--c-ink); }
.btn--outline:hover { background: var(--c-ink); color: var(--c-ground); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 600; text-decoration: none;
	border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Header ----------------------------------------------------------------- */
.announcement {
	background: var(--c-dark); color: var(--c-ground);
	text-align: center; font-size: 14px; padding: 9px var(--gutter);
}
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(246, 243, 237, .94);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--c-line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	min-height: 80px;
}
.site-logo img, .custom-logo { width: 180px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav__list {
	display: flex; gap: 28px;
	list-style: none; padding: 0;
	font-size: 15px; font-weight: 500;
}
.site-nav__list a { text-decoration: none; padding-block: 8px; }
.site-nav__list .current-menu-item > a,
.site-nav__list .current-menu-parent > a,
.site-nav__list a[aria-current] { color: var(--c-gold-dark); }
.nav-toggle {
	display: none;
	background: none; border: 0; padding: 8px; color: var(--c-ink); cursor: pointer;
	min-width: 44px; min-height: 44px;
}
.nav-toggle__close { display: none; }

@media (max-width: 960px) {
	/* backdrop-filter by z hlavičky urobil kontajner pre position: fixed – menu by malo výšku hlavičky. */
	.site-header { backdrop-filter: none; background: var(--c-ground); }
	.nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
	.site-nav {
		position: fixed; inset: 0 0 0 0; top: var(--header-bottom, 80px);
		flex-direction: column; align-items: stretch; gap: 24px;
		background: var(--c-ground);
		padding: 24px var(--gutter) 40px;
		overflow-y: auto;
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .2s, transform .2s, visibility .2s;
	}
	.site-nav__list { flex-direction: column; gap: 0; font-size: 22px; font-family: var(--f-display); font-weight: 600; }
	.site-nav__list a { display: block; padding-block: 14px; border-bottom: 1px solid var(--c-line); }
	.nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline; }
	.nav-open { overflow: hidden; }
}

/* Hero ------------------------------------------------------------------- */
.hero { padding-block: clamp(40px, 7vw, 80px) clamp(40px, 6vw, 64px); }
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 6vw, 72px); }
.hero__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__title {
	font-family: var(--f-display);
	font-size: clamp(48px, 8vw, 92px);
	line-height: 0.95;
	letter-spacing: -0.02em;
}
.hero__lead { font-size: clamp(18px, 2vw, 21px); color: var(--c-muted); max-width: 520px; }
.hero__media { flex: 1 1 420px; min-width: 0; }
.hero__media img {
	width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
	border-radius: var(--radius-lg);
}

/* Composition ------------------------------------------------------------ */
.composition { display: flex; flex-direction: column; gap: 12px; }
.composition__bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; gap: 3px; }
.composition__part--ginger { background: var(--c-ginger); }
.composition__part--honey { background: var(--c-honey); }
.composition__part--lemon { background: var(--c-lemon); }
.composition__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--c-muted); }
.composition__item { display: flex; align-items: center; gap: 6px; }
.composition__item::before { content: ""; width: 10px; height: 10px; border-radius: 50%; }
.composition__item--ginger::before { background: var(--c-ginger); }
.composition__item--honey::before { background: var(--c-honey); }
.composition__item--lemon::before { background: var(--c-lemon); }
.composition__item dd { margin: 0; font-weight: 600; color: var(--c-ink); }

.composition--large .composition__bar { height: 16px; }
.composition--large .composition__legend {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px 32px;
	margin-top: 8px; font-size: 16px;
}
.composition--large .composition__item { flex-direction: column-reverse; align-items: flex-start; gap: 0; }
.composition--large .composition__item::before { display: none; }
.composition--large .composition__item dd {
	font-family: var(--f-display); font-size: clamp(40px, 5vw, 56px); line-height: 1;
}
.composition--large .composition__item--ginger dd { color: var(--c-gold-dark); }

/* Benefits --------------------------------------------------------------- */
.benefits {
	list-style: none; padding: 0; margin-top: 16px;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 40px 40px;
}
.benefit { display: flex; gap: 18px; }
.benefit .icon { flex: none; color: var(--c-gold-dark); }
.benefit__title { font-family: var(--f-body); font-size: 18px; margin-bottom: 6px; }
.benefit p { color: var(--c-muted); }

/* Cards ------------------------------------------------------------------ */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 32px; }
.card-grid--products { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.card-grid--products .product-card__media { aspect-ratio: 4 / 3; }

.product-card {
	display: flex; flex-direction: column;
	background: var(--c-paper);
	border: 1px solid var(--c-line); border-radius: var(--radius-lg);
	overflow: hidden;
}
.product-card__media { display: block; background: var(--c-beige); aspect-ratio: 1 / 1; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-card__media img { transform: scale(1.03); }
.product-card__body { display: flex; flex-direction: column; gap: 14px; flex-grow: 1; padding: 28px; }
.product-card__body .eyebrow { margin: 0; }
.product-card__title { font-family: var(--f-display); font-size: 30px; }
.product-card__title a { text-decoration: none; }
.product-card__excerpt { color: var(--c-muted); }
.product-card__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: auto; padding-top: 8px; }
.product-card__price { font-weight: 600; }

.recipe-card__link { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.recipe-card__media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--c-line); }
.recipe-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.recipe-card__link:hover .recipe-card__media img { transform: scale(1.03); }
.recipe-card__title { font-family: var(--f-display); font-size: 28px; }
.recipe-card__excerpt { color: var(--c-muted); }

/* Uses (dark) ------------------------------------------------------------ */
.uses {
	list-style: none; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px;
}
.use {
	display: flex; flex-direction: column; gap: 8px;
	border: 1px solid var(--c-dark-line); border-radius: var(--radius); padding: 28px;
}
.use__big { font-family: var(--f-display); font-size: 44px; font-weight: 600; line-height: 1; color: var(--c-honey); }
.use__title { font-family: var(--f-body); font-size: 18px; }
.use p { color: var(--c-dark-muted); }
.shake-note { display: flex; align-items: center; gap: 12px; margin-top: 40px; color: var(--c-dark-muted); }
.shake-note .icon { flex: none; color: var(--c-honey); }

/* Split (story) ---------------------------------------------------------- */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 6vw, 72px); }
.split__media { flex: 1 1 420px; min-width: 0; }
.split__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.split__text p { color: var(--c-muted); font-size: 18px; }
.split__text .section__title { margin-bottom: 8px; }
.split__text .eyebrow { margin: 0; }
.split__media--stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split__media--stack img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.split__media--stack img:last-child { margin-top: 48px; }

/* FAQ (core/details) ----------------------------------------------------- */
.faq { border-top: 1px solid var(--c-line); margin-bottom: 32px; }
.wp-block-details,
.faq details {
	border-bottom: 1px solid var(--c-line);
	padding: 20px 0;
	margin: 0;
}
.wp-block-details summary {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	font-weight: 600; font-size: 18px; cursor: pointer; list-style: none;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+"; flex: none;
	font: 400 28px/1 var(--f-body); color: var(--c-gold-dark);
	transition: transform .2s;
}
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > :not(summary) { margin-top: 12px; color: var(--c-muted); }
.entry-content .wp-block-details { margin: 0; }
.entry-content .wp-block-details + :not(.wp-block-details) { margin-top: 48px; }

/* Gallery ---------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Newsletter ------------------------------------------------------------- */
.newsletter { padding-block: var(--section) 0; }
.section--beige + .newsletter, .gallery + .newsletter { padding-top: var(--section); }
.newsletter__box {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
	background: var(--c-gold); color: var(--c-ink);
	border-radius: var(--radius-lg);
	padding: clamp(32px, 5vw, 56px);
	margin-bottom: var(--section);
}
.newsletter__text { flex: 1 1 360px; }
.newsletter__text h2 { font-family: var(--f-display); font-size: clamp(32px, 4vw, 44px); margin-bottom: 8px; }
.newsletter__form { flex: 1 1 360px; display: flex; flex-wrap: wrap; gap: 12px; }
.newsletter__form input {
	flex: 1 1 220px; min-width: 0; min-height: 48px;
	font: inherit; padding: 12px 20px;
	border: 1.5px solid var(--c-ink); border-radius: 999px; background: var(--c-ground);
}
.newsletter__note { flex-basis: 100%; font-size: 13px; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--c-dark); color: var(--c-ground); padding-block: 64px 32px; font-size: 15px; }
.site-footer a { color: var(--c-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--c-honey); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 48px; }
.site-footer__logo { width: 160px; filter: invert(1) hue-rotate(180deg) brightness(1.15); margin-bottom: 12px; }
.site-footer__brand p { color: var(--c-dark-muted); }
.site-footer__title { font-family: var(--f-body); font-size: 15px; margin-bottom: 14px; }
.site-footer__list, .site-footer__social, .site-footer__legal { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__address { color: var(--c-dark-muted); }
.site-footer__social a { display: inline-flex; align-items: center; gap: 10px; }
.site-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
	border-top: 1px solid var(--c-dark-line); padding-top: 24px;
	color: var(--c-dark-muted); font-size: 14px;
}
.site-footer__legal { flex-direction: row; flex-wrap: wrap; gap: 24px; }

/* Page hero -------------------------------------------------------------- */
.page-hero { padding-block: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 56px); }
.page-hero__title { font-family: var(--f-display); font-size: clamp(42px, 6.5vw, 72px); letter-spacing: -0.015em; }
.page-hero__lead { margin-top: 20px; font-size: clamp(18px, 2vw, 20px); color: var(--c-muted); max-width: 680px; }

/* Entry content ---------------------------------------------------------- */
.entry-content { padding-bottom: var(--section); }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content h2 { font-family: var(--f-display); font-size: clamp(30px, 4vw, 40px); margin-top: 1.8em; }
.entry-content h3 { font-size: 20px; margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content img { border-radius: var(--radius); }
.entry-content .alignwide { margin-inline: calc(-1 * min(160px, (100vw - var(--narrow)) / 2 - var(--gutter))); }
.entry-content .wp-block-image figcaption { font-size: 14px; color: var(--c-muted); margin-top: 8px; }
.entry-content .wp-block-columns { gap: 24px; }
.entry-content .wp-block-quote {
	margin-inline: 0; padding-left: 24px; border-left: 3px solid var(--c-gold);
	font-family: var(--f-display); font-size: 26px; line-height: 1.3;
}
.entry-content .has-background { border-radius: var(--radius); padding: 28px; }

/* Product detail --------------------------------------------------------- */
.product__top { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 72px); padding-block: clamp(32px, 6vw, 64px); }
.product__media { flex: 1 1 440px; min-width: 0; }
.product__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-lg); background: var(--c-beige); }
.product__summary { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; align-self: center; }
.product__summary .eyebrow { margin: 0; }
.product__summary .composition { width: 100%; }
.breadcrumbs { font-size: 14px; }
.breadcrumbs a { color: var(--c-muted); }
.product__title { font-family: var(--f-display); font-size: clamp(38px, 5vw, 58px); }
.product__tagline { font-size: 20px; font-family: var(--f-display); font-style: italic; color: var(--c-gold-dark); }
.product__lead { color: var(--c-muted); font-size: 18px; }
.product__price { font-size: 22px; font-weight: 600; }
.product__note { font-size: 14px; color: var(--c-muted); }
.product__details { display: flex; flex-wrap: wrap; gap: 48px; }
.product__content { flex: 1 1 520px; min-width: 0; }
.product__content > :first-child { margin-top: 0; }
.product__facts { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding-bottom: var(--section); align-self: flex-start; }
.fact { background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 24px; }
.fact__title { font-family: var(--f-body); font-size: 16px; margin-bottom: 8px; }
.fact p, .fact__list { color: var(--c-muted); font-size: 15px; }
.fact__list { list-style: none; padding: 0; }
.fact__list li { display: flex; justify-content: space-between; padding-block: 6px; border-bottom: 1px solid var(--c-line); }
.fact__list li:last-child { border-bottom: 0; }
.fact--note { display: flex; align-items: center; gap: 12px; background: var(--c-beige); border-color: transparent; }
.fact--note .icon { flex: none; color: var(--c-gold-dark); }
.fact--note p { color: var(--c-ink); }

/* Recipe detail ---------------------------------------------------------- */
.recipe__media img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius-lg); }
.recipe__media { margin-bottom: clamp(32px, 5vw, 56px); }
.recipe__back { padding-bottom: var(--section); margin-top: calc(-1 * var(--section) + 24px); }

/* Forms ------------------------------------------------------------------ */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 !important; }
.field label { font-weight: 500; font-size: 15px; }
.field input, .field textarea {
	font: inherit; color: var(--c-ink);
	background: var(--c-paper);
	border: 1.5px solid var(--c-line); border-radius: 12px;
	padding: 12px 16px; min-height: 48px;
}
.field input:focus, .field textarea:focus { border-color: var(--c-gold); outline: none; box-shadow: 0 0 0 3px rgba(198, 138, 57, .25); }
.field--check { flex-direction: row; align-items: flex-start; gap: 12px; }
.field--check input { min-height: 0; width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--c-ink); }
.field--check label { font-weight: 400; color: var(--c-muted); }
.field--hp { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 12px; font-weight: 500; }
.notice--success { background: #e3efe4; color: var(--c-success); }
.notice--error { background: #f6e1df; color: var(--c-error); }

/* Misc ------------------------------------------------------------------- */
.post-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 32px; }
.post-list__title { font-family: var(--f-display); font-size: 30px; margin-bottom: 8px; }
.post-list__title a { text-decoration: none; }
.nav-links { display: flex; gap: 12px; margin-top: 40px; }
