/* ============ DESIGN TOKENS (from README.md) ============ */
:root {
	--color-accent: #F37D5B;
	/* Same lightness/saturation step down from the accent that the previous
	   pair used, so hover stays a shade of the brand colour rather than a
	   different orange. */
	--color-accent-hover: #E36846;
	--color-text: oklch(20% 0.01 60);
	--color-text-soft: oklch(38% 0.01 60);
	--color-bg: oklch(97% 0.012 60);
	--color-bg-alt: oklch(93% 0.025 45);
	--color-card-bg: oklch(98% 0.006 60);
	--color-white: oklch(99% 0.005 60);
	--color-footer-bg: oklch(18% 0.015 60);
	--color-footer-text: oklch(85% 0.01 60);
	--color-footer-text-2: oklch(70% 0.01 60);
	--color-footer-text-3: oklch(55% 0.01 60);
	--color-border: oklch(85% 0.01 60);
	--color-border-soft: oklch(90% 0.01 60);

	--font-display: 'Playfair Display', serif;
	--font-heading: 'Cormorant', serif;
	--font-body: 'Fauna One', serif;
	--font-ui: 'Jost', sans-serif;

	--radius-sm: 2px;
	--radius-md: 3px;
	--radius-lg: 4px;
	--container-max: 1240px;
	/* Same as max: sections used to alternate 1240/1140 and the page edge
	   visibly wobbled from section to section. */
	--container-narrow: 1240px;

	--ease-reveal: cubic-bezier(.16,.84,.44,1);

	/* Shared vertical rhythm - every major section uses one of these two, so
	   spacing stays uniform across the site. */
	--section-pad-y: clamp(44px, 7vw, 80px);
	--section-pad-sm: clamp(24px, 4vw, 40px);

	/* Floating corner buttons (cookie notice, scroll-to-top). The footer
	   derives its bottom padding from these, so the buttons can never sit on
	   top of footer content once the page is scrolled to the end. */
	--dock-offset: clamp(14px, 3vw, 26px);
	--dock-size: 44px;
	--dock-clear: calc(var(--dock-offset) + var(--dock-size) + 20px);
}

/* ============ RESET ============ */
html { color-scheme: light only; }
* { box-sizing: border-box; }
body {
	margin: 0;
	background: var(--color-bg);
	font-family: var(--font-ui);
	color: var(--color-text);
	overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-hover); }
::selection { background: var(--color-accent); color: var(--color-white); }
button { font-family: inherit; }
p { font-family: var(--font-body); }

.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding-left: clamp(16px, 5vw, 48px); padding-right: clamp(16px, 5vw, 48px); }
.container--narrow { max-width: var(--container-narrow); }

.btn {
	display: inline-block;
	padding: 15px 34px;
	font-family: var(--font-ui);
	font-size: 13px;
	letter-spacing: 0.12em;
	border-radius: var(--radius-sm);
	border: none;
	cursor: pointer;
	transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn--solid { background: var(--color-accent); color: var(--color-white); }
.btn--solid:hover { background: var(--color-accent-hover); color: var(--color-white); transform: translateY(-3px); box-shadow: 0 10px 20px oklch(55% 0.15 25 / 0.3); }
.btn--outline { background: transparent; border: 1px solid var(--color-white); color: var(--color-white); }
.btn--outline:hover { background: var(--color-white); color: var(--color-accent); }
.btn--outline-dark { background: transparent; border: 1px solid var(--color-text); color: var(--color-text); }
.btn--outline-dark:hover { background: var(--color-text); color: var(--color-white); }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-reveal), transform 0.9s var(--ease-reveal); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-fast] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-reveal), transform 0.7s var(--ease-reveal); }
[data-reveal-fast].is-visible { opacity: 1; transform: translateY(0); }

.kicker { font-size: 12px; letter-spacing: 0.25em; color: var(--color-accent); margin-bottom: 16px; }

/* ============ TOPBAR ============ */
.topbar {
	--topbar-h: 34px;
	height: var(--topbar-h);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0 14px;
	background: var(--color-footer-bg);
	color: var(--color-footer-text);
	font-family: var(--font-ui);
	font-size: 12px;
	letter-spacing: 0.08em;
	white-space: nowrap;
	overflow: hidden;
}
.topbar svg { flex-shrink: 0; color: var(--color-accent); }
.topbar strong { font-weight: 500; color: var(--color-white); }
@media (max-width: 479px) { .topbar { font-size: 11px; letter-spacing: 0.04em; } }

/* ============ HEADER ============ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	row-gap: 10px;
	padding: 16px 24px;
	gap: 20px;
	transition:
		padding 0.35s var(--ease-reveal),
		background-color 0.35s var(--ease-reveal),
		box-shadow 0.35s var(--ease-reveal);
}
/* The hero variant floats over the hero image, so it is fixed rather than
   sticky - sticky would reserve layout space and push the hero down. While the
   topbar is on screen the fixed header starts below it; once scrolled into the
   condensed state the bar is gone, so the header docks back to the top edge. */
.site-header--hero { position: fixed; top: 0; left: 0; right: 0; }
/* No-JS fallback; with JS running, main.js pins the header to the topbar's
   live bottom edge on every scroll, so `top` is deliberately NOT in the
   transition list - an eased top would lag behind the scroll position. */
body.has-topbar .site-header--hero { top: 34px; }
body.has-topbar .site-header--hero.is-stuck { top: 0; }
/* The blog index reuses the hero header but has no hero image behind it, so
   keep it solid and in flow there - white-on-white would be unreadable. */
body:not(.home) .site-header--hero { position: sticky; background-color: var(--color-accent); }
.site-header--shop,
.site-header--minimal { background: var(--color-accent); padding: 20px 24px; }
.site-header--minimal { justify-content: space-between; }

/* Condensed state, toggled by JS once the page scrolls past the threshold. */
.site-header.is-stuck {
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: var(--color-accent);
	box-shadow: 0 6px 30px oklch(20% 0.02 40 / 0.18);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.site-header.is-stuck {
		background-color: color-mix(in oklab, var(--color-accent) 88%, transparent);
		-webkit-backdrop-filter: blur(18px) saturate(160%);
		backdrop-filter: blur(18px) saturate(160%);
	}
}
.site-header.is-stuck .logo { font-size: 17px; }
.site-header.is-stuck .logo--minimal { font-size: 21px; }
@media (prefers-reduced-motion: reduce) {
	.site-header { transition: none; }
}
/* Keeps in-page anchor targets clear of the pinned header. */
html { scroll-padding-top: 90px; }
/* Mobile: logo left, hamburger + cart together on the right. */
@media (max-width: 859px) {
	.site-header--hero,
	.site-header--shop,
	.site-header--minimal {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		gap: 10px;
		padding: 12px 16px;
	}
	.site-header .logo { margin-right: auto; }
	.site-header .hamburger { order: 2; }
	.site-header .header-icons { order: 3; gap: 10px; }
}

.logo { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: 0.04em; color: var(--color-white); flex-shrink: 0; white-space: nowrap; display: flex; align-items: center; }
/* Size comes from Customizer → Site Identity via --svk-logo-w (separate
   desktop and mobile values, printed inline from functions.php). */
.logo__img { width: var(--svk-logo-w, 44px); height: auto; display: block; transition: width 0.35s var(--ease-reveal); }
.site-header.is-stuck .logo__img { width: calc(var(--svk-logo-w, 44px) * 0.85); }
.logo--shop { font-family: var(--font-heading); font-weight: 600; font-size: 20px; }
.logo--minimal { font-family: var(--font-heading); font-weight: 600; font-size: 26px; }

