﻿/* =====================================================================
   NAMHAR PANELI – stilovi
   Crno · zlatno · metalik  |  Svetla / Tamna tema  |  Mobile first
   ===================================================================== */

/* ---------- Tokeni ---------- */
:root {
    --font-h: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
    --font-b: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --radius: 18px;
    --radius-sm: 12px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --header-h: 112px;
    --gold-1: #f9e29a;
    --gold-2: #e0a93f;
    --gold-3: #b9831f;
    --gold-4: #7b5410;
    --gold-grad: linear-gradient(135deg, #fbe9a8 0%, #e6b24a 32%, #b9831f 58%, #f2cd6e 82%, #d9a237 100%);
    --gold-grad-soft: linear-gradient(135deg, rgba(249,226,154,.18), rgba(185,131,31,.10));
}

html[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0b0b0d;
    --bg-alt: #101013;
    --surface: #17171b;
    --surface-2: #1f1f25;
    --text: #f3f0e9;
    --muted: #a7a398;
    --line: rgba(255, 255, 255, .09);
    --line-strong: rgba(255, 255, 255, .18);
    --accent: #e6b24a;
    --accent-ink: #1a1204;
    --gold-text: linear-gradient(110deg, #fbe9a8 0%, #e6b24a 30%, #b9831f 50%, #f6d37a 72%, #e6b24a 100%);
    --metal: linear-gradient(135deg, #2b2b31 0%, #17171b 40%, #26262c 60%, #141418 100%);
    --brushed: repeating-linear-gradient(90deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 3px);
    --shadow: 0 18px 50px rgba(0, 0, 0, .55);
    --shadow-sm: 0 8px 24px rgba(0, 0, 0, .4);
    --hero-glow: radial-gradient(1000px 520px at 78% 38%, rgba(230, 178, 74, .16), transparent 62%), radial-gradient(700px 400px at 5% 90%, rgba(255, 255, 255, .05), transparent 60%);
    --notice-bg: linear-gradient(135deg, rgba(230, 178, 74, .16), rgba(230, 178, 74, .06));
    --notice-line: rgba(230, 178, 74, .45);
    --frame: linear-gradient(135deg, #f9e29a, #8b6114 35%, #f2cd6e 55%, #6d4a0d 80%, #e6b24a);
}

html[data-theme="light"] {
    color-scheme: light;
    --bg: #f6f4ef;
    --bg-alt: #ece9e1;
    --surface: #ffffff;
    --surface-2: #f2efe8;
    --text: #17171a;
    --muted: #5d5a52;
    --line: rgba(20, 20, 24, .10);
    --line-strong: rgba(20, 20, 24, .22);
    --accent: #a8741a;
    --accent-ink: #1a1204;
    --gold-text: linear-gradient(110deg, #8a5a0a 0%, #c9921f 30%, #7d530b 52%, #d8a63a 74%, #9a6810 100%);
    --metal: linear-gradient(135deg, #ffffff 0%, #e4e2dc 42%, #fbfaf7 58%, #d3d0c8 100%);
    --brushed: repeating-linear-gradient(90deg, rgba(0, 0, 0, .018) 0 1px, transparent 1px 3px);
    --shadow: 0 18px 50px rgba(60, 45, 15, .18);
    --shadow-sm: 0 8px 24px rgba(60, 45, 15, .12);
    --hero-glow: radial-gradient(1000px 520px at 78% 38%, rgba(212, 160, 55, .22), transparent 62%), radial-gradient(700px 400px at 5% 90%, rgba(255, 255, 255, .8), transparent 60%);
    --notice-bg: linear-gradient(135deg, rgba(200, 146, 31, .14), rgba(200, 146, 31, .05));
    --notice-line: rgba(168, 116, 26, .5);
    --frame: linear-gradient(135deg, #f4d781, #9a6810 35%, #e8bd55 55%, #7b5410 80%, #d8a63a);
}

/* ---------- Reset / osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) - 20px); }
html.no-scroll { overflow: hidden; }
body {
    margin: 0;
    font-family: var(--font-b);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
    transition: background-color .45s ease, color .45s ease, border-color .45s ease, box-shadow .45s ease !important;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 3000; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; text-decoration: none; }
.show-sm-only { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

/* skrolbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--gold-2), var(--gold-4)); border-radius: 10px; border: 2px solid var(--bg); }

/* ---------- Metalik tekst + naslovi ---------- */
.metal-text {
    background: var(--gold-text);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: sheen 7s linear infinite;
}
@keyframes sheen { 0% { background-position: 0% 0; } 100% { background-position: 220% 0; } }

.h2 { font-family: var(--font-h); font-weight: 800; font-size: clamp(1.8rem, 4.2vw, 3rem); line-height: 1.12; letter-spacing: -.01em; }
.lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--muted); max-width: 62ch; margin-top: 16px; }
.lead strong { color: var(--text); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-h); font-weight: 700; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; font-family: var(--font-h); font-weight: 600; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.eyebrow i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--alt::before, .section--alt::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .35; }
.section--alt::before { top: 0; } .section--alt::after { bottom: 0; }
.sec-head { text-align: center; margin: 0 auto clamp(32px, 5vw, 56px); max-width: 780px; }
.sec-head .lead { margin-inline: auto; }

/* ---------- Dugmad ---------- */
.btn {
    --h: 48px;
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: var(--h); padding: 0 24px;
    border: 1px solid transparent; border-radius: 14px;
    font-family: var(--font-h); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
    text-decoration: none !important; white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn-lg { --h: 56px; padding: 0 30px; font-size: 1rem; }
.btn-sm { --h: 42px; padding: 0 16px; font-size: .88rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold-grad); background-size: 200% 200%; color: #1b1204; box-shadow: 0 8px 22px rgba(201, 146, 31, .35), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn-gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .6) 50%, transparent 65%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(201, 146, 31, .5), inset 0 1px 0 rgba(255, 255, 255, .6); background-position: 100% 50%; }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-gold:active { transform: translateY(0); }
.btn-gold:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-gold.is-done { background: linear-gradient(135deg, #7fd48a, #3ea25a); color: #072b11; }
.btn-ghost { background: color-mix(in srgb, var(--surface) 70%, transparent); border-color: var(--line-strong); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.linkbtn { background: none; border: 0; color: var(--muted); text-decoration: underline; padding: 8px; width: 100%; }
.linkbtn:hover { color: var(--accent); }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: transform .35s var(--ease); }
.topbar { background: var(--gold-grad); color: #1b1204; font-size: .82rem; font-weight: 600; position: relative; overflow: hidden; }
.topbar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .45) 50%, transparent 60%); transform: translateX(-100%); animation: topshine 6s ease-in-out infinite; }
@keyframes topshine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; position: relative; z-index: 1; }
.topbar__msg { display: flex; align-items: center; gap: 8px; }
.topbar a { color: #1b1204; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.topbar__phones { display: flex; gap: 18px; white-space: nowrap; }
.nav { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--line); transition: background .3s, box-shadow .3s; }
.header.is-stuck .nav { background: color-mix(in srgb, var(--bg) 92%, transparent); box-shadow: var(--shadow-sm); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none !important; flex-shrink: 0; }
.brand__icon { height: 46px; width: auto; filter: drop-shadow(0 2px 6px rgba(201, 146, 31, .35)); transition: transform .5s var(--ease); }
.brand:hover .brand__icon { transform: rotate(-4deg) scale(1.06); }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-h); font-weight: 800; font-size: 1.45rem; letter-spacing: .1em; color: var(--text); }
.brand__sub { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-family: var(--font-h); font-weight: 700; font-size: .62rem; letter-spacing: .42em; color: var(--accent); }
.brand__sub i { flex: 1; height: 2px; min-width: 10px; background: var(--gold-grad); border-radius: 2px; }

.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a { position: relative; padding: 10px 13px; font-family: var(--font-h); font-weight: 600; font-size: .86rem; color: var(--muted); border-radius: 10px; text-decoration: none; transition: color .2s; white-space: nowrap; }
.nav__links a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__hl { color: var(--accent) !important; }
.nav__hl i { font-size: .8em; }

.nav__tools { display: flex; align-items: center; gap: 10px; }
.themesw { display: inline-flex; padding: 4px; gap: 2px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; }
.themesw button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 34px; height: 34px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 1rem; transition: all .25s var(--ease); }
.themesw button:hover { color: var(--text); }
.themesw button.is-active { background: var(--gold-grad); color: #1b1204; box-shadow: 0 3px 10px rgba(201, 146, 31, .4); }
.themesw--wide { display: flex; width: 100%; }
.themesw--wide button { flex: 1; width: auto; height: 44px; font-family: var(--font-h); font-weight: 600; font-size: .9rem; }

.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; font-family: var(--font-h); font-weight: 700; font-size: .86rem; color: var(--text); transition: border-color .25s, transform .25s var(--ease); }
.cart-btn:hover { border-color: var(--accent); }
.cart-btn .fa { color: var(--accent); font-size: 1.05rem; }
.cart-btn__badge { min-width: 22px; height: 22px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; background: var(--gold-grad); color: #1b1204; border-radius: 999px; font-size: .74rem; font-weight: 800; transition: transform .3s var(--ease); }
.cart-btn__badge.is-zero { display: none; }
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.12); } 60% { transform: scale(.96); } 100% { transform: scale(1); } }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mmenu { position: fixed; inset: 0; z-index: 990; display: flex; flex-direction: column; padding: calc(var(--header-h) + 12px) 22px 28px; background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(22px); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-14px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; }
.mmenu.is-open { opacity: 1; visibility: visible; transform: none; }
.mmenu__nav { display: flex; flex-direction: column; }
.mmenu__nav a { display: flex; align-items: center; gap: 10px; padding: 16px 4px; font-family: var(--font-h); font-weight: 700; font-size: 1.35rem; color: var(--text); border-bottom: 1px solid var(--line); text-decoration: none; opacity: 0; transform: translateX(-16px); transition: opacity .4s var(--ease), transform .4s var(--ease), color .2s; }
.mmenu.is-open .mmenu__nav a { opacity: 1; transform: none; }
.mmenu.is-open .mmenu__nav a:nth-child(1) { transition-delay: .05s; } .mmenu.is-open .mmenu__nav a:nth-child(2) { transition-delay: .09s; } .mmenu.is-open .mmenu__nav a:nth-child(3) { transition-delay: .13s; }
.mmenu.is-open .mmenu__nav a:nth-child(4) { transition-delay: .17s; } .mmenu.is-open .mmenu__nav a:nth-child(5) { transition-delay: .21s; } .mmenu.is-open .mmenu__nav a:nth-child(6) { transition-delay: .25s; } .mmenu.is-open .mmenu__nav a:nth-child(7) { transition-delay: .29s; }
.mmenu__nav a.is-hl { color: var(--accent); }
.mmenu__nav a:hover { color: var(--accent); }
.mmenu__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.mmenu__label { font-family: var(--font-h); font-weight: 700; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(28px, 5vw, 64px)) 0 clamp(130px, 12vw, 160px); overflow: hidden; background: var(--bg); }
.hero__bg { position: absolute; inset: -10% 0 0; background: var(--hero-glow), var(--brushed); transform: translateY(var(--py, 0)); will-change: transform; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: conic-gradient(from 210deg at 85% 30%, transparent 0 55%, rgba(230, 178, 74, .10) 62%, transparent 70%); animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* meko stapanje donje ivice hero dela u pozadinu stranice (bez nagle crne ivice) */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 240px; background: linear-gradient(to bottom, transparent, var(--bg) 92%); pointer-events: none; }
.hero__in, .hero__scroll { z-index: 1; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.hero__title { font-family: var(--font-h); font-weight: 800; font-size: clamp(2.5rem, 6.4vw, 5rem); line-height: 1.04; letter-spacing: -.02em; margin: 22px 0 22px; }
.hero__lead { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--muted); max-width: 54ch; }
.hero__lead strong { color: var(--text); }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; }
.hero__chips i { color: var(--accent); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__visual { position: relative; perspective: 1200px; padding: 0 0 30px 0; }
.hero__frame { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%; position: relative; aspect-ratio: 4 / 4.4; border-radius: 26px; padding: 3px; background: var(--frame); box-shadow: var(--shadow), 0 0 80px rgba(230, 178, 74, .12); transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s ease-out; transform-style: preserve-3d; }
.hero__frame > img:first-child { width: 100%; height: 100%; object-fit: cover; border-radius: 23px; filter: saturate(1.05) contrast(1.03); }
.hero__glare { position: absolute; inset: 3px; border-radius: 23px; background: radial-gradient(420px circle at var(--gx) var(--gy), rgba(255, 255, 255, .26), transparent 45%); mix-blend-mode: soft-light; pointer-events: none; }
.hero__tagline { position: absolute; left: -7%; bottom: -5%; width: 62%; max-width: 330px; transform: rotate(-3deg) translateZ(60px); filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .55)); }
.hero__float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(14px); border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: var(--shadow-sm); font-size: .78rem; color: var(--muted); animation: floaty 6s ease-in-out infinite; }
.hero__float i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gold-grad); color: #1b1204; font-size: 1.05rem; flex-shrink: 0; }
.hero__float strong { display: block; color: var(--text); font-family: var(--font-h); font-size: .86rem; line-height: 1.25; }
.hero__float--a { top: 7%; right: -4%; }
.hero__float--b { bottom: 12%; right: -2%; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero__scroll { position: absolute; left: 50%; bottom: 66px; transform: translateX(-50%); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--accent); font-size: 1.3rem; animation: bounce 2.2s ease-in-out infinite; }
@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- USP ---------- */
.usp { position: relative; z-index: 2; margin-top: -30px; }
.usp__list { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--metal); background-color: var(--surface); border: 1px solid var(--line-strong); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; position: relative; }
.usp__list::before { content: ""; position: absolute; inset: 0; background: var(--brushed); pointer-events: none; }
.usp__list li { position: relative; padding: 26px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.usp__list li + li::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line-strong); }
.usp__list i { width: 54px; height: 54px; display: grid; place-items: center; font-size: 1.4rem; color: var(--accent); border: 1.5px solid var(--accent); border-radius: 50%; margin-bottom: 10px; transition: all .4s var(--ease); }
.usp__list li:hover i { background: var(--gold-grad); color: #1b1204; border-color: transparent; transform: translateY(-4px) rotate(-6deg); }
.usp__list strong { font-family: var(--font-h); font-size: .9rem; line-height: 1.25; }
.usp__list span { font-size: .78rem; color: var(--muted); line-height: 1.4; }

/* ---------- Dostava i montaža ---------- */
.montaza { background: radial-gradient(900px 500px at 10% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%); }
.montaza__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.mfeat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 30px 0 24px; }
.mfeat li { display: flex; gap: 14px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.mfeat li:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.mfeat__ic { flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--gold-grad); color: #1b1204; font-size: 1.15rem; }
.mfeat h3 { font-family: var(--font-h); font-size: 1rem; margin-bottom: 4px; }
.mfeat p { font-size: .86rem; color: var(--muted); line-height: 1.5; }
.montaza__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--notice-bg); border: 1px solid var(--notice-line); border-left-width: 4px; border-radius: 14px; font-size: .92rem; line-height: 1.55; }
.notice > i { color: var(--accent); font-size: 1.3rem; margin-top: 2px; }
.notice strong { color: var(--text); }
.notice--sm { padding: 12px 14px; font-size: .84rem; border-left-width: 3px; }
.notice--sm > i { font-size: 1.1rem; }
.notice--center { margin: 36px auto 0; max-width: 820px; }

