/*
Theme Name: LaBuket
Theme URI: https://labuketflowers.rs
Author: LaBuket Flowers
Description: Lightweight custom classic theme for LaBuket Flowers, a flower shop e-commerce site in Belgrade, Serbia. Built for WooCommerce, mobile-first, no page builder.
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 8.0
Tested up to: 7.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: labuket
Tags: e-commerce, custom, flowers
*/

/* ==========================================================================
   Design tokens — the only place colors/spacing/type live.
   Luxury editorial palette: warm ivory, deep charcoal, one deep botanical
   green accent, champagne gold used sparingly (hairlines/small details).
   ========================================================================== */
:root {
	/* Palette */
	--color-bg: #faf6ef;
	--color-bg-alt: #f3ebdc;
	--color-surface: #fffdf9;
	--color-surface-alt: #efe4d1;
	--color-text: #2b2621;
	--color-text-muted: #6b6153;
	--color-border: #e3d7c3;
	--color-gold: #b79a5d;
	--color-accent: #37503f;
	--color-accent-dark: #263a2c;
	--color-accent-contrast: #ffffff;
	--color-link: var(--color-accent-dark);
	/* Warm near-black charcoal + champagne gold: header, footer, floating
	   contact button. --color-gold above is the full-strength tone; use
	   color-mix(in srgb, var(--color-gold) X%, transparent) at the point of
	   use for a muted/low-opacity variant (e.g. hairlines) instead of
	   adding another token. */
	--color-charcoal: #181614;
	/* A touch darker than --color-charcoal — the shop/catalog page's own
	   background, one step deeper than the header/footer that frame it, for
	   quiet visual depth rather than one flat slab of identical dark. Mixed
	   from the existing charcoal token (not a new literal hex) per this
	   file's "colors only in :root, derive variants via color-mix()" rule. */
	--color-charcoal-deep: color-mix(in srgb, var(--color-charcoal) 88%, black);
	--color-on-dark: #ffffff;

	/* Type — self-hosted (assets/fonts, see @font-face below), with a full
	   system fallback stack so text is never invisible while fonts load. */
	--font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
	--font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--label-letter-spacing: 0.08em;
	/* Section heading (h2, below) as a token — needed so the Kolekcije tile
	   name's font-size (--collections-tile-name-size below) can size itself
	   relative to the heading via calc()/min() rather than a second copy of
	   the literal 1.8rem going stale if this one ever changes. */
	--font-size-h2: 1.8rem;
	/* Kolekcije tile name: ~60-65% of --font-size-h2, fluid 20px (mobile) to
	   28px (desktop). h2 itself is a flat, non-responsive size (no clamp),
	   so above ~846px viewport width this clamp's raw output alone would
	   land within ~3% of the heading's size — nowhere near the "tile name
	   stays noticeably smaller than the heading" requirement. The
	   --font-size-h2 * 0.82 cap at the point of use (.collections-row__tile-name
	   below) is what actually enforces the >=~18% gap at those widths; this
	   clamp's own 1.75rem ceiling is the mobile/small-viewport curve and is
	   superseded by that cap once the viewport is wide enough to reach it. */
	--collections-tile-name-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem);
	/* Kolekcije icon-tile icon — scaled down to stay in proportion with the
	   smaller tile name above (was 48px). */
	--collections-tile-icon-size: 40px;
	/* Text pages (O nama, Dostava, Uslovi prodaje, Reklamacije, Politika
	   privatnosti) body copy — "17-18px, line-height 1.7" asked for; kept
	   flat/non-fluid like this theme's other body and heading sizes
	   (h1-h3 aren't fluid either), not a new literal at the point of use. */
	--text-page-body-size: 1.0625rem;
	--text-page-line-height: 1.7;

	/* Spacing scale (rem) — component-level gaps/padding. */
	--space-1: 0.5rem;
	--space-2: 1rem;
	--space-3: 1.5rem;
	--space-4: 2rem;
	--space-5: 3rem;
	--space-6: 4.5rem;
	--space-7: 6rem;

	/* Section (outer) padding — generous, fluid between 96px and 140px on
	   desktop; overridden to that range below a min-width breakpoint. */
	--section-padding: 64px;

	--radius: 2px;
	/* The one radius for media (product/gallery images, split-layout
	   photos) and pill-style buttons. */
	--radius-media: 22px;
	/* Smaller companion radius, gallery thumbnails only (product page). */
	--radius-media-sm: 10px;
	/* The thank-you page's two cards ("Detalji dostave" / "Vaša porudžbina")
	   and the Kolekcije home-page tiles (.collections-row__tile) — distinct
	   from --radius-media (images/pills) and --radius (form fields), a
	   third deliberate value rather than reusing either. */
	--radius-card: 20px;
	/* Sitewide container — ONE width/padding system for header, footer,
	   generic pages, cart/checkout, home-page sections, the shop/home
	   product grids and the single-product page. --container-pad mirrors
	   --space-2 (16px) at its floor so small phones keep the same edge
	   padding as everything else, growing to 48px by ~1411px viewport
	   width. (--grid-max/--grid-pad below are kept only as aliases, for
	   the grid-specific selectors that still need their own rule block.) */
	--container-max: 1600px;
	--container-pad: clamp(16px, 3.4vw, 48px);
	--transition: 150ms ease;
	--transition-slow: 500ms ease;
	/* The header main-menu's own fade-in/out on scroll (home page only,
	   .site-header--transparent/--scrolled) — "about 250ms" asked for,
	   between the two existing speeds, not a match for either. */
	--transition-medium: 250ms ease;
	/* Main nav menu (.primary-menu) type — "uppercase, small letter-
	   spacing (~0.12em), 13-14px" asked for; kept distinct from
	   --label-letter-spacing (0.08em, a different component's value, the
	   small all-caps .label/.site-header__actions text) rather than
	   reused, since the two were specified as different numbers. The
	   "-tight" variant is the 1100-1179px squeeze range's reduced value —
	   see .primary-menu's own breakpoints further down. */
	--nav-letter-spacing: 0.12em;
	--nav-letter-spacing-tight: 0.06em;
	--nav-font-size: 0.8125rem;
	/* The nav dropdown panel's corner radius — "rounded 14px" asked for;
	   doesn't match any existing --radius-* step (2/22/10/20px), so it's
	   its own token, same reasoning --radius-card got one. */
	--radius-dropdown: 14px;
	/* Desktop header right group (language switcher + "Korpa" link) — ONE
	   fixed item height so the language links' <a> and the cart link sit
	   in identical boxes regardless of the badge inside the cart link; see
	   .site-header__actions's own rule further down for why this was the
	   actual misalignment (asymmetric padding-bottom on one side, a
	   badge-driven taller box on the other — two different causes, not
	   one). --cart-badge-size is deliberately smaller than this, so the
	   badge can never stretch the link's own height again. */
	--header-action-height: 32px;
	--cart-badge-size: 18px;
	/* The single-row mobile header's own height (logo/cart/hamburger row,
	   <=1099px only — see .site-header__inner/.primary-navigation's own
	   1100px breakpoint below) — shared between .site-header__inner's
	   padding and #mobile-menu-overlay's top offset, so the two can't
	   drift apart. */
	--mobile-header-height: 64px;
	/* The header's own rendered height AT THE CURRENT viewport width — used
	   only by the single-product page's gallery/summary sticky offset and
	   the main image's max-height (style.css's "Single product page"
	   section, both triggered at ITS OWN >=900px breakpoint). Defaults to
	   --mobile-header-height (64px): the single-row mobile header is still
	   what's actually rendered from 900px up to the main nav's own 1100px
	   breakpoint (.primary-navigation below) — before the main-nav work
	   this token was a flat 129px because the header's desktop style used
	   to kick in earlier (768px), always below single-product's 900px, so
	   the two breakpoints could never fall out of sync; now they can, so
	   this is redefined to the real measured desktop height (128.98px,
	   rounded up; getBoundingClientRect at 1024px/1440px, pre-1100px-change)
	   inside that same >=1100px breakpoint, right below. */
	--header-height-desktop: var(--mobile-header-height);
	/* The product gallery/summary column gap at >=900px — 56px was asked
	   for specifically and doesn't match any existing step of the --space
	   scale (48px/72px are the neighbours), so it's its own token rather
	   than force-fitting one of those or inlining a bare 56px. */
	--product-gallery-gap: 56px;

	/* Grid-only token: the home/shop product grids need their own gap on
	   top of the shared container width/padding above. --grid-max/--grid-pad
	   are aliases of --container-max/--container-pad (not separate numbers)
	   so the grids can never drift from the rest of the site's container. */
	--grid-gap: 8px;
	--grid-pad: var(--container-pad);
	--grid-max: var(--container-max);

	/* Form/notice error red — checkout/cart field validation and error
	   notices on the dark scheme. Kept muted/desaturated rather than a pure
	   bright red so it reads as "this palette's error colour", not a jarring
	   foreign hue; verified at 4.5:1+ against both --color-charcoal-deep and
	   --color-surface (the light-scheme pages still use this same token). */
	--color-error: #e2685c;

	/* Checkbox/radio border + unchecked fill — light-page default. Dark
	   pages (shop/home/cart/checkout/single product) redefine both via the
	   shared dark-page body-class block further down, same pattern as
	   that block's own --color-on-dark handling. The checked state
	   (champagne fill + charcoal-deep mark) is identical on every page,
	   so it stays a plain var(--color-gold)/var(--color-charcoal-deep)
	   reference at the point of use instead of its own token pair. */
	--checkbox-border: var(--color-border);
	--checkbox-bg: transparent;

	/* Text pages (O nama, Dostava, Uslovi prodaje, Reklamacije, Politika
	   privatnosti — inc/text-pages.php) own, narrower reading column — a
	   one-off value distinct from --container-max (1600px, the sitewide
	   wide layout), same reasoning --product-gallery-gap got its own token
	   instead of a bare literal: it doesn't match any existing step of
	   another scale. */
	--text-page-max-width: 760px;
}

@media (min-width: 768px) {
	:root {
		--section-padding: clamp(96px, 8vw, 140px);
	}
}
@media (max-width: 699px) {
	:root {
		--grid-gap: 6px;
	}
}

/* ==========================================================================
   Self-hosted fonts (assets/fonts/, Google Fonts' own OFL-licensed WOFF2
   files, downloaded directly — no fonts.googleapis.com/fonts.gstatic.com
   request at runtime, so no third-party DNS lookup and no GDPR concern).

   Split into "latin" + "latin-ext" per weight/style, each with its own
   unicode-range, exactly how Google's own hosted CSS splits them — latin-
   ext is what actually covers č/ć/š/ž/đ (U+010C/0107/0161/017E/0111, all
   inside latin-ext's U+0100-02BA span). A visitor's browser only ever
   fetches the ONE subset file it needs for the text actually on the page
   (every Serbian/English page triggers latin-ext; a hypothetical pure-
   ASCII page would only trigger "latin"), so this is smaller in practice
   than one merged file would be, not just organizationally tidier.

   Cyrillic is NOT included: `ru` is a registered Polylang language but
   has no translated content yet (CLAUDE.md, translations-draft.md) — add
   a cyrillic subset pair per weight/style here (same Google Fonts CSS2 API
   request, see docs/LAUNCH-CHECKLIST.md) once real Russian copy ships.

   font-weight 300 removed: Playfair Display has no static 300/Light cut
   in Google's own catalog (checked directly against the font-face API —
   only 400/500/600/700/800/900 exist) — the h1-h4 rule below was asking
   for a weight that was never actually downloadable, so it's corrected to
   400 (Regular, the lightest real cut) instead of silently falling back
   to the system serif stack at that weight forever.
   ========================================================================== */
@font-face {
	font-family: "Playfair Display";
	src: url("assets/fonts/playfair-display-regular-latin.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Playfair Display";
	src: url("assets/fonts/playfair-display-regular-latin-ext.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Playfair Display";
	src: url("assets/fonts/playfair-display-italic-latin.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Playfair Display";
	src: url("assets/fonts/playfair-display-italic-latin-ext.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Work Sans";
	src: url("assets/fonts/work-sans-regular-latin.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Work Sans";
	src: url("assets/fonts/work-sans-regular-latin-ext.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Work Sans";
	src: url("assets/fonts/work-sans-semibold-latin.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Work Sans";
	src: url("assets/fonts/work-sans-semibold-latin-ext.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-link); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
h1, h2, h3, h4 {
	font-family: var(--font-heading);
	/* 400, not 300 — Playfair Display has no static Light/300 cut in
	   Google's own catalog (see the @font-face block above); 400 is the
	   lightest weight that actually exists and is actually self-hosted. */
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 var(--space-2);
	color: var(--color-text);
}
h1 { font-size: 2.4rem; }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: 1.3rem; }
.label {
	display: inline-block;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: var(--label-letter-spacing);
	color: var(--color-text-muted);
}
p { margin: 0 0 var(--space-2); }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* Accessibility helpers */
.screen-reader-text {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	z-index: 1000;
	padding: var(--space-1) var(--space-2);
	background: var(--color-text);
	color: #fff;
}
.skip-link:focus {
	top: 0;
}
:focus-visible {
	outline: 2px solid var(--color-accent-dark);
	outline-offset: 2px;
}

.container {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--container-pad);
}

/* .btn-outline is used on its own in markup (not alongside .btn), so the
   shared button shape/type lives in this combined selector — previously
   only declared on .btn, which left a standalone .btn-outline (e.g. the
   hero CTA) with no padding/border-radius/font styling at all, just
   colored link text. */
.btn, .btn-outline {
	display: inline-block;
	border: 1px solid var(--color-accent-dark);
	border-radius: var(--radius-media);
	padding: 0.85em 2em;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: var(--label-letter-spacing);
	transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn {
	background: var(--color-accent);
	color: var(--color-accent-contrast);
}
.btn:hover, .btn:focus-visible {
	background: var(--color-accent-dark);
	color: var(--color-accent-contrast);
	text-decoration: none;
}
.btn-outline {
	background: transparent;
	color: var(--color-accent);
	border-color: var(--color-accent);
}
.btn-outline:hover, .btn-outline:focus-visible {
	background: var(--color-accent);
	color: var(--color-accent-contrast);
	text-decoration: none;
}
.btn:disabled, .btn.disabled,
.btn-outline:disabled, .btn-outline.disabled {
	cursor: not-allowed;
	opacity: 0.5;
	background: var(--color-surface-alt);
	color: var(--color-text-muted);
	border-color: var(--color-border);
}

/* ==========================================================================
   Site header
   Default (used on every page except the top of the home page): solid warm
   charcoal, white text — this is the "same dark style" referenced
   throughout the modifiers below, not a separate theme. The hairline is a
   muted, low-opacity gold rather than the full-strength token.
   ========================================================================== */
.site-header {
	position: relative;
	z-index: 1000;
	background: var(--color-charcoal);
	border-bottom: 1px solid color-mix(in srgb, var(--color-gold) 40%, transparent);
}
/* The sitewide :focus-visible outline is a dark green, nearly invisible on
   this dark background — use gold here instead. White text on
   --color-charcoal is ~15:1, comfortably past WCAG AA. */
.site-header :focus-visible {
	outline-color: var(--color-gold);
}
.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	/* 10px: with the 44px logo/cart/hamburger row (the tallest content at
	   this width), 10px top + 10px bottom + 44px = --mobile-header-height
	   (64px) exactly. Desktop's own padding below is unrelated/untouched.
	   Single mobile-style row now runs through 1099px, not the old 767px —
	   see .primary-navigation/.site-header__actions/.menu-toggle further
	   down for why (main nav menu needs the room). */
	padding-block: 10px;
}
@media (min-width: 1100px) {
	.site-header__inner { padding-block: var(--space-3); }
}
.site-wordmark {
	font-family: var(--font-heading);
	font-size: 1.4rem;
	letter-spacing: 0.03em;
	color: var(--color-on-dark);
}
.site-wordmark:hover, .site-wordmark:focus { text-decoration: none; }

.site-logo { display: flex; align-items: center; }
.site-logo .custom-logo-link { display: inline-flex; }
.site-logo img.custom-logo {
	display: block;
	width: auto;
	height: auto;
	max-height: 44px; /* Matches the 44px single-row mobile header — see --mobile-header-height. */
}
@media (min-width: 1100px) {
	.site-logo img.custom-logo { max-height: 80px; }
}

/* <=1099px: the language switcher + text "Korpa" link move into
   #mobile-menu-overlay instead (header.php) — .site-header__mobile-actions
   (icon-only cart + hamburger/X, below) takes this row's place in the
   single mobile header row. Restored to flex at the desktop breakpoint
   further down, exactly as it always was. */
.site-header__actions {
	display: none;
	align-items: center;
	gap: var(--space-2);
}
/* .language-switcher and .cart-icon already shared font-size/weight/
   letter-spacing (inherited from here down onto the <a> tags below) — that
   was never the actual misalignment. The real causes, found by reading
   each one's own box model: .language-switcher a had an ASYMMETRIC
   padding-bottom (0.2em, no padding-top) plus a border-bottom reserved on
   every item (2px, even transparent) to make room for the active-language
   underline — that extra space sat only on one side, shifting the glyphs
   up within their own box. .cart-icon had no such padding, but its badge
   (.cart-icon__count, height 1.1rem, a fixed unit unrelated to the 0.75rem
   label text's own line-height) was taller than the label text and, as a
   plain inline-flex sibling with no explicit container height, stretched
   .cart-icon's own rendered height to the badge's height — a different
   enlargement, centered differently again. Two different box heights,
   enlarged two different ways, is why align-items:center on the shared
   parent couldn't make the actual letterforms land on one baseline.
   Fixed at the root below: both .language-switcher a and .cart-icon get
   the exact same explicit height/line-height/display now, the underline
   moves to a non-layout-affecting ::after, and the badge gets a fixed
   size smaller than that shared height so it can never stretch it again. */
.site-header__actions .language-switcher,
.site-header__actions .cart-icon {
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: var(--label-letter-spacing);
}
.site-header__actions .language-switcher a,
.site-header__actions .cart-icon {
	display: inline-flex;
	align-items: center;
	height: var(--header-action-height);
	line-height: 1;
	box-sizing: border-box;
}

/* 44x44 touch target either way: icon-only cart (mobile) + the hamburger/X
   toggle, replacing .site-header__actions in the single mobile row. */
.site-header__mobile-actions {
	display: flex;
	align-items: center;
	gap: var(--space-1);
}
.cart-icon--icon-only {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 2.75rem;
	height: 2.75rem;
	color: var(--color-on-dark);
}
.cart-icon--icon-only .labuket-icon { width: 22px; height: 22px; }
.cart-icon--icon-only .cart-icon__count {
	position: absolute;
	top: 2px;
	right: 0;
	margin-left: 0;
}

.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: var(--radius);
}
.menu-toggle span {
	display: block;
	width: 1.25rem;
	height: 2px;
	background: var(--color-on-dark);
	position: relative;
	transition: opacity 200ms ease;
}
.menu-toggle span::before, .menu-toggle span::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--color-on-dark);
	transition: top 200ms ease, transform 200ms ease;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
/* Hamburger -> X: the middle span fades out, the other two lines move to
   its position and rotate into an X — same button, same top-right
   position, open or closed, rather than a second "close" element. Keyed
   off aria-expanded (JS already keeps that in sync) rather than a second
   class. */
.menu-toggle[aria-expanded="true"] span {
	opacity: 0;
}
.menu-toggle[aria-expanded="true"] span::before {
	top: 0;
	transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span::after {
	top: 0;
	transform: rotate(-45deg);
}
@media (prefers-reduced-motion: reduce) {
	.menu-toggle span,
	.menu-toggle span::before,
	.menu-toggle span::after {
		transition: none;
	}
}

/* <=1099px: the main menu is NOT shown in the header bar at all — it lives
   only inside #mobile-menu-overlay (header.php), as a second wp_nav_menu()
   call against the same "primary" location (.mobile-menu-overlay__nav
   further down) — one source of truth, two renderings. Restored at the
   1100px desktop breakpoint further down, where it becomes the centered
   row between the logo and the language/cart group. */
.primary-navigation {
	display: none;
}

.language-switcher {
	display: flex;
	align-items: center;
	color: var(--color-on-dark);
}
.language-switcher ul { display: flex; align-items: center; gap: var(--space-2); }
.language-switcher li + li {
	border-left: 1px solid color-mix(in srgb, var(--color-gold) 40%, transparent);
	padding-left: var(--space-2);
}
.language-switcher a {
	display: inline-flex;
	align-items: center;
	position: relative;
	line-height: 1;
	color: var(--color-on-dark);
}
/* The active-language underline — was a border-bottom (reserving 2px of
   box height on every item, even transparent, which is what made this
   link's own box taller/asymmetric than .cart-icon's). An absolutely
   positioned ::after draws the exact same line without taking any layout
   space at all, so it can never shift or resize the text around it. */
.language-switcher a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2px;
	background: var(--color-gold);
	opacity: 0;
}
.language-switcher a.is-current::after {
	opacity: 1;
}

/* Hairline between the language group and the cart — distinct from the
   li + li separators inside the switcher, which only run between SR/EN/RU. */
.language-switcher + .cart-icon {
	border-left: 1px solid color-mix(in srgb, var(--color-gold) 40%, transparent);
	padding-left: var(--space-2);
}

.cart-icon {
	display: inline-flex;
	align-items: center;
	position: relative;
	color: var(--color-on-dark);
}
/* A fixed --cart-badge-size HEIGHT (smaller than --header-action-height)
   is the part that matters — that's the dimension that used to stretch
   .cart-icon's own cross-axis size, via the old height:1.1rem, a unit
   unrelated to the 0.75rem label text's line-height and the TALLEST thing
   inside .cart-icon's row. min-width (not a fixed width) keeps a single
   digit reading as a circle while still letting a 2-digit count widen
   into a pill instead of clipping. align-self:center (on top of the
   parent's align-items:center, which already does the same thing) is
   belt-and-suspenders: the badge is centered on the label's line
   regardless of which one ends up governing cross-axis alignment. */
.cart-icon__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	flex-shrink: 0;
	min-width: var(--cart-badge-size);
	height: var(--cart-badge-size);
	padding: 0 0.25em; /* breathing room for a 2-digit count; a single digit still clamps to min-width and reads as a circle. */
	line-height: 1;
	vertical-align: middle;
	margin-left: 0.4em;
	border-radius: 999px;
	background: var(--color-gold);
	color: var(--color-charcoal);
	font-size: 0.65rem;
}

/* ==========================================================================
   Main nav menu, desktop (>=1100px) — .primary-navigation (header.php,
   wp_nav_menu( 'primary' )). Chosen breakpoint: the brief's own "DESKTOP
   (>=900px)" heading named 900px, but its point 2 explicitly offers
   "reduce to the hamburger below 1100px" as a valid fallback if a 5-item
   uppercase, letter-spaced menu plus the logo plus the language switcher
   plus the cart can't all fit without colliding between 900-1099px — which
   is the case here (checked by adding up each group's realistic rendered
   width at that range; nowhere near enough room for all four). Chose that
   named fallback: the mobile/tablet single-row header (logo, icon cart,
   hamburger — same treatment as before, just extended) now runs through
   1099px, and the inline centered menu only appears at 1100px+. Within
   that, the squeeze range named in the same point (tighter letter-spacing
   + gap) is kept for 1100-1179px, where the menu is shown but still tight;
   full-size from 1180px up.
   ========================================================================== */
@media (min-width: 1100px) {
	:root {
		/* The header's real rendered height becomes the measured desktop
		   value here, not the mobile row's — see --header-height-desktop's
		   own definition, above, for why this has to be redefined at this
		   exact breakpoint rather than staying a flat value. */
		--header-height-desktop: 129px;
	}

	.site-header__mobile-actions { display: none; }
	.site-header__actions { display: flex; }
	.menu-toggle { display: none; }

	/* Logo | menu (centered in the remaining space) | language/cart —
	   .site-header__inner is already a flex row (space-between); giving
	   the nav flex:1 and centering ITS OWN content inside that is "centered
	   in the available space" without needing a 3-column grid, and without
	   the logo/actions groups having to be equal widths for the centering
	   to look right. */
	.primary-navigation {
		display: flex;
		flex: 1 1 auto;
		justify-content: center;
		min-width: 0;
	}
}

.primary-menu {
	display: flex;
	align-items: center;
	list-style: none;
	gap: var(--space-3);
}
@media (min-width: 1100px) and (max-width: 1179.98px) {
	/* The squeeze range named above — same menu, tighter letter-spacing
	   and gap, not a smaller font (the brief only names those two for
	   reducing-to-fit). Gap tightened again (was --space-2/16px) after the
	   Instagram item became a 6th item here — estimated from character
	   counts/font metrics, not measured in a live browser (none available
	   this pass); see chat for the estimate and its margin. */
	.primary-menu { gap: var(--space-1); }
	.primary-menu > li > a { letter-spacing: var(--nav-letter-spacing-tight); }
}
.primary-menu > li {
	position: relative;
}
.primary-menu a {
	display: inline-block;
	position: relative;
	padding: 0.4em 0.1em;
	color: var(--color-bg);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: var(--nav-letter-spacing);
	font-size: var(--nav-font-size);
	font-weight: 600;
	line-height: 1;
}
/* Instagram item's "opens in a new tab" arrow-out icon (inc/nav-menu.php's
   labuket_add_instagram_nav_icon(), appended to the title at render time) —
   sized relative to the menu's own font-size rather than a fixed px value,
   so it scales with the squeeze-range font the same as the text around it;
   stroke="currentColor" (inc/icons.php) already makes it match the link's
   ivory/hover colour with no extra color rule needed here. */
.primary-menu__external-icon {
	width: 0.9em;
	height: 0.9em;
	margin-left: 0.3em;
	vertical-align: -0.1em;
}
/* Thin champagne underline, animated in from the left — hover, focus, AND
   the current page (core's own aria-current="page", added automatically
   by Walker_Nav_Menu for the current item — no extra PHP needed). A plain
   scaleX(0 -> 1) transform rather than animating width, so it's one
   compositor-only property (no layout recalculation) and transform-origin
   alone controls the "from the left" direction. */
.primary-menu a::after {
	content: "";
	position: absolute;
	left: 0.1em;
	right: 0.1em;
	bottom: 0.1em;
	height: 1px;
	background: var(--color-gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--transition);
}
.primary-menu a:hover::after,
.primary-menu a:focus-visible::after,
.primary-menu a[aria-current="page"]::after {
	transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
	.primary-menu a::after { transition: none; }
}

/* ---- Dropdown (one level) ------------------------------------------------
   WordPress's own wp_nav_menu() already adds "menu-item-has-children" to a
   top-level <li> with children (nav-menu-template.php, core — confirmed by
   reading it, no theme walker needed) and nests the children as
   <ul class="sub-menu"> inside that same <li>. Opens on :hover (mouse) and
   :focus-within (keyboard Tab — a submenu link itself receiving focus is
   "within" its parent <li>, so plain Tab reveals it with zero JS); Escape
   is handled by assets/js/nav-dropdown.js (blurs the active element, which
   drops :focus-within since a keyboard-only interaction has no simultaneous
   :hover to fall back on), which also keeps aria-expanded on the parent
   link in sync with focus/hover for assistive tech. */
.primary-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10;
	min-width: 200px;
	margin: var(--space-1) 0 0;
	padding: var(--space-1);
	list-style: none;
	background: var(--color-charcoal);
	border: 1px solid color-mix(in srgb, var(--color-gold) 40%, transparent);
	border-radius: var(--radius-dropdown);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.primary-menu .menu-item-has-children:hover > .sub-menu,
.primary-menu .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.primary-menu .sub-menu li + li {
	margin-top: 2px;
}
.primary-menu .sub-menu a {
	display: block;
	padding: 0.6em 0.8em;
	letter-spacing: normal;
	text-transform: none;
	font-size: 0.85rem;
	border-radius: var(--radius);
	white-space: nowrap;
}
.primary-menu .sub-menu a::after {
	display: none;
}
.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu a:focus-visible {
	background: color-mix(in srgb, var(--color-gold) 15%, transparent);
}
@media (prefers-reduced-motion: reduce) {
	.primary-menu .sub-menu { transition: none; }
}

/* ==========================================================================
   Main menu visibility on the home page's transparent-over-hero header —
   hidden (not just invisible: visibility, so it's untabbable too, per
   spec) while .site-header--transparent hasn't picked up --scrolled yet;
   fades in once it has (same class assets/js/header-scroll.js's existing
   IntersectionObserver already toggles for the solid-background switch —
   no second scroll listener). Reserves its layout space the whole time
   (opacity/visibility, never display:none), so the logo and the language/
   cart group never shift. On every OTHER page .site-header is solid from
   the start (no --transparent class at all), so neither rule here ever
   applies and the menu is simply always visible — no extra CSS needed for
   that case.
   ========================================================================== */
.site-header--transparent .primary-navigation {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(6px);
	transition: opacity var(--transition-medium), transform var(--transition-medium), visibility var(--transition-medium);
}
.site-header--transparent.site-header--scrolled .primary-navigation {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
	.site-header--transparent .primary-navigation { transition: none; }
}

/* ==========================================================================
   Home page only: header overlays the hero, starts transparent, and
   becomes the same solid dark style above once scrolled (JS toggles
   .site-header--scrolled via an IntersectionObserver — see
   assets/js/header-scroll.js). On every other page .site-header is used
   on its own, in normal flow, so none of this applies there.
   ========================================================================== */
.site-header--transparent {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: transparent;
	border-bottom-color: transparent;
	transition: background 280ms ease, border-color 280ms ease;
}
body.admin-bar .site-header--transparent { top: var(--wp-admin--admin-bar--height, 32px); }
.site-header--transparent .site-header__inner {
	transition: padding-block 280ms ease;
}

/* Solid regardless of scroll position whenever the mobile menu is open —
   body.mobile-menu-open is added by assets/js/mobile-menu.js. Same values
   as .site-header--scrolled above (just an extra way to reach them), not
   its own padding change, so the row doesn't visibly resize on open. */
.site-header--transparent.site-header--scrolled,
body.mobile-menu-open .site-header--transparent {
	background: var(--color-charcoal);
	border-bottom-color: color-mix(in srgb, var(--color-gold) 40%, transparent);
}
.site-header--transparent.site-header--scrolled .site-header__inner {
	padding-block: var(--space-1);
}

@media (prefers-reduced-motion: reduce) {
	.site-header--transparent,
	.site-header--transparent .site-header__inner {
		transition: none;
	}
}

/* <=1099px, menu open: .site-header--transparent is already position:fixed
   unconditionally (above) so it needs no change here — but the NORMAL
   (non-transparent, every page but the home page) header is static/
   in-flow by default, so without this it could already be scrolled out of
   view by the time the menu opens, leaving #mobile-menu-overlay's own
   fixed "start right below the header" offset pointing at empty space.
   Pins it to the top for exactly as long as the menu is open. */
@media (max-width: 1099px) {
	body.mobile-menu-open .site-header:not(.site-header--transparent) {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 1001;
	}
	body.admin-bar.mobile-menu-open .site-header:not(.site-header--transparent) {
		top: var(--wp-admin--admin-bar--height, 46px);
	}
}

/* ==========================================================================
   Mobile/tablet-only (<=1099px) full-screen menu overlay — header.php,
   assets/js/mobile-menu.js. Starts right below the (64px) mobile header
   row, same background the shop/homepage dark pages use
   (--color-charcoal-deep). display:none outright from 1100px, where the
   hamburger that opens it doesn't exist either and the main menu lives
   inline in the header instead (.primary-navigation above).
   ========================================================================== */
.mobile-menu-overlay {
	position: fixed;
	top: var(--mobile-header-height);
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999;
	background: var(--color-charcoal-deep);
	color: var(--color-bg);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	opacity: 0;
	visibility: hidden;
	transition: opacity 250ms ease, visibility 250ms ease;
}
body.admin-bar .mobile-menu-overlay {
	top: calc(var(--mobile-header-height) + var(--wp-admin--admin-bar--height, 46px));
}
.mobile-menu-overlay.is-open {
	opacity: 1;
	visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
	.mobile-menu-overlay { transition: none; }
}
@media (min-width: 1100px) {
	.mobile-menu-overlay { display: none; }
}

.mobile-menu-overlay__inner {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: var(--space-4) var(--space-2) var(--space-3);
}
.mobile-menu-overlay__nav ul {
	display: flex;
	flex-direction: column;
}
.mobile-menu-overlay__nav a {
	display: block;
	padding: var(--space-2) 0;
	font-family: var(--font-heading);
	font-weight: 400;
	font-size: 1.8rem;
	color: var(--color-bg);
	border-bottom: 1px solid color-mix(in srgb, var(--color-gold) 25%, transparent);
}

/* .language-switcher (shared with the desktop header) sets the base
   color/border/layout; everything below only overrides what needs to be
   bigger/more spaced for touch, or more visible here than on the compact
   desktop switcher — desktop's .is-current only changes the underline
   (the text stays white there, by design, confirmed before this change:
   that's an existing, deliberate choice this task doesn't touch); here
   the current language's text is also champagne, as asked. */
.mobile-menu-overlay__languages {
	margin-top: var(--space-4);
}
.mobile-menu-overlay__languages ul {
	gap: var(--space-4);
}
.mobile-menu-overlay__languages a {
	min-height: 44px;
	font-size: 0.95rem;
}
.mobile-menu-overlay__languages a.is-current {
	color: var(--color-gold);
}

.mobile-menu-overlay__footer {
	margin-top: auto;
	padding-top: var(--space-4);
	border-top: 1px solid color-mix(in srgb, var(--color-gold) 25%, transparent);
}
.mobile-menu-overlay__footer .hours dd {
	color: color-mix(in srgb, var(--color-bg) 75%, transparent);
}

/* ==========================================================================
   Mini-cart drawer (header.php via inc/mini-cart.php, assets/js/mini-cart.js)
   Dimmed/blurred backdrop + a fixed right-edge panel that slides in via
   transform, same open/close/focus-trap/Esc/body-scroll-lock pattern as
   .mobile-menu-overlay above, but available at every width (full-width only
   below 480px) rather than mobile-only.
   ========================================================================== */
.mini-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 2100;
	background: color-mix(in srgb, var(--color-charcoal) 55%, transparent);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 280ms ease, visibility 280ms ease;
}
.mini-cart-overlay.is-open {
	opacity: 1;
	visibility: visible;
}
.mini-cart {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 2101;
	display: flex;
	flex-direction: column;
	width: 420px;
	max-width: 100vw;
	background: var(--color-charcoal-deep);
	color: var(--color-bg);
	border-left: 1px solid rgba(255, 255, 255, 0.18);
	transform: translateX(100%);
	transition: transform 280ms ease-out;
	visibility: hidden;
}
.mini-cart.is-open {
	transform: translateX(0);
	visibility: visible;
}
@media (max-width: 480px) {
	.mini-cart { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.mini-cart-overlay,
	.mini-cart { transition: none; }
}
/* Admin bar is fixed at the very top of the viewport (32px desktop, 46px
   <=782px, via core's own --wp-admin--admin-bar--height) — offset both the
   backdrop and the panel below it, same pattern as .mobile-menu-overlay
   further up this file, so neither is hidden underneath it. */
body.admin-bar .mini-cart-overlay,
body.admin-bar .mini-cart {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.mini-cart__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	padding: var(--space-3) var(--space-3) var(--space-2);
	border-bottom: 1px solid color-mix(in srgb, var(--color-gold) 25%, transparent);
}
.mini-cart__title {
	font-size: 1.3rem;
	margin: 0;
	color: var(--color-bg);
}
.mini-cart__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	background: transparent;
	color: var(--color-bg);
	flex: 0 0 auto;
}
.mini-cart__close:hover,
.mini-cart__close:focus-visible {
	background: color-mix(in srgb, var(--color-on-dark) 14%, transparent);
}
.mini-cart__close .labuket-icon { width: 18px; height: 18px; }

.mini-cart__body {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.mini-cart__content {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}

/* Empty state — centered, own vertical rhythm since there's no summary
   below it to anchor against. */
.mini-cart__empty {
	margin: auto;
	text-align: center;
	padding: var(--space-4) var(--space-3);
}
.mini-cart__empty-message {
	font-family: var(--font-heading);
	font-size: 1.15rem;
	color: var(--color-bg);
	margin-bottom: var(--space-3);
}
.mini-cart__empty .btn-outline {
	color: var(--color-gold);
	border-color: var(--color-gold);
}
.mini-cart__empty .btn-outline:hover,
.mini-cart__empty .btn-outline:focus-visible {
	background: var(--color-gold);
	color: var(--color-charcoal-deep);
}

.mini-cart__items-wrap {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: var(--space-2) var(--space-3);
}
.mini-cart__items {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

.mini-cart-item {
	display: flex;
	gap: var(--space-2);
}
.mini-cart-item__media {
	flex: 0 0 auto;
	display: block;
	width: 72px;
	aspect-ratio: 3 / 4;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: var(--color-surface-alt);
}
.mini-cart-item__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.mini-cart-item__info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}
/* #labuket-mini-cart-prefixed, not a plain class selector: the dark-page
   body scopes' own link-colour rules further up this file
   (body.labuket-front-page-dark a:not(...), specificity (0,1,2)) and the
   shop archive's body.post-type-archive-product a { color: inherit; }
   otherwise outrank a single class here (0,1,0) and silently win — same
   root cause already documented above for .product-card__btn--buy, same
   fix shape (raise specificity, no !important), just via the drawer's own
   unique ID instead of a compound class. */
#labuket-mini-cart .mini-cart-item__name {
	color: var(--color-bg);
}
/* wc_get_formatted_cart_item_data()'s own markup — a <dl class="variation">
   of dt/dd pairs, one per selected attribute (e.g. "Veličina: M"). Only its
   color needs setting here for the dark panel; its layout is left as WC's
   default (dt/dd on the same line via its own inline CSS). */
.mini-cart-item__meta {
	font-size: 0.8rem;
	color: color-mix(in srgb, var(--color-bg) 70%, transparent);
}
.mini-cart-item__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	margin-top: 0.2rem;
}
.mini-cart-item__price {
	font-size: 0.9rem;
	color: var(--color-bg);
	white-space: nowrap;
}
.mini-cart-item__qty {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transition: opacity var(--transition);
}
.mini-cart-item__qty.is-loading {
	opacity: 0.5;
}
.mini-cart-item__qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.6rem;
	height: 1.6rem;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	background: transparent;
	color: var(--color-bg);
}
.mini-cart-item__qty-btn:hover,
.mini-cart-item__qty-btn:focus-visible {
	border-color: var(--color-gold);
	color: var(--color-gold);
}
.mini-cart-item__qty-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}
.mini-cart-item__qty-btn .labuket-icon { width: 12px; height: 12px; }
.mini-cart-item__qty-value {
	min-width: 1.2rem;
	text-align: center;
	font-size: 0.9rem;
}
#labuket-mini-cart .mini-cart-item__remove {
	align-self: flex-start;
	font-size: 0.78rem;
	color: color-mix(in srgb, var(--color-bg) 65%, transparent);
	text-decoration: underline;
	margin-top: 0.2rem;
}
#labuket-mini-cart .mini-cart-item__remove:hover,
#labuket-mini-cart .mini-cart-item__remove:focus-visible {
	color: var(--color-gold);
}

