/* ============ NIXUS d.o.o. — Static site styles ============ */

/* --- WhatsApp FAB --- */
#nx-wa-fab { position:fixed; right:20px; bottom:20px; width:56px; height:56px; border-radius:50%; background:#25D366; color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:0 6px 20px rgba(37,211,102,.45); z-index:70; transition:transform .15s ease; }
#nx-wa-fab:hover { transform:scale(1.08); }
#nx-cart-fab { bottom:88px !important; }
@media (max-width:640px){ #nx-wa-fab { width:52px; height:52px; right:16px; bottom:16px; } #nx-cart-fab { bottom:80px !important; } }

/* --- Blog filter chips + tags --- */
.nx-blog-filter { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:24px; justify-content:center; }
.nx-chip { padding:8px 16px; border-radius:999px; border:1px solid var(--border); background:transparent; color:var(--foreground); font-size:.85rem; font-weight:600; cursor:pointer; transition:all .15s ease; }
.nx-chip:hover { border-color:var(--brand); color:var(--brand); }
.nx-chip.active { background:var(--brand); color:#fff; border-color:var(--brand); }
.nx-blog-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; }
.nx-blog-mini-tag { font-size:.7rem; padding:3px 8px; background:rgba(0,0,0,.05); color:var(--muted-foreground); border-radius:6px; }

/* --- Google Reviews --- */
.nx-google-summary { display:flex; flex-wrap:wrap; gap:10px; align-items:center; padding:14px 18px; margin-top:16px; background:var(--card); border:1px solid var(--border); border-radius:12px; }
.nx-google-summary strong { font-size:1.4rem; color:var(--brand); }
.nx-google-stars { color:#fbbc05; letter-spacing:2px; }
.nx-google-badge { display:inline-flex; align-items:center; gap:6px; font-size:.7rem; font-weight:700; color:var(--muted-foreground); margin-bottom:8px; }

/* --- Booking form small tweaks --- */
#nx-booking-form .nx-input:invalid:not(:placeholder-shown) { border-color:#c92626; }

:root {
  --radius: 0.75rem;

  --background: #ffffff;
  --foreground: #1a1a1a;
  --card: #ffffff;
  --muted: #f5f5f5;
  --muted-foreground: #6b6b6b;
  --secondary: #f7f7f7;
  --border: #e5e5e5;
  --dialog-backdrop: #00000080;

  --brand: #e53232;
  --brand-hover: #c52828;
  --brand-foreground: #ffffff;
  --brand-soft: #fdecec;

  --footer-bg: #1a1a1a;
  --footer-text: #b3b3b3;
  --footer-muted: #707070;
  --footer-border: #333333;

  --font-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* ============ Layout ============ */
.nx-container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .nx-container { padding: 0 40px; } }

.nx-section-label {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}


/* Mobile safe spacing for narrow and edge screens */
@media (max-width: 767px) {
  html, body { overflow-x: hidden; }
  .nx-container {
    width: 100%;
    max-width: 100%;
    padding-left: calc(22px + env(safe-area-inset-left));
    padding-right: calc(22px + env(safe-area-inset-right));
  }
  .nx-page-section { padding-bottom: 72px !important; }
  .nx-card,
  .nx-faq-item,
  .nx-blog-card,
  .nx-team-card,
  .nx-review-card {
    border-radius: 14px;
  }
  .nx-grid-2, .nx-grid-3, .nx-grid-4 { gap: 16px; }
}

@media (max-width: 380px) {
  .nx-container {
    padding-left: calc(24px + env(safe-area-inset-left));
    padding-right: calc(24px + env(safe-area-inset-right));
  }
  .nx-card { padding: 20px; }
  .nx-page-header h1 { font-size: 1.58rem; }
}

/* ============ Buttons ============ */
.nx-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 10px;
  font-size: 0.9rem; font-weight: 600;
  border: none; text-decoration: none;
  transition: transform .15s, background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.nx-btn-brand {
  background: var(--brand); color: var(--brand-foreground);
  box-shadow: 0 6px 20px -8px rgba(229, 50, 50, 0.5);
}
.nx-btn-brand:hover { background: var(--brand-hover); transform: translateY(-1px); }
.nx-btn-outline {
  background: transparent; color: var(--foreground);
  border: 1.5px solid var(--foreground);
}
.nx-btn-outline:hover { background: var(--foreground); color: var(--background); }

.nx-back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted-foreground);
  font-size: 0.9rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: color .2s, background .2s;
  margin-bottom: 32px;
}
.nx-back-btn:hover { color: var(--brand); background: var(--brand-soft); }