.hamburger { display: none; align-items: center; justify-content: center; width: 34px; height: 34px; background: none; border: 1px solid var(--color-white); border-radius: var(--radius-sm); color: var(--color-white); font-size: 15px; cursor: pointer; flex-shrink: 0; }
@media (max-width: 859px) { .hamburger { display: flex; } }

.main-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; letter-spacing: 0.02em; white-space: nowrap; flex-shrink: 1; min-width: 0; }
/* Items come from wp_nav_menu (or the matching fallback markup), so the list
   rather than .main-nav is the flex row. */
.main-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 26px; }
.main-nav a { color: var(--color-white); }
.main-nav .current-menu-item > a { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 859px) {
	.main-nav {
		display: none;
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: var(--color-accent);
		padding: 18px 24px;
		z-index: 50;
		box-shadow: 0 14px 24px oklch(20% 0.02 40 / 0.2);
		font-size: 14px;
		white-space: normal;
	}
	.main-nav.is-open { display: flex; }
	.main-nav__list { flex-direction: column; align-items: flex-start; gap: 6px; }
}

.header-icons { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.social-icon { color: var(--color-white); display: flex; }
@media (max-width: 859px) { .site-header--hero .social-icon { display: none; } }

.cart-link {
	flex-shrink: 0;
	white-space: nowrap;
	border: 1px solid oklch(99% 0.005 60 / 0.7);
	color: var(--color-white);
	background: transparent;
	padding: 11px 24px;
	font-size: 11px;
	letter-spacing: 0.06em;
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	gap: 9px;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
/* Inverts to a white pill on hover. The previous rule filled with the accent
   colour, which was invisible against the accent-coloured shop header. */
.cart-link:hover,
.cart-link:focus-visible { background-color: var(--color-white); border-color: var(--color-white); color: var(--color-accent); }
.cart-link__icon { display: flex; }
.cart-link--compact { padding: 9px 18px; gap: 7px; }

.cart-badge { background: var(--color-white); color: var(--color-accent); font-size: 10px; min-width: 17px; height: 17px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.cart-link:hover .cart-badge,
.cart-link:focus-visible .cart-badge { background: var(--color-accent); color: var(--color-white); }
.cart-badge.is-empty { display: none; }
.cart-badge.is-bumped { animation: cart-badge-bump 0.45s var(--ease-reveal); }
@keyframes cart-badge-bump {
	0%   { transform: scale(1); }
	40%  { transform: scale(1.35); }
	100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
	.cart-badge.is-bumped { animation: none; }
}

.minimal-back-link { color: var(--color-white); font-size: 15px; white-space: nowrap; }
/* On narrow screens the minimal header wrapped onto three rows, which is far
   too tall now that it is pinned. Collapse the back link to its arrow so the
   bar stays a single row. */
@media (max-width: 639px) {
	.site-header--minimal { padding: 12px 16px; gap: 12px; }
	.site-header--minimal .logo--minimal { font-size: 19px; }
	.site-header--minimal .header-icons { gap: 12px; }
	.minimal-back-link { font-size: 0; line-height: 1; }
	.minimal-back-link::before { content: '\2190'; font-size: 19px; }
}

/* ============ FOOTER ============ */
/* Bottom padding clears the floating corner buttons - see --dock-clear. */
.site-footer { background: var(--color-footer-bg); color: var(--color-footer-text); padding: var(--section-pad-y) 0 var(--dock-clear); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-bottom: 50px; border-bottom: 1px solid oklch(30% 0.01 60); }
.site-footer__brand { font-family: var(--font-display); font-size: 22px; color: oklch(98% 0.006 60); margin-bottom: 16px; letter-spacing: 0.04em; }
.site-footer__about { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--color-footer-text-2); max-width: 300px; }
.site-footer__col-title { font-size: 13px; letter-spacing: 0.08em; color: oklch(98% 0.006 60); margin-bottom: 20px; }
.site-footer__links { display: flex; flex-direction: column; gap: 12px; font-size: 14px; list-style: none; margin: 0; padding: 0; }
.site-footer__links a { color: var(--color-footer-text-2); }
.site-footer__links a:hover { color: var(--color-white); }
.site-footer__company { margin-top: 22px; padding-top: 18px; border-top: 1px solid oklch(30% 0.01 60); font-size: 12px; line-height: 1.8; color: var(--color-footer-text-3); }
.site-footer__links--muted { color: var(--color-footer-text-2); gap: 10px; }
.site-footer__bottom { padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--color-footer-text-3); }
.site-footer__social { display: flex; gap: 16px; }
.social-icon--footer { color: var(--color-footer-text-2); }

/* ============ HOMEPAGE ============ */
.hero { position: relative; height: 760px; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; }
@media (max-width: 859px) { .hero__bg { background-position: center 18%; } }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(20% 0.02 40 / 0.35) 0%, oklch(20% 0.02 40 / 0.1) 30%, oklch(20% 0.02 40 / 0.25) 100%); pointer-events: none; }
.hero__content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero__title { font-family: var(--font-display); font-style: italic; font-size: clamp(42px, 9vw, 76px); color: var(--color-white); font-weight: 500; text-shadow: 0 2px 24px oklch(10% 0.02 40 / 0.4); margin: 0; }
.hero__subtitle { font-size: 16px; letter-spacing: 0.35em; color: oklch(95% 0.01 60); margin-top: 18px; }
.hero__cta { margin-top: 34px; }

.section-bestsellers { padding-top: var(--section-pad-y); padding-bottom: var(--section-pad-sm); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 36px; }
.heading-lg { font-family: var(--font-heading); font-weight: 600; font-size: clamp(26px, 4vw, 36px); margin: 0; }
.heading-xl { font-family: var(--font-heading); font-weight: 600; line-height: 1; font-size: clamp(28px, 5vw, 42px); margin: 0 0 22px; }
.heading-xl--italic { font-style: italic; font-size: clamp(28px, 5vw, 40px); }
.scroll-arrows { display: flex; gap: 10px; }
.scroll-arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--color-border); background: none; cursor: pointer; font-size: 15px; color: oklch(30% 0.01 60); display: flex; align-items: center; justify-content: center; transition: border-color 0.25s ease, color 0.25s ease; }
.scroll-arrow:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* Cards are a whole fraction of the row, same as the related-products
   carousel. With a fixed card width the row fit 4.7 cards and the last one sat
   permanently sliced in half at the right edge. */
.product-scroll-row {
	--cols: 2;
	--gap: clamp(16px, 4vw, 30px);
	display: flex;
	gap: var(--gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.product-scroll-row::-webkit-scrollbar { display: none; }
.product-scroll-card {
	color: inherit;
	display: block;
	flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
	scroll-snap-align: start;
}
@media (min-width: 640px)  { .product-scroll-row { --cols: 3; } }
@media (min-width: 1000px) { .product-scroll-row { --cols: 4; } }
@media (prefers-reduced-motion: reduce) { .product-scroll-row { scroll-behavior: auto; } }
.product-scroll-card__img { width: 100%; height: clamp(140px, 42vw, 220px); margin-bottom: 16px; overflow: hidden; background: var(--color-bg); display: flex; align-items: center; justify-content: center; }
.product-scroll-card__img img { max-width: 80%; max-height: 80%; object-fit: contain; }
.product-scroll-card__name { font-size: 14px; color: oklch(25% 0.01 60); margin-bottom: 8px; line-height: 1.3; }
.product-scroll-card__price { font-size: 14px; color: var(--color-text); }

.section-about { padding-top: var(--section-pad-y); padding-bottom: var(--section-pad-y); display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 60px; align-items: center; }
.section-about__img { width: 100%; height: 440px; border-radius: var(--radius-lg); background-size: cover; background-position: center; }
.lead-text { font-family: var(--font-body); color: var(--color-text-soft); font-size: 18px; line-height: 1.89; margin: 0 0 32px; max-width: 440px; }

.section-alt { background: var(--color-bg-alt); }
.section-categories { padding: var(--section-pad-y) 0; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(88px, 26vw, 130px), 1fr)); gap: clamp(10px, 3vw, 18px); justify-items: center; }
.category-grid__item { display: flex; flex-direction: column; align-items: center; gap: 16px; color: inherit; width: 100%; max-width: 160px; }
.category-grid__item:hover { opacity: 0.7; }
.category-grid__img { width: 100%; aspect-ratio: 1/1; max-width: 160px; border-radius: 50%; overflow: hidden; box-shadow: 0 8px 18px oklch(20% 0.02 40 / 0.12); }
.category-grid__img img { width: 100%; height: 100%; object-fit: cover; }
.category-grid__name { font-family: var(--font-heading); font-weight: 600; font-size: 15px; text-align: center; }