.montaza__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.mshot { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); background: var(--surface); }
.mshot img { width: 100%; aspect-ratio: 3 / 4.6; object-fit: cover; transition: transform 1.2s var(--ease); }
.mshot:hover img { transform: scale(1.06); }
.mshot--2 { margin-top: 46px; }
.mbadge { position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 26px; border-radius: 18px; background: var(--gold-grad); color: #1b1204; box-shadow: 0 14px 34px rgba(201, 146, 31, .45); white-space: nowrap; }
.mbadge strong { font-family: var(--font-h); font-weight: 800; font-size: 1.05rem; line-height: 1.15; }
.mbadge span { font-size: .74rem; font-weight: 600; opacity: .8; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(64px, 8vw, 96px); position: relative; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 29px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 16px); opacity: .45; }
.steps li { position: relative; text-align: center; padding: 0 10px; }
.steps__n { position: relative; display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; background: var(--gold-grad); color: #1b1204; font-family: var(--font-h); font-weight: 800; font-size: 1.25rem; box-shadow: 0 0 0 8px var(--bg), 0 10px 24px rgba(201, 146, 31, .4); }
.steps h3 { font-family: var(--font-h); font-size: 1.02rem; margin-bottom: 6px; }
.steps p { font-size: .88rem; color: var(--muted); }

/* ---------- Ponuda / prodavnica ---------- */
.shop__bar { display: flex; flex-direction: column; gap: 14px; }
.shop__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 4px 0 8px; }
.chip { flex-shrink: 0; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); font-family: var(--font-h); font-weight: 600; font-size: .84rem; color: var(--muted); white-space: nowrap; transition: all .25s var(--ease); }
.chip i { color: var(--accent); }
.chip em { font-style: normal; font-size: .72rem; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.chip:hover { color: var(--text); border-color: var(--accent); transform: translateY(-2px); }
.chip.is-active { background: var(--gold-grad); color: #1b1204; border-color: transparent; box-shadow: 0 8px 20px rgba(201, 146, 31, .35); }
.chip.is-active i { color: #1b1204; }
.chip.is-active em { background: rgba(0, 0, 0, .14); color: #1b1204; }
.search { position: relative; display: block; }
.search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 52px; padding: 0 18px 0 48px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-strong); outline: none; transition: border-color .2s, box-shadow .2s; }
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.shop__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin: 26px 0 8px; }
.shop__headtext h3 { font-family: var(--font-h); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.shop__headtext p { color: var(--muted); max-width: 64ch; margin-top: 6px; font-size: .95rem; }
.shop__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); font-size: .82rem; font-weight: 600; }
.badge i { color: var(--accent); }
.badge small { font-weight: 500; opacity: .75; }
.badge--gold { background: var(--gold-grad); color: #1b1204; border-color: transparent; }
.badge--gold i { color: #1b1204; }
.shop__meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; font-size: .84rem; color: var(--muted); }
.shop__note i { color: var(--accent); }
.shop__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shop__empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--muted); }
.shop__empty i { font-size: 2.4rem; color: var(--accent); margin-bottom: 14px; }
.shop__more { display: flex; justify-content: center; margin-top: 32px; }
.shop__more small { opacity: .7; font-weight: 500; }

