/*
Theme Name: PrintDrop
Theme URI: https://printdrop.local
Author: Daniel
Author URI: https://printdrop.local
Description: Moderna luxury-minimal WooCommerce tema za PrintDrop — off-white paleta, Fraunces + DM Sans, zlatni akcenti. Prati izgled premium stranice proizvoda. Full-width, brz, WooCommerce-ready.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: printdrop
Tags: e-commerce, woocommerce, custom-menu, featured-images, full-width-template, translation-ready
*/

/* ============================================================
   TOKENS
   ============================================================ */
:root {
	--bg: #ffffff;
	--paper: #faf9f6;
	--paper-2: #f3efe8;
	--ink: #14140f;
	--ink-soft: #2a2a22;
	--muted: #6f6a60;
	--line: #e9e5dd;
	--gold: #a98a54;
	--gold-soft: #c4a875;
	--ok: #2f7d4f;
	--danger: #b23b3b;
	--radius: 4px;
	--radius-lg: 16px;
	--maxw: 1440px;
	--gutter: clamp(18px, 4vw, 60px);
	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--shadow: 0 6px 24px rgba(16,18,34,0.06);
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
button { font-family: inherit; }
.pd-container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.pd-narrow { max-width: 900px; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

/* ============================================================
   BUTTONS (globalno, uklj. WooCommerce)
   ============================================================ */
.pd-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce .button, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	font-family: var(--font-body); font-weight: 600; font-size: 14.5px; letter-spacing: .02em;
	line-height: 1; padding: 15px 26px; border-radius: var(--radius);
	background: var(--ink); color: #fff; border: 1px solid var(--ink); cursor: pointer;
	transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
	text-decoration: none;
}
.pd-btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce #respond input#submit:hover, .woocommerce .button:hover, .wp-block-button__link:hover {
	background: var(--ink-soft); color: #fff; transform: translateY(-1px);
}
.pd-btn--ghost, .woocommerce a.button.alt.wc-forward, .woocommerce .button.wc-backward {
	background: transparent; color: var(--ink);
}
.pd-btn--ghost:hover { background: var(--ink); color: #fff; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background: var(--gold); border-color: var(--gold); }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover { background: #96773f; border-color: #96773f; }

/* ============================================================
   HEADER
   ============================================================ */
.pd-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.86); backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.pd-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.pd-brand { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.pd-brand span { color: var(--gold); }
.pd-brand img { max-height: 48px; width: auto; max-width: 260px; object-fit: contain; display: block; transition: max-height .3s var(--ease); }
.custom-logo-link { display: inline-block; line-height: 0; }
.pd-header.is-scrolled .pd-brand img { max-height: 38px; }
.pd-nav { display: flex; gap: 30px; }
.pd-nav a { font-size: 13.5px; font-weight: 500; letter-spacing: .04em; color: var(--ink); position: relative; }
.pd-nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px; background: var(--gold); transition: width .25s var(--ease); }
.pd-nav a:hover::after, .pd-nav .current-menu-item > a::after { width: 100%; }
.pd-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.pd-header__actions { display: flex; align-items: center; gap: 18px; }
.pd-cart { position: relative; display: inline-flex; align-items: center; color: var(--ink); }
.pd-cart__count { position: absolute; top: -8px; right: -10px; background: var(--gold); color: #fff; font-size: 10px; font-weight: 700; min-width: 17px; height: 17px; border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.pd-burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.pd-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: .25s var(--ease); }

/* ============================================================
   FOOTER
   ============================================================ */
.pd-footer { background: var(--ink); color: #d8d4ca; margin-top: 80px; }
.pd-footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 64px 0; }
.pd-footer__brand { font-family: var(--font-display); font-size: 26px; color: #fff; margin-bottom: 14px; }
.pd-footer__brand span { color: var(--gold-soft); }
.pd-footer p { color: #a8a397; font-size: 14px; }
.pd-footer h4 { color: #fff; font-family: var(--font-body); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.pd-footer ul { list-style: none; margin: 0; padding: 0; }
.pd-footer li { margin-bottom: 10px; }
.pd-footer a { color: #c4bfb4; font-size: 14px; }
.pd-footer a:hover { color: var(--gold-soft); }
.pd-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: #8a8579; }

/* ============================================================
   HOMEPAGE
   ============================================================ */
.pd-hero { position: relative; overflow: hidden; background: var(--paper); }
.pd-hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: clamp(50px, 8vw, 110px) 0; }
.pd-hero__eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 20px; }
.pd-hero__title { font-size: clamp(40px, 6.2vw, 86px); line-height: .98; margin: 0 0 24px; }
.pd-hero__title em { font-style: italic; color: var(--gold); }
.pd-hero__sub { font-size: 17px; color: var(--muted); max-width: 480px; margin-bottom: 34px; }
.pd-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.pd-hero__art { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.pd-hero__art img { width: 100%; height: 100%; object-fit: cover; }
.pd-hero__badge { position: absolute; left: -18px; bottom: 30px; background: var(--ink); color: #fff; padding: 16px 22px; border-radius: var(--radius); font-family: var(--font-display); font-size: 18px; box-shadow: var(--shadow); }
.pd-hero__badge b { color: var(--gold-soft); }

.pd-section { padding: clamp(48px, 7vw, 96px) 0; }
.pd-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.pd-section__eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.pd-section__title { font-size: clamp(28px, 3.4vw, 46px); margin: 0; }
.pd-section__link { font-size: 13.5px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 3px; }

.pd-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pd-cat { position: relative; aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); display: block; }
.pd-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pd-cat:hover img { transform: scale(1.05); }
.pd-cat__label { position: absolute; inset: auto 0 0 0; padding: 24px; background: linear-gradient(to top, rgba(20,20,15,.72), transparent); color: #fff; }
.pd-cat__label strong { font-family: var(--font-display); font-size: 22px; font-weight: 500; display: block; }
.pd-cat__label span { font-size: 12.5px; color: #e6e2d8; }

.pd-promo { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 68px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; }
.pd-promo h2 { color: #fff; font-size: clamp(26px, 3vw, 42px); }
.pd-promo p { color: #b7b2a6; max-width: 440px; }
.pd-promo .pd-btn { background: var(--gold); border-color: var(--gold); }
.pd-promo .pd-btn:hover { background: #96773f; }

.pd-usps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0; }
.pd-usp__t { font-family: var(--font-display); font-size: 17px; margin-bottom: 4px; }
.pd-usp__d { font-size: 13px; color: var(--muted); margin: 0; }

/* ============================================================
   WOOCOMMERCE — kartice, arhiva, korpa, checkout
   ============================================================ */
.woocommerce, .woocommerce-page { color: var(--ink); }
.pd-woo-wrap { padding-top: 30px; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { color: var(--muted); font-size: 13px; }
.woocommerce-products-header__title, .woocommerce h1, .woocommerce-page h1 { font-family: var(--font-display); }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 26px; margin: 0 !important; padding: 0 !important; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; text-align: left; }
.woocommerce ul.products li.product .pd-card, .woocommerce ul.products li.product { position: relative; }
.woocommerce ul.products li.product a img { border-radius: var(--radius-lg); background: var(--paper); margin: 0 0 16px; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s var(--ease); }
.woocommerce ul.products li.product:hover a img { transform: translateY(-4px); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-display); font-size: 18px; font-weight: 500; padding: 0 0 6px !important; color: var(--ink); }
.woocommerce ul.products li.product .price { color: var(--ink); font-weight: 600; font-size: 15px; }
.woocommerce ul.products li.product .price del { color: var(--muted); font-weight: 400; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button, .woocommerce ul.products li.product .added_to_cart { margin-top: 12px; font-size: 13px; padding: 11px 18px; }
.woocommerce span.onsale { background: var(--gold); color: #fff; border-radius: 999px; min-height: auto; min-width: auto; padding: 5px 12px; font-size: 11px; font-weight: 700; top: 12px; left: 12px; margin: 0; }
.woocommerce .star-rating span::before, .woocommerce .star-rating::before { color: var(--gold); }

/* Widgets/filters */
.woocommerce .widget-area .widget, .wc-block-components-product-price { font-size: 14px; }

/* Korpa / Checkout */
.woocommerce table.shop_table { border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; }
.woocommerce table.shop_table th { background: var(--paper); font-family: var(--font-body); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.woocommerce-cart table.cart img { width: 72px; border-radius: var(--radius); }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout .woocommerce-checkout-review-order { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce .select2-container .select2-selection--single, .woocommerce-checkout input, .woocommerce-checkout select {
	border: 1px solid var(--line) !important; border-radius: var(--radius) !important; padding: 12px 14px !important; font-family: var(--font-body); background: #fff;
}
.woocommerce .quantity input.qty { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--gold); border-radius: var(--radius); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--gold); }

/* Breadcrumb */
.woocommerce .woocommerce-breadcrumb { color: var(--muted); font-size: 12.5px; margin-bottom: 22px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--muted); }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--ink); }

/* ============================================================
   GENERIC PAGES / POSTS
   ============================================================ */
.pd-page { padding: 48px 0 20px; }
.pd-page__title { font-size: clamp(30px, 4vw, 52px); margin-bottom: 24px; }
.pd-entry { font-size: 16px; line-height: 1.8; color: var(--ink-soft); }
.pd-entry img { border-radius: var(--radius-lg); }
.pd-404 { text-align: center; padding: 120px 0; }
.pd-404 h1 { font-size: clamp(60px, 12vw, 140px); color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
	.pd-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.pd-hero__inner { grid-template-columns: 1fr; }
	.pd-hero__art { max-width: 460px; }
	.pd-cats { grid-template-columns: 1fr 1fr; }
	.pd-promo { grid-template-columns: 1fr; }
	.pd-usps { grid-template-columns: 1fr 1fr; }
	.pd-nav { display: none; }
	.pd-burger { display: block; }
	.pd-nav.is-open { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 16px var(--gutter); }
	.pd-nav.is-open ul { flex-direction: column; gap: 14px; }
}
@media (max-width: 620px) {
	.woocommerce ul.products { grid-template-columns: 1fr 1fr; gap: 16px; }
	.pd-cats { grid-template-columns: 1fr; }
	.pd-usps { grid-template-columns: 1fr; }
	.pd-footer__top { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
}

/* ============================================================
   HOMEPAGE — sidebar kategorije + proizvodi
   ============================================================ */
.pd-shop-layout { display: grid; grid-template-columns: 138px 1fr; gap: 30px; align-items: start; }
.pd-catrail {
	position: sticky; top: 96px;
	max-height: calc(100vh - 120px); overflow-y: auto;
	border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper);
	padding: 8px; display: flex; flex-direction: column; gap: 2px;
	scrollbar-width: thin; scrollbar-color: #cfcabf transparent;
}
.pd-catrail::-webkit-scrollbar { width: 5px; }
.pd-catrail::-webkit-scrollbar-thumb { background: #cfcabf; border-radius: 5px; }
.pd-catrail__item {
	display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
	padding: 15px 6px 13px; border-radius: 12px; color: var(--muted);
	transition: background .18s var(--ease), color .18s var(--ease); position: relative;
}
.pd-catrail__item:hover, .pd-catrail__item.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(16,18,34,.05); }
.pd-catrail__icon { color: #9a958a; transition: color .18s var(--ease); display: inline-flex; }
.pd-catrail__item:hover .pd-catrail__icon, .pd-catrail__item.is-active .pd-catrail__icon { color: var(--gold); }
.pd-catrail__name { font-size: 11.5px; font-weight: 600; line-height: 1.25; letter-spacing: .01em; }
.pd-catrail__count { font-size: 10px; font-weight: 600; color: var(--muted); background: var(--paper-2); border-radius: 999px; padding: 1px 8px; }
.pd-catrail__item:hover .pd-catrail__count, .pd-catrail__item.is-active .pd-catrail__count { background: #fff8ec; color: var(--gold); }

.pd-shop-main ul.products { grid-template-columns: repeat(3, 1fr) !important; }

@media (max-width: 900px) {
	.pd-shop-layout { grid-template-columns: 1fr; }
	.pd-catrail { position: static; flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; }
	.pd-catrail__item { flex: 0 0 auto; min-width: 92px; }
	.pd-shop-main ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
	.pd-shop-main ul.products { grid-template-columns: 1fr 1fr !important; }
}

/* ---- Language switcher (Polylang) ---- */
.pd-langsw ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.pd-langsw li { display: inline-flex; }
.pd-langsw { display:flex; gap:6px; } .pd-langsw a { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 6px 9px; border-radius: 999px; border: 1px solid transparent; }
.pd-langsw a:hover { color: var(--ink); border-color: var(--line); }
.pd-langsw .pd-lang.is-current { color: var(--ink); background: var(--paper); border-color: var(--line); }
.pd-langsw img { width: 16px; height: auto; border-radius: 2px; }
/* Zastavice + jasan aktivan/neaktivan jezik */
.pd-flag { width: 20px; height: 14px; border-radius: 3px; display: block; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(20,20,15,.10); overflow: hidden; }
.pd-langsw .pd-lang { opacity: .5; transition: opacity .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease); }
.pd-langsw .pd-lang:hover { opacity: 1; }
.pd-langsw .pd-lang.is-current { opacity: 1; color: var(--ink); background: var(--paper-2); border-color: var(--gold); }

/* Kategorija tile — ikona fallback kad nema slike */
.pd-cat--icon { display: flex; align-items: center; justify-content: center; background: var(--paper); }
.pd-cat--icon .pd-cat__icon { color: var(--gold); }
.pd-cat--icon .pd-cat__icon svg { width: 72px; height: 72px; stroke-width: 1.1; }
.pd-cat--icon .pd-cat__label { background: linear-gradient(to top, rgba(20,20,15,.55), transparent); }

/* ===== La Casa della Stampa — brand wordmark, buttons, footer, hero2 ===== */
.pd-brand { white-space: nowrap; font-size: clamp(16px, 2.1vw, 22px); }
@media (max-width: 600px) { .pd-brand { font-size: 15px; } }

.pd-btn--gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.pd-btn--gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: #fff; }
.pd-btn--sm { padding: 9px 16px; font-size: 12.5px; }

.pd-footer__addr { line-height: 1.7; font-size: 14px; }
.pd-footer__addr a { color: var(--gold-soft); }

/* ---- HERO 2 (full-width) ---- */
.pd-hero2 { position: relative; overflow: hidden; background: var(--paper); }
.pd-hero2__bg { position: absolute; inset: 0; z-index: 0;
	background:
		radial-gradient(120% 90% at 85% 8%, rgba(169,138,84,.18), transparent 60%),
		radial-gradient(90% 80% at 2% 95%, rgba(169,138,84,.10), transparent 55%),
		linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.pd-hero2__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(48px, 7vw, 96px) 0; }
.pd-hero2__eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 18px; }
.pd-hero2__title { font-size: clamp(36px, 6vw, 66px); line-height: 1.02; margin-bottom: 20px; }
.pd-hero2__title em { font-style: italic; color: var(--gold); }
.pd-hero2__sub { font-size: clamp(15px, 1.4vw, 18px); color: var(--ink-soft); max-width: 46ch; margin-bottom: 26px; }
.pd-hero2__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.pd-hero2__cats { display: flex; flex-wrap: wrap; gap: 9px; }
.pd-hero2__chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 9px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.62); font-size: 13px; font-weight: 600; color: var(--ink); transition: all .2s var(--ease); }
.pd-hero2__chip:hover { border-color: var(--gold); background: #fff; transform: translateY(-1px); }
.pd-hero2__chip-ic { color: var(--gold); display: inline-flex; }
.pd-hero2__chip-ic svg { width: 18px; height: 18px; }
.pd-hero2__art { position: relative; }
.pd-hero2__card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.pd-hero2__media { display: block; aspect-ratio: 1/1; background: var(--paper-2); overflow: hidden; }
.pd-hero2__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.pd-hero2__card:hover .pd-hero2__media img { transform: scale(1.04); }
.pd-hero2__pinfo { padding: 18px 20px 22px; }
.pd-hero2__pname { font-family: var(--font-display); font-size: 20px; margin-bottom: 4px; }
.pd-hero2__pprice { color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.pd-hero2__pprice .amount { color: var(--gold); }
.pd-hero2__badge { position: absolute; left: -14px; top: 20px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius); font-family: var(--font-display); font-size: 16px; box-shadow: var(--shadow); z-index: 2; }
.pd-hero2__badge b { color: var(--gold-soft); }
@media (max-width: 860px) {
	.pd-hero2__inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 48px; }
	.pd-hero2__art { max-width: 420px; }
}

/* =========================================================================
   DINAMIKA — scroll reveal, shrink header, magnetic, dinamički hero (lc-*)
   ========================================================================= */

/* ---- Scroll reveal ---- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---- Stagger (na load, iznad prevoja) ---- */
.stagger > * { opacity: 0; transform: translateY(22px); animation: lcFadeUp .85s var(--ease) forwards; }
.stagger > *:nth-child(1) { animation-delay: .12s; }
.stagger > *:nth-child(2) { animation-delay: .22s; }
.stagger > *:nth-child(3) { animation-delay: .32s; }
.stagger > *:nth-child(4) { animation-delay: .42s; }
.stagger > *:nth-child(5) { animation-delay: .52s; }
@keyframes lcFadeUp { to { opacity: 1; transform: none; } }

/* ---- Magnetic + shrink header ---- */
.magnetic { transition: transform .3s var(--ease), background .2s var(--ease), color .2s var(--ease); }
.pd-header { transition: box-shadow .3s var(--ease), background .3s var(--ease); }
.pd-header.is-scrolled { background: rgba(250, 249, 246, .88); backdrop-filter: saturate(140%) blur(12px); box-shadow: 0 8px 30px rgba(20, 20, 15, .07); }
.pd-header.is-scrolled .pd-brand { font-size: clamp(15px, 1.9vw, 19px); }
.pd-header.is-scrolled .pd-header__bar { padding-top: 12px; padding-bottom: 12px; }
.pd-header__bar { transition: padding .3s var(--ease); }

/* ---- Dinamički hero ---- */
.lc-hero { position: relative; overflow: hidden; background: var(--paper); min-height: min(92vh, 900px); display: flex; align-items: center; }
.lc-hero__bg { position: absolute; inset: 0; z-index: 0;
	background:
		radial-gradient(45% 55% at 82% 15%, rgba(169,138,84,.20), transparent 60%),
		radial-gradient(40% 50% at 8% 88%, rgba(169,138,84,.12), transparent 55%),
		linear-gradient(160deg, var(--paper) 0%, var(--paper-2) 100%);
	animation: lcDrift 18s ease-in-out infinite alternate;
}
@keyframes lcDrift { from { background-position: 0% 0%, 0% 0%, 0 0; } to { background-position: 6% 4%, -4% -3%, 0 0; } }
.lc-hero__grain { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
	background-image: radial-gradient(rgba(20,20,15,.035) 1px, transparent 1px); background-size: 4px 4px; }
.lc-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 72px); align-items: center; width: 100%; padding: clamp(70px, 9vw, 120px) 0 clamp(56px, 6vw, 90px); }

.lc-hero__eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 20px; }
.lc-hero__dot { width: 8px; height: 8px; border-radius: 999px; background: var(--gold); box-shadow: 0 0 0 0 rgba(169,138,84,.5); animation: lcPulse 2.2s var(--ease) infinite; }
@keyframes lcPulse { 0% { box-shadow: 0 0 0 0 rgba(169,138,84,.5); } 70% { box-shadow: 0 0 0 12px rgba(169,138,84,0); } 100% { box-shadow: 0 0 0 0 rgba(169,138,84,0); } }
.lc-hero__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 6.6vw, 78px); line-height: 1.0; letter-spacing: -.015em; margin: 0 0 22px; color: var(--ink); }
.lc-hero__title em { font-style: italic; color: var(--gold); }
.lc-hero__sub { font-size: clamp(15px, 1.35vw, 18px); color: var(--ink-soft); max-width: 48ch; line-height: 1.65; margin-bottom: 30px; }
.lc-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.lc-hero__cats { display: flex; flex-wrap: wrap; gap: 9px; max-width: 620px; }