/* Summary — sticky to the bottom of the SCROLLING items area (not the
   viewport), so it stays visible once there are enough items to scroll,
   without ever floating over the backdrop/overlay. */
.mini-cart__summary {
	position: sticky;
	bottom: 0;
	margin-top: auto;
	padding: var(--space-3);
	/* Sits flush against the drawer's own bottom edge (the drawer itself
	   is position:fixed, bottom:0) — on an iPhone with a home-indicator
	   bar, --space-3 alone put "Nastavite kupovinu" right under it. Same
	   calc(token + env(safe-area-inset-bottom, 0px)) pattern already used
	   for .labuket-product-sticky-bar further down this file; the env()
	   term is 0 on every device without one, so this is a no-op there. */
	padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
	background: var(--color-charcoal-deep);
	border-top: 1px solid color-mix(in srgb, var(--color-gold) 25%, transparent);
}
.mini-cart__summary-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-2);
	font-size: 0.9rem;
	margin-bottom: 0.4rem;
}
.mini-cart__summary-row--total {
	/* ROLE 4 (total: serif, large) — same 1.15rem as the cart/checkout
	   totals card's own .order-total (was 1.05rem, a one-off a size-step
	   smaller for no real reason — the drawer has the room). */
	font-size: 1.15rem;
	font-family: var(--font-heading);
	color: var(--color-bg);
	margin-top: 0.4rem;
	padding-top: 0.6rem;
	border-top: 1px solid color-mix(in srgb, var(--color-gold) 20%, transparent);
}
.mini-cart__cod-note {
	font-size: 0.75rem;
	color: color-mix(in srgb, var(--color-bg) 60%, transparent);
	margin: 0.2rem 0 var(--space-3);
}
/* Same visual recipe as .product-card__btn--buy ("Kupi"), just full-width
   and a touch taller for a drawer-footer CTA rather than a card action
   row — champagne background, charcoal-deep label, per spec. #labuket-
   mini-cart-prefixed for the same specificity reason as
   .mini-cart-item__name above — without it this rule's (0,1,0) loses to
   the dark-page body scopes' own "a" colour rules (gold text on a gold
   background, fully invisible — confirmed directly before this fix).
   Shape/size shared with .mini-cart__continue right below — one rule, so
   the two buttons can't drift apart in height/radius/type again; only
   colour differs between them (the two rules right after this one). */
#labuket-mini-cart .mini-cart__checkout-btn,
#labuket-mini-cart .mini-cart__continue {
	display: block;
	width: 100%;
	text-align: center;
	border-radius: 999px;
	padding: 0.9em 1em;
	font-weight: 600;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: var(--label-letter-spacing);
	/* No fixed height to begin with (em padding already lets both grow
	   together), but a longer translation still shouldn't be able to
	   overflow past the drawer's own edge on a single very long word. */
	overflow-wrap: anywhere;
}
#labuket-mini-cart .mini-cart__checkout-btn {
	background: var(--color-gold);
	color: var(--color-charcoal-deep);
}
#labuket-mini-cart .mini-cart__checkout-btn:hover,
#labuket-mini-cart .mini-cart__checkout-btn:focus-visible {
	background: color-mix(in srgb, var(--color-gold) 85%, black);
	color: var(--color-charcoal-deep);
	text-decoration: none;
}
/* Secondary action — dark, not champagne (that's reserved for the one
   primary CTA per screen, per spec): --color-charcoal is a step lighter
   than the drawer's own --color-charcoal-deep background (same relation
   header/footer already use against the page), so the button still
   reads as its own surface rather than disappearing into the drawer.
   Border is a plain <button> with no reset elsewhere in this file
   (style.css's sitewide "button { font-family; cursor; }" doesn't touch
   border/background) — confirmed this is exactly why it showed a native
   browser border before: nothing here ever overrode it. */
#labuket-mini-cart .mini-cart__continue {
	background: var(--color-charcoal);
	color: var(--color-bg);
	border: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent);
	margin-top: var(--space-2);
	transition: background var(--transition), border-color var(--transition);
}
#labuket-mini-cart .mini-cart__continue:hover {
	background: color-mix(in srgb, var(--color-charcoal) 100%, white 10%);
	border-color: var(--color-gold);
}
#labuket-mini-cart .mini-cart__continue:focus-visible {
	background: color-mix(in srgb, var(--color-charcoal) 100%, white 10%);
	border-color: var(--color-gold);
	outline-color: var(--color-gold);
}

/* ==========================================================================
   Motion — subtle only, and only for visitors who haven't asked for less.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
	.fade-in {
		animation: labuket-fade-in var(--transition-slow) ease both;
	}
	.fade-in:nth-child(2) { animation-delay: 100ms; }
	.fade-in:nth-child(3) { animation-delay: 200ms; }
}
@keyframes labuket-fade-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Shared placeholder for any Customizer image setting left empty — a dark
   charcoal-to-champagne gradient, never a gray box. Dark (not the earlier
   light ivory-to-sage) specifically so the hero's white logo/nav/headline
   keep WCAG AA contrast when no hero photo is set yet. */
.labuket-image-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--color-charcoal) 0%, color-mix(in srgb, var(--color-gold) 25%, var(--color-charcoal)) 100%);
}

/* ==========================================================================
   Hero
   Mobile-first: base rules below are the small-screen layout (~80svh,
   text block bottom-left so it sits over the darkest part of the
   left-to-right overlay and doesn't fight a tall, narrow photo crop); the
   min-width:768px block at the end restores the taller, centered desktop
   layout.
   ========================================================================== */
.hero {
	position: relative;
	min-height: 80vh;
	min-height: 80svh; /* Accounts for mobile browser chrome; ignored by browsers that don't support svh, falling back to the vh value just above. */
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	text-align: left;
	background: var(--color-charcoal-deep);
	/* Height of the ::after bottom fade below (--hero-fade-height) and how
	   far the content is padded up away from it (--hero-fade-padding) —
	   kept as two separate custom properties, not one reused for both,
	   because they're consumed by properties with different percentage-
	   resolution rules: height on an absolutely positioned .hero::after
	   resolves its % against .hero's own height (correct, what's wanted),
	   but padding-bottom's % always resolves against the containing
	   block's WIDTH regardless of which side it pads — a CSS2.1 quirk, not
	   a typo — so reusing the same clamp(…%…) for both silently gave
	   padding-bottom a completely different pixel value than the fade it
	   was meant to clear (measured: 320px of padding vs. a 214px-tall fade
	   at 1440px wide).

	   --hero-fade-padding uses vh instead, pre-multiplied by the hero's own
	   min-height ratio (fade is 20% of an 80vh-tall hero, so 20% × 80vh =
	   16vh of padding tracks it) rather than a bare percentage or a second
	   var(--hero-fade-height) reference — plain vh/svh at face value was
	   also tried and measured wrong, since viewport units resolve against
	   the full viewport, not the shorter hero box (80vh/85vh of it): 20svh
	   of a 900px-tall viewport came out as 180px against a 153px-tall
	   fade. svh is deliberately not used here at all, unlike the
	   "min-height: 80vh; min-height: 80svh;" fallback pair above — that
	   pattern relies on an unsupported unit leaving the earlier
	   declaration standing, but a custom property has no such fallback:
	   the var() consumer only ever sees the LAST assignment, so an
	   unsupported unit inside it would break padding-bottom outright
	   rather than quietly falling back to an svh-less one declared above
	   it. Verified matching --hero-fade-height's own pixel result to
	   within a fraction of a pixel at both 1440px and 390px. ~20% on
	   mobile (the picture should still read as a picture); 28% from 768px
	   up (see the media query at the end of this block). */
	--hero-fade-height: clamp(160px, 20%, 320px);
	/* Floor is 16px above --hero-fade-height's own 160px floor, on
	   purpose: measured clearance between the CTA and the fade was
	   exactly 0px (touching, not overlapping) at 390px wide with matching
	   160px floors on both — correct by construction, but close enough to
	   the edge that ordinary cross-browser font-metric differences could
	   tip a pixel into actual overlap. This only changes the floor end of
	   the clamp (reached on short/narrow viewports); 16vh still governs
	   normally above roughly a 1000px-tall viewport at this breakpoint. */
	--hero-fade-padding: clamp(176px, 16vh, 320px);
	padding-bottom: var(--hero-fade-padding);
}
.hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.hero__media img,
.hero__media .labuket-image-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Explicit default (same as the browser default) — the one place to
	   adjust once a real photo is chosen, if its subject isn't centered. */
	object-position: center;
}
.hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	/* Three layers, derived from the one --color-charcoal token
	   (color-mix, not a new hex/rgb literal) rather than introducing a
	   separate pure-black overlay color: (1) a top fade so the transparent
	   header's white logo/nav/cart stay readable over any photo, (2) a
	   left-to-right fade — darkest on the left, where the text block sits
	   — and (3) a subtle bottom fade for the same reason near the lower
	   edge. Applies the same whether or not a hero photo is set — the
	   charcoal/gold placeholder gradient (.labuket-image-placeholder) is
	   already dark on its own, so this only adds margin there.

	   The left-right range is 72%-58%, not the originally-tried ~65%-15%:
	   measured against a worst-case pure-white photo (the real test — this
	   can't be checked by eye without one), ivory text needs roughly 61%+
	   charcoal underneath it for 4.5:1, and the headline's own width
	   reaches close to the hero's right edge on mobile (where text runs
	   closer to full-width than on desktop), so the fade can't actually
	   reach down to ~15% anywhere text can sit without failing contrast
	   against a bright photo. 58% is still a visible, if subtler, left-to-
	   right fade, with margin above that ~61% floor. */
	background:
		linear-gradient(to bottom, color-mix(in srgb, var(--color-charcoal) 65%, transparent) 0, transparent 180px),
		linear-gradient(to right, color-mix(in srgb, var(--color-charcoal) 72%, transparent), color-mix(in srgb, var(--color-charcoal) 58%, transparent)),
		linear-gradient(to top, color-mix(in srgb, var(--color-charcoal) 55%, transparent) 0, transparent 220px);
}
/* Bottom fade into the next section — now --color-charcoal-deep (the
   homepage's own dark page background, see body.labuket-front-page-dark
   further down), not the ivory this used to blend into back when
   everything below the hero was still the light page. color-mix() against
   "transparent" instead of the rgba(var(--color-bg-rgb), X) this rule
   used to use — the earlier version needed --color-bg-rgb specifically
   because rgba() can't take a hex custom property directly; color-mix()
   has no such restriction and is this file's normal way of deriving a
   translucent variant of an existing token (see .hero__overlay above), so
   no second "--color-charcoal-deep-rgb" token is needed either. A
   generated pseudo-element rather than a 4th .hero__overlay layer so its
   height can be sized independently (--hero-fade-height) without fighting
   the overlay's own geometry. Multiple color stops (not a plain 2-stop
   fade) for an eased curve — the plain version visibly "hinges" partway
   down. Applies whether or not a hero photo is set, same as
   .hero__overlay above — the element doesn't know or care what's under
   it.

   z-index:1, tying it with .hero__overlay rather than something clearly
   higher: ::after is generated as .hero's last child (after .hero__inner
   in the DOM), so at equal z-index it paints after/above .hero__overlay
   (tree-order tiebreak) while still painting below .hero__inner's
   z-index:2 — z-index is compared by value first, tree order only breaks
   ties within the same value, so this is deterministic, not a coincidence
   of source order.

   The last two color stops repeat the same fully-opaque charcoal-deep
   (95%, 100%) instead of only reaching it exactly at 100%: a plain
   gradient approaches its last stop asymptotically under anti-aliasing,
   which can leave a sub-pixel sliver of the image/overlay showing through
   right at the seam with the next section. A short flat plateau of solid
   color removes that risk instead of trying to patch it with a negative
   margin after the fact (overflow:hidden on .hero would clip anything
   pushed past its own bottom edge anyway, so that wouldn't have worked
   here). */
.hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: var(--hero-fade-height);
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		to bottom,
		color-mix(in srgb, var(--color-charcoal-deep) 0%, transparent) 0%,
		color-mix(in srgb, var(--color-charcoal-deep) 8%, transparent) 20%,
		color-mix(in srgb, var(--color-charcoal-deep) 35%, transparent) 50%,
		color-mix(in srgb, var(--color-charcoal-deep) 75%, transparent) 80%,
		var(--color-charcoal-deep) 95%,
		var(--color-charcoal-deep) 100%
	);
}
/* Both hero backgrounds are dark now — a photo (with the overlay above) or
   the charcoal/gold placeholder gradient — so text/CTA colors are
   unconditional here, not gated behind .hero--has-image. */
.hero__inner {
	position: relative;
	z-index: 2;
	max-width: 640px;
	margin-inline: 0;
	color: var(--color-on-dark);
}
.hero__title {
	/* Explicit, not inherited from .hero__inner: the global h1 rule
	   (color: var(--color-text), the dark body-text token) matches this
	   element directly and otherwise wins over inheriting from the
	   parent — that mismatch was the actual cause of the dark-on-dark
	   headline. --color-bg is this theme's ivory token. */
	color: var(--color-bg);
	margin-bottom: var(--space-2);
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero__subtitle {
	color: var(--color-on-dark);
	opacity: 0.9;
	margin-bottom: var(--space-3);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.hero__cta {
	border-color: var(--color-on-dark);
	color: var(--color-on-dark);
	background: transparent;
}
.hero__cta:hover,
.hero__cta:focus-visible {
	background: var(--color-gold);
	border-color: var(--color-gold);
	color: var(--color-text);
}
@media (min-width: 768px) {
	.hero {
		min-height: 85vh;
		align-items: center;
		text-align: center;
		--hero-fade-height: clamp(160px, 28%, 320px);
		--hero-fade-padding: clamp(160px, 23.8vh, 320px); /* 28% of an 85vh-tall hero */
	}
	.hero__inner {
		margin-inline: auto;
	}
}

/* Watched by assets/js/header-scroll.js (IntersectionObserver) — once this
   leaves the viewport, the transparent header gets its solid dark state. */
.header-sentinel {
	position: absolute;
	top: 60px;
	left: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

/* ==========================================================================
   Sections — generous, airy spacing site-wide.
   ========================================================================== */
.section { padding-block: var(--section-padding); }
.section__header { text-align: center; max-width: 640px; margin: 0 auto var(--space-4); }
.section__cta { text-align: center; margin-top: var(--space-5); }
.bg-alt { background: var(--color-bg-alt); }

/* Featured-bouquets section (front-page.php): less vertical space above/
   below than the generic .section padding, so the grid sits closer to the
   top of the section — the heading/subtitle stay centred (.section__header
   is unaffected), only the section's own outer padding shrinks. */
.featured-products {
	padding-top: 56px;
	padding-bottom: 32px;
}

/* ==========================================================================
   Product grid — home page featured section. Shares --grid-gap/--grid-pad/
   --grid-max (:root, above) with the shop/category grid
   (.woocommerce ul.products / #labuket-shop-grid further down) so the two
   can't drift apart; markup differs (this is both the grid AND its own
   width-constrained "shell", since nothing else shares the section's width
   here), but the numbers are the same tokens.
   2 columns under 700px, 3 from 700px, 4 from 1100px — grid-template-
   columns always declares the full column count, so with fewer products
   than columns the cards stay left-aligned in the first N tracks rather
   than stretching or centering.
   ========================================================================== */
.product-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--grid-gap);
	width: 100%;
	max-width: var(--grid-max);
	margin-inline: auto;
	padding-inline: var(--grid-pad);
}
@media (min-width: 700px) {
	.product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
	.product-grid { grid-template-columns: repeat(4, 1fr); }
}
.product-card--placeholder .product-card__media {
	display: block;
	aspect-ratio: 3 / 4;
	border-radius: var(--radius-media);
	overflow: hidden;
}
.product-card--placeholder .product-card__meta {
	display: block;
	margin-top: var(--space-1);
}
.product-card--placeholder .product-card__composition {
	color: var(--color-text-muted);
	font-size: 0.85rem;
}

/* ==========================================================================
   Home brand line — the optional client-editable sentence (Customizer
   "Rečenica brenda") shown above the Kolekcije segment, front-page.php.
   Deliberately quiet/small (replaces the old standalone large-serif
   "brand statement" band this used to be its own section for) — a lead-in
   aside, not a headline; the Kolekcije heading right below it still
   carries the visual weight.
   ========================================================================== */
.home-brand-line {
	font-family: var(--font-heading);
	font-style: italic;
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.5;
	text-align: center;
	max-width: 640px;
	margin: 0 auto;
	padding-block: var(--space-4) var(--space-2);
	color: var(--color-text-muted);
}

/* ==========================================================================
   How it works (steps) — thin line icons, minimal.
   ========================================================================== */
.steps {
	display: grid;
	gap: var(--space-4);
	grid-template-columns: 1fr;
}
.step { text-align: center; }
.step__icon {
	width: 2.75rem;
	height: 2.75rem;
	margin: 0 auto var(--space-2);
	color: var(--color-accent);
}
.step__icon svg { width: 100%; height: 100%; }

@media (min-width: 768px) {
	.steps { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Kolekcije — visual tile grid, replaces the old "Dostava i nega" split
   layout (delivery-care__*, same spot in front-page.php), and before that
   a plain text-pill row (collections-row__pill, retired this pass — see
   below). body.labuket-front-page-dark (further down this file) already
   gives this section's h2/p the same ivory treatment as every other
   home-page heading.

   Layout: <=699px a horizontal scroll-snap row (~70% tile width, so the
   next tile peeks in from the edge); >=700px a CSS grid, 3 columns, same
   --grid-gap/--grid-max/--grid-pad tokens the product grid uses
   (.product-grid above); >=1100px 4 columns. Neither the flex row nor the
   grid ever centers short rows — both default to start-alignment, so
   fewer tiles than columns/less than a full scroll row stay left-aligned,
   per spec. overflow-x is contained to the list itself (not the page),
   so the mobile "peek" never causes page-level horizontal scroll.
   ========================================================================== */
.collections-row__list {
	display: flex;
	gap: var(--grid-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	list-style: none;
	margin: var(--space-3) 0 0;
	padding: 0;
	max-width: var(--grid-max);
	margin-inline: auto;
}
.collections-row__list > li {
	flex: 0 0 70%;
	scroll-snap-align: start;
	min-width: 0;
}
@media (min-width: 700px) {
	.collections-row__list {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		overflow: visible;
		scroll-snap-type: none;
	}
	.collections-row__list > li { flex: initial; }
}
@media (min-width: 1100px) {
	.collections-row__list { grid-template-columns: repeat(4, 1fr); }
}

.collections-row__tile {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--radius-card);
	border: 1px solid color-mix(in srgb, var(--color-bg) 25%, transparent);
	background: var(--color-charcoal);
	text-decoration: none;
}
.collections-row__tile:focus-visible {
	outline: 2px solid var(--color-gold);
	outline-offset: 2px;
}
.collections-row__tile-image {
	/* Deliberately NOT position:absolute — confirmed live (screenshots,
	   overlay hidden/shown, a translucent-red substitute test) that an
	   absolutely-positioned <img> with object-fit:cover here gets
	   composited as fully opaque over the sibling gradient overlay
	   regardless of document order or z-index. Normal flow + 100%/100%
	   sizing inside the already-fixed-height tile (aspect-ratio above)
	   looks pixel-identical and doesn't have that problem. */
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition-slow);
}
.collections-row__tile:hover .collections-row__tile-image,
.collections-row__tile:focus-visible .collections-row__tile-image {
	transform: scale(1.04);
}
@media (prefers-reduced-motion: reduce) {
	.collections-row__tile-image { transition: none; }
	.collections-row__tile:hover .collections-row__tile-image,
	.collections-row__tile:focus-visible .collections-row__tile-image {
		transform: none;
	}
}
/* Uniform dark layer (not just a bottom fade) so centered text stays
   readable against any part of the photo, not only its lower edge. */
.collections-row__tile-overlay {
	position: absolute;
	inset: 0;
	background: color-mix(in srgb, var(--color-charcoal-deep) 40%, transparent);
	pointer-events: none;
}
/* Shared by both tile types: name (plus icon, when present) centered as a
   group, both axes — same position regardless of whether there's a photo
   underneath. */
.collections-row__tile-content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	padding: var(--space-3);
	text-align: center;
}
/* Plain (image-less) tile: icon + name centered, radial champagne glow. */
.collections-row__tile--plain {
	background:
		radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--color-gold) 20%, transparent) 0%, transparent 65%),
		var(--color-charcoal);
}
.collections-row__tile-icon {
	width: var(--collections-tile-icon-size);
	height: var(--collections-tile-icon-size);
	color: var(--color-gold);
}
.collections-row__tile-name {
	font-family: var(--font-heading);
	/* Was sized bigger than the "Kolekcije" section heading (h2) itself,
	   which read as unnatural. Now ~60-65% of --font-size-h2 via the fluid
	   --collections-tile-name-size token, with a floor of 82% of
	   --font-size-h2 (the min() below) so the name stays at least ~18%
	   smaller than the heading even at viewport widths where the token's
	   own clamp would otherwise close that gap — see --font-size-h2's
	   definition in :root above for why that floor is needed at all. */
	font-size: min(var(--collections-tile-name-size), calc(var(--font-size-h2) * 0.82));
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--color-bg);
	/* Long names ("Matura i diplomiranje", "Novogodišnje") can have a
	   single word wider than the narrowest tile at this larger size —
	   text-wrap:balance spreads 2-3 lines evenly, hyphens:auto breaks at
	   real syllable points where the browser has a hyphenation dictionary
	   for the page's language, and overflow-wrap:anywhere is the actual
	   fix for the classic flexbox long-word overflow trap (this span is a
	   column-flex item with align-items:center, so without it, a single
	   unbreakable word longer than the tile's content width would force
	   the item past its container via min-width:auto rather than wrap) —
	   together they guarantee no overflow regardless of exact glyph
	   widths; .collections-row__tile's own overflow:hidden is a second,
	   independent backstop even if a string somehow still ran wide. */
	text-wrap: balance;
	hyphens: auto;
	overflow-wrap: anywhere;
}
/* Image tile only: the photo behind it can be any color/brightness, so the
   name gets a soft shadow on top of the uniform dark overlay above. */
.collections-row__tile--image .collections-row__tile-name {
	text-shadow: 0 1px 4px color-mix(in srgb, var(--color-charcoal-deep) 70%, transparent);
}

/* Admin-only empty-state hint (labuket_render_home_collections_admin_hint(),
   inc/collections.php) — a discreet dashed placeholder standing in for the
   Kolekcije section when it has nothing to show, visible only to a
   logged-in administrator (server-side guard, not just CSS) so an empty
   section doesn't silently look broken while testing. Deliberately plain/
   muted — not styled like a real pill or call-to-action, so it reads as
   "nothing here yet," not as content. */
.collections-row-admin-hint {
	margin: var(--space-3) 0 0;
	padding: var(--space-3);
	border: 1px dashed color-mix(in srgb, var(--color-bg) 35%, transparent);
	border-radius: var(--radius);
	color: color-mix(in srgb, var(--color-bg) 55%, transparent);
	font-size: 0.85rem;
	text-align: center;
}

/* ==========================================================================
   Footer — refined three columns.
   ========================================================================== */
.site-footer {
	border-top: 1px solid color-mix(in srgb, var(--color-gold) 40%, transparent);
	background: var(--color-charcoal);
	padding-block: var(--space-5);
	font-size: 0.9rem;
	color: color-mix(in srgb, var(--color-on-dark) 72%, transparent);
}
/* Named grid areas (not DOM/source order) decide each column's on-screen
   position at every breakpoint below — "address"/"links"/"contact" map
   to the three .site-footer__col divs in that fixed DOM order (1st/2nd/
   3rd child; footer.php never reorders them), so a single rule here
   covers all three breakpoints and the mobile stacking order
   (address, Kontakt, Brzi linkovi) needs no JS/PHP reordering, just a
   different area string per media query. */
.site-footer__col:nth-child(1) { grid-area: address; }
.site-footer__col:nth-child(2) { grid-area: links; }
.site-footer__col:nth-child(3) { grid-area: contact; }

.site-footer__grid {
	display: grid;
	gap: var(--space-4);
	grid-template-columns: 1fr;
	grid-template-areas: "address" "contact" "links";
}
.site-footer__col ul { display: grid; gap: 0.4rem; margin-top: var(--space-1); }
.site-footer__col a { color: color-mix(in srgb, var(--color-on-dark) 72%, transparent); }
.site-footer__col a:hover, .site-footer__col a:focus { color: var(--color-on-dark); }
.site-footer address { font-style: normal; }
.site-footer p { margin: 0 0 0.25rem; }

/* "Brzi linkovi" (.footer-quick-links — its own class, not the bare
   ".site-footer__col ul" the Kontakt column's .footer-contact-icons also
   matches, to avoid the specificity workarounds that selector sharing
   needed before). Two columns at EVERY width now, including mobile —
   filled column-BY-COLUMN (first ceil(n/2) links in column 1) via real
   CSS Grid, not multicol — multicol's columns always stretch to half
   the container regardless of content width, which is exactly why the
   two columns previously ended up ~270px apart instead of sitting close
   to their own text. grid-auto-flow:column needs an explicit row count
   to know where to wrap into column 2, and that can't be computed in
   CSS alone — the link count varies 1-8 depending on which pages are
   published in wp-admin — so footer.php writes it as the inline custom
   property --labuket-quick-links-rows (ceil(n/2), PHP-computed,
   structural data for the grid math, not a design token).
   repeat(2, max-content): columns shrink to their own content's width
   instead of being stretched. 28px column-gap / 4px row-gap are the
   brief's own numbers, not a --space-* token, same "no scale step lands
   on this exact gap" reasoning already used for .footer-contact-icons'
   12px below. padding-block on the links (not row-gap alone) keeps each
   one a >=32px-tall tap target. No width gate needed at mobile — two
   max-content columns (measured ~76px + 131px + the 28px gap for this
   site's actual longest labels) comfortably fit even a 360px viewport,
   confirmed live. ".site-footer__col .footer-quick-links" (0,2,0), not
   the bare class (0,1,0) — needs to beat ".site-footer__col ul"'s own
   gap:0.4rem (0,1,1), which otherwise wins on specificity alone
   regardless of source order and silently overrides column-gap/row-gap
   below. */
.footer-quick-links a {
	display: inline-block;
	padding-block: 5px;
}
.site-footer__col .footer-quick-links {
	display: grid;
	grid-template-columns: repeat(2, max-content);
	grid-auto-flow: column;
	grid-template-rows: repeat(var(--labuket-quick-links-rows, 4), auto);
	column-gap: 28px;
	row-gap: 4px;
	justify-content: start;
}

/* ==========================================================================
   "Kontakt" page template (page-templates/contact.php) — reuses
   .footer-contact-icons for the icon row itself (same size/look), this
   just adds the page's own spacing around it.
   ========================================================================== */
.contact-page__details {
	margin-top: var(--space-4);
	display: grid;
	gap: 0.35rem;
}
.contact-page__details p,
.contact-page__details .hours { margin: 0; }
.contact-page__icons { margin: var(--space-1) 0; }
.site-footer__bottom {
	margin-top: var(--space-4);
	padding-top: var(--space-3);
	border-top: 1px solid color-mix(in srgb, var(--color-gold) 25%, transparent);
	font-size: 0.8rem;
}
/* Tablet (600-899px): two rows, address+Kontakt side by side in row 1,
   Brzi linkovi spanning both columns in row 2 below — matches the
   brief exactly rather than reusing the >=900px 3-in-a-row layout at a
   width too narrow for it. */
@media (min-width: 600px) and (max-width: 899px) {
	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"address contact"
			"links links";
	}
}

/* Desktop (>=900px): three EQUAL columns (repeat(3, minmax(0, 1fr)) —
   not max-content, not an asymmetric fr split from the last two
   attempts at this layout) — column start lines land at a plain
   0%/33%/66% of the container, free space simply left over at the
   row's right end, nothing pushed to any edge. column-gap: clamp(32px,
   4vw, 64px) is the brief's own formula — a literal value, not a
   --space-* token, same reasoning as every other one-off gap in this
   section.
   No justify-self rule, deliberately — the brief's own suggestion
   (justify-self:start on every column) turns out to cause the same
   problem a plain justify-self:end caused in an earlier attempt at this
   layout: setting justify-self to anything but its default (stretch)
   switches the grid item out of filling its track and into shrinking to
   its own content's width instead — confirmed live, the links column
   stayed pinned at its own 235.5px content width even on a 1024px
   viewport where its fair 1/3 share was ~291px, leaving an inconsistent
   gap after it instead of a uniform one between all three. Left at the
   default stretch instead: every column genuinely fills its equal
   track, and the content inside still reads left-aligned regardless,
   since nothing anywhere in this file sets text-align (or anything
   else) that would center or right-align it.
   minmax(0, ...), not a bare 1fr, still matters even with three equal
   tracks — without it a track can grow past its fair share to fit a
   wide child's intrinsic width, which is exactly what caused a 20px
   horizontal overflow in that same earlier attempt, at 900px; minmax(0,
   1fr) caps every track at its fair share no matter what, so content
   that doesn't fit wraps inside its own column instead of pushing the
   whole row wider than the container. */
@media (min-width: 900px) {
	.site-footer__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		grid-template-areas: "address links contact";
		column-gap: clamp(32px, 4vw, 64px);
	}
}

/* ==========================================================================
   Floating contact button
   ========================================================================== */
.floating-contact {
	position: fixed;
	/* 24px desktop (--space-3), 16px mobile (--space-2, see the <=767px
	   override below) — same breakpoint --mobile-header-height's own rules
	   use for "mobile" throughout this file. env() falls back to 0px on a
	   device/browser with no notch, so the plain --space-* value is what
	   non-iOS browsers actually see. */
	right: calc(var(--space-3) + env(safe-area-inset-right, 0px));
	bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
	z-index: 100;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: var(--space-1);
}
@media (max-width: 767px) {
	.floating-contact {
		right: calc(var(--space-2) + env(safe-area-inset-right, 0px));
		bottom: calc(var(--space-2) + env(safe-area-inset-bottom, 0px));
	}
}
/* Vertical stack of round icon buttons, no card/background of its own —
   each button draws its own circle (see .contact-icon-link--panel below).
   Hidden via opacity/visibility (not display:none) so the open/close
   transition can animate; floating-contact.js also toggles aria-hidden
   for assistive tech, independent of this visual state. */
.floating-contact__panel {
	margin-bottom: var(--space-1);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.floating-contact__panel.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.floating-contact__rows {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-1);
}

/* ==========================================================================
   Contact icon buttons — shared base for the floating panel (filled,
   larger) and the footer row (outlined, smaller). Each is a real link
   (tel:/mailto:/app URL), round, with a CSS-only tooltip built from
   data-tooltip (title="" on the same element is the non-hover/no-JS
   fallback — a native tooltip, same text).
   ========================================================================== */
.contact-icon-link {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid var(--color-gold);
	background: var(--color-charcoal);
	color: var(--color-gold);
}
.contact-icon-link:hover,
.contact-icon-link:focus-visible {
	background: var(--color-gold);
	color: var(--color-charcoal);
}
.contact-icon-link:focus-visible {
	outline: 2px solid var(--color-gold);
	outline-offset: 2px;
}
@media (prefers-reduced-motion: no-preference) {
	.contact-icon-link {
		transition: background var(--transition), color var(--transition), transform var(--transition);
	}
	.contact-icon-link:hover,
	.contact-icon-link:focus-visible {
		transform: translateY(-2px);
	}
}

/* CSS-only tooltip: shown on hover/focus, built from data-tooltip so the
   text only has to be written once (also the aria-label/title). Positioned
   toward data-tooltip-side so it opens away from the screen edge the
   button sits near — "left" for the floating panel (hugs the right edge
   of the viewport), "top" for the footer row. */
.contact-icon-link::after {
	content: attr(data-tooltip);
	position: absolute;
	white-space: nowrap;
	padding: 0.3em 0.7em;
	border-radius: 999px;
	background: var(--color-charcoal);
	color: var(--color-on-dark);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}
.contact-icon-link:hover::after,
.contact-icon-link:focus-visible::after {
	opacity: 1;
	visibility: visible;
}
.contact-icon-link[data-tooltip-side="top"]::after {
	bottom: calc(100% + 0.5rem);
	left: 50%;
	transform: translateX(-50%);
}
.contact-icon-link[data-tooltip-side="left"]::after {
	right: calc(100% + 0.5rem);
	top: 50%;
	transform: translateY(-50%);
}

