/*
Theme Name:   WDF Store
Description:  WDF Shopping Centar — Smederevo. Ananas-grade marketplace design in the WDF brand system. Child of Twenty Twenty-Five.
Template:     twentytwentyfive
Version:      2.4.6
Author:       Clarus for WDF
Text Domain:  wdf-store
*/

/* ============================================================
   WDF BRAND SYSTEM (from WDF_Brand_Book_Modern.pdf)
   Navy #16324F = foundation (headings, footer bars, cards)
   Orange #F59E0B = RESERVED: prices, discounts, CTAs only
   Green #2F9E44 = RESERVED: availability/confirmations only
   Raf #F4F6F8 = neutral shelf background
   Flat vector only. No gradients, no shadows, no 3D.
   Type: Fredoka = prices/promo (no diacritics) · Montserrat =
   headings · Inter = body (mandatory for long reads)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Inter:wght@400;500;600;700&family=Montserrat:wght@600;700;800&display=swap');

:root {
	--wdf-navy:   #16324F;
	--wdf-navy-2: #0F2438;
	--wdf-orange: #F59E0B;
	--wdf-orange-d: #D97706;
	--wdf-green:  #2F9E44;
	--wdf-green-soft: #E7F6EA;
	--wdf-raf:    #F4F6F8;
	--wdf-line:   #E2E8EF;
	--wdf-ink:    #1F2A37;
	--wdf-mut:    #5B6B7C;
	--wdf-white:  #FFFFFF;
	--wdf-radius: 10px;
	--wdf-max:    1240px;
}

html { scroll-behavior: smooth; }

body {
	background: var(--wdf-white);
	color: var(--wdf-ink);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

/* ---------- typography ---------- */
h1, h2, h3, h4, h5, h6,
.wp-block-heading,
.wc-block-components-title {
	font-family: "Montserrat", "Inter", sans-serif;
	color: var(--wdf-navy);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
a { color: var(--wdf-navy); }
p { margin: 0 0 14px; }

/* Prices: Fredoka, orange — brand-locked */
.price,
.wc-block-components-product-price,
.wc-block-components-product-price__value,
.woocommerce-Price-amount,
.wc-block-components-formatted-money-amount {
	font-family: "Fredoka", "Montserrat", sans-serif !important;
	font-weight: 600 !important;
	color: var(--wdf-orange) !important;
	letter-spacing: .01em;
}
ins, .price ins { text-decoration: none; }
del, .price del { color: #9AA7B4 !important; font-weight: 500; }

/* Sale badge — orange */
.woocommerce span.onsale,
.wc-block-components-product-sale-badge {
	background: var(--wdf-orange) !important;
	color: #fff !important;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	border-radius: 6px !important;
	min-height: 0 !important;
	line-height: 1.4;
	padding: 4px 10px;
	text-transform: uppercase;
	font-size: .72rem;
}

/* In stock — green */
.woocommerce .stock,
.wc-block-components-product-stock-indicator {
	color: var(--wdf-green) !important;
	font-weight: 600;
}
.in-stock::before { content: "● "; color: var(--wdf-green); }

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.wdf-wrap {
	max-width: var(--wdf-max);
	margin: 0 auto;
	padding: 0 clamp(16px, 3vw, 28px);
}

.wdf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: .95rem;
	border-radius: 999px;
	padding: 14px 28px;
	border: 2px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.wdf-btn-orange { background: var(--wdf-orange); color: #fff; }
.wdf-btn-orange:hover { background: var(--wdf-orange-d); color: #fff; }
.wdf-btn-navy { background: var(--wdf-navy); color: #fff; }
.wdf-btn-navy:hover { background: var(--wdf-navy-2); color: #fff; }
.wdf-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.wdf-btn-ghost:hover { border-color: #fff; color: #fff; }
.wdf-btn-block { display: flex; width: 100%; }

/* ============================================================
   HEADER — ananas-style three layers
   ============================================================ */
/* top bar */
.wdf-topbar {
	background: var(--wdf-navy);
	color: rgba(255,255,255,.85);
	font-size: .78rem;
}
.wdf-topbar .wdf-wrap {
	display: flex; justify-content: space-between; gap: 12px;
	padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap;
}
.wdf-topbar-left, .wdf-topbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wdf-topbar-item strong { color: #fff; font-weight: 600; }
.wdf-topbar-sep { width: 1px; height: 12px; background: rgba(255,255,255,.3); }

/* main bar */
.wdf-mainbar {
	background: var(--wdf-white);
	border-bottom: 1px solid var(--wdf-line);
}
.wdf-mainbar .wdf-wrap {
	display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
	padding-top: 14px; padding-bottom: 14px;
}
.wdf-logo { flex: 0 0 auto; line-height: 0; }
.wdf-logo img {
	height: 52px; width: auto; display: block; border-radius: 6px;
}

/* search */
.wdf-search {
	flex: 1 1 auto;
	display: flex;
	max-width: 640px;
	border: 2px solid var(--wdf-navy);
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
}
.wdf-search input[type="search"] {
	flex: 1; border: none; outline: none;
	padding: 11px 20px; font-size: .95rem; font-family: "Inter", sans-serif;
	background: transparent; color: var(--wdf-ink);
}
.wdf-search input[type="search"]::placeholder { color: #9AA7B4; }
.wdf-search button {
	background: var(--wdf-navy); color: #fff; border: none;
	padding: 0 22px; cursor: pointer; display: grid; place-items: center;
}
.wdf-search button:hover { background: var(--wdf-orange); }

/* utilities */
.wdf-util { display: flex; align-items: center; gap: 22px; flex: 0 0 auto; }
.wdf-util-link {
	display: flex; flex-direction: column; align-items: center; gap: 3px;
	font-size: .68rem; font-weight: 600; color: var(--wdf-navy);
	text-decoration: none; position: relative; line-height: 1.2;
}
.wdf-util-link svg { stroke: var(--wdf-navy); }
.wdf-util-link:hover { color: var(--wdf-orange-d); }
.wdf-util-link:hover svg { stroke: var(--wdf-orange-d); }
.wdf-cart-count {
	position: absolute; top: -7px; right: 2px;
	background: var(--wdf-orange); color: #fff;
	font-family: "Montserrat", sans-serif; font-weight: 700; font-style: normal;
	font-size: .66rem; min-width: 18px; height: 18px;
	border-radius: 999px; display: flex; align-items: center; justify-content: center;
	padding: 0 4px;
}

/* secondary navigation */
.wdf-navbar { background: var(--wdf-navy); }
.wdf-navbar .wdf-wrap { display: flex; align-items: center; gap: 26px; }
.wdf-navall { position: relative; }
.wdf-navall-btn {
	display: flex; align-items: center; gap: 10px;
	background: var(--wdf-orange); color: #fff; border: none;
	font-family: "Montserrat", sans-serif; font-weight: 700; font-size: .9rem;
	padding: 13px 20px; cursor: pointer;
}
.wdf-navall-btn:hover { background: var(--wdf-orange-d); }
.wdf-navall-menu {
	position: absolute; top: 100%; left: 0; z-index: 90;
	background: #fff; border: 1px solid var(--wdf-line);
	border-radius: 0 0 var(--wdf-radius) var(--wdf-radius);
	min-width: 260px; padding: 8px 0;
	display: none;
}
.wdf-navall:hover .wdf-navall-menu,
.wdf-navall:focus-within .wdf-navall-menu { display: block; }
.wdf-navall-menu a {
	display: block; padding: 10px 20px;
	font-size: .9rem; font-weight: 500; color: var(--wdf-ink);
	text-decoration: none; border-left: 3px solid transparent;
}
.wdf-navall-menu a:hover {
	background: var(--wdf-raf); color: var(--wdf-navy);
	border-left-color: var(--wdf-orange); font-weight: 600;
}
.wdf-navlinks { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.wdf-navlinks a {
	color: #fff; text-decoration: none;
	font-family: "Montserrat", sans-serif; font-weight: 600; font-size: .86rem;
	padding: 14px 14px; display: block; position: relative;
}
.wdf-navlinks a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px;
	height: 3px; background: var(--wdf-orange); border-radius: 2px;
	transform: scaleX(0); transition: transform .15s ease;
}
.wdf-navlinks a:hover { color: #fff; }
.wdf-navlinks a:hover::after { transform: scaleX(1); }

/* ============================================================
   HERO (navy section — white mark, orange accents)
   ============================================================ */
.wdf-hero { background: var(--wdf-navy); color: #fff; }
.wdf-hero-grid {
	display: grid; grid-template-columns: 1.15fr .85fr;
	gap: clamp(28px, 4vw, 64px); align-items: center;
	padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px);
}
.wdf-eyebrow {
	display: inline-block;
	font-family: "Fredoka", sans-serif; font-weight: 600;
	color: var(--wdf-orange); font-size: .95rem;
	letter-spacing: .08em; text-transform: uppercase;
	margin-bottom: 14px;
}
.wdf-hero h1 { color: #fff; margin: 0 0 18px; }
.wdf-hero h1 .wdf-hl { color: var(--wdf-orange); }
.wdf-lead { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 46ch; margin-bottom: 26px; }
.wdf-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.wdf-hero-meta { display: flex; gap: clamp(20px, 3vw, 44px); flex-wrap: wrap; }
.wdf-hero-meta div { display: flex; flex-direction: column; }
.wdf-hero-meta strong {
	font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.5rem; color: #fff;
}
.wdf-hero-meta span { font-size: .78rem; color: rgba(255,255,255,.7); }

/* hero side card */
.wdf-hero-card {
	background: #fff; border-radius: var(--wdf-radius);
	padding: clamp(20px, 3vw, 30px); color: var(--wdf-ink);
}
.wdf-hero-card-kicker {
	display: inline-block; background: var(--wdf-orange); color: #fff;
	font-family: "Montserrat", sans-serif; font-weight: 700; font-size: .7rem;
	text-transform: uppercase; letter-spacing: .06em;
	padding: 4px 10px; border-radius: 6px; margin-bottom: 10px;
}
.wdf-hero-card h3 { margin: 0 0 14px; }
.wdf-hero-items { display: flex; flex-direction: column; gap: 10px; }
.wdf-hero-item {
	display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px;
	padding: 8px; border-radius: 8px; text-decoration: none; color: var(--wdf-ink);
	border: 1px solid transparent;
}
.wdf-hero-item:hover { background: var(--wdf-raf); border-color: var(--wdf-line); }
.wdf-hero-item img { width: 56px; height: 56px; object-fit: contain; border-radius: 6px; background: #fff; }
.wdf-hero-item .n { font-weight: 600; font-size: .9rem; }
.wdf-hero-item .p {
	font-family: "Fredoka", sans-serif; font-weight: 600; color: var(--wdf-orange); font-size: 1rem;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.wdf-section { padding: clamp(44px, 6vw, 72px) 0; }
.wdf-section-raf { background: var(--wdf-raf); }
.wdf-section-head { max-width: 640px; margin-bottom: 34px; }
.wdf-section-head h2 { margin: 0 0 10px; }
.wdf-section-head p { color: var(--wdf-mut); margin: 0; }
.wdf-section-kicker {
	display: inline-block;
	font-family: "Fredoka", sans-serif; font-weight: 600;
	color: var(--wdf-orange); font-size: .88rem;
	letter-spacing: .1em; text-transform: uppercase;
	margin-bottom: 8px;
}
.wdf-section-title { margin: 0 0 6px; }
.wdf-section-sub { color: var(--wdf-mut); margin: 0 0 26px; }

/* akcija product cards (static) */
.wdf-akcija-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px;
}
.wdf-pcard {
	position: relative; background: #fff; border: 1px solid var(--wdf-line);
	border-radius: var(--wdf-radius); padding: 18px;
	display: flex; flex-direction: column; gap: 10px;
	transition: border-color .15s ease;
}
.wdf-pcard:hover { border-color: var(--wdf-navy); }
.wdf-pcard-img {
	display: grid; place-items: center; height: 170px;
	background: #fff; border-radius: 8px; overflow: hidden;
}
.wdf-pcard-img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.wdf-pcard h3 { margin: 0; font-size: .98rem; font-family: "Montserrat", sans-serif; }
.wdf-pcard h3 a { color: var(--wdf-navy); text-decoration: none; }
.wdf-pcard h3 a:hover { text-decoration: underline; }
.wdf-price { display: flex; align-items: baseline; gap: 10px; }
.wdf-price del { color: var(--wdf-mut); font-size: .88rem; }
.wdf-price ins {
	text-decoration: none; font-family: "Fredoka", sans-serif; font-weight: 600;
	color: var(--wdf-orange); font-size: 1.15rem;
}
.wdf-sale-badge {
	position: absolute; top: 14px; left: 14px; z-index: 2;
	font-family: "Fredoka", sans-serif; font-weight: 600; font-size: .78rem;
	color: #fff; background: var(--wdf-orange);
	padding: 3px 9px; border-radius: 999px;
}

/* trust cards */
.wdf-trust {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.wdf-trust-card {
	background: #fff; border: 1px solid var(--wdf-line); border-radius: var(--wdf-radius);
	padding: 24px 22px;
}
.wdf-trust-ico {
	width: 48px; height: 48px; border-radius: 999px;
	background: var(--wdf-raf); display: grid; place-items: center; margin-bottom: 14px;
}
.wdf-trust-card h3 { margin: 0 0 8px; font-size: 1rem; }
.wdf-trust-card p { margin: 0; font-size: .88rem; color: var(--wdf-mut); }

/* categories */
.wdf-cats {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px;
}
.wdf-cat {
	display: flex; flex-direction: column; gap: 4px;
	background: #fff; border: 1px solid var(--wdf-line); border-radius: var(--wdf-radius);
	padding: 20px 18px; text-decoration: none; position: relative;
	transition: border-color .15s ease;
}
.wdf-cat:hover { border-color: var(--wdf-navy); }
.wdf-cat-ico {
	width: 52px; height: 52px; border-radius: 999px;
	background: var(--wdf-raf); display: grid; place-items: center;
	margin-bottom: 10px; color: var(--wdf-navy);
	transition: background .15s ease, color .15s ease;
}
.wdf-cat-ico svg { width: 28px; height: 28px; }
.wdf-cat:hover .wdf-cat-ico { background: var(--wdf-navy); color: #fff; }
.wdf-cat strong { font-family: "Montserrat", sans-serif; font-weight: 700; color: var(--wdf-navy); font-size: .95rem; }
.wdf-cat span:not(.wdf-cat-ico) { font-size: .8rem; color: var(--wdf-mut); }
.wdf-cat em {
	position: absolute; right: 16px; top: 20px;
	font-style: normal; font-weight: 700; color: var(--wdf-orange); font-size: 1.05rem;
}
.wdf-cat-soon { background: var(--wdf-raf); border-style: dashed; }
.wdf-cat-soon .wdf-cat-ico { background: #fff; }
.wdf-cat-soon:hover .wdf-cat-ico { background: var(--wdf-navy); color: #fff; }
.wdf-cat-soon strong, .wdf-cat-soon em { color: var(--wdf-mut); }

/* steps */
.wdf-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wdf-step {
	background: #fff; border: 1px solid var(--wdf-line); border-radius: var(--wdf-radius);
	padding: 26px 24px;
}
.wdf-step-n {
	display: inline-grid; place-items: center;
	width: 38px; height: 38px; border-radius: 999px;
	background: var(--wdf-navy); color: #fff;
	font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.05rem;
	margin-bottom: 14px;
}
.wdf-step h3 { margin: 0 0 8px; }
.wdf-step p { margin: 0; font-size: .9rem; color: var(--wdf-mut); }

/* CTA banner */
.wdf-cta {
	background: var(--wdf-navy); border-radius: var(--wdf-radius);
	padding: clamp(36px, 5vw, 56px); text-align: center; color: #fff;
}
.wdf-cta h2 { color: #fff; margin: 0 0 10px; }
.wdf-cta p { color: rgba(255,255,255,.8); margin: 0 0 24px; }

/* ============================================================
   PRODUCT GRID (classic + block) — shelf-tag discipline
   ============================================================ */
ul.wc-block-product-template[class*="columns-"].is-flex-container,
.wc-block-product-template,
ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
	gap: 18px !important;
	list-style: none; margin: 0; padding: 0;
}
.wc-block-product-template.is-flex-container { flex-wrap: nowrap !important; }
ul.wc-block-product-template.is-flex-container > li,
.wc-block-product-template > li {
	width: auto !important;
	max-width: none !important;
	flex: none !important;
	min-width: 0;
}
.wc-block-product-template > li,
ul.products li.product {
	background: #fff;
	border: 1px solid var(--wdf-line);
	border-radius: var(--wdf-radius);
	padding: 16px;
	display: flex; flex-direction: column;
	transition: border-color .15s ease;
	margin: 0 !important;
}
.wc-block-product-template > li:hover,
ul.products li.product:hover { border-color: var(--wdf-navy); }

/* image */
.wc-block-product-template .wc-block-product-image,
.wc-block-product-template .wp-block-woocommerce-product-image,
ul.products li.product a img {
	border-radius: 8px; background: #fff; margin: 0 0 12px;
}
.wc-block-product-template img,
ul.products li.product img { border-radius: 8px; object-fit: contain; }

/* name */
.wc-block-product-template .wp-block-post-title,
.wc-block-product-template h3,
ul.products li.product .woocommerce-loop-product__title {
	font-family: "Montserrat", sans-serif !important;
	font-weight: 700 !important;
	font-size: .95rem !important;
	line-height: 1.3 !important;
	margin: 0 0 8px !important;
}
.wc-block-product-template .wp-block-post-title a,
ul.products li.product .woocommerce-loop-product__title {
	color: var(--wdf-navy) !important; text-decoration: none;
}
.wc-block-product-template .wp-block-post-title a:hover { color: var(--wdf-orange-d); }

/* price on card */
.wc-block-product-template .price,
.wc-block-product-template .wc-block-components-product-price,
ul.products li.product .price {
	font-size: 1.25rem !important; margin: auto 0 12px; display: block;
	white-space: nowrap;
}
.wc-block-product-template .price del,
ul.products li.product .price del { font-size: .85em; }

/* add to cart on card — navy pill */
.wc-block-product-template .wp-block-woocommerce-product-button,
ul.products li.product .button {
	margin-top: 0 !important;
}
.wc-block-product-template .add_to_cart_button,
.wc-block-product-template .wp-block-button__link,
.wc-block-product-template .wc-block-components-product-button__button,
ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
	display: flex !important; width: 100%;
	align-items: center; justify-content: center;
	background: var(--wdf-navy) !important;
	color: #fff !important;
	font-family: "Montserrat", sans-serif !important;
	font-weight: 700 !important; font-size: .85rem !important;
	border: none !important; border-radius: 999px !important;
	padding: 12px 18px !important; cursor: pointer;
	text-decoration: none; text-align: center;
	white-space: nowrap;
}
.wc-block-product-template .add_to_cart_button:hover,
.wc-block-product-template .wp-block-button__link:hover,
.wc-block-product-template .wc-block-components-product-button__button:hover,
ul.products li.product .button:hover {
	background: var(--wdf-orange) !important; color: #fff !important;
}
.added_to_cart.wc-forward {
	font-size: .8rem; font-weight: 600; color: var(--wdf-green); margin-top: 8px;
}

/* ============================================================
   SHOP PAGE
   ============================================================ */
.woocommerce-shop .wp-block-post-title,
.woocommerce-shop h1.wp-block-heading { margin-bottom: 18px; }
.woocommerce-result-count { color: var(--wdf-mut); font-size: .88rem; }
.woocommerce-ordering select,
select {
	font-family: "Inter", sans-serif; font-size: .9rem;
	border: 1.5px solid var(--wdf-line); border-radius: 8px;
	padding: 10px 14px; background: #fff; color: var(--wdf-ink);
}
.woocommerce-breadcrumb,
.wc-block-components-breadcrumbs {
	font-size: .82rem; color: var(--wdf-mut); margin-bottom: 18px;
}
.woocommerce-breadcrumb a { color: var(--wdf-navy); text-decoration: none; font-weight: 600; }
.woocommerce-breadcrumb a:hover { color: var(--wdf-orange-d); }

/* pagination */
.woocommerce nav.woocommerce-pagination ul {
	border: none !important; display: flex; gap: 8px; justify-content: center; margin-top: 34px;
}
.woocommerce nav.woocommerce-pagination ul li { border: none !important; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	border: 1.5px solid var(--wdf-line) !important; border-radius: 999px !important;
	min-width: 42px; height: 42px; display: grid; place-items: center;
	font-weight: 700; color: var(--wdf-ink); background: #fff; font-family: "Montserrat", sans-serif;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--wdf-navy) !important; border-color: var(--wdf-navy) !important; color: #fff !important;
}

/* ============================================================
   SINGLE PRODUCT (blockified template fixes preserved)
   ============================================================ */
.single-product div.product { display: block; }
.single-product .wp-block-columns { align-items: flex-start; gap: clamp(24px, 4vw, 56px); }
.wp-block-woocommerce-product-image-gallery,
.single-product div.product .woocommerce-product-gallery {
	border: 1px solid var(--wdf-line); border-radius: var(--wdf-radius); background: #fff;
	padding: clamp(18px, 3vw, 30px);
}
.wp-block-woocommerce-product-image-gallery img,
.single-product div.product .woocommerce-product-gallery img { border-radius: 8px; }
.single-product .wp-block-post-title {
	font-size: clamp(1.5rem, 3vw, 2rem) !important; margin: 4px 0 12px !important;
}
.single-product .price,
.single-product .wp-block-woocommerce-product-price {
	font-size: 2rem !important; margin: 0 0 18px; display: block;
}
.single-product .price del { font-size: .55em; }
.single-product .wp-block-post-excerpt { margin: 0 0 20px; color: var(--wdf-mut); }

/* main CTA on PDP — orange pill (CTA = orange, brand rule) */
.single-product .single_add_to_cart_button,
.single-product .wp-block-add-to-cart-form .single_add_to_cart_button,
.single-product button[type=submit].single_add_to_cart_button {
	background: var(--wdf-orange) !important; color: #fff !important;
	font-family: "Montserrat", sans-serif !important; font-weight: 700 !important;
	font-size: 1rem !important; border-radius: 999px !important;
	padding: 17px 40px !important;
}
.single-product .single_add_to_cart_button:hover { background: var(--wdf-orange-d) !important; }

.quantity input {
	font-family: "Inter", sans-serif; font-weight: 600; font-size: 1rem;
	border: 1.5px solid var(--wdf-line); border-radius: 999px; padding: 12px 10px; text-align: center;
}
.woocommerce-variation-price { font-size: 1.3rem; }
.product_meta { font-size: .85rem; color: var(--wdf-mut); margin-top: 18px; }
.product_meta a { color: var(--wdf-navy); text-decoration: none; font-weight: 600; }

/* tabs — pill nav, active navy */
.woocommerce-tabs ul.tabs {
	border: none !important; display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap;
}
.woocommerce-tabs ul.tabs li {
	border: 1.5px solid var(--wdf-line) !important; border-radius: 999px !important;
	background: #fff !important; margin: 0 !important;
}
.woocommerce-tabs ul.tabs li a {
	font-weight: 700; font-size: .9rem; color: var(--wdf-mut) !important;
	padding: 10px 20px !important; font-family: "Montserrat", sans-serif;
}
.woocommerce-tabs ul.tabs li.active { background: var(--wdf-navy) !important; border-color: var(--wdf-navy) !important; }
.woocommerce-tabs ul.tabs li.active a { color: #fff !important; }
.woocommerce-Tabs-panel {
	background: #fff; border: 1px solid var(--wdf-line);
	border-radius: var(--wdf-radius); padding: 26px 28px;
}

.related.products > h2, .upsells > h2, .cross-sells > h2 { font-size: 1.4rem; margin: 48px 0 20px; }
.woocommerce-Reviews { margin-top: 34px; }
.woocommerce-Reviews .comment-reply-title { font-size: 1.15rem; font-weight: 800; font-family: "Montserrat", sans-serif; color: var(--wdf-navy); }
.woocommerce-Reviews label { font-weight: 600; font-size: .88rem; }

/* ============================================================
   CART / CHECKOUT
   ============================================================ */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
	max-width: 1100px; margin-left: auto; margin-right: auto;
}
.wc-block-cart .wc-block-cart__submit-button,
.wc-block-checkout .wc-block-components-checkout-place-order-button,
.woocommerce-cart .button, .woocommerce-checkout .button,
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
	background: var(--wdf-orange) !important; color: #fff !important;
	font-family: "Montserrat", sans-serif !important; font-weight: 700 !important;
	border-radius: 999px !important; border: none !important;
	padding: 15px 32px !important; font-size: 1rem !important;
}
.wc-block-cart .wc-block-cart__submit-button:hover,
.wc-block-checkout .wc-block-components-checkout-place-order-button:hover,
.woocommerce #payment #place_order:hover { background: var(--wdf-orange-d) !important; }

.wc-block-components-text-input input,
.wc-block-components-textarea textarea,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	border: 1.5px solid var(--wdf-line) !important; border-radius: 8px !important;
	padding: 12px 14px !important; font-family: "Inter", sans-serif; font-size: .95rem;
}
.wc-block-components-text-input input:focus,
.woocommerce form .form-row input.input-text:focus {
	border-color: var(--wdf-navy) !important; outline: none;
}
.wc-block-components-button:not(.is-link):not(.is-text) {
	border-radius: 999px !important; font-family: "Montserrat", sans-serif; font-weight: 700;
}

/* notices — confirmations may use green (brand rule) */
.woocommerce-message, .wc-block-components-notice-banner.is-success {
	background: var(--wdf-green-soft) !important; border: 1px solid #BFE5C7 !important;
	border-left: 4px solid var(--wdf-green) !important; border-radius: 8px !important;
	color: var(--wdf-ink) !important; padding: 14px 18px;
}
.woocommerce-info, .wc-block-components-notice-banner.is-info {
	background: #EDF3FA !important; border: 1px solid #C9D9EA !important;
	border-left: 4px solid var(--wdf-navy) !important; border-radius: 8px !important;
}
.woocommerce-error, .wc-block-components-notice-banner.is-error {
	background: #FDECEC !important; border: 1px solid #F5C6C6 !important;
	border-left: 4px solid #C0392B !important; border-radius: 8px !important;
}
.woocommerce-message a.button, .woocommerce-info a.button { border-radius: 999px; }

/* ============================================================
   FOOTER — navy bars
   ============================================================ */
.wdf-footer { background: var(--wdf-navy); color: #fff; }
.wdf-footer-grid {
	display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
	gap: clamp(24px, 3vw, 44px);
	padding: clamp(40px, 5vw, 60px) 0;
}
.wdf-footer-logocard {
	background: #fff; border-radius: var(--wdf-radius);
	display: inline-block; padding: 10px 14px; line-height: 0; margin-bottom: 16px;
}
.wdf-footer-logocard img { height: 44px; width: auto; display: block; }
.wdf-footer-tag {
	font-family: "Montserrat", sans-serif; font-weight: 700; color: #fff;
	margin: 0 0 8px;
}
.wdf-footer-desc, .wdf-footer-note { color: rgba(255,255,255,.72); font-size: .88rem; margin: 0; }
.wdf-footer-col h4 {
	color: #fff; font-size: .95rem; margin: 0 0 14px;
	font-family: "Montserrat", sans-serif; font-weight: 700;
}
.wdf-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.wdf-footer-col a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .88rem; }
.wdf-footer-col a:hover { color: var(--wdf-orange); }
.wdf-footer-bar { background: var(--wdf-navy-2); }
.wdf-footer-bar .wdf-wrap {
	display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
	padding-top: 14px; padding-bottom: 14px;
	color: rgba(255,255,255,.6); font-size: .78rem;
}

/* ============================================================
   MISC / UTILITIES
   ============================================================ */
.wp-block-site-title, .wp-block-site-title a { font-family: "Montserrat", sans-serif; }
.wp-block-post-content a { color: var(--wdf-navy); }
.wp-block-post-content a:hover { color: var(--wdf-orange-d); }
.wp-block-button__link {
	font-family: "Montserrat", sans-serif; font-weight: 700; border-radius: 999px;
}
.wp-block-button__link:not(.is-style-outline) {
	background: var(--wdf-navy); color: #fff;
}
.wp-block-button__link:not(.is-style-outline):hover { background: var(--wdf-orange); color: #fff; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], textarea {
	border: 1.5px solid var(--wdf-line); border-radius: 8px; padding: 11px 14px; font-family: "Inter", sans-serif;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, input[type="search"]:focus, textarea:focus {
	border-color: var(--wdf-navy); outline: none;
}
table { border-collapse: collapse; }
th { font-family: "Montserrat", sans-serif; color: var(--wdf-navy); }
.woocommerce table.shop_table { border: 1px solid var(--wdf-line) !important; border-radius: var(--wdf-radius); }
.woocommerce table.shop_table th { font-family: "Montserrat", sans-serif; color: var(--wdf-navy); }

/* Coming soon banner (Woo) */
.woocommerce-store-notice, p.demo_store {
	background: var(--wdf-navy) !important; color: #fff !important;
	font-family: "Montserrat", sans-serif; font-weight: 600;
}
.woocommerce-store-notice__dismiss-link { color: var(--wdf-orange) !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
	.wdf-hero-grid { grid-template-columns: 1fr; }
	.wdf-trust { grid-template-columns: repeat(2, 1fr); }
	.wdf-footer-grid { grid-template-columns: 1fr 1fr; }
	.wdf-navbar .wdf-wrap { flex-wrap: wrap; }
}
@media (max-width: 768px) {
	.wdf-topbar .wdf-wrap { justify-content: center; }
	.wdf-topbar-right { display: none; }
	.wdf-mainbar .wdf-wrap { flex-wrap: wrap; gap: 12px; }
	.wdf-search { order: 3; flex: 1 1 100%; max-width: none; }
	.wdf-util { margin-left: auto; flex-direction: row; }
	.wdf-navbar .wdf-wrap { gap: 0; }
	.wdf-navlinks { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
	.wdf-navlinks a { white-space: nowrap; }
	.wdf-navall-menu { position: fixed; left: 16px; right: 16px; top: auto; min-width: 0; }
	ul.wc-block-product-template[class*="columns-"].is-flex-container,
	.wc-block-product-template,
	ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
	.wc-block-product-template > li,
	ul.products li.product { padding: 12px; min-width: 0; }
	.wc-block-product-template .price,
	ul.products li.product .price { font-size: 1.05rem !important; }
	.wc-block-product-template .add_to_cart_button,
	ul.products li.product .button { font-size: .78rem !important; padding: 10px 12px !important; }
	.wdf-steps { grid-template-columns: 1fr; }
	.wdf-hero-meta strong { font-size: 1.2rem; }
}
@media (min-width: 769px) and (max-width: 1100px) {
	ul.wc-block-product-template[class*="columns-"].is-flex-container,
	.wc-block-product-template,
	ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}

/* ============================================================
   v2.2.0 — photo category tiles, Akcija impact, category pages
   ============================================================ */
.wdf-cat-photo { padding: 0; overflow: hidden; }
.wdf-cat-photo:hover { transform: translateY(-3px); }
.wdf-cat-media { display: block; height: 134px; overflow: hidden; }
.wdf-cat-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.wdf-cat-collage { display: grid; grid-template-columns: 1fr 1fr; height: 134px; overflow: hidden; }
.wdf-cat-collage img { width: 100%; height: 67px; object-fit: cover; display: block; transition: transform .35s ease; }
.wdf-cat-photo:hover .wdf-cat-media img,
.wdf-cat-photo:hover .wdf-cat-collage img { transform: scale(1.05); }
.wdf-cat-body { display: flex; flex-direction: column; gap: 3px; padding: 12px 16px 16px; }
.wdf-cat-body strong { font-size: 1rem; }
.wdf-cat-body span { font-size: .8rem; color: var(--wdf-mut); }
.wdf-cat-photo em { top: 10px; right: 10px; width: 28px; height: 28px; display: grid; place-items: center; background: #fff; border-radius: 999px; font-size: .95rem; }
.wdf-cat-soon { background: #fff; }
.wdf-cat-soon .wdf-cat-media img { opacity: .88; }
.wdf-cat-soon .wdf-cat-body span { color: var(--wdf-orange); font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.wdf-cat-soon em { display: none; }

/* Akcija — bigger impact */
.wdf-akcija-head { text-align: center; margin-bottom: 32px; }
.wdf-akcija-head .wdf-section-kicker { display: block; font-size: 1.15rem; letter-spacing: .18em; margin-bottom: 8px; }
.wdf-akcija-head h2 { font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1.02; margin: 0 0 10px; }
.wdf-akcija-head h2::after { content: ""; display: block; width: 72px; height: 4px; border-radius: 2px; background: var(--wdf-orange); margin: 14px auto 0; }
.wdf-akcija-head .wdf-section-sub { font-size: 1.1rem; margin-top: 16px; }
.wdf-sale-cards .wdf-sale-card { border-radius: 14px; }
.wdf-sale-cards .wdf-sale-card img { height: 210px; }
.wdf-sale-body strong { font-size: 1.06rem; }
.wdf-sale-body .wdf-price { font-size: 1.5rem; }
.wdf-sale-old { font-size: .95rem; }

/* Category page (taxonomy-product_cat template) */
.wdf-cat-hero { background: var(--wdf-navy); color: #fff; padding: 46px 24px 40px; margin: 0 0 30px; }
.wdf-cat-hero > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.wdf-cat-hero .woocommerce-breadcrumb { color: rgba(255,255,255,.6); font-size: .85rem; margin-bottom: 14px; }
.wdf-cat-hero .woocommerce-breadcrumb a { color: rgba(255,255,255,.85); }
.wdf-cat-hero .wp-block-query-title { color: #fff; font-size: 2.4rem; line-height: 1.1; margin: 0 0 8px; font-weight: 800; }
.wdf-cat-hero .wp-block-term-description { color: rgba(255,255,255,.75); font-size: 1.02rem; }
.wdf-cat-hero .wp-block-term-description p { margin: 0; }
.wdf-cat-main { padding-bottom: 40px; }

/* v2.2.1 — center hero card CTA */
.wdf-hero-card .wdf-btn { align-self: center; }

/* ============================================================
   v2.3.0 — hero promos (Kutija + Rasprodaja), category rows,
   horizontal-scroll product strips
   ============================================================ */
.wdf-promo-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 22px; align-items: stretch; }
.wdf-boxpromo { display: grid; grid-template-columns: 0.9fr 1.1fr; background: #fff; border: 1px solid var(--wdf-line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--wdf-navy); transition: border-color .15s ease; }
.wdf-boxpromo:hover { border-color: var(--wdf-navy); }
.wdf-boxpromo-txt { padding: 26px 10px 26px 28px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; justify-content: center; }
.wdf-boxpromo-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wdf-orange); }
.wdf-boxpromo-txt h2 { font-size: 1.9rem; margin: 0; line-height: 1.08; }
.wdf-boxpromo-txt p { margin: 0; color: var(--wdf-mut); font-size: .95rem; }
.wdf-boxpromo-price { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.wdf-boxpromo-price span { color: var(--wdf-mut); font-size: .9rem; }
.wdf-boxpromo-price strong { font-family: "Fredoka", sans-serif; font-size: 2.3rem; color: var(--wdf-orange); line-height: 1; }
.wdf-boxpromo-img { min-height: 280px; }
.wdf-boxpromo-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wdf-salepromo { background: var(--wdf-orange); border-radius: 16px; padding: 28px; color: #fff; text-decoration: none; display: flex; flex-direction: column; gap: 12px; justify-content: center; align-items: flex-start; transition: background .15s ease; }
.wdf-salepromo:hover { background: #d97706; }
.wdf-salepromo-badge { background: #fff; color: var(--wdf-orange); font-family: "Fredoka", sans-serif; font-size: 1.8rem; padding: 6px 20px; border-radius: 999px; line-height: 1.1; }
.wdf-salepromo h2 { color: #fff; font-size: 1.85rem; margin: 0; line-height: 1.1; }
.wdf-salepromo p { margin: 0; color: rgba(255,255,255,.92); font-size: .95rem; }
.wdf-salepromo-cta { font-weight: 700; border-bottom: 2px solid rgba(255,255,255,.6); padding-bottom: 2px; }

/* category rows with horizontal product strips */
.wdf-catrow { margin-bottom: 30px; }
.wdf-catrow-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.wdf-catrow-head h3 { margin: 0; font-size: 1.4rem; }
.wdf-catrow-head h3 a { color: var(--wdf-navy); text-decoration: none; }
.wdf-catrow-head h3 a:hover { color: var(--wdf-orange); }
.wdf-catrow-count { color: var(--wdf-mut); font-size: .85rem; }
.wdf-catrow-more { margin-left: auto; color: var(--wdf-orange); font-weight: 700; text-decoration: none; font-size: .95rem; white-space: nowrap; }
.wdf-catrow-more:hover { text-decoration: underline; }

.wdf-hscroll { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--wdf-navy) var(--wdf-raf); }
.wdf-hscroll::-webkit-scrollbar { height: 8px; }
.wdf-hscroll::-webkit-scrollbar-thumb { background: var(--wdf-navy); border-radius: 4px; }
.wdf-hscroll::-webkit-scrollbar-track { background: var(--wdf-raf); border-radius: 4px; }
.wdf-pcard { flex: 0 0 208px; scroll-snap-align: start; background: #fff; border: 1px solid var(--wdf-line); border-radius: 14px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; position: relative; transition: transform .15s ease, border-color .15s ease; }
.wdf-pcard:hover { border-color: var(--wdf-navy); transform: translateY(-3px); }
.wdf-pcard-img { height: 150px; display: grid; place-items: center; background: #fff; padding: 10px; }
.wdf-pcard-img img { max-height: 130px; max-width: 100%; object-fit: contain; }
.wdf-pcard strong { padding: 4px 14px 2px; font-size: .9rem; color: var(--wdf-navy); line-height: 1.25; min-height: 2.5em; }
.wdf-pcard-price { padding: 2px 14px 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.wdf-pcard-price del { color: var(--wdf-mut); font-size: .85rem; }
.wdf-pcard-price ins { font-family: "Fredoka", sans-serif; color: var(--wdf-orange); font-size: 1.35rem; text-decoration: none; }
.wdf-pcard-cta { margin: auto 14px 14px; background: var(--wdf-navy); color: #fff; text-align: center; padding: 9px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.wdf-pcard:hover .wdf-pcard-cta { background: var(--wdf-orange); }
.wdf-pcard-badge { position: absolute; top: 10px; left: 10px; background: var(--wdf-orange); color: #fff; font-family: "Fredoka", sans-serif; font-size: .88rem; padding: 3px 11px; border-radius: 999px; z-index: 2; }
.wdf-pcard-badge--green { background: var(--wdf-green); }
.wdf-pcard-more { flex: 0 0 170px; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--wdf-raf); border-style: dashed; color: var(--wdf-navy); font-weight: 700; padding: 20px; line-height: 1.5; }
.wdf-pcard-more:hover { border-color: var(--wdf-navy); color: var(--wdf-orange); }

@media (max-width: 900px) {
	.wdf-promo-grid { grid-template-columns: 1fr; }
	.wdf-boxpromo { grid-template-columns: 1fr; }
	.wdf-boxpromo-img { min-height: 220px; order: -1; }
	.wdf-pcard { flex-basis: 172px; }
}

/* v2.3.0 — collage variants (2/3 imgs) + ghost cards */
.wdf-cat-collage.c2, .wdf-cat-collage.c3 { display: flex; flex-wrap: wrap; }
.wdf-cat-collage.c2 img { width: 100%; height: 50%; }
.wdf-cat-collage.c3 img { width: 50%; height: 50%; }
.wdf-cat-collage.c3 img:last-child { width: 100%; }
.wdf-pcard-ghost { border-style: dashed; background: var(--wdf-raf); display: flex; align-items: center; justify-content: center; min-height: 270px; }
.wdf-pcard-ghost-txt { color: var(--wdf-mut); font-weight: 600; font-size: .9rem; }

/* ============================================================
   v2.4.0 — Kutija hero (full screen, formula), Mesečna akcija,
   shop page with Amazon-style filter rail
   ============================================================ */
.wdf-hero-kutija-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 44px; align-items: center; padding: 34px 0 22px; }
.wdf-hero-kutija-txt h1 { color: #fff; font-size: clamp(2.1rem, 3.6vw, 3rem); line-height: 1.06; margin: 12px 0 16px; }
.wdf-hero-kutija-txt .wdf-hl { color: var(--wdf-orange); }
.wdf-hero-kutija-txt .wdf-lead { color: rgba(255,255,255,.88); font-size: 1.08rem; max-width: 46ch; }
.wdf-hero-price { display: flex; align-items: baseline; gap: 10px; margin: 20px 0 18px; }
.wdf-hero-price span { color: rgba(255,255,255,.75); font-size: 1rem; }
.wdf-hero-price strong { font-family: "Fredoka", sans-serif; font-size: 3rem; color: var(--wdf-orange); line-height: 1; }
.wdf-hero-price em { color: rgba(255,255,255,.75); font-style: normal; }
.wdf-hero-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.wdf-hero-points li { color: rgba(255,255,255,.92); font-size: .95rem; padding-left: 26px; position: relative; }
.wdf-hero-points li::before { content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--wdf-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l6 6L20 7'/%3E%3C/svg%3E") center/9px no-repeat; }

.wdf-hero-kutija-visual { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.wdf-hero-kutija-img { width: 100%; height: 300px; object-fit: cover; display: block; }
.wdf-formula { padding: 16px 20px 20px; }
.wdf-formula-cap { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wdf-mut); }
.wdf-formula-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.wdf-formula-row figure { margin: 0; flex: 0 0 62px; text-align: center; }
.wdf-formula-row figure img { width: 62px; height: 62px; object-fit: contain; background: var(--wdf-raf); border-radius: 10px; padding: 6px; }
.wdf-formula-row figcaption { font-size: .72rem; color: var(--wdf-navy); font-weight: 600; margin-top: 3px; }
.wdf-formula-op { font-family: "Fredoka", sans-serif; font-size: 1.5rem; color: var(--wdf-orange); flex: 0 0 auto; }
.wdf-formula-more { font-size: .74rem; font-weight: 700; color: var(--wdf-navy); line-height: 1.25; flex: 1; text-align: left; }
.wdf-formula-sum { display: flex; align-items: center; gap: 10px; border-top: 2px dashed var(--wdf-line); margin-top: 12px; padding-top: 12px; }
.wdf-formula-sum .wdf-formula-op { font-size: 1.9rem; }
.wdf-formula-sum strong { font-family: "Fredoka", sans-serif; font-size: 1.25rem; color: var(--wdf-navy); }
.wdf-formula-sum em { font-style: normal; font-family: "Fredoka", sans-serif; font-size: 1.35rem; color: var(--wdf-orange); margin-left: auto; }

/* ---- shop page: filter rail ---- */
.wdf-shop-wrap { padding-top: 26px; padding-bottom: 46px; }
.wdf-shop-cols { gap: 34px; align-items: flex-start; }
.wdf-shop-side { position: sticky; top: 20px; background: #fff; border: 1px solid var(--wdf-line); border-radius: 14px; padding: 20px 20px 14px; }
.wdf-filters-title { margin: 0 0 10px; font-size: 1.15rem; }
.wdf-shop-title { margin-top: 0; }
.wdf-shop-main .wc-block-product-template,
.wdf-shop-main .products { row-gap: 26px; }
.wp-block-woocommerce-product-filters .wp-block-woocommerce-product-filter,
.wp-block-woocommerce-product-filters [class*="product-filter"] { border-top: 1px solid var(--wdf-line); padding-top: 12px; margin-top: 12px; }
.wp-block-woocommerce-product-filters h3, .wp-block-woocommerce-product-filters .wc-block-product-filter__title { font-size: .98rem; margin: 0 0 8px; color: var(--wdf-navy); }
.wp-block-woocommerce-product-filters .wc-block-product-filter__content label { font-size: .9rem; }
.wp-block-woocommerce-product-filters input[type="checkbox"] { accent-color: var(--wdf-orange); width: 16px; height: 16px; }
.wp-block-woocommerce-product-filters .wc-block-product-filter-price-slider { font-size: .85rem; }
.wdf-shop-side .wc-block-components-price-slider__range-input-progress { background: var(--wdf-orange); }
.wc-block-product-template .wc-block-components-product-image img, .wdf-shop-main .wc-block-product-template img { border-radius: 12px; border: 1px solid var(--wdf-line); }
.wdf-shop-main .wp-block-post-title a { color: var(--wdf-navy); text-decoration: none; font-size: 1rem; }
.wdf-shop-main .wp-block-post-title a:hover { color: var(--wdf-orange); }
.wdf-shop-main .wp-block-button__link, .wdf-shop-main .wc-block-components-product-button__button { background: var(--wdf-navy); border-radius: 999px; font-size: .88rem; padding: 10px 22px; }
.wdf-shop-main .wp-block-button__link:hover, .wdf-shop-main .wc-block-components-product-button__button:hover { background: var(--wdf-orange); }
.woocommerce-breadcrumb, .wc-block-breadcrumbs { font-size: .85rem; color: var(--wdf-mut); margin-bottom: 10px; }
.woocommerce-breadcrumb a, .wc-block-breadcrumbs a { color: var(--wdf-navy); }

@media (max-width: 900px) {
	.wdf-hero-kutija-grid { grid-template-columns: 1fr; gap: 26px; padding-top: 20px; }
	.wdf-hero-kutija-img { height: 220px; }
	.wdf-shop-side { position: static; }
}

/* v2.4.1 — legacy filter blocks + product grid fix */
.wdf-shop-side .wc-block-price-filter,
.wdf-shop-side .wc-block-attribute-filter,
.wdf-shop-side .wc-block-stock-filter,
.wdf-shop-side .wc-block-active-filters,
.wdf-shop-side .wc-block-product-categories { border-top: 1px solid var(--wdf-line); padding-top: 14px; margin-top: 14px; }
.wdf-shop-side .wc-block-price-filter h3, .wdf-shop-side .wc-block-attribute-filter h3,
.wdf-shop-side .wc-block-stock-filter h3, .wdf-shop-side .wc-block-active-filters h3,
.wdf-shop-side .wc-block-product-categories h3 { font-size: .98rem; margin: 0 0 10px; }
.wdf-shop-side .wc-block-attribute-filter ul, .wdf-shop-side .wc-block-stock-filter ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.wdf-shop-side .wc-block-attribute-filter li, .wdf-shop-side .wc-block-stock-filter li { font-size: .9rem; }
.wdf-shop-side .wc-block-components-checkbox { font-size: .9rem; }
.wdf-shop-side .wc-block-components-checkbox input { accent-color: var(--wdf-orange); }
.wdf-shop-side .wc-block-components-price-slider { font-size: .85rem; }
.wdf-shop-side .wc-block-components-price-slider__range-input-progress { --range-color: var(--wdf-orange); }
.wdf-shop-side .wc-block-components-price-slider__controls input { border: 1px solid var(--wdf-line); border-radius: 8px; font-size: .85rem; padding: 6px 8px; }
.wdf-shop-side .wc-block-product-categories { list-style: none; padding-left: 0; }
.wdf-shop-side .wc-block-product-categories li { font-size: .92rem; padding: 4px 0; }
.wdf-shop-side .wc-block-product-categories a { color: var(--wdf-navy); text-decoration: none; }
.wdf-shop-side .wc-block-product-categories a:hover { color: var(--wdf-orange); }
.wdf-shop-side .wc-block-product-categories .wc-block-product-categories-list-item-count { color: var(--wdf-mut); font-size: .8rem; }

.wdf-shop-main .wc-block-product-template,
.wdf-shop-main ul.products,
.wdf-shop-main .wp-block-woocommerce-product-collection .wc-block-product-template {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.wdf-shop-main .wc-block-product-template > li {
	background: #fff;
	border: 1px solid var(--wdf-line);
	border-radius: 14px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: border-color .15s ease, transform .15s ease;
}
.wdf-shop-main .wc-block-product-template > li:hover { border-color: var(--wdf-navy); transform: translateY(-3px); }
.wdf-shop-main .wc-block-product-template .wc-block-components-product-image { width: 100%; }
.wdf-shop-main .wc-block-product-template .wc-block-components-product-image img { max-height: 190px; width: auto; margin: 0 auto; }
.wdf-shop-main .wc-block-product-template .wp-block-post-title { margin: 10px 0 4px; }
.wdf-shop-main .wc-block-product-template .wp-block-post-title a { color: var(--wdf-navy); text-decoration: none; font-size: .98rem; font-weight: 700; }
.wdf-shop-main .wc-block-product-template .wp-block-post-title a:hover { color: var(--wdf-orange); }
.wdf-shop-main .wc-block-product-template .wc-block-components-product-price { font-family: "Fredoka", sans-serif; color: var(--wdf-orange); font-size: 1.3rem; margin-bottom: 10px; }
.wdf-shop-main .wc-block-product-template .wc-block-components-product-price del { color: var(--wdf-mut); font-size: .9rem; margin-right: 6px; }
.wdf-shop-main .wc-block-product-template .wc-block-components-product-button { margin-top: auto; width: 100%; }
.wdf-shop-main .wc-block-product-template .wc-block-components-product-button__button,
.wdf-shop-main .wc-block-product-template .wp-block-button__link { width: 100%; background: var(--wdf-navy); border-radius: 999px; font-size: .88rem; padding: 10px; }
.wdf-shop-main .wc-block-product-template .wc-block-components-product-button__button:hover,
.wdf-shop-main .wc-block-product-template .wp-block-button__link:hover { background: var(--wdf-orange); }
.wdf-shop-title { margin: 0 0 6px; }
.wdf-shop-main .woocommerce-result-count, .wdf-shop-main .wc-block-result-count { color: var(--wdf-mut); font-size: .88rem; margin: 0 0 16px; }

@media (max-width: 1100px) {
	.wdf-shop-main .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 782px) {
	.wdf-shop-cols { flex-direction: column; }
	.wdf-shop-side { width: 100%; position: static; }
	.wdf-shop-main { width: 100%; }
	.wdf-shop-main .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 520px) {
	.wdf-shop-main .wc-block-product-template { grid-template-columns: 1fr !important; }
}

/* v2.4.2 — custom filter rail + forced product grid */
.wdf-filters { display: grid; gap: 2px; }
.wdf-fgroup { border-top: 1px solid var(--wdf-line); padding-top: 12px; margin-top: 12px; }
.wdf-fgroup h4 { margin: 0 0 10px; font-size: .98rem; color: var(--wdf-navy); }
.wdf-flist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wdf-flist a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; color: var(--wdf-navy); text-decoration: none; font-size: .92rem; padding: 4px 6px; border-radius: 8px; }
.wdf-flist a:hover { background: var(--wdf-raf); color: var(--wdf-orange); }
.wdf-flist em { font-style: normal; color: var(--wdf-mut); font-size: .78rem; white-space: nowrap; }
.wdf-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.wdf-sw { width: 26px; height: 26px; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--wdf-line), 0 2px 4px rgba(0,0,0,.12); transition: transform .12s ease, box-shadow .12s ease; }
.wdf-sw:hover { transform: scale(1.15); box-shadow: 0 0 0 2px var(--wdf-orange), 0 2px 6px rgba(0,0,0,.2); }

.wdf-shop-main ul.wc-block-product-template,
.wdf-shop-main ul.wc-block-product-template.wc-block-product-template__responsive {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 24px !important;
	margin: 0;
	padding: 0;
}
@media (max-width: 1100px) {
	.wdf-shop-main ul.wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 520px) {
	.wdf-shop-main ul.wc-block-product-template { grid-template-columns: 1fr !important; }
}

/* v2.4.3 — shop layout via custom grid (wp:columns was constraining width) */
.wdf-shop-grid { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 34px; align-items: start; }
@media (max-width: 782px) {
	.wdf-shop-grid { grid-template-columns: 1fr; }
}

/* v2.4.4 — shop wrap: break theme content-size cap */
.wdf-shop-wrap { max-width: 1240px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