.section-hotspots { padding: 0 0 var(--section-pad-y); }
.hotspot-map { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 560px; }
.hotspot-map img { width: 100%; height: 100%; object-fit: cover; }
.hotspot { position: absolute; padding-bottom: 220px; }
.hotspot__btn { width: 40px; height: 40px; border-radius: 50%; background: oklch(99% 0.005 60 / 0.9); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; color: oklch(30% 0.01 60); box-shadow: 0 4px 14px oklch(20% 0.02 40 / 0.25); transition: transform 0.25s ease; }
.hotspot__btn:hover { transform: scale(1.08); }
.hotspot__tooltip { display: none; position: absolute; top: 48px; left: 50%; transform: translateX(-50%); background: var(--color-white); border-radius: var(--radius-md); box-shadow: 0 10px 26px oklch(20% 0.02 40 / 0.25); padding: 14px 18px; width: 190px; text-align: left; z-index: 10; }
.hotspot.is-active .hotspot__tooltip { display: block; }
.hotspot__title { font-family: var(--font-heading); font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.hotspot__desc { font-size: 12px; color: oklch(45% 0.01 60); margin-bottom: 10px; line-height: 1.4; }
.underline-link { display: inline-block; margin-top: 34px; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: oklch(30% 0.01 60); border-bottom: 1px solid oklch(30% 0.01 60); padding-bottom: 3px; }

.section-quote { text-align: center; padding: clamp(56px, 9vw, 90px) clamp(20px, 5vw, 48px) clamp(60px, 10vw, 100px); }
.quote-text { font-family: var(--font-display); font-style: italic; font-size: 26px; max-width: 640px; margin: 0 auto 30px; line-height: 1.5; color: oklch(30% 0.01 60); }

.video-banner { position: relative; height: 480px; }
.video-banner video { width: 100%; height: 100%; object-fit: cover; }
.video-banner__overlay { position: absolute; inset: 0; background: oklch(20% 0.02 40 / 0.25); pointer-events: none; }

.section-special { padding-top: var(--section-pad-y); padding-bottom: var(--section-pad-y); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 50px; align-items: center; }
.special-carousel { display: flex; align-items: center; justify-content: center; gap: 14px; height: 380px; overflow: hidden; }
.special-carousel__side { flex: 0 0 18%; height: 82%; border-radius: var(--radius-md); overflow: hidden; opacity: 0.55; }
.special-carousel__side img, .special-carousel__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s ease; }
.special-carousel__main { flex: 0 0 56%; height: 100%; border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 20px 40px oklch(20% 0.02 40 / 0.18); }
.special-carousel__dots { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.special-carousel__dots button { width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0; cursor: pointer; background: var(--color-border); transition: background 0.3s ease; }
.special-carousel__dots button.is-active { background: var(--color-accent); }

.section-testimonials { padding: var(--section-pad-y) clamp(20px, 5vw, 48px); }
.auto-scroll-row { max-width: var(--container-narrow); margin: 0 auto; display: flex; gap: clamp(20px, 4vw, 40px); overflow-x: hidden; padding: 4px 4px 8px; }
/* Transform-based marquee: GPU-composited, so it glides instead of the 1px
   scrollLeft ticks the old interval produced. Content is duplicated once, so
   -50% lands exactly on the seam. Cards use margin (not flex gap) - with gap,
   -50% would misalign by half a gap. */
.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: svk-marquee 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes svk-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.marquee { overflow-x: auto; }
	.marquee__track { animation: none; }
}

.testimonial-card { text-align: center; flex: 0 0 min(320px, 80vw); margin-right: clamp(24px, 4vw, 48px); }
.testimonial-card__text { font-family: var(--font-display); font-style: italic; font-size: 18px; line-height: 1.6; color: oklch(28% 0.01 60); margin-bottom: 16px; }
.testimonial-card__author { font-size: 13px; letter-spacing: 0.1em; color: oklch(45% 0.01 60); }

/* Side padding lives on the inner .container - padding here pushed the grid
   off the global content edge. */
.section-instagram { padding: var(--section-pad-y) 0; text-align: center; }
.instagram-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.instagram-grid__item { width: 100%; aspect-ratio: 1/1; overflow: hidden; }
.instagram-grid__item img { width: 100%; height: 100%; object-fit: cover; }

/* ============ ARCHIVE HEADER (shop + category) ============ */
.shop-hero { position: relative; height: 320px; background: var(--color-accent); display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 clamp(16px, 5vw, 48px); }
.shop-hero__title { margin: 0; font-family: var(--font-heading); font-weight: 600; line-height: 1; font-size: clamp(32px, 6vw, 48px); color: var(--color-white); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.brand-logo { height: 64px; margin-bottom: 16px; }

/* ---- Category archive: editorial rows (shop archive uses the grid instead) ---- */
.section-category { padding-top: clamp(48px, 8vw, 90px); padding-bottom: clamp(48px, 8vw, 90px); }
.category-filters { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 50px; }
.select-filter {
	padding: 10px 34px 10px 16px;
	font-size: 13px;
	font-family: inherit;
	color: oklch(30% 0.01 60);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	background-color: var(--color-white);
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23999'%3E%3Cpath d='M5.5 7.5l4.5 5 4.5-5z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 14px;
}
.category-row { display: flex; align-items: center; flex-wrap: wrap; gap: 40px; padding: 50px 0; border-bottom: 1px solid var(--color-border-soft); }
.category-row--reverse { flex-direction: row-reverse; }
.category-row__text { flex: 1 1 320px; min-width: 0; }
.category-row__title-link { color: inherit; display: block; }
.category-row__title { font-family: var(--font-heading); font-weight: 600; line-height: 1.05; font-size: 40px; margin: 0 0 18px; }
.category-row__price { font-size: 17px; color: oklch(30% 0.01 60); margin-bottom: 26px; }
.category-row__img-wrap { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; }
.category-row__img { width: 100%; max-width: 340px; aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; padding: 24px; overflow: hidden; }
.category-row__img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.35s ease; }
.category-row__img:hover img { transform: scale(1.08); }
.category-empty { font-family: var(--font-body); color: var(--color-text-soft); font-size: 18px; line-height: 1.89; text-align: center; max-width: 440px; margin: 0 auto; padding: 60px 0; }