.lc-hero__art { position: relative; }
.lc-hero__stage { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); box-shadow: 0 40px 90px -40px rgba(20,20,15,.45); }
.lc-hero__slide { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity 1.1s var(--ease); }
.lc-hero__slide.is-active { opacity: 1; z-index: 1; }
.lc-hero__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lc-hero__slide.is-active img { animation: lcKen 6s ease-out forwards; }
@keyframes lcKen { from { transform: scale(1.001); } to { transform: scale(1.09); } }
.lc-hero__ring { position: absolute; z-index: 2; right: -30px; top: -30px; width: 120px; height: 120px; border: 1.5px solid var(--gold); border-radius: 999px; opacity: .5; pointer-events: none; }
.lc-hero__ring::after { content: ""; position: absolute; inset: 14px; border: 1px dashed rgba(169,138,84,.5); border-radius: 999px; animation: lcSpin 22s linear infinite; }
@keyframes lcSpin { to { transform: rotate(360deg); } }

.lc-hero__labels { position: absolute; left: -18px; bottom: 26px; z-index: 3; min-width: 240px; }
.lc-hero__label { position: absolute; left: 0; bottom: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 20px 18px; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; min-width: 240px; }
.lc-hero__label.is-active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.lc-hero__lname { font-family: var(--font-display); font-size: 19px; margin-bottom: 3px; color: var(--ink); }
.lc-hero__lprice { color: var(--gold); font-weight: 600; margin-bottom: 12px; }
.lc-hero__lprice .amount { color: var(--gold); }