/* ============ Cards ============ */
.nx-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: box-shadow .2s, transform .2s;
  display: block;
}
.nx-card:hover { box-shadow: 0 12px 36px -12px rgba(0, 0, 0, 0.12); transform: translateY(-2px); }

/* ============ Header ============ */
.nx-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
}
.nx-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 92px; padding: 8px 0; gap: 12px;
}
.nx-logo { flex: 0 0 auto; }
.nx-logo img { height: 66px; width: auto; }

.nx-nav { display: none; align-items: center; gap: 28px; margin: 0 28px; }
.nx-nav a {
  font-size: 0.875rem; color: var(--muted-foreground);
  transition: color .2s;
  font-weight: 600;
}
.nx-nav a:hover, .nx-nav a.active { color: var(--brand); }

.nx-header-cta { display: none; align-items: center; gap: 12px; flex: 0 0 auto; }

.nx-hamburger {
  background: none; border: none; padding: 8px; border-radius: 6px;
  color: var(--foreground);
  display: flex; transition: background .2s;
}
.nx-hamburger:hover { background: var(--muted); }
.nx-hamburger svg { width: 24px; height: 24px; }

@media (min-width: 1024px) {
  .nx-nav { display: flex; }
  .nx-header-cta { display: flex; }
  .nx-hamburger { display: none; }
}

/* Kompaktnije zaglavlje na užim desktop ekranima da se ne zgužva */
@media (min-width: 1024px) and (max-width: 1365px) {
  .nx-nav { gap: 16px; margin: 0 18px; }
  .nx-nav a { font-size: 0.8125rem; white-space: nowrap; }
  .nx-header-cta { gap: 8px; }
  .nx-header-cta .nx-btn {
    padding: 8px 12px; font-size: 0.8125rem; white-space: nowrap;
  }
  .nx-logo img { height: 60px; }
  .nx-header-inner { min-height: 80px; gap: 14px; }
}
@media (min-width: 1024px) {
  .nx-nav a, .nx-header-cta .nx-btn { white-space: nowrap; }
  .nx-header-cta .nx-btn { flex: 0 0 auto; }
}

@media (max-width: 640px) {
  .nx-header-inner { min-height: 76px; }
  .nx-logo img { height: 52px; }
}

@media (max-width: 480px) {
  .nx-container {
    padding-left: calc(20px + env(safe-area-inset-left));
    padding-right: calc(20px + env(safe-area-inset-right));
  }
  .nx-header-inner { min-height: 70px; }
  .nx-logo img { height: 46px; max-width: 210px; object-fit: contain; }
  .nx-hamburger { margin-right: -6px; }
  .nx-mobile-menu nav { padding: 12px 18px 18px; }
}

.nx-mobile-menu {
  display: none;
  background: var(--background);
  border-top: 1px solid var(--border);
}
.nx-mobile-menu.open { display: block; }
.nx-mobile-menu nav { display: flex; flex-direction: column; padding: 16px 0; }
.nx-mobile-menu a {
  display: block; padding: 12px 8px;
  font-size: 1rem; border-bottom: 1px solid var(--border);
}
.nx-mobile-menu a.active { color: var(--brand); font-weight: 600; }
.nx-mobile-menu a:last-of-type { border-bottom: none; }
.nx-mobile-cta { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; margin-top: 8px; }
.nx-mobile-cta .nx-btn { width: 100%; justify-content: center; }
@media (min-width: 1024px) { .nx-mobile-menu { display: none !important; } }

/* ============ Hero ============ */
.nx-hero { padding: 112px 0 70px; }
@media (min-width: 768px) { .nx-hero { padding: 132px 0 96px; } }

.nx-hero-grid { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: center; }
@media (min-width: 768px) { .nx-hero-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }

.nx-eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
}
.nx-hero h1 {
  margin-top: 20px;
  font-size: 2.25rem; font-weight: 800; line-height: 1.05;
}
@media (min-width: 768px) { .nx-hero h1 { font-size: 3.75rem; } }
.nx-hero h1 .nx-accent { color: var(--brand); }
.nx-hero p { margin-top: 24px; font-size: 1.125rem; color: var(--muted-foreground); max-width: 28rem; }
.nx-hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.nx-hero-img { display: none; }
@media (max-width: 480px) {
  .nx-hero { padding: 92px 0 46px; }
  .nx-hero-grid { gap: 8px; }
  .nx-hero h1 { font-size: 2rem; line-height: 1.08; }
  .nx-hero p { margin-top: 18px; font-size: 1rem; }
  .nx-hero-actions { margin-top: 24px; flex-direction: column; }
  .nx-hero-actions .nx-btn { width: 100%; justify-content: center; }
  .nx-section { padding: 56px 0; }
  .nx-section-secondary { padding: 56px 0; }
}
@media (min-width: 768px) {
  .nx-hero-img { display: block; margin-left: -32px; margin-top: -34px; }
  .nx-hero-img img { width: 100%; aspect-ratio: 1/1; object-fit: contain; transform: scale(1.18); transform-origin: left top; }
}

/* ============ Sections ============ */
.nx-section { padding: 80px 0; }
.nx-section-secondary { padding: 80px 0; background: var(--secondary); }

.nx-section-head { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.nx-section-head h2 { font-size: 1.875rem; font-weight: 800; margin-bottom: 16px; }
@media (min-width: 768px) { .nx-section-head h2 { font-size: 2.25rem; } }
.nx-section-head p { color: var(--muted-foreground); }

/* ============ Grid utilities ============ */
.nx-grid-2 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.nx-grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.nx-grid-4 { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .nx-grid-2, .nx-grid-3, .nx-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .nx-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .nx-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* About */
.nx-about-grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
@media (min-width: 768px) { .nx-about-grid { grid-template-columns: 1fr 1fr; } }
.nx-about-grid h2 { font-size: 1.875rem; font-weight: 800; margin-bottom: 20px; }
@media (min-width: 768px) { .nx-about-grid h2 { font-size: 2.25rem; } }
.nx-about-grid p { color: var(--muted-foreground); margin-bottom: 16px; }
.nx-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.nx-stat-card {
  background: var(--card); border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  border-radius: 16px; padding: 24px;
}
.nx-stat-card strong { display: block; font-size: 1.875rem; font-weight: 800; margin-bottom: 4px; }
.nx-stat-card span { font-size: 0.875rem; color: var(--muted-foreground); }

/* Service card */
.nx-service-card { position: relative; }
.nx-service-card .nx-service-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand);
  margin-bottom: 16px;
}
.nx-service-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.nx-service-card p { font-size: 0.875rem; color: var(--muted-foreground); }
.nx-service-note {
  position: absolute; top: 16px; right: 16px;
  font-size: 10px; font-weight: 700;
  padding: 4px 8px; border-radius: 6px;
  background: var(--brand-soft); color: var(--brand);
}

/* Pricing */
.nx-price-card { max-width: 720px; margin: 0 auto; padding: 0 !important; overflow: hidden; }
.nx-price-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.nx-price-row:last-child { border-bottom: none; }
.nx-price-row p { font-weight: 600; }
.nx-price-row .nx-price-unit { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 2px; font-weight: normal; }
.nx-price-row .nx-price-amt { font-size: 1.125rem; font-weight: 800; color: var(--brand); white-space: nowrap; }
@media (max-width: 480px) {
  .nx-price-row { padding: 16px 18px; gap: 12px; align-items: flex-start; }
  .nx-price-row .nx-price-amt { font-size: 1rem; }
}