/* ============ SINGLE PRODUCT ============ */
.shop-hero--product { height: 260px; }
.breadcrumb-row { padding-top: 24px; font-size: 13px; color: oklch(50% 0.01 60); }
.product-split { padding-top: clamp(28px, 5vw, 44px); padding-bottom: var(--section-pad-y); display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 50px; align-items: center; }
.product-split__title { font-family: var(--font-heading); font-weight: 600; line-height: 1.05; font-size: clamp(28px, 4vw, 38px); margin: 0 0 20px; }
.product-split__excerpt { font-family: var(--font-body); font-size: 15.5px; line-height: 1.8; color: var(--color-text-soft); max-width: 480px; margin: 0 0 20px; }
.product-split__excerpt p { margin: 0 0 10px; }
.product-split__excerpt p:last-child { margin-bottom: 0; }
.product-split__price { font-size: 26px; color: oklch(28% 0.01 60); margin-bottom: 26px; }
.product-split__cart-form { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; }
.product-split__categories { font-size: 12px; color: oklch(55% 0.01 60); }
.product-split__img-wrap { display: flex; align-items: center; justify-content: center; }
.product-split__img { width: 100%; max-width: 380px; aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; padding: 30px; overflow: hidden; }
.product-split__img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.35s ease; }
.product-split__img:hover img { transform: scale(1.06); }