/* Panel variant — the larger, filled buttons in the floating stack. */
.contact-icon-link--panel {
	width: 46px;
	height: 46px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.contact-icon-link--panel .labuket-icon {
	width: 22px;
	height: 22px;
}

/* Outline variant — smaller, no fill of its own (the footer is already
   charcoal, so a second solid fill per button would be redundant/heavy). */
.contact-icon-link--outline {
	width: 36px;
	height: 36px;
	background: transparent;
}
.contact-icon-link--outline .labuket-icon {
	width: 18px;
	height: 18px;
}
/* :is(.site-footer, .contact-page, .mobile-menu-overlay, .labuket-thankyou-next)
   .footer-contact-icons — not the bare class — on purpose: specificity
   (0,2,0) vs. .site-footer__col ul's (0,1,1) a few rules up, which
   otherwise wins on that generic selector alone and forces display:grid
   (one icon per row) regardless of source order. Scoped to all four real
   usages (footer, the Kontakt page template, the mobile menu overlay, the
   thank-you page's "Šta dalje?" block) rather than !important, so
   .site-footer__col ul is untouched for the other lists it legitimately
   governs (e.g. "Brzi linkovi"). */
:is(.site-footer, .contact-page, .mobile-menu-overlay, .labuket-thankyou-next) .footer-contact-icons {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	/* Literal 12px, not a --space-* token — none of the scale's steps (8px,
	   16px, ...) land on the exact gap this row was asked for. */
	gap: 12px;
	justify-content: flex-start;
	margin: 0 0 var(--space-2);
	padding: 0;
	list-style: none;
}

/* Address-as-map-link: icon + text, underline only on hover/focus so it
   doesn't look like a generic text link at rest. color: inherit so it
   reads correctly both on the footer's dark background and the "Kontakt"
   page's light one. */
.address-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}
.address-link:hover,
.address-link:focus-visible {
	border-bottom-color: var(--color-gold);
}
.address-link .labuket-icon {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

/* Working-hours label + value — semantic <dl> (labuket_render_hours(),
   inc/theme-options.php) rather than a bold span. flex-wrap lets the value
   sit on the same line as the label when there's room and drop to its own
   line under it when there isn't, with no separate narrow-screen rule
   needed. The label's color is a fixed gold-toward-charcoal mix (not
   color-mixed with transparent, which --color-text-muted-style tokens
   elsewhere use) so it reads as the same muted champagne tone on both the
   footer's dark background and the Kontakt page's light one. */
.hours {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.4em;
	margin: 0 0 0.25rem;
}
.hours dt {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: var(--label-letter-spacing);
	color: color-mix(in srgb, var(--color-gold) 65%, var(--color-charcoal));
}
.hours dd {
	margin: 0;
}

.floating-contact__toggle {
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	/* Thin lighter-champagne ring rather than no border at all — a hair of
	   definition against a busy dark-page background behind it. */
	border: 1px solid color-mix(in srgb, var(--color-gold) 55%, white);
	background: var(--color-gold);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.floating-contact__toggle:hover {
	background: color-mix(in srgb, var(--color-gold) 82%, white);
}
.floating-contact__toggle:focus-visible {
	outline: 2px solid var(--color-bg);
	outline-offset: 3px;
}
/* Press feedback — deliberately NOT gated behind prefers-reduced-motion
   (unlike the hover scale below): this is direct tactile response to a
   click/tap, not an ambient/triggered animation. */
.floating-contact__toggle:active {
	transform: scale(0.97);
}
@media (prefers-reduced-motion: no-preference) {
	.floating-contact__toggle {
		transition: background var(--transition), transform var(--transition);
	}
	.floating-contact__toggle:hover {
		transform: scale(1.05);
	}
}
@media (max-width: 767px) {
	.floating-contact__toggle {
		width: 52px;
		height: 52px;
	}
}
/* White stroke (--color-on-dark), sized/weighted past labuket_icon()'s
   usual 24px/1.6 default — both bumped up specifically because a white
   icon on a mid-tone champagne fill (see the contrast note where this
   button is documented) reads better bolder/bigger than this theme's other
   icon buttons, which all sit on near-black or near-white fills instead.
   The drop-shadow is a small additional legibility aid of the same kind:
   it doesn't change the flat-color contrast ratio itself, only how
   distinct the stroke reads against a busy photo behind the button. */
.floating-contact__toggle-icon {
	width: 26px;
	height: 26px;
	stroke-width: 2;
	color: var(--color-on-dark);
	filter: drop-shadow(0 1px 1.5px color-mix(in srgb, var(--color-charcoal-deep) 55%, transparent));
}

/* ==========================================================================
   WooCommerce — shop/category archive: dark catalog page
   Set on body (the outermost element WordPress itself renders — there's no
   theme wrapper div outside it) so the dark fill is never narrower or
   shorter than the page itself; min-height guarantees it reaches the
   bottom of the viewport even when there are too few products to fill it,
   so the footer never sits on a lighter gap above it.

   Scoped by TWO independent, redundant selector groups rather than one:
   body.labuket-shop-archive (added by labuket_shop_body_class() in
   inc/shop-filters.php, the authoritative source — it's what covers any
   taxonomy added later without a CSS change) AND WordPress's own built-in
   archive body classes (post-type-archive-product for the shop page itself,
   tax-{taxonomy} for every category/taxonomy archive) — so this still works
   even if that PHP filter is ever removed or mis-ordered.

   body.labuket-order-flow-dark (labuket_order_flow_body_class(),
   functions.php) joins the same family for Cart, Checkout AND the
   order-received/thank-you page (is_order_received_page() is also
   is_checkout() === true), and body.labuket-product-dark
   (labuket_product_body_class(), inc/single-product.php) joins it for the
   single product page — NOT My Account, which keeps the normal light
   theme. Each of those pages' own layout (two-column grids, forms, cards,
   the thank-you page's hero/cards) lives in its own section further down
   this file; this block only gives them the same base fill/link/focus
   treatment every other dark page already gets.
   body.single-product is WooCommerce's own built-in class (redundant with
   labuket-product-dark, same reasoning as the tax-* classes below).
   ========================================================================== */
body.labuket-shop-archive,
body.post-type-archive-product,
body.tax-product_cat,
body.tax-bouquet_type,
body.tax-for_whom,
body.tax-occasion,
body.tax-flower,
body.tax-colour,
body.tax-mood,
body.tax-collection,
body.labuket-order-flow-dark,
body.labuket-product-dark,
body.single-product {
	--checkbox-border: rgba(255, 255, 255, 0.55);
	--checkbox-bg: color-mix(in srgb, var(--color-bg) 6%, transparent);
	background: var(--color-charcoal-deep);
	color: var(--color-on-dark);
	min-height: 100vh;
	min-height: 100svh; /* Accounts for mobile browser chrome; ignored by browsers that don't support svh, falling back to the vh value just above. */
}
/* Headings on every dark page in this group: the base h1-h4 rule near the
   top of this file colors them --color-text (the LIGHT scheme's near-
   black default) — body.labuket-front-page-dark already has its own
   identical override further down (same --color-bg value, kept as its
   own rule since that page's LINK colour also differs from this group's
   and the two rules shouldn't be merged just to share this one
   property); every OTHER dark page had no override at all until now.
   Confirmed live: WooCommerce's own default related/up-sells/cross-sells
   <h2> (no theme override existed for any of them before this pass) was
   exactly this bug — dark text on this dark background, contrast well
   under 4.5:1. --color-bg (ivory), not --color-on-dark (this group's
   plain BODY text colour, pure white) — headings use the same slightly
   warmer tone as every other dark page's headings, not a new colour. */
body.labuket-shop-archive h1,
body.labuket-shop-archive h2,
body.labuket-shop-archive h3,
body.labuket-shop-archive h4,
body.post-type-archive-product h1,
body.post-type-archive-product h2,
body.post-type-archive-product h3,
body.post-type-archive-product h4,
body.tax-product_cat h1,
body.tax-product_cat h2,
body.tax-product_cat h3,
body.tax-product_cat h4,
body.tax-bouquet_type h1,
body.tax-bouquet_type h2,
body.tax-bouquet_type h3,
body.tax-bouquet_type h4,
body.tax-for_whom h1,
body.tax-for_whom h2,
body.tax-for_whom h3,
body.tax-for_whom h4,
body.tax-occasion h1,
body.tax-occasion h2,
body.tax-occasion h3,
body.tax-occasion h4,
body.tax-flower h1,
body.tax-flower h2,
body.tax-flower h3,
body.tax-flower h4,
body.tax-colour h1,
body.tax-colour h2,
body.tax-colour h3,
body.tax-colour h4,
body.tax-mood h1,
body.tax-mood h2,
body.tax-mood h3,
body.tax-mood h4,
body.tax-collection h1,
body.tax-collection h2,
body.tax-collection h3,
body.tax-collection h4,
body.labuket-order-flow-dark h1,
body.labuket-order-flow-dark h2,
body.labuket-order-flow-dark h3,
body.labuket-order-flow-dark h4,
body.labuket-text-page-dark h1,
body.labuket-text-page-dark h2,
body.labuket-text-page-dark h3,
body.labuket-text-page-dark h4,
body.labuket-product-dark h1,
body.labuket-product-dark h2,
body.labuket-product-dark h3,
body.labuket-product-dark h4,
body.single-product h1,
body.single-product h2,
body.single-product h3,
body.single-product h4 {
	color: var(--color-bg);
}
body.labuket-shop-archive a,
body.post-type-archive-product a,
body.tax-product_cat a,
body.tax-bouquet_type a,
body.tax-for_whom a,
body.tax-occasion a,
body.tax-flower a,
body.tax-colour a,
body.tax-mood a,
body.tax-collection a,
body.labuket-order-flow-dark a,
body.labuket-product-dark a,
body.single-product a {
	color: inherit;
}
body.labuket-shop-archive :focus-visible,
body.post-type-archive-product :focus-visible,
body.tax-product_cat :focus-visible,
body.tax-bouquet_type :focus-visible,
body.tax-for_whom :focus-visible,
body.tax-occasion :focus-visible,
body.tax-flower :focus-visible,
body.tax-colour :focus-visible,
body.tax-mood :focus-visible,
body.tax-collection :focus-visible,
body.labuket-order-flow-dark :focus-visible,
body.labuket-text-page-dark :focus-visible,
body.labuket-product-dark :focus-visible,
body.single-product :focus-visible {
	outline-color: var(--color-gold);
}

/* ==========================================================================
   Homepage: dark page, same family as the shop archive above.
   Scoped to body.labuket-front-page-dark (labuket_front_page_body_class(),
   functions.php). Base page colour is --color-charcoal-deep; .bg-alt is
   redefined here (dark-page only — unaffected everywhere else) to
   --color-charcoal instead of its normal light --color-bg-alt, so the
   collections-row section (which carries .bg-alt in front-page.php) reads
   one step lighter than the sections on either side of it, for the
   "subtle depth" alternation asked for — without adding a second class or
   touching the markup.

   Text colour rule used throughout this block: headings inherit full
   --color-bg (ivory) via the blanket h1–h4 rule below; body copy is
   explicitly set per element to --color-bg at 75% (color-mix with
   transparent, not a new literal colour) rather than via a blanket
   "body md-> p" rule, which would have been higher-specificity than (and
   so silently overridden) .hero__subtitle's own, already-correct, already
   contrast-verified color+opacity — see that rule further up. Every
   element listed below was checked for 4.5:1 against both
   --color-charcoal-deep and --color-charcoal (whichever it actually sits
   on) — see the chat response for the measured ratios.
   ========================================================================== */
body.labuket-front-page-dark {
	--checkbox-border: rgba(255, 255, 255, 0.55);
	--checkbox-bg: color-mix(in srgb, var(--color-bg) 6%, transparent);
	background: var(--color-charcoal-deep);
	color: var(--color-bg);
}
body.labuket-front-page-dark .bg-alt {
	background: var(--color-charcoal);
}
body.labuket-front-page-dark h1,
body.labuket-front-page-dark h2,
body.labuket-front-page-dark h3,
body.labuket-front-page-dark h4 {
	color: var(--color-bg);
}
/* :not(:where(...) *) — both .site-header and .mobile-menu-overlay already
   have their own fully worked-out link colors (white/on-dark, with their
   own hover/current-item states) that have nothing to do with this
   homepage-only rule; without this exclusion this rule's (0,1,1)
   specificity ties with e.g. .language-switcher a's (0,1,1) and wins on
   source order alone, silently turning the header's non-current SR/EN/RU
   items gold on the home page specifically — confirmed directly
   (getComputedStyle), not theoretical. The :where() wrapper is
   deliberate, not decorative: :where()'s specificity is always zero, so
   this exclusion doesn't change this rule's OWN specificity at all — it
   stays tied with .language-switcher a exactly as before. Using a plain
   :not(.site-header *) here instead would raise this rule's specificity
   enough to start beating .btn-outline's own :hover rule elsewhere on
   this page (same color property, different value) — confirmed by
   computing both rules' specificity by hand, not just assumed. */
body.labuket-front-page-dark a:not(:where(.site-header, .mobile-menu-overlay) *) {
	color: var(--color-gold);
}
body.labuket-front-page-dark :focus-visible {
	outline-color: var(--color-gold);
}
body.labuket-front-page-dark .section__header p,
body.labuket-front-page-dark .home-brand-line,
body.labuket-front-page-dark .step p,
body.labuket-front-page-dark .product-card--placeholder .product-card__composition {
	color: color-mix(in srgb, var(--color-bg) 75%, transparent);
}
body.labuket-front-page-dark .step__icon {
	color: var(--color-gold);
}
body.labuket-front-page-dark .btn-outline {
	background: transparent;
	color: var(--color-gold);
	border-color: var(--color-gold);
}
body.labuket-front-page-dark .btn-outline:hover,
body.labuket-front-page-dark .btn-outline:focus-visible {
	background: var(--color-gold);
	color: var(--color-charcoal);
	border-color: var(--color-gold);
}

.shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-2);
	margin-bottom: var(--space-3);
}
.shop-toolbar__title {
	font-family: var(--font-heading);
	font-weight: 400;
	font-size: 2.2rem;
	color: var(--color-bg);
	margin: 0;
}
.shop-toolbar__right {
	display: flex;
	align-items: center;
	gap: var(--space-3);
}
.shop-toolbar__count {
	font-size: 0.85rem;
	color: color-mix(in srgb, var(--color-on-dark) 65%, transparent);
	white-space: nowrap;
}
.shop-grid-toggle {
	display: flex;
	gap: 0.25rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	padding: 3px;
}
.shop-grid-toggle__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	background: transparent;
	color: color-mix(in srgb, var(--color-on-dark) 60%, transparent);
}
.shop-grid-toggle__btn svg { width: 16px; height: 16px; }
.shop-grid-toggle__btn[aria-pressed="true"] {
	background: color-mix(in srgb, var(--color-on-dark) 14%, transparent);
	color: var(--color-on-dark);
}

/* ==========================================================================
   Pill filter bar — one dropdown per facet. Checkboxes are real <input
   name="param[]"> inputs inside one <form method=get>, so "Primeni"
   (type=submit) filters correctly with JavaScript off; shop.js intercepts
   the submit/click to do the fetch-based swap instead when it can.
   ========================================================================== */
.shop-filter-bar {
	margin-bottom: var(--space-4);
}
.shop-filter-bar__pills {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: var(--space-1);
	padding-bottom: 2px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}
@media (min-width: 992px) {
	.shop-filter-bar__pills { flex-wrap: wrap; overflow-x: visible; }
}
.shop-filter {
	position: relative;
	flex: 0 0 auto;
}
.shop-filter__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	padding: 0.55em 1.1em;
	background: transparent;
	color: var(--color-on-dark);
	font-size: 0.85rem;
	white-space: nowrap;
}
.shop-filter__toggle.is-active {
	border-color: var(--color-gold);
	color: var(--color-gold);
}
/* The sitewide default (:focus-visible near the top of this file) rings
   in --color-accent-dark — this theme's dark green, chosen for the light
   page family and barely visible against a dark page's own background.
   Champagne instead, same shape/offset, for every interactive piece of
   this component. */
.shop-filter__toggle:focus-visible,
.shop-filter__apply:focus-visible,
.shop-filter__clear:focus-visible {
	outline-color: var(--color-gold);
}
.shop-filter__chevron {
	width: 12px;
	height: 12px;
	transition: transform var(--transition);
}
.shop-filter__toggle[aria-expanded="true"] .shop-filter__chevron {
	transform: rotate(180deg);
}
.shop-filter__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.1rem;
	height: 1.1rem;
	padding: 0 0.3rem;
	border-radius: 999px;
	background: var(--color-gold);
	color: var(--color-charcoal);
	font-size: 0.65rem;
}
/* Panel was still the light theme's own --color-surface/--color-text (an
   ivory card with near-black text) even though every page this component
   renders on — home, shop, every taxonomy archive — is a dark page; it
   never inherited the dark-page body-class's token overrides because it
   hardcoded light-theme tokens directly instead of reading --checkbox-*
   / --color-on-dark the way the rest of a dark page does. Restyled after
   the SAME floating-dropdown recipe this theme already uses for the main
   nav's own .primary-menu .sub-menu (same background/border/radius/
   shadow tokens) — one shared component, fixed once here, shows up
   correctly on all three contexts since none of them override it.

   z-index 1200: above .site-header (1000) and its mobile-menu-open state
   (1001) and above .mobile-menu-overlay (999) — this panel floats over
   the whole page, header included, same as any other dropdown — but
   below .mini-cart-overlay/.mini-cart (2100/2101) and .labuket-toast
   (2000), so the drawer and the add-to-cart toast always win if both are
   somehow open at once. No modal exists in this theme yet; this leaves
   headroom below 2000 for one.

   Two shadow layers instead of one: a tight, darker contact shadow (second
   value) so the edge reads as "lifted off" the card right underneath it,
   plus the original soft ambient spread (first value) for the overall
   floating depth — the single soft shadow alone washed out against a
   product photo directly behind the panel. */
.shop-filter__panel {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 1200;
	min-width: 220px;
	max-width: min(320px, 85vw);
	max-height: min(360px, 60vh);
	overflow-y: auto;
	background: var(--color-charcoal);
	color: var(--color-bg);
	border: 1px solid color-mix(in srgb, var(--color-gold) 40%, transparent);
	border-radius: var(--radius-dropdown);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.3);
	padding: var(--space-2);
}
.shop-filter__panel[hidden] { display: none; }
/* Set by assets/js/shop.js (positionPanel()) once it measures the open
   panel against the viewport edge — a static nth-last-child guess (see
   the no-JS fallback further down) can't know which pill is actually
   rightmost once the bar wraps (>=992px) or scrolls (<992px), since that
   depends on where the client's own facet labels happen to break. JS
   always sets this via panel.style, which wins the cascade outright, so
   this class only ever matters with JavaScript disabled. */
.shop-filter__panel.is-align-right {
	left: auto;
	right: 0;
}
/* <=640px only (assets/js/shop.js positionPanel()): a full-width floating
   sheet instead of a pill-anchored dropdown — at that width there's no
   room beside a pill for a 220px+ panel without running off-screen, and
   anchoring it to the filter bar itself (not the individual pill) is what
   the mobile sheet spec asks for. JS sets position:fixed + top inline
   (measured from the filter bar's own bottom edge); this class only
   supplies the parts that don't need measuring. */
.shop-filter__panel.is-mobile-sheet {
	left: var(--container-pad);
	right: var(--container-pad);
	width: auto;
	max-width: none;
	max-height: min(60vh, 420px);
}
/* Dims the page behind the mobile sheet — same recipe as .mini-cart-overlay
   (color-mix off --color-charcoal) but lighter, since this is a same-page
   filter refinement, not a full navigation overlay. Created once by
   assets/js/shop.js and reused by every facet panel; sits one step below
   the panel itself so a click on it (handled by the existing "outside
   click closes" listener, since it's outside .shop-filter) closes the
   open panel without covering it. */
.shop-filter-backdrop {
	position: fixed;
	inset: 0;
	z-index: 1150;
	background: color-mix(in srgb, var(--color-charcoal) 35%, transparent);
}
.shop-filter-backdrop[hidden] { display: none; }
.shop-filter__options {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.shop-filter__option {
	display: flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.3em 0.4em;
	border-radius: var(--radius);
	font-size: 0.9rem;
	transition: background var(--transition);
}
.shop-filter__option:hover,
.shop-filter__option:focus-within {
	background: color-mix(in srgb, var(--color-gold) 15%, transparent);
}
/* The sitewide checkbox/radio redesign (further down this file) reads
   --checkbox-border/--checkbox-bg, which only dark pages' own body class
   redefines — the home page's body.labuket-front-page-dark isn't in that
   list (its hero/grid sections don't need it), so this panel's unchecked
   box fell back to the plain :root (light-page) border/fill wherever it
   rendered there. Set directly instead of depending on a body class, so
   it's correct regardless of which of the three pages this opens on;
   checked state (champagne fill + dark check, already fixed site-wide
   after the checkout bug) needs no change here. */
.shop-filter__panel input[type="checkbox"],
.shop-filter__panel input[type="radio"] {
	border-color: color-mix(in srgb, var(--color-gold) 55%, transparent);
	background: color-mix(in srgb, var(--color-bg) 6%, transparent);
}
.shop-filter__panel-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	margin-top: var(--space-2);
	padding-top: var(--space-2);
	border-top: 1px solid color-mix(in srgb, var(--color-gold) 25%, transparent);
}
/* Same visual recipe as .product-card__btn--buy ("Kupi") and the mini-
   cart's own checkout button — champagne fill, charcoal label. */
.shop-filter__apply {
	background: var(--color-gold);
	color: var(--color-charcoal);
	border-radius: 999px;
	padding: 0.5em 1.2em;
	font-size: 0.85rem;
	font-weight: 600;
}
.shop-filter__apply:hover,
.shop-filter__apply:focus-visible {
	background: color-mix(in srgb, var(--color-gold) 85%, black);
	color: var(--color-charcoal);
}
/* Ghost/outline secondary — same recipe as .mini-cart__empty .btn-outline
   (champagne text + border on a dark panel), not the sitewide .btn-
   outline default (--color-accent, this theme's green — wrong family of
   colour for a dark panel). */
.shop-filter__clear {
	display: inline-block;
	border: 1px solid color-mix(in srgb, var(--color-gold) 55%, transparent);
	border-radius: 999px;
	padding: 0.5em 1.2em;
	font-size: 0.85rem;
	color: var(--color-gold);
}
.shop-filter__clear:hover,
.shop-filter__clear:focus-visible {
	background: color-mix(in srgb, var(--color-gold) 15%, transparent);
	border-color: var(--color-gold);
	text-decoration: none;
}
.shop-filter-bar__reset-all {
	display: inline-block;
	margin-top: var(--space-2);
	font-size: 0.85rem;
	color: color-mix(in srgb, var(--color-on-dark) 70%, transparent);
	text-decoration: underline;
}

/* Mobile/tablet (the pill bar scrolls horizontally below 992px, see
   .shop-filter-bar__pills above): the panel's own min(320px, 85vw) cap
   still let it run past the viewport edge for whichever pill sits near
   the right side of the screen. Capped to the viewport minus the
   sitewide container's own side padding (--container-pad, the same
   gutter header/footer/grids already respect) instead of a vw-only
   guess.

   The nth-last-child rule below is now only the no-JS fallback (best
   guess: the last two facets in inc/shop-filters.php's config order,
   "Raspoloženje"/"Kolekcije", are the ones most likely to sit rightmost)
   — with JavaScript on, assets/js/shop.js's positionPanel() measures the
   actually-open panel against the real viewport edge on every open and
   sets left/right as an inline style, which always wins over this rule
   regardless of which pill ends up rightmost after wrapping/scrolling. */
@media (max-width: 991px) {
	.shop-filter__panel {
		max-width: calc(100vw - 2 * var(--container-pad));
	}
	.shop-filter-bar__pills > .shop-filter:nth-last-child(-n+2) .shop-filter__panel {
		left: auto;
		right: 0;
	}
	/* Touch targets: the pill (0.85rem text + 0.55em padding) and the
	   option row both sat under the 44px minimum. min-height alone is
	   enough — both already center their content (align-items: center /
	   flex), so this doesn't need a padding rework. Option text and the
	   two bottom buttons bumped to a readable 15-16px floor too (0.9rem
	   on this theme's 16px root ~= 14.4px — close, but "Primeni"/
	   "Poništi" are short, fixed labels rather than wrapping body copy,
	   so the floor matters most for the facet option list). */
	.shop-filter__toggle {
		min-height: 44px;
	}
	.shop-filter__option {
		min-height: 44px;
		font-size: 1rem;
	}
	.shop-filter__apply,
	.shop-filter__clear {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
		font-size: 0.95rem;
	}
}

.shop-empty-state {
	text-align: center;
	padding: var(--space-6) var(--space-2);
}
.shop-empty-state__message {
	font-family: var(--font-heading);
	font-size: 1.3rem;
	color: var(--color-bg);
	margin-bottom: var(--space-2);
}

/* ==========================================================================
   WooCommerce — shop & category product grid
   Mobile-first: 2 columns, growing to 3 then 4 on larger screens. Shares
   --grid-gap/--grid-pad/--grid-max (:root, above) with the home page's
   .product-grid so the two can't drift apart. Here the width/centering
   live on the #labuket-shop-grid wrapper (inc/shop-filters.php) instead of
   on ul.products itself, since that wrapper also contains the pagination
   and the empty-state message — ul.products only needs to be the grid.
   "Compact" density (grid toggle) halves the column count — see shop.js
   for the body.is-grid-compact toggle + localStorage persistence.
   ========================================================================== */