.lc-hero__scroll { position: absolute; left: 50%; bottom: 20px; z-index: 2; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(20,20,15,.28); border-radius: 999px; }
.lc-hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 999px; background: var(--gold); animation: lcScroll 1.8s var(--ease) infinite; }
@keyframes lcScroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 900px) {
	.lc-hero { min-height: auto; }
	.lc-hero__inner { grid-template-columns: 1fr; gap: 36px; padding: 40px 0 54px; }
	.lc-hero__art { max-width: 440px; }
	.lc-hero__labels { position: static; margin-top: 16px; }
	.lc-hero__label { position: relative; transform: none; }
	.lc-hero__scroll { display: none; }
}

/* ---- Stranice: bogat sadržaj (Chi siamo / Contatti) ---- */
.lc-page-hero { background: linear-gradient(160deg, var(--paper) 0%, var(--paper-2) 100%); padding: clamp(48px, 7vw, 96px) 0 clamp(30px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.lc-page-hero__eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.lc-page-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 5vw, 60px); line-height: 1.04; margin: 0 0 16px; }
.lc-page-hero p { font-size: clamp(15px, 1.4vw, 18px); color: var(--ink-soft); max-width: 60ch; line-height: 1.7; }

.lc-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.lc-section { padding: clamp(40px, 6vw, 84px) 0; }
.lc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.lc-block h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.1; margin: 0 0 16px; }
.lc-block p { color: var(--ink-soft); line-height: 1.75; margin: 0 0 14px; font-size: 16px; }
.lc-block--media { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); box-shadow: 0 30px 70px -40px rgba(20,20,15,.4); }
.lc-block--media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lc-kicker { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 10px; }