.qty-stepper { display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.qty-stepper__btn { width: 38px; height: 42px; border: none; background: none; font-size: 16px; cursor: pointer; }
.qty-stepper__value { width: 38px; text-align: center; font-size: 14px; }

.product-tabs { padding: clamp(48px, 8vw, 70px) clamp(16px, 5vw, 48px) clamp(56px, 9vw, 90px); }
.product-tabs__nav { display: flex; justify-content: center; gap: 36px; margin-bottom: 44px; border-bottom: 1px solid oklch(85% 0.02 60); flex-wrap: wrap; }
.product-tabs__btn { background: none; border: none; cursor: pointer; font-family: var(--font-heading); font-weight: 600; font-size: 17px; padding-bottom: 14px; border-bottom: 2px solid transparent; color: oklch(45% 0.01 60); }
.product-tabs__btn.is-active { color: var(--color-text); border-bottom-color: var(--color-accent); }
.product-tabs__panel { display: none; }
.product-tabs__panel.is-active { display: block; }
.product-tabs__panel p { font-size: 17px; line-height: 1.9; color: oklch(35% 0.01 60); }

.section-related { padding-top: var(--section-pad-y); padding-bottom: var(--section-pad-y); }

/* Related-products carousel: paged by arrows and dots, no automatic movement. */
.rel-carousel { max-width: var(--container-narrow); margin: 0 auto; }
.rel-carousel__track {
	--cols: 2;
	--gap: clamp(18px, 4vw, 40px);
	display: flex;
	gap: var(--gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 4px 0 8px;
	scrollbar-width: none;
}
.rel-carousel__track::-webkit-scrollbar { display: none; }
/* Cards are sized to a whole fraction of the track, overriding the fixed 220px
   used elsewhere. With a fixed width the track fit 4.38 cards and the fifth was
   permanently cut in half at the right edge. */
.rel-carousel__track > .related-card {
	flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
	scroll-snap-align: start;
}
@media (min-width: 640px)  { .rel-carousel__track { --cols: 3; } }
@media (min-width: 1000px) { .rel-carousel__track { --cols: 4; } }

.rel-carousel__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
/* One page of results needs no paging UI. */
.rel-carousel.is-static .rel-carousel__controls { display: none; }
.rel-carousel__dots { display: flex; align-items: center; gap: 9px; }
.rel-carousel__dots button {
	width: 8px; height: 8px; padding: 0;
	border: none; border-radius: 50%;
	background: var(--color-border);
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.3s ease;
}
.rel-carousel__dots button:hover { background: var(--color-text-soft); }
.rel-carousel__dots button.is-active { background: var(--color-accent); transform: scale(1.35); }
.rel-carousel .scroll-arrow[disabled] { opacity: 0.35; cursor: default; }
.rel-carousel .scroll-arrow[disabled]:hover { border-color: var(--color-border); color: oklch(30% 0.01 60); }

@media (prefers-reduced-motion: reduce) {
	.rel-carousel__track { scroll-behavior: auto; }
	.rel-carousel__dots button { transition: none; }
}
.section-heading-centered { text-align: center; max-width: 600px; margin: 0 auto 50px; }
.related-card { display: block; text-align: center; color: inherit; flex: 0 0 220px; }
.related-card__img { border-radius: var(--radius-md); aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; padding: 18px; margin-bottom: 16px; overflow: hidden; }
.related-card__img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.35s ease; }
.related-card:hover .related-card__img img { transform: scale(1.06); }
.related-card__name { font-family: var(--font-heading); font-weight: 600; font-size: 17px; margin-bottom: 6px; line-height: 1.25; }
.related-card__price { font-size: 14px; color: oklch(50% 0.01 60); }

/* product gallery: 2 extra images below the tabs (aspect 4/5 grid) */
.product-gallery { padding-top: var(--section-pad-y); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.product-gallery__item { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; }
.product-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* product tab content: karakteristike / uputstvo / sastav */
.char-grid { max-width: 780px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.char-card__title { font-family: var(--font-heading); font-weight: 600; font-size: 22px; color: var(--color-accent); margin-bottom: 8px; }
.char-card__text { font-family: var(--font-body); font-size: 15px; line-height: 1.75; color: oklch(35% 0.01 60); margin: 0; }
.uputstvo-list { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.uputstvo-list p { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: oklch(35% 0.01 60); margin: 0; }
.sastav-text { max-width: 640px; margin: 0 auto; text-align: left; }
.sastav-text p { font-family: var(--font-body); font-size: 14px; line-height: 1.8; color: oklch(45% 0.01 60); margin: 0; }

/* ============ CART / CHECKOUT-BY-INQUIRY ============ */
.cart-layout { padding-top: clamp(28px, 5vw, 44px); padding-bottom: var(--section-pad-y); display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 50px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 22px; container-type: inline-size; }
.cart-item { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; border-bottom: 1px solid var(--color-border-soft); padding-bottom: 22px; }
.cart-item__img { width: 80px; height: 80px; flex-shrink: 0; border-radius: var(--radius-md); overflow: hidden; background: var(--color-card-bg); }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__info { flex: 1 1 140px; min-width: 0; }
.cart-item__name { color: inherit; display: block; font-family: var(--font-heading); font-weight: 600; font-size: 17px; line-height: 1.3; margin-bottom: 4px; }
/* Prices in the cart/checkout take the product-card price look: same UI face,
   terracotta accent. */
.cart-item__price { font-size: 13px; color: var(--color-accent); }
.cart-item__controls { display: flex; align-items: center; gap: 14px; margin-left: auto; flex-shrink: 0; }
.qty-stepper--cart .qty-stepper__btn { width: 32px; height: 34px; font-size: 15px; }
.qty-stepper--cart .qty-stepper__value { width: 30px; font-size: 13px; }
.cart-item__line-total { width: 70px; text-align: right; font-size: 15px; color: var(--color-accent); }
/* When the cart column is narrow (mobile, or 2-col tablet), drop the controls
   to their own row so the product name always has full width. */
@container (max-width: 460px) {
	.cart-item__info { flex-basis: calc(100% - 98px); }
	.cart-item__controls { flex-basis: 100%; margin-left: 98px; justify-content: space-between; }
}
.cart-item__remove { background: none; border: none; color: oklch(55% 0.01 60); cursor: pointer; font-size: 13px; padding: 4px; }
.cart-item__remove:hover { color: var(--color-accent); }
.cart-empty { padding: 60px 0; text-align: center; color: oklch(50% 0.01 60); }

.checkout-card, .checkout-success { background: var(--color-card-bg); border-radius: var(--radius-lg); padding: 32px; position: sticky; top: 24px; }
.checkout-success { text-align: center; padding: 40px 32px; }
.checkout-line { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; color: oklch(45% 0.01 60); }
.checkout-line--border { padding-bottom: 16px; border-bottom: 1px solid oklch(88% 0.01 60); margin-bottom: 16px; }
.checkout-line--total { font-size: 15px; margin-bottom: 24px; color: var(--color-text); }
/* Prices stay in the UI face (Jost), matching the product cards - only labels
   use the display serif. */
.checkout-total-value { font-family: var(--font-ui); font-weight: 500; font-size: 20px; color: var(--color-accent); }
.checkout-card__form-title { font-family: var(--font-heading); font-weight: 600; font-size: 18px; margin-bottom: 16px; }
.checkout-form { display: flex; flex-direction: column; gap: 12px; }
.checkout-form input, .checkout-form textarea { padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 14px; font-family: inherit; resize: vertical; }
.checkout-form__error { color: var(--color-accent); font-size: 12px; }
.checkout-form__note { font-size: 11px; color: oklch(55% 0.01 60); margin-top: 12px; line-height: 1.6; }
.checkout-success__icon { font-size: 34px; margin-bottom: 10px; color: var(--color-accent); }
.checkout-success__title { font-family: var(--font-heading); font-weight: 600; font-size: 24px; margin-bottom: 12px; }

/* ============ CONTACT + STATIC PAGES ============ */
.contact-breadcrumb { max-width: 640px; margin: 0 auto; padding: 24px 32px 0; font-size: 13px; color: oklch(50% 0.01 60); }
.contact-wrap { max-width: 640px; margin: 0 auto; padding: 50px 32px 110px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.contact-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.contact-form input, .contact-form textarea { padding: 15px 22px; border: 1px solid var(--color-border); border-radius: 24px; font-family: inherit; font-size: 14px; color: oklch(25% 0.01 60); }
.contact-form textarea { border-radius: 14px; resize: vertical; }
.contact-form__submit { align-self: flex-start; border-radius: 24px; text-transform: uppercase; }
.contact-form__success { color: var(--color-accent); font-size: 14px; }
.contact-form__error { color: var(--color-accent); font-size: 13px; }

/* ---- Legal / static pages ----
   Long-form reading: the measure is capped near 68 characters, headings use the
   display serif rather than falling back to the body face, and the numbered
   sections get enough air to be scannable. */
/* Bottom padding only - the shorthand would wipe out .container's side padding
   and let the text run into the screen edges on a phone. */
.static-page { padding-bottom: 110px; }
.static-page__inner { max-width: 60ch; margin: 0 auto; }
.static-page__crumbs { font-family: var(--font-ui); font-size: 13px; color: oklch(55% 0.01 60); padding: 36px 0 30px; }
.static-page__crumbs span { margin: 0 4px; }
.static-page__rule { border-bottom: 1px solid var(--color-border-soft); margin-bottom: 40px; padding-top: 12px; }

.static-page__title { font-family: var(--font-heading); font-weight: 600; line-height: 1.1; font-size: clamp(30px, 5vw, 44px); margin: 0 0 14px; }
.static-page__meta { font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.16em; color: var(--color-accent); margin: 0 0 40px; padding-bottom: 26px; border-bottom: 1px solid var(--color-border-soft); }

.static-page__content { font-family: var(--font-body); font-size: 16.5px; line-height: 1.85; color: var(--color-text-soft); }
.static-page__content > *:first-child { margin-top: 0; }
.static-page__content p { margin: 0 0 20px; }
.static-page__content strong { color: var(--color-text); font-weight: 400; }
.static-page__content a { text-decoration: underline; text-underline-offset: 3px; }

/* Numbered sections sit directly under the page H1, so they are H2. The
   separator is a rule rather than a counter - the numbers are already in the
   text and a counter would double them. */
.static-page__content h2 {
	font-family: var(--font-heading); font-weight: 600;
	font-size: 21px; line-height: 1.3; color: var(--color-text);
	margin: 44px 0 12px; padding-top: 22px;
	border-top: 1px solid var(--color-border-soft);
}
.static-page__content h2:first-of-type { padding-top: 0; border-top: none; margin-top: 8px; }
/* Sub-sections, if a document ever needs them. */
.static-page__content h3 {
	font-family: var(--font-heading); font-weight: 600;
	font-size: 18px; line-height: 1.35; color: var(--color-text);
	margin: 30px 0 10px;
}

.static-page__content ul,
.static-page__content ol { margin: 0 0 22px; padding-left: 0; list-style: none; }
.static-page__content li { position: relative; padding-left: 22px; margin-bottom: 9px; }
.static-page__content ul > li::before {
	content: ''; position: absolute; left: 2px; top: 0.72em;
	width: 5px; height: 5px; border-radius: 50%; background: var(--color-accent);
}
.static-page__content ol { counter-reset: svk-ol; }
.static-page__content ol > li { counter-increment: svk-ol; }
.static-page__content ol > li::before {
	content: counter(svk-ol) '.'; position: absolute; left: 0; top: 0;
	color: var(--color-accent); font-family: var(--font-ui); font-size: 13px;
}

/* Wrapper is added by the theme so a wide table scrolls instead of forcing the
   whole page sideways on a phone. */
.static-page__table { overflow-x: auto; margin: 0 0 26px; -webkit-overflow-scrolling: touch; }
.static-page__content table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 13.5px; min-width: 460px; }
.static-page__content thead th {
	text-align: left; font-weight: 500; color: var(--color-text);
	font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
	padding: 0 14px 10px 0; border-bottom: 1px solid var(--color-border);
}
.static-page__content tbody td { padding: 13px 14px 13px 0; border-bottom: 1px solid var(--color-border-soft); vertical-align: top; line-height: 1.6; }
.static-page__content tbody tr:last-child td { border-bottom: none; }
.static-page__content tbody td:first-child { color: var(--color-text); white-space: nowrap; }

/* "Datum posljednje izmjene" trails every legal page - set it as a footnote. */
.static-page__content > p:last-child em { font-family: var(--font-ui); font-size: 12px; font-style: normal; letter-spacing: 0.06em; color: oklch(58% 0.01 60); }
.static-page__content > p:last-child { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--color-border-soft); }

@media (max-width: 599px) {
	.static-page__content { font-size: 15.5px; }
	.static-page__content h3 { margin-top: 34px; }
}

/* ============ 404 ============ */
.svk-body { min-height: 100vh; display: flex; flex-direction: column; }
.not-found-wrap { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 32px; }
.not-found-inner { max-width: 480px; }
.not-found-code { font-family: var(--font-heading); font-style: italic; font-weight: 600; font-size: clamp(70px, 14vw, 130px); line-height: 1; color: var(--color-accent); margin-bottom: 10px; }
.not-found-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ SHOP GRID (Svi Proizvodi) ============ */
.back-link-row { padding-top: 32px; font-size: 13px; }
/* ---- Shop archive: filter sidebar + product grid ---- */
.shop-layout { padding-top: 30px; padding-bottom: 90px; display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 900px) {
	.shop-layout { grid-template-columns: 218px 1fr; gap: 44px; }
	/* Offset clears the pinned header so the sidebar never hides beneath it. */
	.shop-sidebar { position: sticky; top: 92px; }
}

.shop-sidebar__toggle {
	display: none;
	width: 100%;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 18px;
	background: none;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	font-family: var(--font-ui);
	font-size: 13px;
	letter-spacing: 0.08em;
	color: var(--color-text);
	cursor: pointer;
}
.shop-sidebar__toggle:hover { border-color: var(--color-accent); color: var(--color-accent); }
.shop-sidebar__badge { background: var(--color-accent); color: var(--color-white); font-size: 10px; min-width: 17px; height: 17px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
@media (max-width: 899px) {
	.shop-sidebar__toggle { display: flex; }
	.shop-sidebar__inner { display: none; padding-top: 22px; }
	.shop-sidebar__inner.is-open { display: block; }
}

.filter-group { margin-bottom: 30px; }
.filter-group__title { font-family: var(--font-heading); font-weight: 600; font-size: 17px; letter-spacing: 0.03em; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--color-border-soft); }
.filter-list { list-style: none; margin: 0; padding: 0; }

.filter-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-left: -10px;
	padding: 7px 10px;
	font-size: 14px;
	color: var(--color-text-soft);
	border-radius: var(--radius-sm);
	transition: color 0.2s ease, background-color 0.2s ease;
}
.filter-link:hover { color: var(--color-accent); background-color: var(--color-card-bg); }
.filter-link.is-active { color: var(--color-accent); font-weight: 500; background-color: var(--color-bg-alt); }
@supports (background-color: color-mix(in oklab, red 10%, transparent)) {
	.filter-link.is-active { background-color: color-mix(in oklab, var(--color-accent) 9%, transparent); }
}
.filter-link__count { font-size: 11px; color: oklch(58% 0.01 60); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.filter-link.is-active .filter-link__count { color: var(--color-accent); }

.filter-clear { display: inline-block; font-size: 13px; color: var(--color-text-soft); text-decoration: underline; text-underline-offset: 3px; }
.filter-clear:hover { color: var(--color-accent); }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 1px solid var(--color-border-soft); }
.shop-toolbar__count { font-size: 13px; color: oklch(50% 0.01 60); }
.shop-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px; border: 1px solid var(--color-border); border-radius: 999px; font-size: 12px; color: var(--color-text-soft); transition: border-color 0.2s ease, color 0.2s ease; }
.shop-chip:hover { border-color: var(--color-accent); color: var(--color-accent); }
.shop-chip__x { font-size: 15px; line-height: 1; }

.shop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 3vw, 28px); }
@media (min-width: 560px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .shop-grid { grid-template-columns: repeat(4, 1fr); } }
.shop-card { background: var(--color-card-bg); border-radius: var(--radius-md); overflow: hidden; text-align: center; padding-bottom: 24px; display: flex; flex-direction: column; height: 100%; }
.shop-card__img { display: flex; align-items: center; justify-content: center; width: 100%; height: 220px; overflow: hidden; }
.shop-card__img img { max-width: 78%; max-height: 78%; object-fit: contain; }
.shop-card__body { padding-top: 20px; display: flex; flex-direction: column; align-items: center; flex: 1; }
.shop-card__cat { font-size: 12px; color: oklch(50% 0.01 60); letter-spacing: 0.04em; margin-bottom: 6px; }
.shop-card__name { color: inherit; display: block; font-family: var(--font-heading); font-weight: 600; font-size: 19px; margin-bottom: 8px; padding: 0 14px; }
.shop-card__price { font-size: 15px; color: var(--color-accent); margin-bottom: 16px; }
.shop-card__btn { margin-top: auto; padding: 11px 28px; }
.shop-empty { font-family: var(--font-body); color: var(--color-text-soft); font-size: 18px; line-height: 1.89; text-align: center; padding: 60px 0; }