#labuket-shop-grid {
	width: 100%;
	max-width: var(--grid-max);
	margin-inline: auto;
	padding-inline: var(--grid-pad);
}
.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: var(--grid-gap);
	list-style: none;
	margin: 0 !important;
	padding: 0;
}
/* WooCommerce's own CSS (woocommerce.css, woocommerce-layout.css,
   woocommerce-smallscreen.css) builds ul.products as a legacy float-based
   grid: a ::before/::after clearfix pair (content:" "; display:table) on
   the <ul>, plus float/clear/width/margin on li.product (and more clear
   on li.first specifically, and float/clear toggling per
   nth-child(2n), scoped to max-width:768px). None of that is used here —
   our own grid-template-columns above replaces it — but leaving any of it
   in place breaks OUR grid:

   - The ::before/::after pair generates two real, rendered boxes
     (content:" ", display:table rather than none) that are NOT
     suppressed just because the .woocommerce ul.products rule above also
     sets display:grid — a CSS grid container's generated pseudo-elements
     still become grid items unless explicitly hidden. With ::before
     first and ::after last in document order, a 2-column grid showing 2
     real products auto-places FOUR items — [::before, li, li, ::after] —
     wrapping every 2 into a new row, so the two real cards land in
     row1/col2 and row2/col1 instead of side by side. Confirmed directly:
     getComputedStyle(ul, '::before'/'::after') showed display:table,
     content:'" "', while every li.product's own float/clear/width/margin
     was already correctly neutralized below — the pseudo-elements were
     the one thing still occupying grid cells.
   - float/clear/width/margin on li.product (and li.first/li.last
     specifically) still need overriding directly too, since WC sets
     them regardless of our display:grid. */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
	content: none;
	display: none;
}
.woocommerce ul.products li.product,
.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last {
	float: none !important;
	clear: none !important;
	width: auto !important;
	margin: 0 !important;
	text-align: left;
}
@media (min-width: 700px) {
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (min-width: 1100px) {
	.woocommerce ul.products { grid-template-columns: repeat(4, 1fr) !important; }
}
body.is-grid-compact .woocommerce ul.products { grid-template-columns: repeat(1, 1fr) !important; }
@media (min-width: 700px) {
	body.is-grid-compact .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (min-width: 1100px) {
	body.is-grid-compact .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ==========================================================================
   Product card — shared by the shop/category loop
   (woocommerce/content-product.php) and the home page's featured-bouquets
   section (front-page.php). A <div>, not an <a>: the spec wants the whole
   card clickable except the Kupi/Dodaj u korpu buttons, and nesting a real
   <a>/<button> inside an outer <a> is invalid HTML — .product-card__link is
   an absolutely positioned "stretched link" covering the card instead,
   z-indexed below the action buttons so their own click wins over it.
   ========================================================================== */
.product-card {
	position: relative;
	color: inherit;
	/* Shared by .product-card__btn (height) and the hover transform on
	   .product-card__overlay-text below — defined once, here, so the two
	   stay in sync instead of two hand-matched numbers drifting apart.
	   2.75rem (was 2.25rem) — tall enough for a two-line wrapped button
	   label (confirmed live, a 700px/3-column card's narrowest case),
	   not just the single-line Serbian/English text that fit the old,
	   shorter height. */
	--card-actions-height: 2.75rem;
	--card-actions-gap: var(--space-1);
}
.product-card__link {
	position: absolute;
	inset: 0;
	z-index: 1;
}
.product-card__media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: var(--radius-media);
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: var(--color-surface-alt);
}
.product-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0;
	transition: opacity var(--transition);
}
.product-card__image.is-active { opacity: 1; }
.product-card__gradient {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 65%;
	background: linear-gradient(to top, rgba(20, 18, 15, 0.78), rgba(20, 18, 15, 0));
	opacity: 0.85;
	pointer-events: none;
	z-index: 1;
	transition: opacity 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.product-card__badge {
	position: absolute;
	top: var(--space-1);
	left: var(--space-1);
	z-index: 2;
	background: color-mix(in srgb, var(--color-charcoal) 55%, transparent);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: var(--color-on-dark);
	font-size: 0.65rem;
	line-height: 1.6;
	padding: 0.25em 0.8em;
	border-radius: 999px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.product-card__dots {
	position: absolute;
	top: var(--space-1);
	left: 0;
	right: 0;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 5px;
}
.product-card__dot {
	width: 5px;
	height: 5px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.4);
	transition: background var(--transition), transform var(--transition);
}
.product-card__dot.is-active {
	background: var(--color-on-dark);
	transform: scale(1.3);
}
.product-card__overlay-text {
	/* Title + composition line + price pill move together as ONE wrapper
	   on hover (see the hover rule further down) — translateY by exactly
	   --card-actions-height + --card-actions-gap (defined on .product-card),
	   so the revealed action row never overlaps this text and nothing here
	   animates top/bottom/height (no layout jumps, just a transform). */
	position: absolute;
	left: var(--space-2);
	right: var(--space-2);
	bottom: var(--space-2);
	z-index: 2;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-1);
	transition: transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.product-card__overlay-left { min-width: 0; }
.product-card__name {
	margin: 0;
	color: var(--color-bg);
	font-family: var(--font-heading);
	font-size: 1.05rem;
	line-height: 1.3;
	font-weight: 400;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	/* On the narrowest cards (mobile, 2 columns) the price pill shares this
	   row and shrinks the name column well below one word's width — without
	   this, a long single word (e.g. "Bidermajer") overflows past the
	   column and gets clipped mid-word by overflow:hidden above instead of
	   wrapping to the second line. */
	overflow-wrap: break-word;
}
.product-card__composition {
	margin: 0.2rem 0 0;
	color: color-mix(in srgb, var(--color-bg) 70%, transparent);
	font-size: 0.78rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.product-card__price {
	flex: 0 0 auto;
	display: inline-block;
	background: color-mix(in srgb, var(--color-charcoal) 45%, transparent);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: var(--color-on-dark);
	font-size: 0.78rem;
	white-space: nowrap;
	padding: 0.3em 0.8em;
	border-radius: 999px;
}

/* Hover row (Kupi / Dodaj u korpu) — hover-capable pointers only; z-index 3
   puts both buttons above .product-card__link so clicking them doesn't
   follow the card-wide link underneath. */
.product-card__actions {
	position: absolute;
	left: var(--space-2);
	right: var(--space-2);
	bottom: var(--space-2);
	z-index: 3;
	display: flex;
	gap: 0.5rem;
	opacity: 0;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity 280ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.product-card__btn {
	flex: 1 1 0;
	/* min-width:0 — a flex child's default min-width is "auto" (its own
	   content's width), which can refuse to shrink below that and push
	   the row wider than the card; needed now that text can wrap instead
	   of just getting cut off below. height is --card-actions-height
	   (confirmed live: "Добавить в корзину" needs ~123px but only has
	   ~74px on a 700px/3-column card — genuinely doesn't fit on one line
	   in Russian), sized to fit two wrapped lines rather than one, so the
	   .product-card__overlay-text hover transform (translateY by this
	   same variable, further down) still clears the row correctly without
	   a separate number to keep in sync. text-wrap:balance avoids a lone
	   orphan word on the second line; overflow-wrap:anywhere is the
	   last-resort safety net for a single word wider than the button. */
	min-width: 0;
	height: var(--card-actions-height);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	padding-inline: 0.5em;
	font-size: 0.78rem;
	line-height: 1.15;
	text-align: center;
	white-space: normal;
	text-wrap: balance;
	overflow-wrap: anywhere;
}
/* Compound selectors (.product-card__btn + the modifier), not the modifier
   class alone: the dark-page body scopes' own link-colour rules —
   body.post-type-archive-product a (shop/catalog archive) and
   body.labuket-front-page-dark a:not(...) (homepage), both further up this
   file — are "body.<class> a" selectors with specificity (0,1,2), which
   outranks a single-class ".product-card__btn--buy" (0,1,0) and silently
   wins: on the shop page the label inherits the body's white, nearly
   unreadable on gold; on the homepage it inherits the body's own champagne
   gold link colour, making the label the exact same colour as its
   background. Confirmed via getComputedStyle before this fix (both buttons
   returned background === color on the homepage). Matching on both classes
   already present in the markup (labuket_render_product_card()) raises
   this rule's own specificity to (0,2,0) — enough to win with no
   !important, and without touching which elements match. */
.product-card__btn.product-card__btn--buy {
	background: var(--color-gold);
	color: var(--color-charcoal);
}
.product-card__btn.product-card__btn--buy:hover,
.product-card__btn.product-card__btn--buy:focus-visible {
	background: color-mix(in srgb, var(--color-gold) 85%, black);
	color: var(--color-charcoal);
}
.product-card__btn.product-card__btn--cart {
	background: color-mix(in srgb, var(--color-charcoal) 40%, transparent);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: var(--color-on-dark);
	border: 1px solid rgba(255, 255, 255, 0.35);
}
.product-card__btn.product-card__btn--cart:hover,
.product-card__btn.product-card__btn--cart:focus-visible {
	background: color-mix(in srgb, var(--color-charcoal) 60%, transparent);
	color: var(--color-on-dark);
	border-color: rgba(255, 255, 255, 0.55);
}
/* Same fix, same reason, as the two buttons above — .ajax_add_to_cart is
   always present alongside .product-card__quick-add (both are only output
   when $can_quick_add is true), so compounding on it doesn't change which
   elements this matches. */
.product-card__quick-add.ajax_add_to_cart {
	display: none;
	position: absolute;
	right: var(--space-1);
	bottom: calc(var(--space-2) + 2.6rem);
	z-index: 3;
	width: 2.4rem;
	height: 2.4rem;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: color-mix(in srgb, var(--color-charcoal) 55%, transparent);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: var(--color-on-dark);
	border: 1px solid rgba(255, 255, 255, 0.3);
}
.product-card__quick-add.ajax_add_to_cart:hover,
.product-card__quick-add.ajax_add_to_cart:focus-visible {
	background: color-mix(in srgb, var(--color-charcoal) 70%, transparent);
	color: var(--color-on-dark);
	border-color: rgba(255, 255, 255, 0.5);
}
.product-card__quick-add svg { width: 18px; height: 18px; }

@media (hover: hover) and (pointer: fine) {
	.product-card:hover .product-card__actions,
	.product-card:focus-within .product-card__actions {
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}
	/* Title + composition + price move up TOGETHER, as one wrapper — see
	   .product-card__overlay-text above. Exactly clears the action row
	   revealed above (its height + the gap above it), so nothing overlaps. */
	.product-card:hover .product-card__overlay-text,
	.product-card:focus-within .product-card__overlay-text {
		transform: translateY(calc(-1 * (var(--card-actions-height) + var(--card-actions-gap))));
	}
	.product-card:hover .product-card__gradient,
	.product-card:focus-within .product-card__gradient {
		opacity: 1;
	}
}
@media (hover: none), (pointer: coarse) {
	.product-card__quick-add { display: inline-flex; }
}

/* No hover-capable pointer at all (touch): the two-button row never
   applies in the first place (gated behind the media query above), so
   .product-card__overlay-text simply never moves — nothing extra needed
   here beyond leaving that query as the only place the transform fires. */

/* The state still changes on hover/focus (buttons appear, text shifts up)
   — only the ANIMATED transition between those states is removed, so the
   change is instant rather than motion over time. */
@media (prefers-reduced-motion: reduce) {
	.product-card__overlay-text,
	.product-card__actions,
	.product-card__gradient {
		transition: none;
	}
}

/* ==========================================================================
   WooCommerce — price colour. Unscoped (not just the single-product page):
   WooCommerce's own woocommerce.css hardcodes an olive/yellow-green
   (#958e09, its --wc-highlight token) on ".price"/"ul.products .price" —
   checked every place a price can appear in this theme (product page,
   shop/home cards, mini-cart, cart, checkout): the cards
   (product-card__price), the mini-cart (mini-cart-item__price) and the
   cart/checkout tables (plain wc_price() output, no .price wrapper) all
   already use their own class or bare markup, never WooCommerce's own
   ".price" — confirmed live, none of them were actually olive. The single
   product page's own price (.price.labuket-product__price) was the one
   real, confirmed case. Overridden unscoped anyway, so any future or
   overlooked WooCommerce ".price" markup inherits champagne automatically
   instead of silently staying olive.
   ========================================================================== */
/* !important: WooCommerce's own rule here is
   ".woocommerce:where(...) div.product p.price" — the :where() wrapper
   contributes zero specificity, but "div.product" + ".price" alone is
   still (0,3,2) once combined with ".woocommerce", well above this plain
   ".price" (0,1,0). Confirmed live (getComputedStyle) a non-!important
   version here loses and stays olive. */
.price,
.price ins {
	color: var(--color-gold) !important;
}
.price del {
	color: var(--color-text-muted) !important;
	text-decoration: line-through;
	opacity: 1;
}
body.labuket-product-dark .price del {
	color: color-mix(in srgb, var(--color-bg) 55%, transparent) !important;
}

/* ==========================================================================
   WooCommerce — single product page (dark scheme, body.labuket-product-dark)
   Mobile-first: breadcrumb, then gallery (full-bleed-in-container carousel),
   then summary, stacked. Two columns from 900px up, gallery ~55% / summary
   ~45%, summary sticky. See inc/single-product.php for the hook rewiring
   that feeds these classes (category eyebrow, custom price text, pill
   selector, accordions, info row, quantity stepper, "Kupi odmah" button).
   ========================================================================== */
/* woocommerce.php (the top-level template for every WooCommerce page,
   shop archive included) wraps whatever woocommerce_content() outputs in
   a bare <div class="section"> for the shop archive's own vertical
   rhythm (.section's padding-block is --section-padding, 64px up to a
   fluid 96-140px past ~700px) — but that SAME wrapper also sits around
   this page's content-single-product.php, stacking its padding-top on
   top of .labuket-product's own 32px (--space-4) below, which is what
   actually produced the ~100-147px gap under the header (confirmed live:
   147px total at 1440px = exactly --section-padding's 115px there + this
   32px). Zeroed here, scoped to body.single-product only, so the shop
   archive's own .section spacing is untouched; only padding-top, not
   -bottom, since the bottom edge (around the tabs/related products in
   .labuket-product__after) was never reported as wrong. */
body.single-product .section {
	padding-top: 0;
}
.labuket-product {
	padding-block: var(--space-4) 0;
}
.labuket-product__breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4em;
	margin-bottom: var(--space-3);
	font-size: 0.78rem;
	color: color-mix(in srgb, var(--color-bg) 65%, transparent);
	text-transform: uppercase;
	letter-spacing: var(--label-letter-spacing);
}
.labuket-product__breadcrumb a {
	color: inherit;
}
.labuket-product__breadcrumb a:hover,
.labuket-product__breadcrumb a:focus-visible {
	color: var(--color-gold);
}
.labuket-product__breadcrumb-sep {
	opacity: 0.5;
}

.labuket-product__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-5);
	margin-bottom: var(--space-6);
	align-items: start;
}
/* Neutralises WooCommerce's own woocommerce-layout.css, which floats and
   shrinks these two elements regardless of this grid — and regardless of
   viewport width, so this rule is deliberately NOT inside the >=900px
   media query below: ".images" is co-classed directly onto
   .woocommerce-product-gallery itself (core markup,
   templates/single-product/product-image.php), and ".summary" is
   co-classed directly onto .labuket-product__summary
   (content-single-product.php, this theme). Both get
   "float:left/right;width:48%" from `.woocommerce …div.product
   div.images`/`div.summary` — specificity (0,2,2), which plain class
   selectors here can't outrank without matching or exceeding it;
   confirmed live (getBoundingClientRect) this was the actual cause of the
   too-narrow gallery and the gap before the text column, not anything in
   this theme's own grid rule, which was already correct. !important is
   deliberate here, not a shortcut — this is explicitly neutralising a
   legacy plugin rule, not winning an accidental specificity fight. */
.labuket-product__layout .images,
.labuket-product__layout .summary {
	float: none !important;
	width: 100% !important;
	clear: none !important;
}
@media (min-width: 900px) {
	.labuket-product__layout {
		/* Was 1.2fr/1fr (gallery ~55%): revised to an even 1fr/1fr so the
		   now height-capped main image (see the gallery image rule below)
		   doesn't end up any wider than it needs to — a wider column would
		   just leave the image centred in extra empty horizontal space,
		   per spec ("gallery about 1fr, details about 1fr... so the image
		   is about 560-640px wide at 1440px"). minmax(0, …) still matters
		   here for the same reason as before: an fr track's implicit
		   min-width is auto, which minmax(0, …) overrides so neither
		   column can be forced wider than its share by its own content. */
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: var(--product-gallery-gap);
	}
	/* Sticky now, same offset as .labuket-product__summary below, so the
	   two columns scroll together and stay level with each other on a
	   tall page instead of the (now height-capped, usually shorter)
	   gallery scrolling out of sync with the details column. */
	.labuket-product__gallery {
		position: sticky;
		top: calc(var(--header-height-desktop) + var(--wp-admin--admin-bar--height, 0px) + 24px);
	}
}

/* ---- Gallery ------------------------------------------------------------ */
.woocommerce-product-gallery {
	position: relative;
}
.woocommerce-product-gallery__wrapper {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.woocommerce-product-gallery__image {
	border-radius: var(--radius-media);
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--color-gold) 25%, transparent);
	background: var(--color-charcoal);
}
/* ">", not a plain descendant selector: the main image is the only
   .woocommerce-product-gallery__image that's a DIRECT child of .wrapper —
   every thumbnail is now nested one level deeper, inside
   .labuket-product-gallery__thumbnails (woocommerce/single-product/
   product-thumbnails.php, theme override). A plain ":first-child" alone
   would also match the FIRST THUMBNAIL (it's :first-child of ITS OWN
   parent, that wrapper div) — confirmed live, that's exactly what
   happened before this rule used ">": the first thumbnail rendered at
   the main image's own size instead of a thumbnail's. */
.woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child {
	aspect-ratio: 3 / 4;
}
@media (min-width: 900px) {
	/* 20px exactly (the asked-for value) via the existing --radius-card
	   token, instead of the shared --radius-media (22px) every gallery
	   image gets above — a deliberate, small departure just for the main
	   image; thumbnails keep --radius-media-sm (10px) further down,
	   unaffected. Scoped to this same >=900px breakpoint on purpose: below
	   it, the mobile carousel further down deliberately strips every
	   slide's radius/border for a full-bleed look, and a bare (not media-
	   gated) :first-child override here would have outranked that (one
	   extra pseudo-class = higher specificity) and silently broken it. */
	.woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child {
		border-radius: var(--radius-card);
		/* 4:5 (was 3:4) + a height cap, so the whole bouquet is always
		   visible without scrolling: at 705px wide (this column's old
		   share of a 1440px container) a 3:4 box rendered ~940px tall —
		   taller than most laptop viewports. max-height is the actual
		   constraint now; width is DERIVED from it via the aspect-ratio
		   (width:auto, not 100%) rather than the reverse.
		   80px (not the 64px first tried): the real gap between the
		   header's own bottom edge and the image's top is
		   .labuket-product's 32px top padding + the breadcrumb's own
		   rendered height (~20px, plain text, not a token) + its 24px
		   bottom margin — measured live at ~76px, confirmed by the image
		   actually overflowing the viewport by ~12px at 64px (1440x900:
		   bottom edge at 911.9px). 80px gives a few px of margin over
		   that 76px rather than cutting it exactly, and was re-confirmed
		   live afterward: whole image on-screen with no scrolling, at
		   1440x900 AND at the smaller 1280x720 laptop size this was
		   actually written for. align-self:center (not the wrapper's
		   default flex "stretch") is what lets the image actually be
		   narrower than the column — without it, "stretch" would force
		   width:100% regardless of width:auto here, and
		   margin-inline:auto centres it across that now-possibly-wider
		   column, per spec ("centred in its column if it ends up
		   narrower"). */
		aspect-ratio: 4 / 5;
		max-height: calc(100svh - var(--header-height-desktop) - 80px);
		width: auto;
		align-self: center;
		margin-inline: auto;
	}
}
.woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* Thumbnails: woocommerce/single-product/product-thumbnails.php (theme
   override) wraps every image after the first in one
   .labuket-product-gallery__thumbnails div — the ONLY way to make "every
   sibling after the first" flow as its own horizontal row in plain CSS,
   short of a flexbox forced-line-break hack that wouldn't also let the
   main image's own width shrink below 100% (both would be competing for
   space on the same flex main axis). Below 900px this wrapper is
   display:contents (removed from the box tree, not the DOM) specifically
   so it doesn't disturb the existing flat-sibling mobile scroll-snap
   carousel further down this file, or assets/js/single-product.js's
   dots indicator, which queries ":scope > .woocommerce-product-gallery__image"
   against .woocommerce-product-gallery__wrapper — fixed there to also
   reach one level into this wrapper, since display:contents changes
   rendering, not the actual DOM depth a JS query sees. */
@media (max-width: 899px) {
	.labuket-product-gallery__thumbnails {
		display: contents;
	}
}
@media (min-width: 900px) {
	.labuket-product-gallery__thumbnails {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
	}
	/* Every .woocommerce-product-gallery__image inside the thumbnails
	   wrapper IS a thumbnail, by construction (the main image is never
	   in there) — no ":not(:first-child)" needed, and deliberately not
	   used: that would (and, before this fix, did — confirmed live)
	   wrongly match AGAINST the first actual thumbnail too, since it's
	   :first-child of ITS OWN parent (this wrapper), not of
	   .woocommerce-product-gallery__wrapper. */
	.labuket-product-gallery__thumbnails .woocommerce-product-gallery__image {
		/* 68px: inside the 64-72px range asked for (was 76px). A smaller
		   companion radius to --radius-media (22px), not a hand-picked
		   number: roughly half, for visibly "smaller" media without a
		   mismatched look next to the main image.
		   width needs !important: WooCommerce's own woocommerce.css ships
		   ".woocommerce div.product div.images .woocommerce-product-
		   gallery__image:nth-child(n+2){width:25%}" — (0,5,2) specificity
		   (5 classes incl. the :nth-child pseudo-class, 2 type selectors),
		   which outranks this rule's (0,2,0) regardless of source order.
		   Confirmed live with 3 thumbnails: the 2nd and 3rd rendered at
		   25% of the gallery column (~161px) instead of 68px until
		   !important was added here — the 1st thumbnail was unaffected
		   only because :nth-child(n+2) starts counting from the 2nd.
		   height:68px (also !important, same reasoning) — NOT left to
		   aspect-ratio alone: with thumbnails of different intrinsic
		   ratios (that same test: a landscape photo among square-ish
		   ones), this wrapper's default flex align-items:stretch
		   overrides the aspect-ratio-derived auto height to match
		   whichever thumbnail on the same flex-wrap line is tallest. An
		   explicit height leaves nothing for stretch to override. */
		aspect-ratio: 1;
		width: 68px !important;
		height: 68px !important;
		flex: 0 0 auto;
		border-radius: var(--radius-media-sm);
		cursor: pointer;
		opacity: 0.7;
		transition: opacity var(--transition), border-color var(--transition);
	}
	.labuket-product-gallery__thumbnails .woocommerce-product-gallery__image:hover,
	.labuket-product-gallery__thumbnails .woocommerce-product-gallery__image.labuket-gallery-thumb--active {
		opacity: 1;
		border-color: var(--color-gold);
	}
}
.woocommerce-product-gallery__thumbnails,
.flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}
/* Zoom/lightbox trigger icon WooCommerce's own gallery script adds — kept,
   restyled for the dark background; removed automatically (nothing to
   restyle) if that script doesn't end up firing in this theme. */
.woocommerce-product-gallery__trigger {
	top: 14px;
	right: 14px;
	z-index: 2;
	background: color-mix(in srgb, var(--color-charcoal-deep) 70%, transparent);
	border-radius: 999px;
	width: 32px;
	height: 32px;
}
.woocommerce-product-gallery__trigger img {
	filter: invert(1);
}

/* Mobile (<900px): horizontal scroll-snap carousel instead of a stacked
   column — one frame per viewport width, dots below. Thumbnails (desktop's
   vertical strip) are hidden here; the dots are the mobile equivalent.
   assets/js/single-product.js adds/removes .labuket-gallery-dot--active
   and .labuket-gallery-dots itself (built there, not in PHP, since it's
   purely a scroll-position indicator). */
@media (max-width: 899px) {
	.woocommerce-product-gallery__wrapper {
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 0;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		border-radius: var(--radius-media);
	}
	.woocommerce-product-gallery__wrapper::-webkit-scrollbar {
		display: none;
	}
	.woocommerce-product-gallery__image {
		border: none;
		border-radius: 0;
	}
	.woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
		scroll-snap-align: start;
		flex: 0 0 100%;
		width: 100%;
		aspect-ratio: 3 / 4;
		opacity: 1;
	}
}
.labuket-gallery-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: var(--space-2);
}
@media (min-width: 900px) {
	.labuket-gallery-dots {
		display: none;
	}
}
.labuket-gallery-dots__dot {
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--color-bg) 35%, transparent);
	padding: 0;
	border: none;
}
.labuket-gallery-dots__dot--active {
	background: var(--color-gold);
}

/* ---- Summary column ------------------------------------------------------ */
.labuket-product__summary {
	min-width: 0;
}
/* Readable-width cap on the text (eyebrow, title, price, the "Za koga/
   Povod/…" info list) — but NOT on form.cart, which holds the qty
   stepper and the two buy buttons and must stay free to fill the whole
   (often wider than 520px) column, per spec ("the buy buttons fill the
   width of the details column"). */
.labuket-product__summary > *:not(form.cart) {
	max-width: 520px;
}
@media (min-width: 900px) {
	.labuket-product__summary {
		position: sticky;
		/* Same offset as .labuket-product__gallery above, so the two
		   columns move together — confirmed live, scrolling a tall
		   product (Buket test 1): whichever of the two is the SHORTER
		   column at any given moment visibly pins at this offset while
		   the taller one scrolls past it (the taller one IS its own
		   grid row's height, so it never has slack to visibly "stick" —
		   expected sticky-in-a-grid geometry, not a bug). Header height
		   is included on request, even though this page's header itself
		   scrolls away in normal flow rather than staying fixed
		   (.site-header is position:relative here — only the homepage's
		   is ever fixed): confirmed live, the practical effect is that
		   once stuck, there's a permanent --header-height-desktop-tall
		   band of empty space above the pinned column for as long as
		   it's pinned (the header itself is long gone by then) — not a
		   functional bug, just worth knowing it's there before deciding
		   this offset is right long-term. */
		top: calc(var(--header-height-desktop) + var(--wp-admin--admin-bar--height, 0px) + 24px);
	}
}
.labuket-product__eyebrow {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: var(--label-letter-spacing);
	color: color-mix(in srgb, var(--color-bg) 65%, transparent);
	margin-bottom: var(--space-2);
}
.labuket-product__eyebrow a {
	color: inherit;
}
.labuket-product__eyebrow a:hover,
.labuket-product__eyebrow a:focus-visible {
	color: var(--color-gold);
}
.labuket-product .product_title {
	font-family: var(--font-heading);
	font-weight: 400;
	font-size: clamp(1.8rem, 2.4vw + 1rem, 2.6rem);
	color: var(--color-bg);
	margin-bottom: var(--space-2);
}
.labuket-product__price {
	font-family: var(--font-heading);
	font-size: 1.4rem;
	color: var(--color-gold);
	margin-bottom: var(--space-2);
}
.labuket-product__composition {
	color: color-mix(in srgb, var(--color-bg) 75%, transparent);
	margin-bottom: var(--space-4);
}

/* ---- Variation pills ------------------------------------------------------ */
.labuket-product .variations {
	width: 100%;
	border: none;
	margin-bottom: var(--space-3);
}
.labuket-product .variations tbody,
.labuket-product .variations tr {
	display: block;
}
.labuket-product .variations tr + tr {
	margin-top: var(--space-2);
}
.labuket-product .variations th.label {
	display: block;
	text-align: left;
	padding: 0 0 0.5em;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: var(--label-letter-spacing);
	color: color-mix(in srgb, var(--color-bg) 65%, transparent);
	font-weight: 600;
}
.labuket-product .variations td.value {
	display: block;
	padding: 0;
}
.labuket-variation-pills__select-mirror {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
.labuket-variation-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}
.labuket-variation-pill__input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
.labuket-variation-pill {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.1em;
	min-width: 64px;
	padding: 0.6em 1.1em;
	border: 1px solid color-mix(in srgb, var(--color-bg) 30%, transparent);
	border-radius: 999px;
	cursor: pointer;
	transition: border-color var(--transition), background var(--transition);
}
.labuket-variation-pill__name {
	font-size: 0.85rem;
	font-weight: 600;
}
.labuket-variation-pill__price {
	font-size: 0.72rem;
	color: color-mix(in srgb, var(--color-bg) 65%, transparent);
}
.labuket-variation-pill__input:checked + .labuket-variation-pill {
	border-color: var(--color-gold);
	background: color-mix(in srgb, var(--color-gold) 14%, transparent);
}
.labuket-variation-pill__input:checked + .labuket-variation-pill .labuket-variation-pill__price {
	color: var(--color-gold);
}
.labuket-variation-pill__input:focus-visible + .labuket-variation-pill {
	outline: 2px solid var(--color-gold);
	outline-offset: 2px;
}
.labuket-product .woocommerce-variation-price,
.labuket-product .woocommerce-variation-availability {
	display: none;
}
.labuket-product .reset_variations {
	display: inline-block;
	margin-top: 0.5em;
	font-size: 0.78rem;
	color: color-mix(in srgb, var(--color-bg) 60%, transparent);
	text-decoration: underline;
}

/* ---- Quantity + add to cart ----------------------------------------------- */
.labuket-product form.cart,
.labuket-product .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-2);
	margin-bottom: var(--space-4);
}
/* The actual flex container is .labuket-qty-stepper (minus button /
   .quantity / plus button, in that DOM order, see
   labuket_product_qty_stepper_open/close() in inc/single-product.php) —
   .quantity itself is just WooCommerce's own single-child wrapper around
   the <input>, floated left by WooCommerce's own default stylesheet
   (woocommerce.css), which has to be reset here or it escapes this flex
   row entirely. */
.labuket-product .labuket-qty-stepper {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex: 0 0 auto;
}
.labuket-product .quantity {
	float: none;
	order: 2;
}
.labuket-product .quantity .qty {
	min-height: 0;
	width: 2.75rem;
	height: 48px;
	padding: 0;
	border: none;
	background: transparent;
	color: var(--color-bg);
	font-size: 1rem;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}