/* Team avatar */
.nx-team-avatar {
  width: 80px; height: 80px;
  background: var(--brand-soft); border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.nx-team-avatar.lg { width: 96px; height: 96px; }
.nx-team-card { text-align: center; padding: 40px 24px; }
.nx-team-card.lg { padding: 48px 24px; }
.nx-team-card h3 { font-size: 1rem; font-weight: 700; }
.nx-team-card.lg h3 { font-size: 1.125rem; }
.nx-team-card .nx-role { font-size: 0.875rem; font-weight: 600; color: var(--brand); margin-top: 4px; margin-bottom: 16px; }
.nx-team-card .nx-bio { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }

/* Page header */
.nx-page-header { padding: 112px 0 40px; }
@media (min-width: 768px) { .nx-page-header { padding: 128px 0 56px; } }
.nx-page-header h1 { font-size: 1.875rem; font-weight: 800; line-height: 1.2; }
@media (min-width: 768px) { .nx-page-header h1 { font-size: 2.25rem; } }
.nx-page-header p { margin-top: 16px; color: var(--muted-foreground); max-width: 42rem; }
@media (max-width: 480px) {
  .nx-page-header { padding: 92px 0 30px; }
  .nx-page-header h1 { font-size: 1.72rem; }
  .nx-page-header p { font-size: 0.98rem; }
  .nx-back-btn { margin-bottom: 22px; }
}

/* Reviews */
.nx-review-card { display: flex; flex-direction: column; min-height: 286px; height: 100%; }
.nx-review-card .quote-icon { color: var(--brand); opacity: 0.4; margin-bottom: 12px; }
.nx-review-card p {
  font-size: 15px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.nx-review-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.nx-review-meta strong { display: block; font-size: 0.875rem; }
.nx-review-meta span { font-size: 0.75rem; color: var(--muted-foreground); }
.nx-stars { display: flex; gap: 2px; color: var(--brand); }

.nx-work-gallery { padding: 0 0 96px; }
.nx-work-gallery .nx-section-head { margin-bottom: 32px; }
.nx-work-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.nx-work-shot {
  position: relative; overflow: hidden; border-radius: 16px;
  min-height: 260px; background: var(--muted); border: 1px solid var(--border);
}
.nx-work-shot img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; transition: transform .35s ease; }
.nx-work-shot:hover img { transform: scale(1.04); }
.nx-work-shot figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  color: #fff; font-weight: 700; text-shadow: 0 1px 12px rgba(0,0,0,.75);
}
@media (min-width: 768px) {
  .nx-work-grid { grid-template-columns: 1.15fr .85fr; }
  .nx-work-shot:first-child { grid-row: span 2; min-height: 536px; }
  .nx-work-shot:first-child img { min-height: 536px; }
}

/* FAQ */
.nx-faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transition: box-shadow .2s;
  margin-bottom: 12px;
}
.nx-faq-item.open { box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.12); }
.nx-faq-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; text-align: left;
  background: none; border: none;
  font-size: 1rem; font-weight: 600;
  transition: background .2s;
}
.nx-faq-trigger:hover { background: rgba(0, 0, 0, 0.02); }
.nx-faq-chevron { color: var(--brand); transition: transform .2s; }
.nx-faq-item.open .nx-faq-chevron { transform: rotate(180deg); }
.nx-faq-content {
  display: none;
  padding: 0 20px 20px;
  font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6;
}
.nx-faq-item.open .nx-faq-content { display: block; }

/* Blog */
.nx-blog-tag {
  align-self: flex-start;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 6px;
  margin-bottom: 12px;
}
.nx-blog-card { display: flex; flex-direction: column; }
.nx-blog-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.nx-blog-card p { font-size: 0.875rem; color: var(--muted-foreground); flex: 1; }
.nx-blog-card .nx-read { margin-top: 16px; display: inline-flex; align-items: center; gap: 4px; font-size: 0.875rem; font-weight: 600; color: var(--brand); }

/* CTA grid card */
.nx-cta-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.nx-cta-card p { font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 16px; }
.nx-cta-card .nx-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 600; color: var(--brand); }

/* Forms */
.nx-input {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 0.92rem; font-family: inherit;
  background: var(--background);
  transition: border-color .2s, box-shadow .2s;
}
.nx-input:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(229, 50, 50, 0.18);
}
textarea.nx-input { min-height: 96px; resize: vertical; }
.nx-field { margin-bottom: 16px; }
.nx-field label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 8px; }
.nx-field .req { color: var(--brand); }