/* ============ COOKIE CONSENT ============ */
/* Bottom-left dock: the notice itself, and the small button that stays behind
   after acceptance so the notice can always be reopened. */
.cookie-dock {
	position: fixed;
	left: var(--dock-offset);
	bottom: var(--dock-offset);
	z-index: 200;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	max-width: min(370px, calc(100vw - 28px));
}

.cookie-banner {
	background: var(--color-white);
	border: 1px solid var(--color-border-soft);
	border-radius: var(--radius-lg);
	box-shadow: 0 14px 40px oklch(20% 0.02 40 / 0.18);
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	animation: cookie-banner-in 0.45s var(--ease-reveal) both;
}
/* A class selector beats the UA sheet's [hidden]{display:none}, so `display:flex`
   above would keep the banner on screen even after it is hidden. This restores
   the attribute's effect - without it the "U redu" button appears to do nothing. */
.cookie-banner[hidden] { display: none; }
@keyframes cookie-banner-in {
	from { opacity: 0; transform: translateY(14px) scale(0.97); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-banner__text { font-family: var(--font-ui); font-size: 13px; color: var(--color-text-soft); margin: 0; line-height: 1.65; }
.cookie-banner__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cookie-banner__btn { padding: 10px 22px; font-size: 12px; flex-shrink: 0; }
.cookie-banner__btn:hover { transform: none; box-shadow: none; }
/* Refusing must be as easy to find as accepting, so the second button is a
   plain outline rather than something hidden away in a link. */
.cookie-banner__btn--ghost {
	font-family: var(--font-ui);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: transparent;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	color: var(--color-text-soft);
	cursor: pointer;
	transition: border-color 0.25s ease, color 0.25s ease;
}
.cookie-banner__btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }

.cookie-toggle {
	width: 42px; height: 42px;
	display: flex; align-items: center; justify-content: center;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 50%;
	color: var(--color-text-soft);
	cursor: pointer;
	box-shadow: 0 6px 18px oklch(20% 0.02 40 / 0.14);
	transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.cookie-toggle[hidden] { display: none; }
.cookie-toggle:hover { color: var(--color-accent); border-color: var(--color-accent); transform: translateY(-2px); }

/* Scroll-to-top sits opposite the cookie dock so the two never overlap. */
.scroll-top {
	position: fixed;
	right: var(--dock-offset);
	bottom: var(--dock-offset);
	z-index: 200;
	width: var(--dock-size); height: var(--dock-size);
	display: flex; align-items: center; justify-content: center;
	background: var(--color-accent);
	border: none;
	border-radius: 50%;
	color: var(--color-white);
	cursor: pointer;
	box-shadow: 0 8px 22px oklch(55% 0.15 25 / 0.35);
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.3s var(--ease-reveal), transform 0.3s var(--ease-reveal), background-color 0.25s ease;
}
.scroll-top[hidden] { display: none; }
.scroll-top.is-visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--color-accent-hover); transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
	.cookie-banner { animation: none; }
	.scroll-top { transition: opacity 0.2s linear; }
	.cookie-toggle:hover, .scroll-top:hover { transform: none; }
}

/* ============ CART DRAWER ============ */
/* Reserving the scrollbar gutter keeps the page from shifting sideways when
   the body scroll is locked while the drawer is open. */
html { scrollbar-gutter: stable; }
body.svk-drawer-open { overflow: hidden; }

.cart-drawer { position: fixed; inset: 0; z-index: 300; }
.cart-drawer[hidden] { display: none; }

.cart-drawer__scrim {
	position: absolute;
	inset: 0;
	background: oklch(20% 0.02 40 / 0.45);
	opacity: 0;
	transition: opacity 0.4s var(--ease-reveal);
}
.cart-drawer.is-open .cart-drawer__scrim { opacity: 1; }

.cart-drawer__panel {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	/* Never the full screen - a strip of the page stays visible on phones. */
	width: min(430px, 86vw);
	display: flex;
	flex-direction: column;
	background: var(--color-card-bg);
	box-shadow: -18px 0 50px oklch(20% 0.02 40 / 0.2);
	transform: translateX(100%);
	transition: transform 0.45s var(--ease-reveal);
}
.cart-drawer.is-open .cart-drawer__panel { transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
	.cart-drawer__scrim,
	.cart-drawer__panel { transition: none; }
}

.cart-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 24px 26px 18px;
	border-bottom: 1px solid var(--color-border-soft);
	flex-shrink: 0;
}
.cart-drawer__title { font-family: var(--font-heading); font-weight: 600; font-size: 26px; margin: 0; letter-spacing: 0.01em; }
.cart-drawer__close {
	width: 36px; height: 36px;
	display: flex; align-items: center; justify-content: center;
	background: none;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	color: var(--color-text-soft);
	cursor: pointer;
	flex-shrink: 0;
	transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}