.labuket-product .quantity .qty::-webkit-inner-spin-button,
.labuket-product .quantity .qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.labuket-product .labuket-qty-stepper__btn {
	order: 1;
	width: 48px;
	height: 48px;
	border-radius: 999px;
}
.labuket-product .labuket-qty-stepper__btn:last-of-type {
	order: 3;
}
.labuket-product .labuket-qty-stepper__btn .labuket-icon {
	width: 14px;
	height: 14px;
}
/* Both body.labuket-product-dark AND .labuket-product__summary ancestors
   (not just .labuket-product): WooCommerce's own woocommerce.css ships
   ".woocommerce button.button.alt" at (0,3,1) specificity (a tag plus
   three classes) — a plain ".labuket-product .single_add_to_cart_button"
   (0,2,0), or even "body.labuket-product-dark .labuket-product ..."
   (0,3,0), both still lose to it. Four classes (0,4,0) beats it outright
   regardless of its one tag qualifier — see CLAUDE.md's note on this exact
   gotcha (a theme override needs MORE classes than the rule it's beating,
   not just as many). */
body.labuket-product-dark .labuket-product .labuket-product__summary .single_add_to_cart_button {
	flex: 1 1 auto;
	order: 4;
	height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 999px;
	padding: 0 1.75em;
	background: var(--color-gold);
	color: var(--color-charcoal-deep);
	font-weight: 600;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: var(--label-letter-spacing);
}
body.labuket-product-dark .labuket-product .labuket-product__summary .single_add_to_cart_button:hover,
body.labuket-product-dark .labuket-product .labuket-product__summary .single_add_to_cart_button:focus-visible {
	background: color-mix(in srgb, var(--color-gold) 85%, black);
}
body.labuket-product-dark .labuket-product .labuket-product__summary .single_add_to_cart_button.disabled,
body.labuket-product-dark .labuket-product .labuket-product__summary .single_add_to_cart_button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.labuket-buy-now-button {
	order: 5;
	flex: 1 1 100%;
	height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1px solid var(--color-gold);
	border-radius: 999px;
	color: var(--color-gold);
	font-weight: 600;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: var(--label-letter-spacing);
}
.labuket-buy-now-button:hover,
.labuket-buy-now-button:focus-visible {
	background: color-mix(in srgb, var(--color-gold) 14%, transparent);
}

/* ---- Info row -------------------------------------------------------------- */
.labuket-product__info {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	margin: 0 0 var(--space-4);
	padding-top: var(--space-3);
	border-top: 1px solid color-mix(in srgb, var(--color-gold) 20%, transparent);
}
.labuket-product__info li {
	display: flex;
	align-items: flex-start;
	gap: 0.7em;
	font-size: 0.85rem;
	color: color-mix(in srgb, var(--color-bg) 80%, transparent);
}
.labuket-product__info .labuket-icon {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	color: var(--color-gold);
	margin-top: 0.1em;
}

/* ---- Accordions ------------------------------------------------------------ */
.labuket-product__accordions {
	max-width: 640px;
}
.labuket-accordion {
	border-top: 1px solid color-mix(in srgb, var(--color-gold) 20%, transparent);
}
.labuket-accordion:last-child {
	border-bottom: 1px solid color-mix(in srgb, var(--color-gold) 20%, transparent);
}
.labuket-accordion__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--space-2) 0;
	cursor: pointer;
	font-weight: 600;
	list-style: none;
}
.labuket-accordion__summary::-webkit-details-marker {
	display: none;
}
.labuket-accordion__summary::after {
	content: "+";
	font-size: 1.2rem;
	color: var(--color-gold);
	transition: transform var(--transition);
}
.labuket-accordion[open] .labuket-accordion__summary::after {
	transform: rotate(45deg);
}
.labuket-accordion__panel {
	padding: 0 0 var(--space-3);
	color: color-mix(in srgb, var(--color-bg) 80%, transparent);
	font-size: 0.92rem;
}
.labuket-accordion__panel p:last-child {
	margin-bottom: 0;
}
.labuket-accordion__panel table.shop_attributes {
	width: 100%;
	border-collapse: collapse;
}
.labuket-accordion__panel table.shop_attributes th,
.labuket-accordion__panel table.shop_attributes td {
	padding: 0.5em 0;
	border-bottom: 1px solid color-mix(in srgb, var(--color-gold) 15%, transparent);
	text-align: left;
	font-size: 0.88rem;
}
.labuket-accordion__panel table.shop_attributes th {
	font-weight: 600;
	width: 40%;
}

/* "Nega cveća" — static care-tip block inside "Sastav i nega"
   (labuket_render_additional_information_tab(), inc/single-product.php).
   Margin-top only when it follows the attributes table; a product with no
   attributes has nothing above it, so no extra gap is needed then either —
   handled by :not(:first-child) rather than a fixed margin, since this div
   is conditionally the panel's only child. */
.labuket-flower-care:not(:first-child) {
	margin-top: var(--space-3);
}
.labuket-flower-care h3 {
	font-size: 1rem;
	margin: 0 0 0.5em;
}
/* Single product page is dark-only (body.labuket-product-dark, always —
   see CLAUDE.md) but the sitewide `h1, h2, h3, h4 { color: var(--color-
   text) }` base rule (near the top of this file) still directly targets
   this h3 and wins over inheriting the panel's own ivory text color —
   setting color directly on an element always beats an inherited value,
   regardless of which rule has higher specificity. Confirmed live
   (getComputedStyle): without this, "Nega cveća" rendered in the LIGHT
   scheme's near-black text color, invisible against this dark page — the
   one heading in .labuket-accordion__panel's content (every other panel
   only ever used <p>/<table>, which this base rule doesn't touch). */
body.labuket-product-dark .labuket-flower-care h3 {
	color: var(--color-bg);
}

/* ---- Related products ------------------------------------------------------ */
.labuket-product__after {
	padding-bottom: var(--space-6);
}
.labuket-product__after .related.products {
	margin-top: var(--space-6);
}
/* Same size (1.8rem, the plain h2 base rule — no override needed here
   any more), alignment and spacing as every other section heading on
   this theme (e.g. "Izdvojeni buketi", .section__header above) — this
   used to set its own smaller 1.6rem and left-aligned (no text-align at
   all, so it fell back to the browser default "start"). .up-sells.products
   > h2 (single-product page) and .cross-sells > h2 (cart page) get the
   identical treatment just below — neither had ANY theme override
   before this pass, confirmed live: both are h2, no class of their own
   to style, same "dark text on dark background" bug as this one, since
   neither is WooCommerce's responsibility to recolor for a theme. */
.labuket-product__after .related.products > h2,
.up-sells.products > h2,
.cross-sells > h2 {
	text-align: center;
	max-width: 640px;
	margin: 0 auto var(--space-4);
}
.labuket-product__after .related.products ul.products {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--grid-gap);
	list-style: none;
	margin: 0;
	padding: 0;
}
@media (min-width: 700px) {
	.labuket-product__after .related.products ul.products {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (min-width: 1100px) {
	.labuket-product__after .related.products ul.products {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* ---- Mobile sticky "add to cart" bar --------------------------------------- */
.labuket-product-sticky-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 900;
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	padding: 0.75rem var(--container-pad);
	padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
	background: var(--color-charcoal);
	border-top: 1px solid color-mix(in srgb, var(--color-gold) 25%, transparent);
	transform: translateY(100%);
	visibility: hidden;
	transition: transform var(--transition-slow), visibility 0s var(--transition-slow);
}
.labuket-product-sticky-bar.is-visible {
	transform: translateY(0);
	visibility: visible;
	transition: transform var(--transition-slow), visibility 0s;
}
@media (min-width: 900px) {
	.labuket-product-sticky-bar {
		display: none !important;
	}
}
@media (max-width: 899px) {
	.labuket-product-sticky-bar {
		display: flex;
	}
}
.labuket-product-sticky-bar__price {
	font-family: var(--font-heading);
	color: var(--color-gold);
	font-size: 1.05rem;
	white-space: nowrap;
}
.labuket-product-sticky-bar__btn {
	flex: 1 1 auto;
	/* min-width:0 so this can actually shrink below its own text's natural
	   width (the flex default, min-width:auto, refuses to — the usual
	   cause of a flex row silently overflowing); min-height not height,
	   so a longer translation (Russian in particular — this is the
	   sticky bar the audit flagged as the highest risk spot in the whole
	   theme for it, two of these sitting side by side on a 390px screen)
	   can wrap to two lines and grow the button instead of being clipped;
	   text-wrap:balance avoids a lone orphan word on that second line;
	   overflow-wrap:anywhere is the last-resort safety net for a single
	   word longer than the button itself. */
	min-width: 0;
	max-width: 220px;
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding-block: 6px;
	border: none;
	border-radius: 999px;
	background: var(--color-gold);
	color: var(--color-charcoal-deep);
	font-weight: 600;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: var(--label-letter-spacing);
	text-align: center;
	text-wrap: balance;
	overflow-wrap: anywhere;
}
.labuket-product-sticky-bar__btn:hover,
.labuket-product-sticky-bar__btn:focus-visible {
	background: color-mix(in srgb, var(--color-gold) 85%, black);
}
@media (prefers-reduced-motion: reduce) {
	.labuket-product-sticky-bar {
		transition: none;
	}
}

/* ==========================================================================
   WooCommerce — buttons site-wide (cart, checkout, coupon, etc.)
   WooCommerce's own convention: ".button.alt" = primary action (Proceed to
   checkout, Place order), plain ".button" = secondary (Apply coupon,
   Update cart). Reusing that distinction instead of per-button selectors.
   ========================================================================== */
.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-block;
	border: 1px solid var(--color-accent-dark);
	border-radius: var(--radius-media);
	padding: 0.75em 1.75em;
	background: transparent;
	color: var(--color-accent-dark);
	font-size: 0.95rem;
	line-height: 1.4;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.woocommerce .button:hover,
.woocommerce .button:focus-visible {
	background: var(--color-accent-dark);
	color: var(--color-accent-contrast);
	text-decoration: none;
}
.woocommerce .button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: var(--color-accent);
	color: var(--color-accent-contrast);
	border-color: var(--color-accent-dark);
}
.woocommerce .button.alt:hover,
.woocommerce .button.alt:focus-visible {
	background: var(--color-accent-dark);
}
.woocommerce .button:disabled,
.woocommerce .button.disabled,
.woocommerce .button[disabled] {
	cursor: not-allowed;
	opacity: 0.6;
	background: var(--color-surface-alt);
	color: var(--color-text-muted);
	border-color: var(--color-border);
}

/* ==========================================================================
   WooCommerce — cart & checkout: shared dark page shell
   page.php outputs .labuket-cart-page / .labuket-checkout-page (each a
   ".section" with its own, smaller top padding — the generous sitewide
   --section-padding would push the header row too far down for a
   breadcrumb+title row) and, inside, a plain .container header followed by
   a second .container (.labuket-cart-page__body / __body) that becomes the
   two-column grid below.
   ========================================================================== */
.labuket-cart-page,
.labuket-checkout-page {
	padding-top: 32px;
}
.labuket-cart-page__header,
.labuket-checkout-page__header {
	padding-bottom: var(--space-3);
}
.labuket-cart-page__title,
.labuket-checkout-page__title {
	font-size: 2rem;
	color: var(--color-bg);
	margin: 0;
}
.labuket-checkout-page__back {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	font-size: 0.82rem;
	color: color-mix(in srgb, var(--color-bg) 70%, transparent);
	margin-bottom: var(--space-2);
}
.labuket-checkout-page__back:hover,
.labuket-checkout-page__back:focus-visible {
	color: var(--color-gold);
}
.labuket-checkout-page__back-icon {
	width: 11px;
	height: 11px;
	transform: rotate(90deg);
}

/* ---- Cart: items table (left) + totals card (right, sticky) ---- */
.labuket-cart-page__body {
	display: grid;
	gap: var(--space-4);
	align-items: start;
}
@media (min-width: 900px) {
	.labuket-cart-page__body {
		grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr);
	}
	/* WooCommerce's own [woocommerce_cart] shortcode wraps its ENTIRE
	   output (notices wrapper, .woocommerce-cart-form AND .cart-collaterals,
	   THREE elements total) in one <div class="woocommerce"> — that div is
	   .labuket-cart-page__body's only direct child, so the grid-template-
	   columns above had nothing to actually split into two tracks:
	   everything landed in column 1, normal document flow, with .cart-
	   collaterals simply appearing below the table instead of beside it.
	   display:contents removes this wrapper's own box without touching its
	   content, so its real children become the grid's own items directly —
	   same technique already used for #labuket-delivery-fields above — but
	   with THREE children (notices wrapper, form, collaterals) auto-placed
	   into 2 columns, the empty .woocommerce-notices-wrapper (present even
	   with zero notices) took column 1 of row 1, pushing the form into
	   column 2 and wrapping .cart-collaterals down to column 1 of row 2 —
	   confirmed directly (table rendered in the narrow RIGHT track, totals
	   card in the wide LEFT one, on its own row below). Explicit placement
	   below fixes all three regardless of how many siblings exist. */
	.labuket-cart-page__body > .woocommerce {
		display: contents;
	}
	.labuket-cart-page__body .woocommerce-notices-wrapper {
		grid-column: 1 / -1;
	}
	.labuket-cart-page__body .woocommerce-cart-form {
		grid-column: 1;
		grid-row: 2;
	}
	.labuket-cart-page__body .cart-collaterals {
		grid-column: 2;
		grid-row: 2;
	}
	/* Empty cart: a different pair of siblings entirely (.woocommerce-cart-
	   form/.cart-collaterals don't exist at all) — .wc-empty-cart-message
	   and .return-to-shop, same auto-placement problem, confirmed directly
	   (the message and the "Nazad u prodavnicu" button rendered side by
	   side in the two columns instead of stacked). Full width + their own
	   row each. */
	.labuket-cart-page__body .wc-empty-cart-message,
	.labuket-cart-page__body .return-to-shop {
		grid-column: 1 / -1;
	}
	.cart-collaterals {
		/* The header is only ever position:fixed on the homepage — on
		   every other page, including this one, it sits in normal flow
		   above the content, so this only needs to clear the (rare,
		   logged-in) admin bar, not the header's own height — same
		   reasoning already applied to the single-product page's own
		   sticky summary. */
		position: sticky;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 24px);
	}
}

/* ---- Checkout: form (~58%, left) + order-summary card (~42%, right,
   sticky), desktop. .col2-set's own two sub-columns (billing/shipping) are
   reset to a single stacked flow — see further down for why: the visual
   "Ko poručuje"/"Dostava" grouping now comes from fieldsets spanning BOTH
   templates (form-billing.php's override + inc/checkout-delivery.php), not
   from WooCommerce's own col-1/col-2 split, so that split no longer needs
   to be a second, inner pair of columns. #order_review_heading ("Your
   order"/"Vaša porudžbina") is hidden — .labuket-order-summary__title below
   is the one visible heading for that card. ---- */
.woocommerce-checkout form.checkout .col2-set#customer_details {
	display: block;
}
.woocommerce-checkout form.checkout .col2-set .col-1,
.woocommerce-checkout form.checkout .col2-set .col-2 {
	width: 100%;
	float: none;
}
.woocommerce-checkout #order_review_heading {
	display: none;
}
@media (min-width: 992px) {
	.woocommerce-checkout form.checkout {
		display: grid;
		grid-template-columns: 1.4fr 1fr;
		gap: var(--space-5);
		align-items: start;
	}
	.woocommerce-checkout form.checkout .col2-set#customer_details {
		grid-column: 1;
	}
	.woocommerce-checkout form.checkout #order_review {
		grid-column: 2;
		position: sticky;
		top: var(--space-3);
	}
}

/* ---- Dark-scope table reskin (cart items / checkout review-order table) —
   generic, LIGHT .shop_table styling (My Account's order history etc.) is
   untouched above; only pages carrying body.labuket-order-flow-dark get
   this. Thin horizontal separators instead of a bordered white table, per
   spec — no card background on the table itself. ---- */
body.labuket-order-flow-dark table.shop_table {
	width: 100%;
	border-collapse: collapse;
	color: var(--color-bg);
}
body.labuket-order-flow-dark table.shop_table th,
body.labuket-order-flow-dark table.shop_table td {
	padding: var(--space-2);
	border-bottom: 1px solid color-mix(in srgb, var(--color-bg) 14%, transparent);
	text-align: left;
}
/* ROLE 2 of this cart/checkout/drawer's 4 shared text roles (card/
   section label: sans, uppercase, small, letter-spaced) — ONE recipe for
   every small-caps label in this flow: the items table's own column
   headers, "UKUPNA VREDNOST KORPE" (further down), and
   .labuket-checkout-section__heading ("KO NARUČUJE"/"DOSTAVA", below).
   Previously three slightly different sizes/colours (0.75rem muted-ivory
   for the table headers, 0.7rem gold for "Ukupna vrednost korpe", a
   hardcoded 0.04em letter-spacing instead of the shared token) — one
   shared rule here, so the three can't drift again; each selector below
   keeps only its own layout (display/margin/padding), not font. */
body.labuket-order-flow-dark table.shop_table thead th,
.labuket-cart-items__head,
body.labuket-order-flow-dark .cart-collaterals .cart_totals > h2,
.labuket-checkout-section__heading {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: var(--label-letter-spacing);
	color: var(--color-gold);
}
body.labuket-order-flow-dark table.shop_table tfoot th,
body.labuket-order-flow-dark table.shop_table tfoot td {
	border-bottom: none;
}
body.labuket-order-flow-dark table.shop_table tr:last-child td {
	border-bottom: none;
}

@media (max-width: 767px) {
	body.labuket-order-flow-dark table.shop_table thead {
		display: none;
	}
	body.labuket-order-flow-dark table.shop_table,
	body.labuket-order-flow-dark table.shop_table tbody,
	body.labuket-order-flow-dark table.shop_table tr,
	body.labuket-order-flow-dark table.shop_table td {
		display: block;
		width: 100%;
	}
	body.labuket-order-flow-dark table.shop_table tr {
		padding-bottom: var(--space-2);
		margin-bottom: var(--space-2);
	}
	body.labuket-order-flow-dark table.shop_table td {
		border: none;
		padding: 0.25rem var(--space-2);
		text-align: right;
	}
	body.labuket-order-flow-dark table.shop_table td::before {
		content: attr(data-title);
		float: left;
		font-weight: 600;
		color: color-mix(in srgb, var(--color-bg) 60%, transparent);
		margin-right: var(--space-2);
	}
}

/* ==========================================================================
   Cart items — woocommerce/cart/cart.php (theme override, that file's own
   header comment has the full why). Two CSS-only passes on the STOCK
   <table> markup both failed: table-layout:fixed + fixed px columns
   didn't survive a longer ru translation (this task's original bug), and
   forcing CSS Grid onto table elements via display:contents left each
   <td>'s own border-bottom/height as a browser-rendered table-cell
   artifact — confirmed via screenshot, broken border fragments at
   different heights per cell, not one clean row. This section styles the
   override's own div/role=row/role=cell markup instead — a real CSS Grid
   with no table-model legacy to fight, so border/height/alignment are
   finally controlled by exactly these rules and nothing else.
   ========================================================================== */
.labuket-cart-items {
	color: var(--color-bg);
}
.labuket-cart-items__head,
.labuket-cart-item {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr) auto auto auto;
	align-items: center;
	gap: var(--space-2);
}
.labuket-cart-items__head {
	padding: var(--space-2);
}
.labuket-cart-item {
	padding-block: var(--space-2);
	border-bottom: 1px solid color-mix(in srgb, var(--color-bg) 14%, transparent);
	/* ROLE 3 (body row: sans, regular/medium) — the row's own default for
	   price/quantity/subtotal; .product-name (serif, Role 1, above)
	   overrides this with its own font-size for just that one cell. */
	font-size: 0.9rem;
	font-weight: 500;
}
/* min-width:0 on every cell (the usual flex/grid-item default, min-width:
   auto, refuses to shrink below content size — exactly what let a long ru
   header/value push past its column before) and overflow-wrap so a single
   long word/price still breaks rather than overflowing. */
.labuket-cart-items__head > span,
.labuket-cart-item > [role="cell"] {
	min-width: 0;
	overflow-wrap: anywhere;
}
.labuket-cart-item .product-price,
.labuket-cart-item .product-subtotal,
.labuket-cart-items__head .product-price,
.labuket-cart-items__head .product-subtotal {
	text-align: right;
	white-space: nowrap;
}
/* Thumbnail — 3:4, rounded, same recipe as the mini-cart drawer's own
   (.mini-cart-item__media) and the checkout order-summary card's
   (.labuket-order-summary-item__media, below) — three places, one
   consistent size relationship (96px here, the biggest of the three —
   this page has the most room — 80px on checkout, 72px in the drawer). */
.labuket-cart-item .product-thumbnail a,
.labuket-cart-item .product-thumbnail span {
	display: block;
	width: 96px;
	aspect-ratio: 3 / 4;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: var(--color-surface-alt);
}
.labuket-cart-item .product-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.labuket-cart-item .product-name a,
.labuket-cart-item .product-name {
	color: var(--color-bg);
}
/* Product name — ROLE 1 (title/serif) of this cart/checkout/drawer's 4
   shared text roles, task's own request: one recipe, same everywhere
   this shows up (cart item row, mini-cart drawer, checkout's order-
   summary card) — it used to be sans in the cart (no font-family set,
   fell back to body text) while the drawer already set heading/serif;
   now both plus the checkout card share this one rule instead of each
   re-declaring it (or not) on their own. */
.labuket-cart-item .product-name,
#labuket-mini-cart .mini-cart-item__name,
.labuket-order-summary-item__name {
	font-family: var(--font-heading);
	font-size: 1rem;
	line-height: 1.3;
}
/* WooCommerce's own core rule carries !important on color
   (".woocommerce a.remove{color:var(--wc-red)!important}") — no selector,
   however specific, can out-rank that without !important of its own; every
   OTHER property here (size/border/background/radius) has no !important
   on either side, so ordinary specificity is enough on its own. */
.labuket-cart-item .remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 1;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	background: transparent;
	color: var(--color-bg) !important;
}
.labuket-cart-item .remove:hover,
.labuket-cart-item .remove:focus-visible {
	background: var(--color-gold);
	border-color: var(--color-gold);
	color: var(--color-charcoal-deep) !important;
}
.labuket-cart-items .actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	padding-top: var(--space-2);
}
/* When expanded, the coupon form should take its own full row rather than
   fight the update-cart button for the remaining space on the same line. */
.labuket-cart-items .actions .coupon:not([hidden]) {
	flex: 1 1 100%;
	order: -1;
}
@media (max-width: 767px) {
	.labuket-cart-items__head {
		display: none;
	}
	.labuket-cart-item {
		display: block;
		padding-bottom: var(--space-2);
	}
	.labuket-cart-item > [role="cell"] {
		display: block;
		padding: 0.25rem 0;
		text-align: right;
	}
	.labuket-cart-item [data-title]::before {
		content: attr(data-title);
		float: left;
		font-weight: 600;
		color: color-mix(in srgb, var(--color-bg) 60%, transparent);
		margin-right: var(--space-2);
	}
	.labuket-cart-item .product-remove,
	.labuket-cart-item .product-thumbnail {
		text-align: left;
	}
	.labuket-cart-item .product-thumbnail {
		margin-bottom: var(--space-1);
	}
}

/* Checkout's own order-summary card (review-order.php override) — unlike
   the cart items above, this one was never a problem (a simple 2-column
   flex row, not a fixed-width table), so it keeps its existing markup;
   only its thumbnail size (80px, narrower than the cart's 96px) lives
   here. */
body.labuket-order-flow-dark .labuket-order-summary-item__media {
	display: block;
	width: 80px;
	aspect-ratio: 3 / 4;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: var(--color-surface-alt);
	flex: 0 0 auto;
}
body.labuket-order-flow-dark .labuket-order-summary-item__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.labuket-order-summary-item {
	display: flex;
	align-items: flex-start;
	gap: var(--space-2);
}
.labuket-order-summary-item__info {
	min-width: 0;
}

/* Quantity stepper — cart page only. The +/- buttons are injected via
   woocommerce_before/after_quantity_input_field (inc/checkout-cart.php,
   is_cart()-gated) — both hooks fire INSIDE WooCommerce's own
   <div class="quantity"> (global/quantity-input.php), so .quantity itself
   is the real flex container here, not a separate wrapper.
   body.labuket-order-flow-dark .woocommerce added to the .qty rule: the
   shared input/textarea/select recipe above matches this exact element
   too (it carries class "input-text"), at a HIGHER specificity (3
   classes + 2 types, see that rule's own comment) than a plain
   "body.labuket-order-flow-dark .quantity .qty" (3 classes + 1 type) —
   confirmed directly: the generic recipe's width:100%/padding:0.7em 0.9em
   was winning outright, stretching this to the input-text's full width
   and padding the visible "1" down to a sliver inside it. */
body.labuket-order-flow-dark .quantity {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}
body.labuket-order-flow-dark .woocommerce .quantity .qty {
	order: 2;
	min-height: 0;
	width: 2.4rem;
	height: 2rem;
	padding: 0;
	border: none;
	background: transparent;
	color: var(--color-bg);
	/* ROLE 3 (body row) — was 0.95rem, a one-off a size-step away from
	   every other row element's 0.9rem; matches now. */
	font-size: 0.9rem;
	font-weight: 500;
	text-align: center;
	/* Hide the native number spinner arrows — the +/- buttons replace them. */
	-moz-appearance: textfield;
	appearance: textfield;
}
body.labuket-order-flow-dark .quantity .qty::-webkit-inner-spin-button,
body.labuket-order-flow-dark .quantity .qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.labuket-qty-stepper__btn {
	order: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.8rem;
	height: 1.8rem;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	background: transparent;
	color: var(--color-bg);
	flex: 0 0 auto;
}
.labuket-qty-stepper__btn:last-of-type {
	order: 3;
}
.labuket-qty-stepper__btn:hover,
.labuket-qty-stepper__btn:focus-visible {
	border-color: var(--color-gold);
	color: var(--color-gold);
}
.labuket-qty-stepper__btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}
.labuket-qty-stepper__btn .labuket-icon {
	width: 11px;
	height: 11px;
}