.nx-checkbox-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.875rem; line-height: 1.6;
  margin: 16px 0;
}
.nx-checkbox-row input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--brand); cursor: pointer; flex-shrink: 0; }
.nx-checkbox-row a { color: var(--brand); font-weight: 600; text-decoration: underline; }

.nx-purpose-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
@media (min-width: 640px) { .nx-purpose-grid { grid-template-columns: repeat(3, 1fr); } }
.nx-purpose-btn {
  border: 2px solid var(--border); background: var(--background);
  border-radius: 12px; padding: 12px; font-size: 0.875rem; font-weight: 600;
  text-align: center; transition: all .2s;
}
.nx-purpose-btn:hover { border-color: var(--brand); }
.nx-purpose-btn.active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.nx-purpose-btn span { display: block; font-size: 1.125rem; margin-bottom: 4px; }

@media (max-width: 480px) {
  .nx-input { font-size: 16px; padding: 13px 14px; }
  textarea.nx-input { min-height: 120px; }
  .nx-purpose-grid { grid-template-columns: 1fr; }
  .nx-purpose-btn { display: flex; align-items: center; justify-content: center; gap: 8px; }
  .nx-purpose-btn span { display: inline; margin: 0; }
}

/* Contact info cards */
.nx-info-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; border: 1px solid var(--border);
  border-radius: 16px; background: var(--card);
}
.nx-info-card .nx-info-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand);
  flex-shrink: 0;
}
.nx-info-card .nx-info-label { font-size: 0.75rem; color: var(--muted-foreground); }
.nx-info-card strong { font-size: 0.875rem; display: block; }
.nx-contact-link { display: block; color: inherit; }
.nx-contact-link + .nx-contact-link { margin-top: 2px; }

@media (max-width: 480px) {
  .nx-info-card { align-items: flex-start; padding: 16px; gap: 12px; }
  .nx-info-card .nx-info-icon { width: 38px; height: 38px; border-radius: 10px; }
  .nx-info-card strong { font-size: 0.9rem; line-height: 1.45; word-break: break-word; }
}

.nx-contact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .nx-contact-grid { grid-template-columns: 1fr 1fr; } }
.nx-map { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3; background: var(--muted); }
.nx-map iframe { width: 100%; height: 100%; border: 0; }

.nx-form-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
@media (min-width: 768px) { .nx-form-card { padding: 32px; } }
.nx-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.nx-tab-btn {
  padding: 12px 16px; font-size: 0.875rem; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  background: none; border: none; margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  color: var(--muted-foreground);
  transition: all .2s;
}
.nx-tab-btn.active { border-color: var(--brand); color: var(--brand); }

.nx-form-intro { font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 16px; }
.nx-form-card .nx-btn { width: 100%; justify-content: center; padding: 14px; }
.nx-btn:disabled { opacity: 0.72; cursor: wait; transform: none; }
.nx-form-error { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-size: 0.875rem; font-weight: 600; }

@media (max-width: 480px) {
  .nx-contact-grid { gap: 22px; }
  .nx-map { aspect-ratio: 1 / 1; border-radius: 12px; }
  .nx-form-card { padding: 18px; border-radius: 14px; }
  .nx-tabs { flex-direction: column; border-bottom: 0; gap: 8px; margin-bottom: 18px; }
  .nx-tab-btn { justify-content: center; border: 1px solid var(--border); border-radius: 10px; margin: 0; }
  .nx-tab-btn.active { border-color: var(--brand); background: var(--brand-soft); }
}