.cart-drawer__close:hover { border-color: var(--color-accent); color: var(--color-accent); }

.cart-drawer__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	transition: opacity 0.2s ease;
}
/* Dimmed while an AJAX refresh is in flight. */
.cart-drawer__body.is-updating { opacity: 0.45; pointer-events: none; }

.cart-drawer__count { font-size: 12px; letter-spacing: 0.14em; color: var(--color-accent); margin: 22px 26px 0; font-family: var(--font-ui); }

.cart-drawer__items { display: flex; flex-direction: column; padding: 18px 26px 26px; gap: 20px; }

.cart-drawer-item { display: flex; gap: 15px; padding-bottom: 20px; border-bottom: 1px solid var(--color-border-soft); }
.cart-drawer-item:last-child { border-bottom: none; padding-bottom: 0; }
.cart-drawer-item__img { width: 78px; height: 78px; flex-shrink: 0; border-radius: var(--radius-md); overflow: hidden; background: var(--color-bg); }
.cart-drawer-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-drawer-item__body { flex: 1; min-width: 0; }
.cart-drawer-item__name { display: block; color: inherit; font-family: var(--font-heading); font-weight: 600; font-size: 16px; line-height: 1.3; margin-bottom: 3px; }
.cart-drawer-item__name:hover { color: var(--color-accent); }
.cart-drawer-item__unit { font-size: 12px; color: var(--color-accent); margin-bottom: 10px; }
.cart-drawer-item__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-drawer-item__total { font-size: 15px; color: var(--color-accent); white-space: nowrap; }
.qty-stepper--drawer .qty-stepper__btn { width: 30px; height: 30px; font-size: 14px; }
.qty-stepper--drawer .qty-stepper__value { width: 28px; font-size: 13px; }
.cart-drawer-item__remove { background: none; border: none; padding: 8px 0 0; font-size: 12px; color: oklch(58% 0.01 60); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cart-drawer-item__remove:hover { color: var(--color-accent); }

.cart-drawer__summary {
	margin-top: auto;
	padding: 22px 26px calc(22px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--color-border-soft);
	background: var(--color-white);
	flex-shrink: 0;
}
/* Free-shipping threshold nudge, shown in the drawer and on the cart page. */
.ship-progress { margin: 0 0 16px; }
.ship-progress__text { font-family: var(--font-ui); font-size: 12px; color: var(--color-text-soft); margin: 0 0 8px; line-height: 1.5; }
.ship-progress__bar { height: 3px; background: var(--color-border-soft); border-radius: 2px; overflow: hidden; }
.ship-progress__bar span { display: block; height: 100%; background: var(--color-accent); border-radius: 2px; transition: width 0.4s var(--ease-reveal); }
.ship-progress--done { font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.04em; color: var(--color-accent); margin: 0 0 16px; }
.shipping-free { color: var(--color-accent); }
@media (prefers-reduced-motion: reduce) { .ship-progress__bar span { transition: none; } }

.cart-drawer__line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; margin-bottom: 10px; }
.cart-drawer__line--muted { color: var(--color-text-soft); font-size: 13px; }
.cart-drawer__line--total { font-family: var(--font-heading); font-weight: 600; font-size: 19px; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--color-border-soft); }
.cart-drawer__line--total .cart-drawer__line-value { color: var(--color-accent); font-family: var(--font-ui); font-weight: 500; font-size: 17px; }
.cart-drawer__line-value { white-space: nowrap; }
.cart-drawer__checkout { display: block; width: 100%; text-align: center; margin-top: 18px; }
.cart-drawer__checkout:hover { transform: none; }
.cart-drawer__continue { display: block; width: 100%; margin-top: 12px; padding: 8px; background: none; border: none; font-size: 13px; color: var(--color-text-soft); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cart-drawer__continue:hover { color: var(--color-accent); }

.cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 40px 30px; }
.cart-drawer__empty-icon { color: var(--color-border); margin-bottom: 10px; }
.cart-drawer__empty-title { font-family: var(--font-heading); font-weight: 600; font-size: 21px; margin: 0; }
.cart-drawer__empty-text { font-family: var(--font-body); font-size: 15px; color: var(--color-text-soft); margin: 0 0 20px; }

/* ============ CHECKOUT (/kasa/) ============ */
/* Standard WooCommerce checkout markup, restyled - the theme suppresses
   WooCommerce's own stylesheets. */
/* padding-bottom only - the shorthand would wipe .container's side padding. */
.kasa-page { padding-bottom: 110px; }
.kasa-page .static-page__crumbs { padding: 36px 0 26px; }
.kasa-page__title { font-family: var(--font-heading); font-weight: 600; font-size: clamp(30px, 5vw, 42px); margin: 0 0 34px; }

/* The form has FOUR direct children: #customer_details, the "Vaša narudžba"
   heading, #order_review and #payment (payment is a sibling here, not nested
   in the review). Auto-placement scattered them, so every cell is assigned:
   fields fill the left column, heading + review + payment stack on the right. */
.kasa-page form.woocommerce-checkout { display: grid; grid-template-columns: 1fr; column-gap: 44px; align-items: start; }
@media (min-width: 900px) {
	.kasa-page form.woocommerce-checkout { grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto 1fr; }
	.kasa-page #customer_details { grid-column: 1; grid-row: 1 / 4; }
	.kasa-page #order_review_heading { grid-column: 2; grid-row: 1; }
	.kasa-page #order_review { grid-column: 2; grid-row: 2; }
	.kasa-page #payment { grid-column: 2; grid-row: 3; align-self: start; }
}

.kasa-page #customer_details .col-1,
.kasa-page #customer_details .col-2 { margin-bottom: 26px; }
.kasa-page h3 { font-family: var(--font-heading); font-weight: 600; font-size: 22px; margin: 0 0 18px; }
.kasa-page #order_review_heading { margin-top: 0; }

.kasa-page .form-row { margin: 0 0 14px; padding: 0; display: block; }
.kasa-page .form-row label { display: block; font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.05em; color: var(--color-text-soft); margin-bottom: 6px; }
.kasa-page .form-row .required { color: var(--color-accent); text-decoration: none; }
.kasa-page .woocommerce-input-wrapper { display: block; }
.kasa-page .form-row input.input-text,
.kasa-page .form-row textarea,
.kasa-page .form-row select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	font-size: 14px;
	font-family: var(--font-ui);
	background: var(--color-white);
	color: var(--color-text);
}
.kasa-page .form-row textarea { min-height: 90px; resize: vertical; }
.kasa-page .form-row-first, .kasa-page .form-row-last { width: 100%; }
@media (min-width: 640px) {
	.kasa-page .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
	.kasa-page .woocommerce-billing-fields__field-wrapper .form-row-wide { grid-column: 1 / -1; }
}
/* Single-country shop: the value is always BiH and still submits from the
   hidden row. !important because WooCommerce's address JS re-shows the row
   with an inline display:block on load. */
.kasa-page #billing_country_field { display: none !important; }