/* ==========================================================================
   WooCommerce — classic checkout: form sections
   Four sections total: "Ko poručuje" + the first half of "Dostava"
   (woocommerce/checkout/form-billing.php override), the rest of "Dostava"
   + "Poruka na čestitki" (inc/checkout-delivery.php, inside
   #labuket-delivery-fields). Each is a <fieldset> with a small uppercase
   champagne <legend> — browsers' own fieldset border/padding reset to
   nothing first, so only this spacing/heading styling shows.
   ========================================================================== */
#labuket-delivery-fields {
	display: contents; /* Its own two <fieldset>s lay out as if they were direct children of whatever wraps form-shipping.php's output — no extra box of its own. */
}
.labuket-checkout-section {
	border: none;
	padding: 0;
	margin: 0 0 var(--space-4);
	min-width: 0;
}
/* Continues the previous section (no visible heading of its own, see
   inc/checkout-delivery.php) — pulled up so the gap above it reads as a
   normal row gap, not a second section's full margin. */
.labuket-checkout-section--continued {
	margin-top: calc(-1 * var(--space-2));
}
.labuket-checkout-section__heading {
	/* Font (size/weight/case/spacing/colour) is the shared card/section-
	   label role, further up this file. */
	display: block;
	margin-bottom: var(--space-2);
	padding: 0;
}

/* "Ship to a different address?" (form-shipping.php, unmodified) — this
   store's ship_to_destination setting is 'billing' (the recipient's
   delivery address already IS the one "Dostava" address collected above;
   there's no separate "shipping" concept to opt into) so the checkbox and
   the alternate address fields it would reveal are both irrelevant noise
   in the clean 4-section design. Hiding the checkbox is purely
   presentational — WC's own default (unchecked, billing used as shipping)
   is completely unaffected either way. */
#ship-to-different-address {
	display: none;
}

/* Field-wrapper: WooCommerce's own form-row-first/form-row-last (first/last
   name, now also city/postcode — inc/checkout-fields.php) become a 50/50
   flex pair instead of WC's default float layout; form-row-wide fields
   take the full row. Flex-wrap means two adjacent *-first/*-last fields
   sit side by side, and anything else still gets its own full-width row —
   exactly the "two short fields side by side, everything else full width"
   split the spec asks for, with ZERO per-field markup changes. */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper,
#labuket-recipient-fields {
	display: flex;
	flex-wrap: wrap;
	gap: 0 var(--space-3);
}
/* assets/js/checkout-delivery.js toggles the native [hidden] attribute on
   this element ("Primalac je ista osoba kao kupac" checked = hide it) —
   an ID selector's display:flex above outranks the UA stylesheet's own
   "[hidden]{display:none}" (far lower specificity) and silently wins,
   same gotcha already documented/fixed for the cart page's coupon form
   (.cart .coupon[hidden] further down this file) but never applied here.
   Confirmed directly: the JS correctly sets the hidden attribute/property
   on every toggle, but the fields stayed visually flex-displayed either
   way until this. */
#labuket-recipient-fields[hidden] {
	display: none;
}
.form-row-first,
.form-row-last {
	flex: 1 1 calc(50% - var(--space-3) / 2);
	min-width: 180px;
}
.form-row-wide {
	flex: 1 1 100%;
}
.form-row {
	margin-bottom: var(--space-3);
}

/* ---- Inputs, select, textarea — the one shared recipe ---- */
.labuket-order-flow-dark .form-row label,
body.labuket-order-flow-dark .form-row label {
	display: block;
	font-size: 0.8rem;
	color: color-mix(in srgb, var(--color-bg) 70%, transparent);
	margin-bottom: 0.4rem;
}
body.labuket-order-flow-dark .form-row label .required {
	color: var(--color-gold);
	text-decoration: none;
	font-weight: 400;
	border: none;
}
body.labuket-order-flow-dark .form-row label .optional {
	font-size: 0.75rem;
	color: color-mix(in srgb, var(--color-bg) 45%, transparent);
}
/* .woocommerce .form-row is included in every one of these selectors
   purely to WIN specificity, not to narrow what they match (every one of
   these fields already lives inside a .form-row) — WooCommerce's own CSS
   styles the same elements via ".woocommerce form .form-row .input-text,
   .woocommerce form .form-row select" (3 classes + 1 type each). A plain
   "body.labuket-order-flow-dark .woocommerce input.input-text" (3 classes
   + 2 types) still beats that on type-count once classes already tie, and
   "body.labuket-order-flow-dark .woocommerce select" (2 classes + 2
   types) ties core's select rule outright and wins only because this
   stylesheet loads after woocommerce.css — but "body.labuket-order-flow-
   dark .woocommerce textarea" (2 classes + 2 types) does NOT tie core's
   ".input-text"/"select" rule (3 classes): classes are compared before
   type count, so core's higher class count won outright regardless of
   load order. Confirmed directly: every textarea (courier note, card
   message) rendered with WooCommerce's own opaque white background
   despite this whole rule existing. Adding ".form-row" here brings every
   one of these to 3+ classes, so none of them depend on load-order to
   win anymore. */
body.labuket-order-flow-dark .woocommerce .form-row input.input-text,
body.labuket-order-flow-dark .woocommerce .form-row textarea,
body.labuket-order-flow-dark .woocommerce .form-row select,
body.labuket-order-flow-dark .form-row .select2-selection {
	width: 100%;
	min-height: 48px;
	padding: 0.7em 0.9em;
	background: color-mix(in srgb, var(--color-bg) 6%, transparent);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 12px;
	color: var(--color-bg);
	font-family: var(--font-body);
	font-size: 0.95rem;
	transition: border-color var(--transition), box-shadow var(--transition);
}
body.labuket-order-flow-dark .woocommerce .form-row textarea {
	min-height: 120px;
	resize: vertical;
}
body.labuket-order-flow-dark .woocommerce .form-row input.input-text::placeholder,
body.labuket-order-flow-dark .woocommerce .form-row textarea::placeholder {
	color: color-mix(in srgb, var(--color-bg) 40%, transparent);
}
body.labuket-order-flow-dark .woocommerce .form-row input.input-text:focus,
body.labuket-order-flow-dark .woocommerce .form-row textarea:focus,
body.labuket-order-flow-dark .woocommerce .form-row select:focus,
body.labuket-order-flow-dark .select2-container--focus .select2-selection,
body.labuket-order-flow-dark .select2-container--open .select2-selection {
	outline: none;
	border-color: var(--color-gold);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-gold) 35%, transparent);
}
/* Native <select> (e.g. "Termin dostave") isn't select2-enhanced — give it
   the same recipe plus its own dropdown-arrow affordance since the browser
   default one often clashes with a dark background. */
body.labuket-order-flow-dark .woocommerce .form-row select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23faf6ef' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8.5l7 7 7-7'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.9em center;
	background-size: 14px;
	padding-right: 2.2em;
}
body.labuket-order-flow-dark .woocommerce select option {
	color: var(--color-text); /* The dropdown's own native popup can't inherit the page's dark styling in most browsers — keep its text readable against ITS OWN (light) native background. */
}

/* ---- select2/selectWoo (country, state) ---- */
body.labuket-order-flow-dark .select2-container {
	width: 100% !important;
}
body.labuket-order-flow-dark .select2-selection {
	display: flex;
	align-items: center;
}
body.labuket-order-flow-dark .select2-selection__rendered {
	padding: 0 !important;
	color: var(--color-bg) !important;
	line-height: normal !important;
}
body.labuket-order-flow-dark .select2-selection__arrow {
	height: 46px !important;
}
body.labuket-order-flow-dark .select2-selection__arrow b {
	border-color: var(--color-bg) transparent transparent transparent !important;
}
body.labuket-order-flow-dark .select2-dropdown {
	background: var(--color-charcoal);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 12px;
	overflow: hidden;
}
body.labuket-order-flow-dark .select2-search--dropdown {
	background: var(--color-charcoal);
	padding: 0.5rem;
}
body.labuket-order-flow-dark .select2-search--dropdown .select2-search__field {
	background: color-mix(in srgb, var(--color-bg) 6%, transparent);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	color: var(--color-bg);
	min-height: 36px;
	padding: 0.4em 0.6em;
}
body.labuket-order-flow-dark .select2-results__option {
	color: var(--color-bg);
	padding: 0.5em 0.9em;
}
body.labuket-order-flow-dark .select2-results__option--highlighted[aria-selected] {
	background: color-mix(in srgb, var(--color-gold) 25%, transparent);
	color: var(--color-bg);
}
body.labuket-order-flow-dark .select2-results__option[aria-selected="true"] {
	background: color-mix(in srgb, var(--color-gold) 40%, transparent);
}

/* ---- Error state (field-level) — .woocommerce added for the same
   specificity reason as the base input rules above. ---- */
body.labuket-order-flow-dark .woocommerce .form-row.woocommerce-invalid input.input-text,
body.labuket-order-flow-dark .woocommerce .form-row.woocommerce-invalid textarea,
body.labuket-order-flow-dark .woocommerce .form-row.woocommerce-invalid select,
body.labuket-order-flow-dark .form-row.woocommerce-invalid .select2-selection {
	border-color: var(--color-error);
}
body.labuket-order-flow-dark .woocommerce .form-row.woocommerce-invalid input.input-text:focus,
body.labuket-order-flow-dark .woocommerce .form-row.woocommerce-invalid textarea:focus,
body.labuket-order-flow-dark .form-row.woocommerce-invalid .select2-container--focus .select2-selection {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-error) 35%, transparent);
}
/* Per-field error message — WooCommerce's OWN checkout.js already does
   this natively (show_inline_errors(), assets/js/frontend/checkout.js):
   whenever a validation error's data carries an 'id' matching a field's
   rendered element id, it appends a <p class="checkout-inline-error-
   message" aria-describedby'd to that field> right after it — core's own
   required-field/format checks already pass that 'id' (confirmed in
   includes/class-wc-checkout.php), and inc/checkout-fields.php /
   inc/checkout-delivery.php's OWN wc_add_notice()/$errors->add() calls now
   do the same for the custom fields. No JS of ours needed, only this
   element's styling. */
.checkout-inline-error-message {
	display: block;
	margin-top: 0.4rem;
	font-size: 0.8rem;
	color: var(--color-error);
}

.labuket-char-counter {
	margin: -0.75rem 0 var(--space-2);
	text-align: right;
	font-size: 0.8rem;
	color: color-mix(in srgb, var(--color-bg) 55%, transparent);
}
/* This one checkbox reads fine without WooCommerce's automatic "(opciono)"
   suffix — it's self-evidently optional. Scoped to this field only. */
#labuket_recipient_is_buyer_field .optional {
	display: none;
}
/* Checkboxes & radios: a full custom redesign (appearance:none), not just
   accent-color — accent-color only tints the BROWSER'S OWN native control;
   it still rendered as a plain OS checkbox/radio when unchecked, and that
   first redesign (appearance:none, no explicit display) then went fully
   INVISIBLE instead: WooCommerce's own core CSS sets ".woocommerce form
   .form-row .input-checkbox{display:inline}" (3 classes — this rule,
   scoped to one body class, 2 classes, could never outrank it), and
   width/height do not apply to a non-replaced inline-level box. An
   unstyled native checkbox is a REPLACED element (fixed native widget
   size regardless of display), so this was harmless before appearance:
   none — which turns it into a plain generic box, newly subject to that
   rule. Confirmed directly (computed display: "inline", confirmed
   nothing else in the cascade sets it). display:inline-grid fixes it
   outright (more classes below than core's rule) and lets place-content
   center the checkmark/dot without extra positioning math.

   ONE rule set, unscoped (not body.labuket-order-flow-dark only) — every
   checkbox and radio on the site, dark pages and light ones alike
   (checkout, cart, mini-cart, shop filters, My Account, any contact
   form), via the --checkbox-* tokens below: sensible light-page values
   in the base :root block, redefined for dark pages in the shared dark-
   page body-class block further up this file (same block that already
   sets --color-on-dark's background/link color for every dark page
   family member). Checkbox: 22px, 6px-rounded. Radio: 22px, fully round.
   Both: a border + translucent fill unchecked, champagne fill + a dark
   mark when checked. */
input[type="checkbox"],
input[type="radio"] {
	appearance: none;
	-webkit-appearance: none;
	display: inline-grid;
	place-content: center;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	margin: 0;
	border: 1.5px solid var(--checkbox-border);
	background: var(--checkbox-bg);
	cursor: pointer;
	position: relative;
	transition: background var(--transition), border-color var(--transition);
}
input[type="checkbox"] {
	border-radius: 6px;
}
input[type="radio"] {
	border-radius: 999px;
}
input[type="checkbox"]:checked,
input[type="radio"]:checked {
	background: var(--color-gold);
	border-color: var(--color-gold);
}
input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	inset: 0;
	background-color: var(--color-charcoal-deep);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6'/%3E%3C/svg%3E") center / 65% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6'/%3E%3C/svg%3E") center / 65% no-repeat;
}
input[type="radio"]:checked::after {
	content: "";
	position: absolute;
	inset: 5px;
	border-radius: 999px;
	background: var(--color-charcoal-deep);
}
input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
	outline: 2px solid var(--color-gold);
	outline-offset: 3px;
}
input[type="checkbox"]:disabled,
input[type="radio"]:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
/* 44px tap target around the whole row (the visible box stays 22px) —
   min-height on the label itself, rather than padding the input (which
   would grow the visible box too). align-items:flex-start + a 2px top
   offset keeps the box aligned with the FIRST line of a label that wraps
   to two or more lines, instead of centering against the whole block. */
label.checkbox {
	display: flex;
	align-items: flex-start;
	min-height: 44px;
	gap: 0.6em;
	font-size: 0.85rem;
}
label.checkbox input[type="checkbox"],
label.checkbox input[type="radio"] {
	margin-top: 2px;
}
body.labuket-order-flow-dark label.checkbox {
	color: color-mix(in srgb, var(--color-bg) 80%, transparent);
}
/* The plain "input[type=checkbox]" rule above is unscoped on purpose (one
   rule set everywhere, including contexts — shop filters — the core
   collision below never touches), but on its own it's LOWER specificity
   (0,1,0) than WooCommerce's own ".woocommerce form .form-row .input-
   checkbox{display:inline}" (0,3,1; the exact rule the long comment above
   explains), so inside a .form-row (checkout, cart, My Account — core
   uses this same selector shape on every WooCommerce page) that generic
   rule would still lose the display property specifically. Reusing core's
   own selector shape at matching specificity, declared later in this
   file, wins on load order instead of needing a class to out-rank it. */
.woocommerce form .form-row .input-checkbox,
.woocommerce form .form-row .input-radio {
	display: inline-grid;
}

/* ==========================================================================
   WooCommerce — checkout order-summary card (right column)
   #order_review (review-order.php's table + payment.php's method list,
   terms checkbox and submit button — all one WC-managed AJAX-refreshed
   block, see woocommerce/checkout/review-order.php's own comment for why
   it isn't split across columns) restyled as one translucent card.
   ========================================================================== */
body.labuket-order-flow-dark .woocommerce-checkout-review-order {
	background: color-mix(in srgb, var(--color-bg) 5%, transparent);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 20px;
	padding: var(--space-3);
}
body.labuket-order-flow-dark .woocommerce-checkout-review-order-table {
	margin-bottom: var(--space-3);
}
body.labuket-order-flow-dark .woocommerce-checkout-review-order-table .order-total th,
body.labuket-order-flow-dark .woocommerce-checkout-review-order-table .order-total td {
	font-size: 1.15rem;
	font-family: var(--font-heading);
	color: var(--color-bg);
}
/* "670 RSD (Beograd)" replacement text (filtered in inc/checkout-cart.php)
   can run long on a narrow summary column — right-align like every other
   total still reads fine wrapped. */
body.labuket-order-flow-dark .woocommerce-shipping-totals td {
	text-align: right;
}
/* Once a destination postcode is known (inc/checkout-cart.php assumes the
   store's own by default), cart/cart-shipping.php also prints "Shipping to
   11000." plus a "Change address" link that reveals WooCommerce's address-
   only shipping calculator (cart page only) — redundant with the one-line
   "670 RSD (Beograd)" label above it and not asked for in the spec, so
   hidden here. Purely presentational: the underlying calculation this
   label reflects, and the calculator form itself, are both untouched. */
body.labuket-order-flow-dark .woocommerce-shipping-destination {
	display: none;
}

/* Payment: a single method shown as a selected card, not a radio list —
   this store only has Cash on delivery enabled, so .wc_payment_methods
   normally has exactly one <li>; if a second gateway is ever enabled this
   still degrades reasonably (each becomes its own card, radio visible).

   #payment (the wrapping div payment.php itself renders,
   class="woocommerce-checkout-payment") and .payment_box both carry
   WooCommerce's own core CSS via an ID-anchored selector
   (".woocommerce-checkout #payment" / ".woocommerce-checkout #payment
   div.payment_box") — an ID always outranks a selector with none, no
   matter how many classes that selector has, so the plain class-only
   rules below could never beat them. "#payment" is included in every one
   of these selectors for exactly that reason: to match the ID core
   anchors on, not to narrow anything further. Confirmed directly: without
   it, #payment kept its own lavender-purple tint (rgba(129,110,153,.14))
   behind this card's own background, and .payment_box kept BOTH its
   lavender background (#dcd7e2) and its own ::before triangle arrow —
   neither ever touched by a plain ".payment_box" rule's color/margin-only
   properties. */
body.labuket-order-flow-dark #payment {
	background: transparent;
	border-radius: 0;
}
body.labuket-order-flow-dark #payment ul.wc_payment_methods {
	list-style: none;
	margin: 0 0 var(--space-3);
	padding: 0;
	border-bottom: none;
}
body.labuket-order-flow-dark ul.wc_payment_methods li.wc_payment_method {
	position: relative;
	border: 1px solid var(--color-gold);
	border-radius: 14px;
	padding: var(--space-2) var(--space-2) var(--space-2) 2.75rem;
	background: color-mix(in srgb, var(--color-gold) 10%, transparent);
}
/* Position only — size/border/checked-fill/dark-dot all come from the
   shared input[type="radio"] rule above (this selector is more specific,
   but simply doesn't repeat those properties, so the shared ones still
   apply). */
body.labuket-order-flow-dark ul.wc_payment_methods input.input-radio {
	position: absolute;
	left: var(--space-2);
	top: 50%;
	transform: translateY(-50%);
}
body.labuket-order-flow-dark ul.wc_payment_methods label {
	display: block;
	font-weight: 600;
	color: var(--color-bg);
}
body.labuket-order-flow-dark #payment div.payment_box {
	position: static;
	width: auto;
	margin: var(--space-3) 0 0;
	padding: 0;
	font-size: 0.85rem;
	border-radius: 0;
	background: transparent;
	color: color-mix(in srgb, var(--color-bg) 75%, transparent);
}
body.labuket-order-flow-dark #payment div.payment_box::before {
	content: none;
}
body.labuket-order-flow-dark .payment_box p {
	margin: 0;
}

/* Terms checkbox + submit — .form-row.place-order wraps both in payment.php. */
body.labuket-order-flow-dark .woocommerce-terms-and-conditions-wrapper {
	margin: var(--space-3) 0;
	font-size: 0.8rem;
	color: color-mix(in srgb, var(--color-bg) 70%, transparent);
}
body.labuket-order-flow-dark .woocommerce-terms-and-conditions-wrapper a {
	color: var(--color-gold);
	text-decoration: underline;
}
body.labuket-order-flow-dark .woocommerce-privacy-policy-text {
	margin-bottom: var(--space-2);
}

/* "Naručite" — same visual recipe as .product-card__btn--buy ("Kupi") and
   the mini-cart's .mini-cart__checkout-btn: champagne background,
   charcoal-deep label. #place_order is WooCommerce's own id, present
   whether or not this theme is active, so no markup change was needed to
   target it. */
body.labuket-order-flow-dark #place_order {
	display: block;
	width: 100%;
	height: 52px;
	border: none;
	border-radius: 999px;
	background: var(--color-gold);
	color: var(--color-charcoal-deep);
	font-weight: 600;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: var(--label-letter-spacing);
	cursor: pointer;
}
body.labuket-order-flow-dark #place_order:hover,
body.labuket-order-flow-dark #place_order:focus-visible {
	background: color-mix(in srgb, var(--color-gold) 85%, black);
}
/* WooCommerce's own loading state on #place_order while the AJAX submit is
   in flight (checkout.js adds/removes this class itself — no JS of ours
   needed). */
body.labuket-order-flow-dark #place_order.processing {
	opacity: 0.7;
	cursor: wait;
}
body.labuket-order-flow-dark .place-order .woocommerce-terms-and-conditions-wrapper {
	margin-top: 0;
}

/* "Plaćanje gotovinom pri preuzimanju." note — COD gateway's own
   description already supplies this exact text (.payment_box p above), so
   nothing extra needs adding here; .labuket-order-summary-note exists for
   the one spot that DOES need its own explicit element: the cart page's
   totals card (style.css, cart section further down), which has no
   payment-method box of its own to borrow the note from. */
.labuket-order-summary-note {
	font-size: 0.78rem;
	color: color-mix(in srgb, var(--color-bg) 60%, transparent);
	text-align: center;
	margin: var(--space-2) 0 0;
}

/* Coupon, checkout: WooCommerce's OWN checkout/form-coupon.php already
   renders exactly the "small text link that expands" pattern the spec
   asks for — "Imate kupon?" + a .showcoupon link, printed through the
   regular notices system (wc_print_notice(..., 'notice'), hence the real
   .woocommerce-info class below) inside its own .woocommerce-form-coupon-
   toggle wrapper, with checkout.js's existing slideToggle already wired to
   .showcoupon. All of that behaviour is untouched — this just undoes the
   generic notice-box treatment (icon/border/background) for this ONE
   notice specifically, back down to a plain small link, and skins the
   form it reveals. */
.woocommerce-form-coupon-toggle .woocommerce-info {
	display: block;
	position: static;
	background: none;
	border: none;
	padding: 0;
	margin: 0 0 var(--space-3);
	font-size: 0.82rem;
	color: color-mix(in srgb, var(--color-bg) 70%, transparent);
}
.woocommerce-form-coupon-toggle .woocommerce-info::before {
	content: none;
}
.woocommerce-form-coupon-toggle .showcoupon {
	color: var(--color-gold);
	text-decoration: underline;
}
body.labuket-order-flow-dark .checkout_coupon {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin-bottom: var(--space-3);
}
body.labuket-order-flow-dark .checkout_coupon .form-row {
	margin-bottom: 0;
}

/* Coupon, cart: cart.php's own .coupon form has no such toggle built in —
   assets/js/cart-page.js adds one (a small .labuket-coupon-toggle link,
   hiding the real form until clicked); nothing else about the form
   changes. */
.labuket-coupon-toggle {
	display: inline-block;
	flex: 0 0 auto;
	white-space: nowrap;
	background: none;
	border: none;
	padding: 0;
	font-size: 0.82rem;
	color: color-mix(in srgb, var(--color-bg) 70%, transparent);
	text-decoration: underline;
	margin-bottom: var(--space-2);
}
.labuket-coupon-toggle:hover,
.labuket-coupon-toggle:focus-visible {
	color: var(--color-gold);
}
body.labuket-order-flow-dark .cart .coupon {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin-bottom: var(--space-3);
}
/* assets/js/cart-page.js sets the native [hidden] attribute to collapse
   this form behind .labuket-coupon-toggle — the display:flex above has
   higher specificity than the UA stylesheet's own [hidden]{display:none}
   rule and would otherwise silently win, keeping the form visible despite
   being "hidden" (confirmed directly: the hidden attribute was present,
   the form still rendered). */
body.labuket-order-flow-dark .cart .coupon[hidden] {
	display: none;
}
body.labuket-order-flow-dark .cart .coupon .input-text {
	margin-bottom: 0;
	width: auto;
	flex: 1 1 200px;
}

/* ==========================================================================
   WooCommerce — cart page: totals card + proceed/update buttons

   .cart_totals carries its own core rule from woocommerce-layout.css:
   ".woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-
   collaterals .cart_totals { float: right; width: 48% }" (3 classes, no
   type — a plain "body.labuket-order-flow-dark .cart_totals", 2 classes +
   1 type, could never outrank it: classes are compared before type count).
   Confirmed directly: the card rendered at 48% of its grid column's own
   width (~240px of a ~500px column at 1440px) with a large empty gap
   where the float left it unfilled, and the shop_table inside it (no
   explicit width of its own, so sized to its own widest content) rendered
   WIDER than that 240px card, overflowing its right edge/border past the
   card's own rounded corner. ".cart-collaterals" is added to every
   selector below purely to reach/exceed that same 3-class count, not to
   narrow anything further.
   ========================================================================== */
body.labuket-order-flow-dark .cart-collaterals .cart_totals {
	float: none;
	width: 100%;
	box-sizing: border-box;
	background: color-mix(in srgb, var(--color-bg) 5%, transparent);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 20px;
	padding: var(--space-3);
}
body.labuket-order-flow-dark .cart-collaterals .cart_totals > h2 {
	/* Not nowrap: a wide uppercase, letter-spaced label like this is
	   exactly the shape that overflowed in ru elsewhere on this page
	   (the items table header, fixed above) — wrapping to a second line
	   inside this card costs nothing, overflowing past its rounded
	   corner does. Font itself (size/weight/case/spacing/colour) is the
	   shared card/section-label role, above. */
	overflow-wrap: anywhere;
	margin-bottom: var(--space-2);
}
/* A clean row list instead of a bordered table — the table itself stays a
   real <table> (WooCommerce's own cart-totals.php, unmodified), just
   reskinned: each <tr> becomes the row (one shared border-bottom instead
   of one under the <th> AND another under its <td>), label left/value
   right via flex instead of table cell alignment. */