/* Slozi PC card */
.nx-slozi-card { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 24px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
@media (min-width: 768px) { .nx-slozi-card { padding: 40px; } }
@media (max-width: 480px) { .nx-slozi-card { padding: 18px; border-radius: 14px; } }

/* Legal */
.nx-legal { color: var(--foreground); font-size: 1rem; line-height: 1.75; max-width: 720px; }
.nx-legal h2 { font-size: 1.25rem; font-weight: 800; margin-top: 36px; margin-bottom: 12px; }
.nx-legal p { margin-bottom: 14px; color: var(--muted-foreground); }
.nx-legal ul { margin: 8px 0 18px 22px; color: var(--muted-foreground); }
.nx-legal li { margin-bottom: 8px; }
.nx-legal a { color: var(--brand); text-decoration: underline; }
.nx-legal a:hover { color: var(--brand-hover); }
.nx-legal strong { color: var(--foreground); }
.nx-legal code { background: var(--muted); padding: 2px 6px; border-radius: 4px; font-size: 0.85em; }

.nx-info-box {
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 16px 0 24px;
  font-size: 0.95rem;
}
.nx-info-box p { margin: 0; color: var(--foreground); }

/* Blog post */
.nx-post-article { padding: 112px 0 96px; max-width: 760px; margin: 0 auto; }
@media (min-width: 768px) { .nx-post-article { padding: 128px 0 96px; } }
.nx-post-article h1 { font-size: 1.875rem; font-weight: 800; line-height: 1.2; margin-bottom: 32px; }
@media (min-width: 768px) { .nx-post-article h1 { font-size: 2.25rem; } }
.nx-post-body p { font-size: 15px; line-height: 1.7; color: var(--muted-foreground); margin-bottom: 20px; }


/* Admin CMS */
.nx-admin-layout { padding-bottom: 96px; }
.nx-admin-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media (min-width: 980px) { .nx-admin-grid { grid-template-columns: 360px 1fr; } }
.nx-admin-panel { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.nx-auth-panel { max-width: 560px; margin: 0 auto; }
.nx-auth-form { margin-top: 18px; }
.nx-admin-panel h2 { font-size: 1.2rem; margin-bottom: 16px; }
.nx-admin-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 22px; }
.nx-admin-list { display: grid; gap: 12px; }
.nx-admin-item { border: 1px solid var(--border); border-radius: 12px; padding: 14px; background: var(--background); }
.nx-admin-item h3 { font-size: 1rem; margin-bottom: 6px; }
.nx-admin-item p { font-size: .875rem; color: var(--muted-foreground); }
.nx-admin-item .nx-admin-actions { margin: 12px 0 0; }
.nx-content-toolbar, .nx-content-create-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nx-content-create-form { margin-bottom: 18px; }
.nx-field-full { grid-column: 1 / -1; }
.nx-admin-content-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.nx-content-item { padding: 16px; }
.nx-content-item-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.nx-content-meta, .nx-content-key { font-size: .73rem !important; color: var(--muted-foreground) !important; }
.nx-content-key { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.nx-content-hint { min-height: 34px; margin-bottom: 10px; }
.nx-content-actions { margin-bottom: 0 !important; }
.nx-muted-note { color: var(--muted-foreground); font-size: .9rem; line-height: 1.55; }
.nx-status { margin: 12px 0; font-size: .9rem; font-weight: 600; color: var(--brand); }
.nx-admin-hidden { display: none !important; }
.nx-post-meta { color: var(--muted-foreground); font-size: .9rem; margin: -18px 0 26px; }
.nx-page-header,
.nx-page-content { max-width: 960px; margin: 0 auto; }
@media (max-width: 767px) {
  .nx-admin-layout { padding-bottom: 72px; }
  .nx-admin-panel { padding: 18px; border-radius: 14px; }
  .nx-admin-actions .nx-btn { flex: 1 1 auto; justify-content: center; }
  .nx-content-toolbar, .nx-content-create-form { grid-template-columns: 1fr; }
  .nx-page-header,
  .nx-page-content,
  #nx-faq-dynamic.nx-page-content { width: min(100%, 38rem); }
  .nx-page-header h1 { max-width: 16ch; }
  .nx-page-header > p:not(.nx-section-label) { max-width: 31rem; }
  .nx-page-content p, .nx-page-content li, .nx-page-content strong, .nx-page-content label { max-width: 31rem; }
}

/* Holiday popup */
.nx-holiday-overlay {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center;
  padding: calc(18px + env(safe-area-inset-top)) calc(18px + env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) calc(18px + env(safe-area-inset-left));
  background: rgba(26, 26, 26, .58);
}
.nx-holiday-modal {
  position: relative; width: min(100%, 480px);
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 28px; box-shadow: 0 24px 70px -28px rgba(0, 0, 0, .38);
}
.nx-holiday-close { position: absolute; top: 12px; right: 14px; border: 0; background: var(--muted); width: 34px; height: 34px; border-radius: 50%; font-size: 1.4rem; line-height: 1; color: var(--foreground); }
.nx-holiday-label { display: inline-flex; margin-bottom: 12px; color: var(--brand); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.nx-holiday-modal h2 { font-size: 1.55rem; font-weight: 800; margin-bottom: 12px; padding-right: 34px; }
.nx-holiday-modal p { color: var(--muted-foreground); margin-bottom: 18px; }
.nx-holiday-dates { background: var(--brand-soft); color: var(--brand); border-radius: 10px; padding: 12px 14px; font-weight: 800; margin-bottom: 20px; }
.nx-holiday-ok { width: 100%; justify-content: center; }
@media (max-width: 480px) { .nx-holiday-modal { padding: 24px 20px; border-radius: 14px; } }

/* ============ Footer ============ */
.nx-footer { margin-top: 80px; background: var(--footer-bg); color: #fafafa; }
.nx-footer-inner { padding: 56px 0; }
.nx-footer-grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .nx-footer-grid { grid-template-columns: repeat(3, 1fr); } }

.nx-footer .nx-logo img { filter: brightness(0) invert(1); }
.nx-footer-desc { margin-top: 16px; font-size: 0.875rem; color: var(--footer-text); }
.nx-footer-meta { margin-top: 20px; list-style: none; }
.nx-footer-meta li { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--footer-text); margin-bottom: 8px; }
.nx-footer-meta svg { flex: 0 0 14px; }

.nx-footer h4 {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--footer-muted); margin-bottom: 20px;
}
.nx-footer ul { list-style: none; }
.nx-footer-nav li { margin-bottom: 8px; }
.nx-footer-nav a { font-size: 0.875rem; color: var(--footer-text); transition: color .2s; }
.nx-footer-nav a:hover { color: #fff; }

.nx-hours li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.875rem; color: var(--footer-text); margin-bottom: 8px; }
.nx-hours li strong { color: #fff; text-align: right; }
.nx-hours .nx-pause { font-size: 0.75rem; font-style: italic; color: var(--footer-muted); justify-content: flex-start; }

.nx-footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--footer-border);
  display: flex; flex-direction: column; gap: 16px;
  font-size: 0.75rem; color: var(--footer-muted);
}
.nx-legal-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.nx-legal-nav a, .nx-legal-nav button {
  color: var(--footer-text); background: none; border: none;
  padding: 0; font-size: 0.75rem; transition: color .2s;
  text-align: left;
}
.nx-legal-nav a:hover, .nx-legal-nav button:hover { color: #fff; }
.nx-footer-credits { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 768px) { .nx-footer-credits { flex-direction: row; justify-content: space-between; } }

@media (max-width: 767px) {
  .nx-footer { margin-top: 48px; }
  .nx-footer .nx-container { padding-left: 40px; padding-right: 40px; }
  .nx-footer-inner { padding: 44px 0; }
  .nx-footer-grid { gap: 32px; }
  .nx-footer-desc,
  .nx-footer-meta li,
  .nx-footer-nav a,
  .nx-hours li { font-size: 0.95rem; line-height: 1.65; }
  .nx-footer h4 { margin-bottom: 14px; }
  .nx-hours li { align-items: flex-start; justify-content: flex-start; gap: 24px; }
  .nx-hours li strong { min-width: 112px; text-align: left; }
  .nx-footer-bottom { margin-top: 36px; gap: 20px; line-height: 1.6; }
  .nx-legal-nav { gap: 12px 18px; }
  .nx-footer-credits { gap: 10px; }
}

/* Success state */
.nx-success { text-align: center; padding: 40px 0; }
.nx-success-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.nx-success h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.nx-success.lg h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.nx-success p { font-size: 0.875rem; color: var(--muted-foreground); }

/* ============ Košarica (FAB + redovi) ============ */
#nx-cart-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 9998;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand); color: var(--brand-foreground);
  border: none; box-shadow: 0 8px 24px rgba(0,0,0,.18);
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s ease, background .15s ease;
}
#nx-cart-fab:hover { background: var(--brand-hover); transform: translateY(-2px); }
#nx-cart-fab .nx-cart-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 22px; height: 22px; padding: 0 6px;
  background: #1a1a1a; color: #fff; border-radius: 11px;
  font-size: .75rem; font-weight: 700;
  display: none; align-items: center; justify-content: center;
}
.nx-cart-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--card);
}
.nx-cart-row .nx-cart-del {
  padding: 4px 10px; line-height: 1;
}