/* Order review card */
.kasa-page .kasa-review,
.kasa-page #order_review { background: var(--color-card-bg); border: 1px solid var(--color-border-soft); border-radius: var(--radius-lg); padding: 26px; }
.kasa-page table.shop_table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 14px; }
.kasa-page table.shop_table th,
.kasa-page table.shop_table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--color-border-soft); vertical-align: top; }
.kasa-page table.shop_table th { font-weight: 400; color: var(--color-text-soft); }
.kasa-page table.shop_table td { text-align: right; }
.kasa-page table.shop_table thead th { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-soft); }
.kasa-page table.shop_table thead th:last-child { text-align: right; }
.kasa-page table.shop_table .product-name { color: var(--color-text); text-align: left; }
/* Amounts in the review table pick up the product-card price look. */
.kasa-page table.shop_table .woocommerce-Price-amount { color: var(--color-accent); }
.kasa-page table.shop_table .order-total th,
.kasa-page table.shop_table .order-total td { border-bottom: none; padding-top: 14px; font-family: var(--font-heading); font-weight: 600; font-size: 18px; color: var(--color-text); }
/* ...but the amount itself stays in the UI face like every other price. */
.kasa-page table.shop_table .order-total td { font-family: var(--font-ui); font-weight: 500; font-size: 16px; }
.kasa-page .woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; }

/* Payment - same card treatment as the order review above it. */
.kasa-page #payment { margin-top: 18px; background: var(--color-card-bg); border: 1px solid var(--color-border-soft); border-radius: var(--radius-lg); padding: 26px; }
.kasa-page .wc_payment_methods { list-style: none; margin: 0 0 16px; padding: 0; }
.kasa-page .wc_payment_method label { font-family: var(--font-ui); font-size: 14px; color: var(--color-text); }
.kasa-page .payment_box { font-family: var(--font-ui); font-size: 13px; color: var(--color-text-soft); background: var(--color-bg-alt); border-radius: var(--radius-sm); padding: 12px 14px; margin-top: 8px; }
.kasa-page .woocommerce-terms-and-conditions-wrapper { font-family: var(--font-ui); font-size: 13px; color: var(--color-text-soft); margin-bottom: 16px; }
.kasa-page .woocommerce-terms-and-conditions-wrapper a { text-decoration: underline; text-underline-offset: 3px; }
.kasa-page #place_order { width: 100%; padding: 16px; font-size: 13px; letter-spacing: 0.12em; background: var(--color-accent); color: var(--color-white); border: none; border-radius: var(--radius-sm); cursor: pointer; transition: background-color 0.25s ease; }
.kasa-page #place_order:hover { background: var(--color-accent-hover); }
.kasa-page #place_order:disabled { opacity: 0.55; cursor: default; }

/* Notices */
.woocommerce-notices-wrapper { max-width: 1080px; margin: 0 auto; }
ul.woocommerce-error, .woocommerce-message, .woocommerce-info {
	list-style: none;
	margin: 0 0 22px;
	padding: 14px 18px;
	font-family: var(--font-ui);
	font-size: 14px;
	border-radius: var(--radius-sm);
	background: var(--color-bg-alt);
	border-left: 3px solid var(--color-accent);
	color: var(--color-text);
}
ul.woocommerce-error li { margin: 4px 0; }
ul.woocommerce-error { border-left-color: #b32d2e; }

/* Blocking overlay WooCommerce shows while totals refresh */
.blockUI.blockOverlay { background: oklch(98% 0.006 60 / 0.6) !important; }

/* Order received (thank you) */
.kasa-page .woocommerce-thankyou-order-received { font-family: var(--font-body); font-size: 18px; color: var(--color-text); margin: 0 0 26px; }
.kasa-page ul.woocommerce-thankyou-order-details { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 0 0 34px; padding: 20px 24px; background: var(--color-card-bg); border: 1px solid var(--color-border-soft); border-radius: var(--radius-lg); }
.kasa-page .woocommerce-thankyou-order-details li { font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-soft); }
.kasa-page .woocommerce-thankyou-order-details li strong { display: block; margin-top: 4px; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--color-text); }
.kasa-page .woocommerce-order-details,
.kasa-page .woocommerce-customer-details { margin-top: 30px; }
.kasa-page .woocommerce-order-details__title,
.kasa-page .woocommerce-column__title { font-family: var(--font-heading); font-weight: 600; font-size: 22px; margin: 0 0 14px; }
.kasa-page .woocommerce-customer-details address { font-style: normal; font-family: var(--font-ui); font-size: 14px; line-height: 1.8; color: var(--color-text-soft); border: 1px solid var(--color-border-soft); border-radius: var(--radius-md); padding: 18px 20px; }

/* ============ MOBILE NAV DRAWER ============ */
.nav-drawer { position: fixed; inset: 0; z-index: 300; }
.nav-drawer[hidden] { display: none; }
.nav-drawer__scrim {
	position: absolute; inset: 0;
	background: oklch(20% 0.02 40 / 0.45);
	opacity: 0;
	transition: opacity 0.4s var(--ease-reveal);
}
.nav-drawer.is-open .nav-drawer__scrim { opacity: 1; }
.nav-drawer__panel {
	position: absolute;
	top: 0; left: 0; bottom: 0;
	width: min(320px, 82vw);
	display: flex;
	flex-direction: column;
	background: var(--color-card-bg);
	box-shadow: 18px 0 50px oklch(20% 0.02 40 / 0.2);
	transform: translateX(-100%);
	transition: transform 0.45s var(--ease-reveal);
}
.nav-drawer.is-open .nav-drawer__panel { transform: translateX(0); }
@media (prefers-reduced-motion: reduce) {
	.nav-drawer__scrim, .nav-drawer__panel { transition: none; }
}

.nav-drawer__head {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 22px 24px 16px;
	border-bottom: 1px solid var(--color-border-soft);
	flex-shrink: 0;
}
.nav-drawer__brand { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: 0.04em; color: var(--color-text); }
.nav-drawer__close {
	width: 36px; height: 36px;
	display: flex; align-items: center; justify-content: center;
	background: none; border: 1px solid var(--color-border); border-radius: var(--radius-sm);
	color: var(--color-text-soft); cursor: pointer; flex-shrink: 0;
	transition: border-color 0.25s ease, color 0.25s ease;
}
.nav-drawer__close:hover { border-color: var(--color-accent); color: var(--color-accent); }

.nav-drawer__nav { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 10px 0; }
.nav-drawer__nav .main-nav__list { display: block; margin: 0; padding: 0; list-style: none; }
.nav-drawer__nav .main-nav__list li { border-bottom: 1px solid var(--color-border-soft); }
.nav-drawer__nav .main-nav__list li:last-child { border-bottom: none; }
.nav-drawer__nav .main-nav__list a {
	display: block;
	padding: 14px 24px;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 19px;
	color: var(--color-text);
	transition: color 0.2s ease, padding-left 0.2s ease;
}
.nav-drawer__nav .main-nav__list a:hover,
.nav-drawer__nav .main-nav__list .current-menu-item > a { color: var(--color-accent); }
.nav-drawer__nav .main-nav__list a:hover { padding-left: 30px; }

.nav-drawer__foot {
	padding: 18px 24px calc(18px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--color-border-soft);
	display: flex; align-items: center; gap: 18px;
	flex-shrink: 0;
}
.social-icon--drawer { color: var(--color-text-soft); }
.social-icon--drawer:hover { color: var(--color-accent); }

/* ============ MOBILE HEADER CONTROLS ============ */
@media (max-width: 859px) {
	/* Icon-only cart trigger, same box as the hamburger. */
	.cart-link,
	.cart-link--compact { width: 38px; height: 38px; padding: 0; justify-content: center; gap: 0; position: relative; }
	.cart-link__label { display: none; }
	.cart-link .cart-badge { position: absolute; top: -7px; right: -7px; }
	.hamburger { width: 38px; height: 38px; font-size: 17px; }
}

/* ============ FOCUS VISIBILITY ============ */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 3px;
	border-radius: var(--radius-sm);
}
.site-header :focus-visible { outline-color: var(--color-white); }