.lc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 8px 0; }
.lc-stat { text-align: center; padding: 26px 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.lc-stat__num { font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px); color: var(--gold); line-height: 1; display: block; }
.lc-stat__lbl { margin-top: 8px; font-size: 13px; color: var(--ink-soft); letter-spacing: .02em; }

.lc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lc-step { padding: 26px 22px; border-radius: var(--radius-lg); background: var(--paper-2); border: 1px solid var(--line); }
.lc-step__n { font-family: var(--font-display); font-size: 20px; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--ink); color: #fff; margin-bottom: 14px; }
.lc-step h3 { font-family: var(--font-display); font-weight: 500; font-size: 19px; margin: 0 0 6px; }
.lc-step p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; margin: 0; }

.lc-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lc-value { padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.lc-value h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; margin: 0 0 8px; }
.lc-value p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; margin: 0; }
.lc-value__ic { color: var(--gold); margin-bottom: 12px; display: inline-flex; }
.lc-value__ic svg { width: 30px; height: 30px; }

.lc-cta-band { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 64px); display: grid; grid-template-columns: 1.4fr auto; gap: 26px; align-items: center; }
.lc-cta-band h2 { font-family: var(--font-display); font-weight: 500; color: #fff; font-size: clamp(24px, 3vw, 38px); margin: 0 0 8px; }
.lc-cta-band p { color: rgba(255,255,255,.72); margin: 0; }
.lc-cta-band .pd-btn { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ---- Contatti: forma + mapa ---- */
.lc-contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.lc-info__row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.lc-info__ic { color: var(--gold); flex: 0 0 auto; margin-top: 2px; }
.lc-info__ic svg { width: 22px; height: 22px; }
.lc-info__k { font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.lc-info__v { color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.lc-info__v a { color: var(--ink-soft); }
.lc-info__v a:hover { color: var(--gold); }
.lc-map { margin-top: 22px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.lc-map iframe { display: block; width: 100%; height: 320px; border: 0; filter: grayscale(.2) contrast(1.02); }

.lc-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow); }
.lc-form h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 6px; }
.lc-form__intro { color: var(--ink-soft); font-size: 15px; margin: 0 0 20px; }
.lc-field { margin-bottom: 16px; }
.lc-field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; letter-spacing: .01em; }
.lc-field input, .lc-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); font: inherit; color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.lc-field input:focus, .lc-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(169,138,84,.14); }
.lc-field textarea { min-height: 130px; resize: vertical; }
.lc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lc-form__msg { margin-top: 14px; font-size: 14px; border-radius: var(--radius); padding: 0; max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.lc-form__msg.is-show { max-height: 120px; padding: 12px 14px; }
.lc-form__msg.is-ok { background: #eef6ee; color: #1e5a2a; }
.lc-form__msg.is-err { background: #fbeaea; color: #8a2020; }
.lc-form button[type="submit"] { width: 100%; margin-top: 4px; }
.lc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 820px) {
	.lc-grid2, .lc-contact { grid-template-columns: 1fr; }
	.lc-stats { grid-template-columns: repeat(2, 1fr); }
	.lc-steps { grid-template-columns: repeat(2, 1fr); }
	.lc-values { grid-template-columns: 1fr; }
	.lc-cta-band { grid-template-columns: 1fr; text-align: left; }
	.lc-form__row { grid-template-columns: 1fr; }
}

/* ---- Reduced motion: iskljuci sve ---- */
@media (prefers-reduced-motion: reduce) {
	.stagger > *, [data-reveal] { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
	.lc-hero__bg, .lc-hero__dot, .lc-hero__ring::after, .lc-hero__slide.is-active img, .lc-hero__scroll span { animation: none !important; }
	.lc-hero__slide { transition: none; }
}