body.labuket-order-flow-dark .cart-collaterals .cart_totals table.shop_table {
	width: 100%;
	border: none;
}
body.labuket-order-flow-dark .cart-collaterals .cart_totals table.shop_table tr {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	border-bottom: 1px solid color-mix(in srgb, var(--color-bg) 14%, transparent);
	padding-block: var(--space-2);
}
body.labuket-order-flow-dark .cart-collaterals .cart_totals table.shop_table tr:first-child {
	padding-top: 0;
}
body.labuket-order-flow-dark .cart-collaterals .cart_totals table.shop_table tr:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
/* ROLE 3 (body row: sans, regular/medium weight) — a plain <th> is
   bold by default in every browser's own stylesheet; nothing here ever
   overrode that, so "Međuzbir"/"Pošiljka" rendered bolder than their own
   <td> value right next to them. font-weight:500 on both (not 400 —
   medium, matching every other body-row element in this file, not a new
   weight) now makes the two visually equal, overridden back to serif/
   larger for .order-total alone, below. */
body.labuket-order-flow-dark .cart-collaterals .cart_totals table.shop_table th,
body.labuket-order-flow-dark .cart-collaterals .cart_totals table.shop_table td {
	padding: 0;
	border-bottom: none;
	font-size: 0.9rem;
	font-weight: 500;
}
/* Label (th) can wrap onto a second line if it has to — a longer ru row
   label ("Промежуточный итог" etc.) shrinking the flex row's own value
   side instead is the wrong trade; the price never should. th gets room
   to shrink (min-width:0, the flex-shrink default's usual blocker) and
   somewhere to actually break (overflow-wrap); td is fixed to its own
   content width and never wraps, so "8.500 RSD"/a longer RSD amount
   always reads as one line, right-aligned. */
body.labuket-order-flow-dark .cart-collaterals .cart_totals table.shop_table th {
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: anywhere;
}
body.labuket-order-flow-dark .cart-collaterals .cart_totals table.shop_table td {
	flex: 0 0 auto;
	white-space: nowrap;
}
body.labuket-order-flow-dark .cart-collaterals .cart_totals table.shop_table .order-total th,
body.labuket-order-flow-dark .cart-collaterals .cart_totals table.shop_table .order-total td {
	font-size: 1.15rem;
	font-family: var(--font-heading);
	color: var(--color-bg);
}
body.labuket-order-flow-dark .cart-collaterals .cart_totals .woocommerce-shipping-totals td {
	text-align: right;
	max-width: 100%;
}
body.labuket-order-flow-dark .cart-collaterals .cart_totals .woocommerce-shipping-totals ul#shipping_method {
	margin: 0;
	padding: 0;
	list-style: none;
}
/* The shipping-calculator toggle ("Promena adrese") sits inside the SAME
   right-aligned <td> as the cost (cart-shipping.php, unmodified) — pulled
   left and onto its own line rather than moved in markup. */
body.labuket-order-flow-dark .cart-collaterals .cart_totals .woocommerce-shipping-calculator {
	display: block;
	width: 100%;
	text-align: left;
	margin-top: 0.5em;
}
body.labuket-order-flow-dark .cart-collaterals .cart_totals .shipping-calculator-button {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-size: 0.78rem;
	color: color-mix(in srgb, var(--color-bg) 70%, transparent);
	text-decoration: underline;
}
body.labuket-order-flow-dark .cart-collaterals .cart_totals .shipping-calculator-button:hover,
body.labuket-order-flow-dark .cart-collaterals .cart_totals .shipping-calculator-button:focus-visible {
	color: var(--color-gold);
}
/* Truck icon, inline — same pictogram as inc/icons.php's 'truck' (single
   hand-drawn shape, see that file's authorship note), reproduced as a
   data-URI mask here since this is WooCommerce's own template output, not
   theme-rendered markup labuket_icon() could be called into. */
body.labuket-order-flow-dark .cart-collaterals .cart_totals .shipping-calculator-button::before {
	content: "";
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='7' width='12' height='9' rx='1.2'/%3E%3Cpath d='M14.5 10h3.5l3.5 3.5V16h-7z'/%3E%3Ccircle cx='7' cy='18.5' r='1.8'/%3E%3Ccircle cx='17' cy='18.5' r='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='7' width='12' height='9' rx='1.2'/%3E%3Cpath d='M14.5 10h3.5l3.5 3.5V16h-7z'/%3E%3Ccircle cx='7' cy='18.5' r='1.8'/%3E%3Ccircle cx='17' cy='18.5' r='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wc-proceed-to-checkout {
	margin-top: var(--space-2);
}
/* "Naručite" (proceed to checkout) — same champagne recipe as #place_order
   on the checkout page itself and .product-card__btn--buy ("Kupi"). */
/* min-height (not a fixed height+line-height): WooCommerce's own default
   button text ("Nastavite sa plaćanjem") wraps to two lines in a narrow
   ~38%-width card — a fixed 52px height + 52px line-height overflowed the
   second line straight out of the pill, confirmed directly live. flex
   centering keeps one OR two lines vertically centered either way. */
body.labuket-order-flow-dark .wc-proceed-to-checkout .checkout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	padding: 0.5em 1.25em;
	text-align: center;
	border: none;
	border-radius: 999px;
	background: var(--color-gold);
	color: var(--color-charcoal-deep);
	font-weight: 600;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: var(--label-letter-spacing);
}
body.labuket-order-flow-dark .wc-proceed-to-checkout .checkout-button:hover,
body.labuket-order-flow-dark .wc-proceed-to-checkout .checkout-button:focus-visible {
	background: color-mix(in srgb, var(--color-gold) 85%, black);
	color: var(--color-charcoal-deep);
	text-decoration: none;
}
/* "Ažuriraj korpu" — secondary outlined button; WooCommerce's own
   assets/js/frontend/cart.js disables it on load and re-enables it the
   moment a quantity changes (input_changed()) — no JS of ours needed for
   that state, only its visual treatment here. */
body.labuket-order-flow-dark .woocommerce-cart-form [name="update_cart"] {
	/* Not nowrap/inline-block — the same "Nastavite sa plaćanjem" -> two-
	   line overflow this theme already fixed on .checkout-button (further
	   up this file) applies here too: a longer ru "Обновить корзину" in a
	   narrow .actions row can need two lines. flex + min-height keeps
	   either line count centered instead of fixing a single-line height. */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	flex: 0 0 auto;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	padding: 0.65em 1.5em;
	background: transparent;
	color: var(--color-bg);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: var(--label-letter-spacing);
	text-align: center;
	cursor: pointer;
}
body.labuket-order-flow-dark .woocommerce-cart-form [name="update_cart"]:hover,
body.labuket-order-flow-dark .woocommerce-cart-form [name="update_cart"]:focus-visible {
	border-color: var(--color-gold);
	color: var(--color-gold);
}
body.labuket-order-flow-dark .woocommerce-cart-form [name="update_cart"]:disabled {
	opacity: 0.4;
	cursor: default;
}
body.labuket-order-flow-dark td.actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	padding-top: var(--space-2);
}
/* When expanded, the coupon form should take its own full row rather than
   fight the update-cart button for the remaining space on the same line. */
body.labuket-order-flow-dark td.actions .coupon:not([hidden]) {
	flex: 1 1 100%;
	order: -1;
}

/* ---- Empty cart ---- */
body.labuket-order-flow-dark .cart-empty,
body.labuket-order-flow-dark .woocommerce-cart-form + .wc-empty-cart-message,
body.labuket-order-flow-dark .labuket-cart-empty {
	text-align: center;
	padding: var(--space-5) var(--space-2);
}
.labuket-cart-empty__message {
	font-family: var(--font-heading);
	font-size: 1.3rem;
	color: var(--color-bg);
	margin-bottom: var(--space-3);
}
.labuket-cart-empty .btn-outline {
	color: var(--color-gold);
	border-color: var(--color-gold);
}
.labuket-cart-empty .btn-outline:hover,
.labuket-cart-empty .btn-outline:focus-visible {
	background: var(--color-gold);
	color: var(--color-charcoal-deep);
}

/* ==========================================================================
   WooCommerce — notices (success/error/info)
   Replaces the default blue/red/green boxes with the dark palette — a thin
   left accent line + icon instead of a filled background block. Shared by
   cart, checkout AND the order-received page (the one thing this step
   changes there — a site-wide notice style, not that page's own layout).

   A positioned icon + padding-left, not grid/flex: .woocommerce-message/
   -info are each a single <div> per notice, but .woocommerce-error is ONE
   <ul> holding MULTIPLE <li> (one per validation error) that need to keep
   behaving as an ordinary stacked list — a grid or flex container around
   them turned every <li> into a grid/flex item and broke their normal
   block sizing (confirmed directly: text collapsed to a one-character-wide
   column instead of wrapping normally). Positioning the icon absolutely
   and reserving room for it with padding-left leaves the notice's own
   children in completely normal, unconstrained document flow. */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info,
.woocommerce-noreply-notice {
	--labuket-notice-accent: var(--color-accent);
	position: relative;
	list-style: none;
	margin: 0 0 var(--space-3);
	padding: var(--space-2) var(--space-2) var(--space-2) calc(var(--space-3) + 18px + 0.7em);
	border-radius: 10px;
	border-left: 3px solid var(--labuket-notice-accent);
	background: color-mix(in srgb, var(--labuket-notice-accent) 10%, transparent);
	color: var(--color-text);
	font-size: 0.9rem;
}
.woocommerce-error {
	--labuket-notice-accent: var(--color-error);
}
.woocommerce-info {
	--labuket-notice-accent: var(--color-gold);
}
body.labuket-order-flow-dark .woocommerce-message,
body.labuket-order-flow-dark .woocommerce-error,
body.labuket-order-flow-dark .woocommerce-info,
body.labuket-product-dark .woocommerce-message,
body.labuket-product-dark .woocommerce-error,
body.labuket-product-dark .woocommerce-info,
body.labuket-shop-archive .woocommerce-message,
body.labuket-shop-archive .woocommerce-error,
body.labuket-shop-archive .woocommerce-info {
	/* Shop/category archive added here alongside the two that already had
	   this: same dark-background notice-text gap, just never actually
	   exercised live before (an "added to cart" banner on the shop page
	   normally never shows, since this theme's shop grid adds to cart via
	   AJAX, not a redirect) — found scanning for it, not from seeing it
	   break, so fixed at the same root as the other two rather than left
	   for whenever something finally does trigger a non-AJAX notice here. */
	color: var(--color-bg);
}
.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
	content: "";
	position: absolute;
	left: var(--space-3);
	top: var(--space-2);
	width: 18px;
	height: 18px;
	background-color: var(--labuket-notice-accent);
	-webkit-mask: var(--labuket-notice-icon) center / contain no-repeat;
	mask: var(--labuket-notice-icon) center / contain no-repeat;
}
.woocommerce-message {
	--labuket-notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6'/%3E%3C/svg%3E");
}
.woocommerce-error {
	--labuket-notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v6M12 17v.1'/%3E%3C/svg%3E");
}
.woocommerce-info {
	--labuket-notice-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5.5M12 7.5v.1'/%3E%3C/svg%3E");
}
.woocommerce-error li {
	list-style: none;
	margin-bottom: 0.3em;
}
.woocommerce-error li:last-child {
	margin-bottom: 0;
}
.woocommerce-message > a.button,
.woocommerce-info > a.button {
	display: inline-block;
	margin-top: 0.5em;
}

/* ==========================================================================
   WooCommerce — order-received (thank-you) page
   Dark, same family as cart/checkout (body.labuket-order-flow-dark now
   covers is_order_received_page() too — functions.php). page.php wraps
   this in .labuket-thankyou-page > .container.labuket-thankyou-page__body;
   everything below that is built by woocommerce/checkout/thankyou.php +
   inc/thankyou-page.php's render functions, one page-width column:
   centred hero, two cards (stacked <900px, side by side at/above it), the
   "Šta dalje?" block. The invalid/failed-order notice re-skins the
   sitewide .woocommerce-info/.woocommerce-error component (already dark
   via body.labuket-order-flow-dark further up this file) rather than
   introducing a third notice style.
   ========================================================================== */
.labuket-thankyou-page {
	padding-top: 32px;
}
.labuket-thankyou-page__body {
	max-width: 880px;
}

/* ---- Hero: check badge, heading, confirmation line, order-meta row ---- */
.labuket-thankyou-hero {
	text-align: center;
	padding-bottom: var(--space-5);
}
.labuket-thankyou-hero__badge {
	width: 64px;
	height: 64px;
	margin: 0 auto var(--space-3);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid var(--color-gold);
}
.labuket-thankyou-hero__check {
	width: 30px;
	height: 30px;
	color: var(--color-gold);
	/* Drawn via stroke-dasharray/-offset (both set to the same length below,
	   JS-free) rather than a generic fade-in — a short, deliberate "draw"
	   reads as confirmation finishing, not just content appearing. Fully
	   drawn (offset 0) is the rest state, so a reduced-motion viewer or one
	   whose browser is slow to apply the animation still always sees a
	   complete checkmark, never a partial stroke. */
	stroke-dasharray: 24;
	stroke-dashoffset: 0;
}
@media (prefers-reduced-motion: no-preference) {
	.labuket-thankyou-hero__check {
		animation: labuket-thankyou-check-draw 500ms ease-out 150ms both;
	}
}
@keyframes labuket-thankyou-check-draw {
	from { stroke-dashoffset: 24; }
	to { stroke-dashoffset: 0; }
}
.labuket-thankyou-hero__heading {
	font-size: 2rem;
	color: var(--color-bg);
	margin: 0 0 var(--space-1);
}
.labuket-thankyou-hero__text {
	color: color-mix(in srgb, var(--color-bg) 75%, transparent);
	max-width: 46ch;
	margin: 0 auto var(--space-4);
}
.labuket-thankyou-hero__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-4);
	list-style: none;
	margin: 0;
	padding: 0;
}
.labuket-thankyou-hero__meta li {
	display: flex;
	flex-direction: column;
	gap: 0.2em;
}
.labuket-thankyou-hero__meta-label {
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: var(--label-letter-spacing);
	color: color-mix(in srgb, var(--color-gold) 75%, var(--color-bg));
}

/* ---- Two cards: translucent dark panels, thin border, rounded 20px ---- */
.labuket-thankyou-cards {
	display: grid;
	gap: var(--space-3);
	align-items: start;
	margin-bottom: var(--space-5);
}
@media (min-width: 900px) {
	.labuket-thankyou-cards {
		grid-template-columns: 1fr 1fr;
	}
}
.labuket-thankyou-card {
	background: color-mix(in srgb, var(--color-bg) 6%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-bg) 16%, transparent);
	border-radius: var(--radius-card);
	padding: var(--space-3);
}
.labuket-thankyou-card__title {
	font-size: 1.1rem;
	color: var(--color-bg);
	margin: 0 0 var(--space-2);
}
.labuket-thankyou-card__row {
	display: flex;
	justify-content: space-between;
	gap: var(--space-2);
	padding: 0.5em 0;
	border-bottom: 1px solid color-mix(in srgb, var(--color-bg) 12%, transparent);
	color: color-mix(in srgb, var(--color-bg) 90%, transparent);
}
.labuket-thankyou-card__row:last-of-type {
	border-bottom: none;
}
.labuket-thankyou-card__label {
	color: color-mix(in srgb, var(--color-bg) 65%, transparent);
	flex: 0 0 auto;
}
.labuket-thankyou-card__row span:last-child {
	text-align: right;
}
.labuket-thankyou-card__quote {
	margin: var(--space-2) 0 0;
	padding: 0.6em 0 0.6em 1em;
	border-left: 2px solid var(--color-gold);
	font-family: var(--font-heading);
	font-style: italic;
	color: color-mix(in srgb, var(--color-bg) 90%, transparent);
}

/* ---- Order items: 3:4 thumbnail, name/qty, price ---- */
.labuket-thankyou-items {
	list-style: none;
	margin: 0 0 var(--space-2);
	padding: 0;
	display: grid;
	gap: var(--space-2);
}
.labuket-thankyou-items__row {
	display: grid;
	grid-template-columns: 48px 1fr auto;
	align-items: center;
	gap: var(--space-2);
}
.labuket-thankyou-items__media {
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: var(--radius-media-sm);
	display: block;
}
.labuket-thankyou-items__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.labuket-thankyou-items__name {
	color: color-mix(in srgb, var(--color-bg) 90%, transparent);
}
.labuket-thankyou-items__qty {
	display: block;
	font-size: 0.82rem;
	color: color-mix(in srgb, var(--color-bg) 60%, transparent);
}
.labuket-thankyou-items__price {
	white-space: nowrap;
	color: color-mix(in srgb, var(--color-bg) 90%, transparent);
}
.labuket-thankyou-totals {
	border-top: 1px solid color-mix(in srgb, var(--color-bg) 16%, transparent);
	padding-top: var(--space-2);
}
.labuket-thankyou-totals__row {
	display: flex;
	justify-content: space-between;
	gap: var(--space-2);
	padding: 0.3em 0;
	color: color-mix(in srgb, var(--color-bg) 75%, transparent);
}
.labuket-thankyou-totals__row--total {
	margin-top: 0.3em;
	padding-top: 0.6em;
	border-top: 1px solid color-mix(in srgb, var(--color-bg) 16%, transparent);
	color: var(--color-gold);
	font-weight: 600;
}

/* ---- "Šta dalje?" ---- */
.labuket-thankyou-next {
	text-align: center;
}
.labuket-thankyou-next__title {
	font-size: 1.3rem;
	color: var(--color-bg);
	margin: 0 0 var(--space-3);
}
.labuket-thankyou-steps {
	list-style: none;
	counter-reset: labuket-thankyou-step;
	display: grid;
	gap: var(--space-2);
	max-width: 460px;
	margin: 0 auto var(--space-4);
	padding: 0;
	text-align: left;
}
.labuket-thankyou-steps li {
	counter-increment: labuket-thankyou-step;
	display: flex;
	align-items: baseline;
	gap: 0.8em;
	color: color-mix(in srgb, var(--color-bg) 85%, transparent);
}
.labuket-thankyou-steps li::before {
	content: counter(labuket-thankyou-step);
	flex: 0 0 auto;
	width: 1.6em;
	height: 1.6em;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid var(--color-gold);
	color: var(--color-gold);
	font-size: 0.75rem;
	font-weight: 600;
}
.labuket-thankyou-next__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-2);
	margin-bottom: var(--space-3);
}
/* Same champagne-pill recipe as #place_order ("Naručite") and
   .product-card__btn--buy ("Kupi") — the one other button this page's
   dark scope needed is the outlined twin, same shape/weight, no fill. */
.labuket-thankyou-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 2em;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: var(--label-letter-spacing);
	transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.labuket-thankyou-btn--primary {
	border: none;
	background: var(--color-gold);
	color: var(--color-charcoal-deep);
}
.labuket-thankyou-btn--primary:hover,
.labuket-thankyou-btn--primary:focus-visible {
	background: color-mix(in srgb, var(--color-gold) 85%, black);
	color: var(--color-charcoal-deep);
}
.labuket-thankyou-btn--outline {
	border: 1px solid var(--color-gold);
	background: transparent;
	color: var(--color-gold);
}
.labuket-thankyou-btn--outline:hover,
.labuket-thankyou-btn--outline:focus-visible {
	background: var(--color-gold);
	color: var(--color-charcoal-deep);
}
.labuket-thankyou-next__contact-icons {
	justify-content: center !important;
	margin-bottom: var(--space-1) !important;
}
.labuket-thankyou-next__phone a {
	color: color-mix(in srgb, var(--color-bg) 80%, transparent);
}
.labuket-thankyou-next__phone a:hover,
.labuket-thankyou-next__phone a:focus-visible {
	color: var(--color-gold);
}

/* ---- Invalid/failed order: styled notice instead of WooCommerce's raw text ---- */
.labuket-thankyou-notice {
	text-align: center;
	padding: var(--space-5) 0;
}
.labuket-thankyou-notice .woocommerce-info,
.labuket-thankyou-notice .woocommerce-error {
	display: inline-block;
	margin-bottom: var(--space-3);
}

/* ---- Mobile: one column, full-width buttons, no horizontal scroll ---- */
@media (max-width: 480px) {
	.labuket-thankyou-hero__meta {
		gap: var(--space-2) var(--space-3);
	}
	.labuket-thankyou-items__row {
		grid-template-columns: 40px 1fr auto;
	}
	.labuket-thankyou-next__actions {
		flex-direction: column;
	}
	.labuket-thankyou-btn {
		width: 100%;
	}
}

/* ==========================================================================
   Shop page: "Dodato u korpu" toast — one shared element, appended once by
   assets/js/shop.js, shown/hidden on WooCommerce's own 'added_to_cart'
   event. Fixed positioning so it's unaffected by the dark shop-page scope
   or the light scope everywhere else.
   ========================================================================== */
.labuket-toast {
	position: fixed;
	left: 50%;
	bottom: var(--space-3);
	z-index: 2000;
	transform: translate(-50%, 1rem);
	background: var(--color-charcoal);
	color: var(--color-on-dark);
	font-size: 0.85rem;
	padding: 0.7em 1.4em;
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--transition), transform var(--transition);
}
.labuket-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* ==========================================================================
   Text pages: O nama, Dostava, Uslovi prodaje, Reklamacije, Politika
   privatnosti (inc/text-pages.php). Scoped via body.labuket-text-page-dark
   (labuket_text_page_body_class(), same file) — joins the shared dark-page
   family's heading-colour and focus-ring rules above (see
   body.labuket-text-page-dark in both those selector lists) but is
   deliberately NOT added to that family's base background/colour rule or
   its "a { color: inherit }" rule: this page type's body-copy colour
   (muted ivory, not that family's plain white) and link colour (champagne,
   underlined on hover — a plain in-prose link, not a nav/button one)
   differ from both, so it gets its own small background rule below rather
   than inheriting ones it would just have to re-override.

   .text-page (page.php, added to the <article> only for these five pages
   via labuket_is_text_page()) is the actual reading column — centered,
   capped at --text-page-max-width inside the sitewide .container, so the
   title and body copy don't run the full container width the way a
   product grid does. overflow-wrap:anywhere guarantees no horizontal
   scroll from a long word or URL (the legal pages' own domain/sentences)
   at any width, same reasoning the Kolekcije tile name uses it for.
   ========================================================================== */
body.labuket-text-page-dark {
	background: var(--color-charcoal-deep);
}
.text-page {
	max-width: var(--text-page-max-width);
	margin-inline: auto;
	color: color-mix(in srgb, var(--color-bg) 85%, transparent);
	font-size: var(--text-page-body-size);
	line-height: var(--text-page-line-height);
	overflow-wrap: anywhere;
}
.text-page > h1 {
	margin-top: var(--space-5);
	margin-bottom: var(--space-3);
}
@media (max-width: 480px) {
	.text-page > h1 {
		font-size: 1.9rem;
	}
}
/* The legal pages' own "last updated" line (page.php, labuket_is_legal_text_page())
   — sits right under the title, so pulled up closer to it than the
   title's own margin-bottom would otherwise leave. */
.text-page__updated {
	margin-top: calc(var(--space-3) * -1 + 8px);
	margin-bottom: var(--space-4);
	font-size: 0.85rem;
	color: color-mix(in srgb, var(--color-bg) 55%, transparent);
}
.text-page h2 {
	margin-top: 40px;
	margin-bottom: 12px;
	padding-top: var(--space-2);
	border-top: 1px solid color-mix(in srgb, var(--color-gold) 35%, transparent);
}
.text-page h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}
.text-page h3 {
	margin-top: var(--space-3);
	margin-bottom: var(--space-1);
}
.text-page strong {
	color: var(--color-bg);
}
.text-page a {
	color: var(--color-gold);
	text-decoration: none;
}
.text-page a:hover,
.text-page a:focus {
	text-decoration: underline;
}
/* Global ul/ol are list-style:none/padding:0 sitewide (this file's base
   reset) — restored here with champagne markers, since this is plain
   prose content (<ul>/<ol> from inc/text-pages.php's page texts), not one
   of the theme's own icon/pill lists. */
.text-page ul,
.text-page ol {
	margin: 0 0 var(--space-2);
	padding-left: 1.25em;
}
.text-page ul {
	list-style: disc;
}
.text-page ol {
	list-style: decimal;
}
.text-page li {
	margin-bottom: 8px;
}
.text-page li::marker {
	color: var(--color-gold);
}
.text-page blockquote {
	margin: 0 0 var(--space-2);
	padding-left: var(--space-2);
	border-left: 2px solid var(--color-gold);
}
.text-page hr {
	margin: var(--space-4) 0;
	border: none;
	border-top: 1px solid color-mix(in srgb, var(--color-bg) 20%, transparent);
}
.text-page table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 var(--space-2);
}
.text-page th,
.text-page td {
	padding: var(--space-1) var(--space-2);
	border-bottom: 1px solid color-mix(in srgb, var(--color-bg) 20%, transparent);
	background: transparent;
	text-align: left;
}

/* Unfinished/placeholder spots on a text-page draft — a [labuket_xxx]
   shortcode (inc/shortcodes.php) resolving empty for a logged-in
   administrator, or a literal [bracketed] placeholder note still in the
   page's own text (inc/text-pages.php) — made impossible to miss. Not
   scoped to .text-page: the same shortcodes can appear on any page/post an
   admin edits. */
.labuket-placeholder {
	display: inline;
	background: color-mix(in srgb, var(--color-gold) 18%, transparent);
	border: 1px dashed var(--color-gold);
	border-radius: var(--radius);
	padding: 0.05em 0.4em;
}