/* ===== Status otvoreno/zatvoreno ===== */
.nx-open-status{
  display:inline-flex; align-items:center; gap:7px; white-space:nowrap;
  font-size:.75rem; font-weight:700; letter-spacing:.01em;
  padding:6px 12px; border-radius:999px; border:1px solid var(--border);
  background:var(--secondary); color:var(--foreground);
}
.nx-open-status i{ width:8px; height:8px; border-radius:50%; background:currentColor; flex:0 0 auto; }
.nx-open-status.is-open{ color:#16a34a; border-color:rgba(22,163,74,.32); background:rgba(22,163,74,.10); }
.nx-open-status.is-open i{ box-shadow:0 0 0 0 rgba(22,163,74,.55); animation:nxPulse 2.2s infinite; }
.nx-open-status.is-closed{ color:#b91c1c; border-color:rgba(185,28,28,.28); background:rgba(185,28,28,.08); }
@keyframes nxPulse{ 70%{ box-shadow:0 0 0 8px rgba(22,163,74,0);} 100%{ box-shadow:0 0 0 0 rgba(22,163,74,0);} }
/* Status stoji ispod NIXUS logotipa (i na mobitelu) */
.nx-brand-block{
  display:flex; flex-direction:column; align-items:flex-start; gap:4px;
  flex:0 0 auto; min-width:0;
}
.nx-brand-block .nx-open-status{ max-width:100%; overflow:hidden; text-overflow:ellipsis; }
@media (max-width:760px){
  .nx-open-status{ font-size:.62rem; padding:4px 8px; gap:5px; }
  .nx-open-status i{ width:6px; height:6px; }
}

/* ===== Natrag na vrh ===== */
.nx-to-top{
  position:fixed; right:18px; bottom:calc(18px + env(safe-area-inset-bottom)); z-index:55;
  width:44px; height:44px; border-radius:50%; display:grid; place-items:center;
  background:var(--card); color:var(--foreground); border:1px solid var(--border);
  box-shadow:0 10px 26px -12px rgba(0,0,0,.35); cursor:pointer;
  opacity:0; visibility:hidden; transform:translateY(10px); transition:.22s ease;
}
.nx-to-top.is-visible{ opacity:1; visibility:visible; transform:translateY(0); }
.nx-to-top:hover{ background:var(--secondary); }
@media (max-width:640px){ .nx-to-top{ right:14px; bottom:calc(84px + env(safe-area-inset-bottom)); } }

.nx-price-group{font-size:1rem;font-weight:700;margin:18px 0 6px;padding-bottom:6px;border-bottom:1px solid var(--border);}
.nx-price-group:first-child{margin-top:0;}

/* Admin archive file browser */
.nx-archive-dialog { width:min(820px, calc(100% - 32px)); max-height:85dvh; margin:auto; padding:24px; border:1px solid var(--border); border-radius:8px; background:var(--card); color:var(--foreground); overflow:hidden; }
.nx-archive-dialog[open] { display:flex; flex-direction:column; gap:16px; }
.nx-archive-dialog::backdrop { background:var(--dialog-backdrop); }
body:has(.nx-archive-dialog[open]) { overflow:hidden; }
.nx-archive-header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.nx-archive-icon { width:40px; height:40px; flex:0 0 40px; padding:0; font-size:24px; }
.nx-archive-toolbar label { display:block; margin-bottom:6px; font-weight:600; }
.nx-archive-files { overflow-y:auto; min-height:0; overscroll-behavior:contain; }
.nx-archive-file { display:flex; align-items:center; gap:16px; padding:12px 0; border-bottom:1px solid var(--border); }
.nx-archive-file-info { flex:1; min-width:0; }
.nx-archive-file-name { display:block; overflow-wrap:anywhere; font-size:.9rem; }
.nx-archive-file-meta { color:var(--muted-foreground); font-size:.8rem; }
@media (max-width:640px) { .nx-archive-dialog { padding:16px; } .nx-archive-file { gap:8px; } }