.pcard { --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms), border-color .3s, box-shadow .3s; }
.pcard.is-in { opacity: 1; transform: none; }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; background: radial-gradient(260px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%); transition: opacity .3s; }
.pcard:hover { border-color: color-mix(in srgb, var(--accent) 70%, transparent); box-shadow: var(--shadow); }
.pcard:hover::before { opacity: 1; }
.pcard__media { position: relative; display: block; padding: 0; border: 0; width: 100%; aspect-ratio: 4 / 4.6; background: var(--metal); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .8s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__zoom { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(8px); color: var(--text); opacity: 0; transform: scale(.8); transition: all .3s var(--ease); }
.pcard:hover .pcard__zoom, .pcard__media:focus-visible .pcard__zoom { opacity: 1; transform: none; }
@media (hover: none) { .pcard__zoom { opacity: .9; transform: none; } }
.pcard__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.pcard__tag { align-self: flex-start; font-family: var(--font-h); font-weight: 700; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pcard__name { font-family: var(--font-h); font-weight: 800; font-size: 1.05rem; line-height: 1.25; }
.pcard__spec { font-size: .8rem; color: var(--muted); line-height: 1.4; min-height: 2.2em; }
.pcard__price { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 10px; }
.pcard__price strong { font-family: var(--font-h); font-weight: 800; font-size: 1.2rem; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.pcard__price small { color: var(--muted); font-size: .76rem; }
.pcard__price--req strong { font-size: .98rem; background: none; -webkit-text-fill-color: currentColor; color: var(--text); }
.pcard__actions { display: flex; gap: 8px; margin-top: auto; }
.pcard__add { flex: 1; padding: 0 10px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: var(--surface-2); height: 42px; }
.qty button { width: 34px; height: 100%; border: 0; background: transparent; font-size: 1.1rem; font-weight: 700; color: var(--text); transition: background .2s, color .2s; }
.qty button { flex-shrink: 0; }
@media (hover: hover) { .qty button:hover { background: var(--accent); color: var(--accent-ink); } }
.qty button:active { background: var(--accent); color: var(--accent-ink); }
.qty input { width: 38px; min-width: 0; height: 100%; border: 0; background: transparent; text-align: center; font-weight: 700; outline: none; padding: 0; }
.qty--sm { height: 34px; margin-top: 6px; }
.qty--sm button { width: 30px; } .qty--sm input { width: 34px; }

/* ---------- Prostori ---------- */
.rooms__tabs { display: flex; gap: 8px; overflow-x: auto; justify-content: center; padding-bottom: 6px; margin-bottom: 26px; scrollbar-width: none; }
.rooms__tabs::-webkit-scrollbar { display: none; }
.rooms__tabs button { flex-shrink: 0; display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 22px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); font-family: var(--font-h); font-weight: 700; font-size: .92rem; color: var(--muted); transition: all .3s var(--ease); }
.rooms__tabs button i { color: var(--accent); }
.rooms__tabs button:hover { color: var(--text); border-color: var(--accent); }
.rooms__tabs button.is-active { background: var(--gold-grad); color: #1b1204; border-color: transparent; box-shadow: 0 8px 22px rgba(201, 146, 31, .35); }
.rooms__tabs button.is-active i { color: #1b1204; }
.rooms__stage { position: relative; }
.room { display: none; grid-template-columns: 1.25fr 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.room.is-active { display: grid; animation: roomIn .7s var(--ease); }
@keyframes roomIn { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
.room__img { height: 400px; overflow: hidden; }
.room__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.room:hover .room__img img { transform: scale(1.05); }
.room__txt { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 14px; background: var(--metal), var(--surface); background-blend-mode: normal; }
.room__txt h3 { font-family: var(--font-h); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.room__txt p { color: var(--muted); }
.room__rec { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.room__rec a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--accent); color: var(--text); font-family: var(--font-h); font-weight: 600; font-size: .82rem; text-decoration: none; transition: all .25s var(--ease); }
.room__rec a:hover { background: var(--gold-grad); color: #1b1204; border-color: transparent; transform: translateY(-2px); }

/* ---------- Kalkulator ---------- */
.calcwrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.calcwrap__img { margin-top: 28px; border-radius: 20px; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.calc { padding: clamp(22px, 3.5vw, 36px); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 26px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.calc::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--gold-grad); }
.calc__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field > span { font-family: var(--font-h); font-weight: 600; font-size: .8rem; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-strong); outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.calc__out { margin-bottom: 20px; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line-strong); font-size: .92rem; color: var(--muted); }
.calc__row strong { color: var(--text); font-family: var(--font-h); }
.calc__row small { opacity: .75; }
.calc__row--big { font-size: 1rem; }
.calc__row--big strong { font-size: 1.3rem; }
.calc__row--gold strong { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: 1.6rem; }
.calc__hint { margin-top: 12px; font-size: .8rem; color: var(--muted); }

/* ---------- Galerija ---------- */
.gallery { columns: 4; column-gap: 16px; }
.gitem { position: relative; display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--surface); break-inside: avoid; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.gitem.is-in { opacity: 1; transform: none; }
.gitem img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .5s; }
.gitem:hover img { transform: scale(1.06); filter: brightness(.7); }
.gitem__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; text-align: left; font-family: var(--font-h); font-weight: 600; font-size: .82rem; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); transform: translateY(100%); transition: transform .45s var(--ease); }
.gitem:hover .gitem__cap, .gitem:focus-visible .gitem__cap { transform: none; }
@media (hover: none) { .gitem__cap { transform: none; } }

/* ---------- Zašto ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why__card { position: relative; padding: 30px 24px; border-radius: 22px; background: var(--metal); background-color: var(--surface); border: 1px solid var(--line-strong); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.why__card::before { content: ""; position: absolute; inset: 0; background: var(--brushed); pointer-events: none; }
.why__card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%); transition: transform .6s var(--ease); }
.why__card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.why__card:hover::after { transform: scale(1.5); }
.why__ic { position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 18px; border-radius: 18px; background: var(--gold-grad); color: #1b1204; font-size: 1.5rem; box-shadow: 0 10px 22px rgba(201, 146, 31, .35); }
.why__card h3 { position: relative; z-index: 1; font-family: var(--font-h); font-size: 1.1rem; margin-bottom: 8px; }
.why__card p { position: relative; z-index: 1; font-size: .9rem; color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact__info { display: grid; gap: 12px; }
.cbox { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; color: var(--text); text-decoration: none !important; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
a.cbox:hover { transform: translateX(6px); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.cbox__ic { width: 50px; height: 50px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); font-size: 1.3rem; transition: all .3s var(--ease); }
a.cbox:hover .cbox__ic { background: var(--gold-grad); color: #1b1204; border-color: transparent; }
.cbox small { display: block; font-size: .76rem; color: var(--muted); }
.cbox strong { font-family: var(--font-h); font-size: 1.12rem; }
.map { border-radius: 18px; overflow: hidden; border: 1px solid var(--line-strong); height: 240px; background: var(--surface-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: var(--map-filter, none); }
html[data-theme="dark"] .map iframe { --map-filter: invert(.92) hue-rotate(180deg) saturate(.8) brightness(.95) contrast(.95); }

.form { padding: clamp(22px, 3.5vw, 38px); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 26px; box-shadow: var(--shadow); display: grid; gap: 14px; position: relative; overflow: hidden; }
.form::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--gold-grad); }
.form h3 { font-family: var(--font-h); font-weight: 800; font-size: 1.5rem; }
.form__sub { color: var(--muted); font-size: .92rem; margin-top: -6px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__status { font-size: .9rem; min-height: 1.4em; }
.form__status.is-ok { color: #3fae5f; font-weight: 600; }
.form__status.is-err { color: #e0584c; }
.form__status a { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); }
.footbar { background: var(--gold-grad); color: #1b1204; }
.footbar__in { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 10px 24px; padding: 16px 0; font-family: var(--font-h); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; }
.footbar i { margin-right: 8px; }
.footer__in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; padding: 56px 0 36px; }
.footer__brand p { margin-top: 16px; color: var(--muted); font-size: .9rem; max-width: 34ch; }
.footer h4 { font-family: var(--font-h); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.footer li { margin-bottom: 9px; font-size: .92rem; color: var(--muted); }
.footer li a { color: var(--muted); } .footer li a:hover { color: var(--accent); text-decoration: none; }
.footer__contact i { color: var(--accent); width: 18px; }
.copy { border-top: 1px solid var(--line); }
.copy__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 18px 0; font-size: .82rem; color: var(--muted); }

/* ---------- Korpa (drawer) ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 1900; background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.drawer-backdrop.is-on { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 2000; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--bg); border-left: 1px solid var(--line-strong); box-shadow: -20px 0 60px rgba(0, 0, 0, .45); transform: translateX(105%); transition: transform .45s var(--ease); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); background: var(--metal), var(--surface); }
.drawer__head h2 { font-family: var(--font-h); font-size: 1.15rem; display: flex; align-items: center; gap: 10px; } .drawer__head h2 i { color: var(--accent); }
.drawer__close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); font-size: 1.1rem; }
.drawer__close:hover { border-color: var(--accent); color: var(--accent); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 18px; overscroll-behavior: contain; }
.drawer__empty { text-align: center; padding: 70px 10px; color: var(--muted); display: grid; justify-items: center; gap: 14px; }
.drawer__empty i { font-size: 3rem; color: var(--accent); opacity: .7; }
.drawer__foot { padding: 16px 18px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: 12px; }

.lines { display: grid; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line__img { width: 64px; height: 80px; object-fit: contain; border-radius: 10px; background: var(--metal); border: 1px solid var(--line); }
.line__img--ph { display: block; background: var(--gold-grad-soft); }
.line__info { display: flex; flex-direction: column; min-width: 0; }
.line__name { font-family: var(--font-h); font-weight: 700; font-size: .95rem; line-height: 1.25; }
.line__meta { font-size: .76rem; color: var(--muted); margin-top: 2px; }
.line__price { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.line__price small { opacity: .75; }
.line__price--req { color: var(--accent); font-weight: 600; }
.line__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.line__total { font-family: var(--font-h); font-size: .95rem; white-space: nowrap; }
.line__total--req { color: var(--muted); }
.line__rm { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); }
.line__rm:hover { color: #e0584c; border-color: #e0584c; }
.sum { display: flex; justify-content: space-between; align-items: baseline; font-size: .9rem; color: var(--muted); }
.sum strong { font-family: var(--font-h); font-size: 1.3rem; color: var(--text); }
.sum__hint { font-size: .78rem; color: var(--muted); margin-top: 4px; }

/* ---------- Plutajuće dugme, toast ---------- */
.fab { position: fixed; z-index: 900; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; box-shadow: var(--shadow); transition: transform .3s var(--ease), opacity .3s; }
.fab--call { left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); background: var(--gold-grad); color: #1b1204; display: none; animation: ring 3.5s ease-in-out infinite; }
@keyframes ring { 0%, 88%, 100% { transform: rotate(0); } 90% { transform: rotate(-14deg); } 93% { transform: rotate(12deg); } 96% { transform: rotate(-8deg); } }
.fab--top { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); background: var(--surface); color: var(--accent); border: 1px solid var(--line-strong); opacity: 0; pointer-events: none; transform: translateY(16px); }
.fab--top.is-on { opacity: 1; pointer-events: auto; transform: none; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 2500; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 14px 20px; background: var(--surface); border: 1px solid var(--accent); border-radius: 14px; box-shadow: var(--shadow); font-weight: 600; font-size: .9rem; transform: translate(-50%, calc(100% + 60px)); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .45s var(--ease), opacity .3s, visibility 0s .45s; }
.toast i { color: #3fae5f; font-size: 1.2rem; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .45s var(--ease), opacity .3s, visibility 0s; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; background: rgba(5, 5, 6, .94); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lb.is-on { opacity: 1; visibility: visible; }
.lb__fig { margin: 0; max-width: min(92vw, 1100px); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lb__fig img { max-width: 100%; max-height: 80vh; width: auto; height: auto; border-radius: 12px; opacity: 0; transform: scale(.97); transition: opacity .35s, transform .45s var(--ease); background: #111; }
.lb__fig img.is-in { opacity: 1; transform: none; }
.lb__fig figcaption { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; color: #ddd; font-size: .92rem; text-align: center; }
.lb__cnt { color: #e6b24a; font-weight: 700; }
.lb__btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.6rem; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.lb__btn:hover { background: #e6b24a; color: #1b1204; border-color: transparent; }
.lb__close { top: 16px; right: 16px; font-size: 1.2rem; } .lb__prev { left: 16px; } .lb__next { right: 16px; }
.lb--single .lb__prev, .lb--single .lb__next { display: none; }

/* ---------- Reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* =====================================================================
   UPIT stranica
   ===================================================================== */
.page-head { padding: calc(var(--header-h) + 36px) 0 10px; text-align: center; }
.page-head .h2 { margin-bottom: 8px; }
.upit { padding: 24px 0 90px; }
.upit__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.card { padding: clamp(20px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 24px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.card h3 { font-family: var(--font-h); font-size: 1.25rem; font-weight: 800; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.card h3 i { color: var(--accent); }
.card + .card { margin-top: 20px; }
.upit__sticky { position: sticky; top: calc(var(--header-h) + 14px); }
.consent { font-size: .78rem; color: var(--muted); text-align: center; }
.sumlist .line { grid-template-columns: 56px 1fr auto; }
.sumlist .line__img { width: 56px; height: 70px; }
.success { display: none; text-align: center; padding: clamp(36px, 6vw, 70px) 24px; max-width: 640px; margin: 0 auto; }
.success.is-on { display: block; animation: roomIn .7s var(--ease); }
.success__ic { display: grid; place-items: center; width: 90px; height: 90px; margin: 0 auto 22px; border-radius: 50%; background: var(--gold-grad); color: #1b1204; font-size: 2.6rem; box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 20%, transparent); }
.success h2 { font-family: var(--font-h); font-weight: 800; font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 12px; }
.success p { color: var(--muted); margin-bottom: 22px; }
.success .notice { text-align: left; margin-bottom: 24px; }
.success__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.empty-cart { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-cart i { font-size: 3.4rem; color: var(--accent); opacity: .7; margin-bottom: 16px; }
.empty-cart h2 { font-family: var(--font-h); color: var(--text); margin-bottom: 8px; }
.fb { display: grid; gap: 14px; }
.fb .notice { margin-bottom: 4px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1180px) {
    .nav__links a { padding: 10px 9px; font-size: .8rem; }
    .shop__grid { grid-template-columns: repeat(3, 1fr); }
    .gallery { columns: 3; }
}
@media (max-width: 980px) {
    :root { --header-h: 104px; }
    .nav__links { display: none; }
    .burger { display: inline-block; }
    .nav__tools .themesw { display: none; }
    .hero__in { grid-template-columns: 1fr; }
    .hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
    .hero__float--a { right: 0; } .hero__float--b { right: 0; }
    .hero__scroll { display: none; }
    .usp__list { grid-template-columns: repeat(2, 1fr); }
    .usp__list li:nth-child(odd)::before { display: none; }
    .usp__list li:last-child { grid-column: 1 / -1; }
    .usp__list li { border-bottom: 1px solid var(--line); }
    .montaza__grid, .calcwrap, .contact, .upit__grid { grid-template-columns: 1fr; }
    .montaza__media { max-width: 520px; margin: 0 auto 30px; width: 100%; }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
    .steps::before { display: none; }
    .shop__grid { grid-template-columns: repeat(2, 1fr); }
    .room, .room.is-active { grid-template-columns: 1fr; }
    .room__img { height: 280px; }
    .why { grid-template-columns: repeat(2, 1fr); }
    .gallery { columns: 2; }
    .footer__in { grid-template-columns: 1fr 1fr; }
    .fab--call { display: grid; }
    .upit__sticky { position: static; }
}
@media (max-width: 640px) {
    :root { --header-h: 100px; }
    body { font-size: 15.5px; }
    .container { width: min(1200px, 100% - 28px); }
    .hide-sm { display: none; }
    .show-sm-only { display: inline; }
    .topbar { font-size: .74rem; }
    .topbar__in { min-height: 34px; }
    .nav__in { height: 66px; }
    .brand__icon { height: 38px; }
    .brand__name { font-size: 1.2rem; }
    .brand__sub { font-size: .55rem; letter-spacing: .36em; margin-top: 5px; }
    .cart-btn { padding: 0 12px; } .cart-btn__lbl { display: none; }
    .cart-btn { width: 44px; justify-content: center; padding: 0; }
    .cart-btn__badge { position: absolute; top: -6px; right: -6px; }
    .hero__title { font-size: clamp(2.2rem, 11vw, 3rem); }
    .hero__cta .btn { flex: 1 1 100%; }
    .hero__float { display: none; }
    .hero__tagline { left: -3%; width: 56%; }
    .usp__list { grid-template-columns: 1fr 1fr; border-radius: 18px; }
    .usp__list li { padding: 20px 10px; }
    .usp__list i { width: 46px; height: 46px; font-size: 1.15rem; }
    .mfeat { grid-template-columns: 1fr; }
    .montaza__cta .btn { flex: 1 1 100%; }
    .steps { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
    .steps__n { width: 50px; height: 50px; }
    .shop__grid { gap: 12px; grid-template-columns: repeat(2, 1fr); }
    .pcard__body { padding: 10px 11px 12px; }
    .pcard__name { font-size: .92rem; }
    .pcard__spec { font-size: .72rem; }
    .pcard__price strong { font-size: 1.02rem; }
    .pcard__actions { flex-direction: column; }
    .pcard__actions .qty { width: 100%; } .pcard__actions .qty input { flex: 1 1 0; width: 0; min-width: 0; }
    .pcard__actions .qty button { width: 44px; }
    .pcard__add { width: 100%; flex: none; }
    .room__txt { padding: 22px; }
    .calc__fields { grid-template-columns: 1fr 1fr; }
    .why { grid-template-columns: 1fr; }
    .gallery { columns: 2; column-gap: 10px; } .gitem { margin-bottom: 10px; border-radius: 14px; }
    .form__row { grid-template-columns: 1fr; }
    .footer__in { grid-template-columns: 1fr 1fr; gap: 26px 16px; padding: 40px 0 28px; }
    .footer__brand { grid-column: 1 / -1; }
    .footbar__in { font-size: .74rem; justify-content: center; }
    .lb__btn { width: 42px; height: 42px; } .lb__prev { left: 8px; } .lb__next { right: 8px; }
    .line { grid-template-columns: 56px 1fr auto; gap: 10px; }
    .line__img { width: 56px; height: 70px; }
}
@media (max-width: 380px) {
    .shop__grid { grid-template-columns: 1fr; }
    .pcard__media { aspect-ratio: 4 / 3.4; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    html.js .reveal, .pcard, .gitem { opacity: 1; transform: none; }
}
@media print {
    .header, .drawer, .drawer-backdrop, .fab, .toast, .mmenu { display: none !important; }
}

@media (max-width: 640px) {
    .shop__chips { gap: 8px; justify-content: flex-start; }
    .chip { height: 38px; padding: 0 12px; gap: 6px; font-size: .78rem; }
    .chip em { padding: 1px 6px; font-size: .68rem; }
}

/* ---------- Društvene mreže ---------- */
.topbar__social { display: flex; gap: 6px; flex-shrink: 0; }
.topbar__social a { width: 26px; height: 26px; justify-content: center; border-radius: 50%; background: rgba(27, 18, 4, .14); font-size: .95rem; transition: background .25s, transform .25s var(--ease); }
.topbar__social a:hover { background: #1b1204; color: #f1c75a; transform: translateY(-2px); }
.topbar__in { gap: 14px; }
.topbar__phones { margin-left: auto; }
.social { display: flex; gap: 10px; }
.social a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--text); text-decoration: none !important; border: 1px solid var(--line-strong); background: var(--surface); transition: all .3s var(--ease); }
.social a:hover { border-color: transparent; background: var(--gold-grad); color: #1b1204; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(201, 146, 31, .35); }
.social--round { margin-top: 18px; }
.social--round a { width: 46px; height: 46px; border-radius: 50%; font-size: 1.25rem; color: var(--accent); }
.social--wide { display: grid; grid-template-columns: 1fr 1fr; }
.social--wide a { height: 48px; border-radius: 14px; font-family: var(--font-h); font-weight: 600; font-size: .9rem; }
.social--wide a i { color: var(--accent); }
.social--wide a:hover i { color: #1b1204; }
@media (max-width: 640px) {
    .topbar__phones { margin-left: auto; gap: 10px; }
}
/* ---------- Mobilni: tabovi prostora u 2x2 mrežu (bez horizontalnog skrola) ---------- */
@media (max-width: 640px) {
    .rooms__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; overflow: visible; padding-bottom: 0; }
    .rooms__tabs button { width: 100%; justify-content: center; height: 46px; padding: 0 10px; font-size: .86rem; gap: 7px; }
}
/* ---------- Izbor: dostava / preuzimanje / montaža ---------- */
.choice { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice legend { grid-column: 1 / -1; padding: 0; margin-bottom: 8px; font-family: var(--font-h); font-weight: 600; font-size: .8rem; color: var(--muted); }
.choice__opt { position: relative; display: block; cursor: pointer; }
.choice__opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.choice__opt span { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 10px 14px; text-align: center; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-strong); font-family: var(--font-h); font-weight: 600; font-size: .86rem; color: var(--muted); transition: all .25s var(--ease); }
.choice__opt span i { color: var(--accent); }
.choice__opt:hover span { border-color: var(--accent); color: var(--text); }
.choice__opt input:focus-visible + span { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); border-color: var(--accent); }
.choice__opt input:checked + span { background: var(--gold-grad); color: #1b1204; border-color: transparent; box-shadow: 0 8px 20px rgba(201, 146, 31, .3); }
.choice__opt input:checked + span i { color: #1b1204; }
.field[hidden] { display: none; }
@media (max-width: 480px) {
    .choice { grid-template-columns: 1fr; }
}