:root {
  --bg: #06080f;
  --bg-panel: rgba(12, 18, 32, 0.75);
  --brand-green: #b8f000;
  --brand-green-glow: rgba(184, 240, 0, 0.35);
  --orange: #ff9800;
  --orange-glow: rgba(255, 152, 0, 0.35);
  --blue: #29b6f6;
  --blue-glow: rgba(41, 182, 246, 0.3);
  --text: #f5f7ff;
  --muted: #9aa8c7;
  --border: rgba(255, 255, 255, 0.12);
  --font-display: "Rajdhani", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
}

a {
  color: var(--blue);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent);
  backdrop-filter: blur(6px);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  justify-self: center;
  text-decoration: none;
}

.brand-wordmark {
  font-family: "Nunito", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand-mobilni {
  color: var(--brand-green);
  text-shadow: 0 0 24px var(--brand-green-glow);
}

.brand-market {
  color: #ffffff;
}

.brand:hover .brand-mobilni {
  filter: brightness(1.08);
}

.brand:hover .brand-market {
  opacity: 0.92;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.nav-left a,
.nav-right a {
  color: var(--muted);
  transition: color 0.2s;
}

.nav-left a:hover,
.nav-right a:hover,
.nav-left a.active,
.nav-right a.active {
  color: var(--text);
}

.nav-right {
  justify-content: flex-end;
}

.sep {
  color: rgba(255, 255, 255, 0.25);
  user-select: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
}

/* Hero split */
.hero-split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  min-height: 100vh;
  padding-top: 4rem;
  overflow: hidden;
}

.hero-top-cta {
  position: relative;
  grid-column: 1 / -1;
  z-index: 32;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  padding: 4.9rem 1rem 0.6rem;
}

.btn-hero-cta {
  width: auto;
  min-width: 180px;
  max-width: 180px;
  padding: 0.58rem 1rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(4px);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.btn-hero-cta--buy {
  background: linear-gradient(180deg, #4fc3f7, #29b6f6);
  color: #06101b;
}

.btn-hero-cta--sell {
  background: linear-gradient(180deg, #ffe082, #ff9800);
  color: #1f1302;
}

.phone-rain {
  position: absolute;
  top: 4rem;
  bottom: 0;
  width: 82px;
  z-index: 7;
  pointer-events: none;
}

.phone-rain-left {
  left: 0.45rem;
}

.phone-rain-right {
  right: 0.45rem;
}

.phone-drop {
  position: absolute;
  top: -14%;
  left: 50%;
  width: 3cm;
  height: 3cm;
  max-width: 42px;
  max-height: 42px;
  min-width: 28px;
  min-height: 28px;
  border-radius: 8px;
  overflow: hidden;
  transform: translateX(-50%);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.12), inset 0 -2px 6px rgba(0, 0, 0, 0.18);
  opacity: 0.58;
  animation: phone-rain-fall var(--drop-duration, 10s) linear infinite;
  animation-delay: var(--drop-delay, 0s);
}

.phone-drop-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.22));
}

.phone-drop-fallback {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0.8;
}

@keyframes phone-rain-fall {
  0% {
    transform: translate(-50%, -16%) rotate(-8deg);
    opacity: 0;
  }
  12% {
    opacity: 0.42;
  }
  50% {
    transform: translate(calc(-50% + var(--drop-drift, 8px)), 48vh) rotate(8deg);
  }
  100% {
    transform: translate(-50%, 112vh) rotate(-6deg);
    opacity: 0;
  }
}

.hero-panel {
  position: relative;
  padding: 2rem 2.5rem 5rem;
  overflow: hidden;
}

.hero-otkup::before,
.hero-prodaja::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  pointer-events: none;
  z-index: 3;
}

.hero-otkup::before {
  right: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.35));
}

.hero-prodaja::before {
  left: 0;
  background: linear-gradient(270deg, transparent, rgba(0, 0, 0, 0.35));
}

.hero-otkup {
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, var(--orange-glow), transparent 70%),
    linear-gradient(135deg, #0a0c14 0%, #12182a 100%);
}

.hero-prodaja {
  background:
    radial-gradient(ellipse 80% 60% at 80% 50%, var(--blue-glow), transparent 70%),
    linear-gradient(225deg, #0a0c14 0%, #0d1528 100%);
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 25;
  max-width: 520px;
}

.hero-otkup .hero-content {
  margin-left: auto;
}

.hero-prodaja .hero-content {
  margin-right: auto;
}

.hero-panel h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
  line-height: 1.1;
}

.hero-sub {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  margin: 0 0 1.5rem;
  max-width: 420px;
}

/* Lightning — puna visina, seče ekran na dve polovine */
.lightning-divider {
  position: relative;
  width: 104px;
  display: flex;
  align-self: stretch;
  align-items: stretch;
  justify-content: center;
  z-index: 8;
  margin: -4rem -32px 0;
  padding: 0;
  isolation: isolate;
  pointer-events: none;
  opacity: 0.58;
}

.lightning-divider,
.lightning-divider * {
  pointer-events: none !important;
}

.lightning-bloom {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: screen;
}

.lightning-bloom--blue {
  width: 56px;
  height: 100%;
  top: 0;
  background: linear-gradient(
    180deg,
    rgba(129, 212, 250, 0.45) 0%,
    rgba(79, 195, 247, 0.35) 50%,
    rgba(2, 136, 209, 0.3) 100%
  );
  filter: blur(12px);
  animation: lightning-bloom-blue 2.4s ease-in-out infinite;
}

.lightning-bloom--core {
  width: 20px;
  height: 100%;
  top: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(225, 245, 254, 0.4) 100%
  );
  filter: blur(6px);
  animation: lightning-bloom-core 2s ease-in-out infinite 0.35s;
}

.lightning-divider--live .lightning-svg {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 4rem);
  overflow: visible;
  transform-origin: center center;
  mix-blend-mode: screen;
  will-change: filter, opacity;
  animation:
    lightning-bolt-pulse 2.2s ease-in-out infinite,
    lightning-bolt-flash 3.6s steps(1, end) infinite;
}

.bolt-seam {
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 1.2;
  opacity: 0.55;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.8));
}

.bolt-tip {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
}

.bolt-tip-top {
  transform-origin: 50px 0;
}

.bolt-tip-bottom {
  transform-origin: 50px 400px;
}

.lightning-divider--live .bolt-layers {
  transform-origin: 50px 200px;
}

.lightning-divider--live .bolt-main {
  animation: lightning-shape-flicker 3.6s steps(1, end) infinite;
}

.lightning-divider--live .bolt-branch {
  animation: lightning-branch-flicker 3.2s steps(1, end) infinite;
}

.lightning-divider--live .bolt-b1 { animation-delay: 0.15s; }
.lightning-divider--live .bolt-b2 { animation-delay: 0.45s; }
.lightning-divider--live .bolt-b3 { animation-delay: 0.7s; }
.lightning-divider--live .bolt-b4 { animation-delay: 1s; }

.lightning-divider--live .bolt-halo {
  animation: lightning-halo-pulse 2.2s ease-in-out infinite;
}

.lightning-divider--live .bolt-tip {
  animation: lightning-shape-flicker 3.6s steps(1, end) infinite;
}

@keyframes lightning-bloom-blue {
  0%,
  100% {
    opacity: 0.35;
    transform: translateX(-50%) scaleX(0.85);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1.2);
  }
}

@keyframes lightning-bloom-core {
  0%,
  100% {
    opacity: 0.25;
    transform: translateX(-50%) scaleX(0.88);
  }
  50% {
    opacity: 0.9;
    transform: translateX(-50%) scaleX(1.15);
  }
}

@keyframes lightning-halo-pulse {
  0%,
  100% {
    opacity: 0.38;
    stroke-width: 20;
  }
  50% {
    opacity: 0.68;
    stroke-width: 26;
  }
}

@keyframes lightning-branch-flicker {
  0%,
  82%,
  100% {
    opacity: 0.85;
  }
  84% {
    opacity: 0.15;
  }
  86% {
    opacity: 0.95;
  }
  88% {
    opacity: 0.35;
  }
  90% {
    opacity: 0.9;
  }
}

@keyframes lightning-bolt-pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(225, 245, 254, 0.9))
      drop-shadow(0 0 22px rgba(79, 195, 247, 0.65))
      drop-shadow(0 0 38px rgba(3, 169, 244, 0.35));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 1))
      drop-shadow(0 0 36px rgba(129, 212, 250, 0.9))
      drop-shadow(0 0 58px rgba(41, 182, 246, 0.55));
  }
}

@keyframes lightning-bolt-flash {
  0%,
  88%,
  100% {
    opacity: 1;
  }
  90% {
    opacity: 0.35;
  }
  92% {
    opacity: 1;
  }
  94% {
    opacity: 0.5;
  }
  96% {
    opacity: 1;
  }
}

@keyframes lightning-shape-flicker {
  0%,
  88%,
  100% {
    opacity: 1;
  }
  90% {
    opacity: 0.25;
  }
  92% {
    opacity: 1;
  }
  94% {
    opacity: 0.4;
  }
  96% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lightning-divider--live .lightning-svg,
  .lightning-divider--live .bolt-main,
  .lightning-divider--live .bolt-branch,
  .lightning-divider--live .bolt-halo,
  .lightning-bloom {
    animation-duration: 5s;
  }
}

/* Glass form */
.buyout-steps {
  margin: 0 0 0.8rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(184, 240, 0, 0.24);
  background: rgba(184, 240, 0, 0.08);
}

.buyout-steps-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  color: #e9ff9b;
}

.buyout-steps-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.25rem;
  color: #d8e6ff;
  font-size: 0.82rem;
  line-height: 1.35;
}

.buyout-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.8rem;
}

.buyout-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(41, 182, 246, 0.34);
  background: rgba(41, 182, 246, 0.13);
  color: #d8f2ff;
  font-size: 0.74rem;
}

.buyout-trust-item::before {
  content: "✓";
  color: #8ce6ff;
  font-weight: 700;
}

.buyout-empty-notice {
  background: rgba(255, 152, 0, 0.12);
  border: 1px solid rgba(255, 152, 0, 0.35);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.buyout-empty-notice a {
  color: var(--orange);
}

.glass-form {
  position: relative;
  z-index: 26;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.field span {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}

.field-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.list-search-box {
  display: block;
  margin-bottom: 1rem;
}

.list-search-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.list-search-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
}

.list-search-input::placeholder {
  color: var(--muted);
}

.list-search-empty {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 1rem;
}

.variant-combobox {
  position: relative;
}

.variant-combobox-trigger {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
}

.variant-combobox-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  border: 1px solid var(--border);
  background: rgba(7, 12, 24, 0.97);
  border-radius: 8px;
  z-index: 40;
  padding: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.variant-panel-search {
  margin-bottom: 0.45rem;
}

.variant-combobox-list {
  max-height: 270px;
  overflow-y: auto;
  display: grid;
  gap: 0.3rem;
}

.variant-combobox-option {
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  padding: 0.5rem 0.6rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.variant-combobox-option:hover,
.variant-combobox-option.is-selected {
  border-color: var(--brand-green);
  background: rgba(184, 240, 0, 0.12);
}

.variant-native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.inventory-card[hidden],
.product-card[hidden],
.inventory-group[hidden],
.is-search-hidden {
  display: none !important;
}

.list-search-status {
  color: var(--brand-green);
  font-size: 0.85rem;
  margin: 0 0 0.75rem;
}

.inventory-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(10, 15, 28, 0.52);
  backdrop-filter: blur(4px);
}

.inventory-filters .field {
  margin-bottom: 0;
}

.inventory-filters input[type="number"]::-webkit-outer-spin-button,
.inventory-filters input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.inventory-filters input[type="number"] {
  -moz-appearance: textfield;
}

.inventory-group {
  margin-bottom: 2.5rem;
}

.inventory-group-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.inventory-grid--grouped {
  margin-top: 0;
}

.buyout-search-results {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
  max-height: 220px;
  overflow-y: auto;
}

.buyout-search-group-title {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  color: var(--brand-green);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

.buyout-search-option {
  display: block;
  width: 100%;
  text-align: left;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.35rem;
  cursor: pointer;
  font-size: 0.88rem;
}

.buyout-search-option:hover {
  border-color: var(--brand-green);
  background: rgba(184, 240, 0, 0.08);
}

.buyout-search-msg {
  color: #ff8a65;
  font-size: 0.85rem;
  margin: 0 0 1rem;
}

.buyout-picked {
  background: rgba(184, 240, 0, 0.1);
  border: 1px solid rgba(184, 240, 0, 0.35);
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

.buyout-picked-clear {
  margin-left: 0.75rem;
  background: transparent;
  border: none;
  color: var(--blue);
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.8rem;
}

.field select {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
}

.field input,
.field textarea {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
  width: 100%;
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.checkbox-field input[type='checkbox'] {
  width: auto;
}

.checkbox-field-note {
  color: #ff5b5b;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.field select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.field select:not(:disabled) {
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.field-row-variants select {
  position: relative;
  z-index: 30;
  pointer-events: auto !important;
  opacity: 1 !important;
  cursor: pointer !important;
}

.btn {
  display: inline-block;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.85rem 1.5rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  width: 100%;
}

.btn-primary {
  background: linear-gradient(180deg, #ffb74d, var(--orange));
  color: #1a1000;
  box-shadow: 0 4px 24px var(--orange-glow);
  margin-top: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px var(--orange-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  margin-top: 0.75rem;
}

.btn-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--text);
  margin-top: 1rem;
}

#buyout-known-model-fields,
#buyout-missing-model-fields,
#sell-interest-fields {
  display: grid;
  gap: 0.8rem;
}

.form-note {
  font-size: 0.7rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.currency-note {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0.35rem 0 1rem;
  max-width: 420px;
}

.currency-note--compact {
  font-size: 0.65rem;
  margin: 0 0 1rem;
  opacity: 0.9;
}

.currency-note .currency-eur {
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.currency-note .currency-sep {
  margin: 0 0.35rem;
  opacity: 0.45;
}

.currency-note .currency-rsd {
  color: var(--muted);
}

.currency-rate {
  display: inline-block;
  margin-left: 0.45rem;
  font-size: 0.67rem;
  color: #9ec6ff;
}

.site-footer .currency-note {
  max-width: 520px;
  margin: 0 auto 0.75rem;
  text-align: center;
}

.quote-result {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255, 152, 0, 0.12);
  border: 1px solid rgba(255, 152, 0, 0.35);
}

.status-success-title {
  margin: 0 0 0.45rem;
  font-weight: 700;
  color: #c9ffd5;
}

.status-next-steps {
  margin: 0;
  padding-left: 1rem;
  color: #d8e6ff;
  font-size: 0.82rem;
  line-height: 1.4;
}

.status-next-steps li {
  margin-bottom: 0.24rem;
}

.quote-result .price-big {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--orange);
  margin: 0.25rem 0;
}

.price-rsd {
  margin: -0.1rem 0 0.2rem;
  font-size: 0.8rem;
  color: #9ec6ff;
}

.quote-phone-wrap {
  display: flex;
  justify-content: center;
  margin-top: 0.25rem;
}

.quote-phone-mockup {
  width: min(100%, 290px);
  padding: 0.45rem;
  border-radius: 28px;
  background: linear-gradient(145deg, #161b27, #05070e);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.quote-phone-notch {
  width: 34%;
  height: 14px;
  border-radius: 0 0 10px 10px;
  background: rgba(6, 9, 16, 0.95);
  margin: 0 auto 0.35rem;
}

.quote-phone-screen {
  border-radius: 22px;
  padding: 0.95rem 0.85rem;
  min-height: 250px;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 183, 77, 0.22), transparent 45%),
    radial-gradient(circle at 82% 84%, rgba(77, 208, 225, 0.16), transparent 48%),
    linear-gradient(180deg, rgba(18, 24, 36, 0.96), rgba(6, 10, 16, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  align-content: start;
  gap: 0.45rem;
  text-align: center;
}

.quote-screen-title {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quote-screen-model {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text);
}

.quote-screen-note {
  margin: 0.35rem 0 0;
  font-size: 0.73rem;
  line-height: 1.45;
  color: var(--muted);
}

.contact-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.75rem 0 1rem;
}

.quick-contact-fab {
  position: fixed;
  right: 14px;
  bottom: 16px;
  z-index: 1200;
  display: grid;
  gap: 0.45rem;
  isolation: isolate;
  pointer-events: auto;
}

.instagram-fab {
  position: fixed;
  left: 14px;
  bottom: 16px;
  z-index: 1190;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 12, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.instagram-fab:hover {
  transform: translateY(-1px);
}

.instagram-fab__icon {
  width: 28px;
  height: 28px;
}

.ai-chat-panel {
  position: fixed;
  right: 14px;
  bottom: 170px;
  z-index: 1250;
  width: min(360px, calc(100vw - 28px));
  max-height: min(500px, calc(100vh - 120px));
  background: rgba(7, 12, 24, 0.96);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.ai-chat-panel[hidden] {
  display: none !important;
}

.ai-chat-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

.ai-chat-panel__close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.ai-chat-panel__messages {
  padding: 0.8rem;
  display: grid;
  gap: 0.5rem;
  overflow-y: auto;
}

.ai-chat-msg {
  font-size: 0.84rem;
  line-height: 1.45;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  white-space: pre-line;
}

.ai-chat-msg--bot {
  background: rgba(41, 182, 246, 0.14);
  border: 1px solid rgba(41, 182, 246, 0.3);
}

.ai-chat-msg--user {
  background: rgba(184, 240, 0, 0.14);
  border: 1px solid rgba(184, 240, 0, 0.28);
}

.ai-chat-panel__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  padding: 0.75rem;
  border-top: 1px solid var(--border);
}

.ai-chat-panel__form input {
  min-width: 0;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  font-size: 0.85rem;
}

.ai-chat-panel__form button {
  border: 0;
  border-radius: 8px;
  background: rgba(41, 182, 246, 0.88);
  color: #fff;
  cursor: pointer;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  padding: 0.55rem 0.8rem;
}

.fab-link {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.fab-link--wa {
  background: rgba(37, 211, 102, 0.85);
}

.fab-link--call {
  background: rgba(255, 193, 7, 0.9);
  color: #1f1600;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  line-height: 1.15;
}

.fab-link-meta {
  font-size: 0.64rem;
  letter-spacing: 0.03em;
  opacity: 0.95;
}

.fab-link--viber {
  background: rgba(115, 96, 242, 0.85);
}

.fab-link--ai {
  background: rgba(41, 182, 246, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  position: relative;
  z-index: 3;
  pointer-events: auto;
  touch-action: manipulation;
}

.fab-ai-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 10px rgba(41, 182, 246, 0.55);
  flex: 0 0 auto;
}

.quote-result ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.quote-result.error {
  background: rgba(244, 67, 54, 0.12);
  border-color: rgba(244, 67, 54, 0.4);
}

/* Product cards */
.product-cards {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.product-card {
  flex: 1 1 140px;
  min-width: 130px;
  max-width: 160px;
  background: rgba(20, 40, 70, 0.55);
  border: 1px solid rgba(41, 182, 246, 0.25);
  border-radius: 10px;
  padding: 0.75rem;
  text-align: center;
}

.product-card h3 {
  font-size: 0.75rem;
  margin: 0.5rem 0 0.25rem;
  font-weight: 600;
}

.product-card .price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--blue);
  margin: 0;
}

.product-card .cond {
  font-size: 0.7rem;
  color: var(--muted);
  margin: 0.15rem 0;
}

.link-more {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
}

.product-img {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-placeholder {
  font-size: 2.5rem;
  opacity: 0.5;
}

/* Inner pages */
.page-section {
  padding: 6rem 1.5rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.page-section h1 {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

.page-lead {
  color: var(--muted);
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.inventory-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.inventory-card .price-lg {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--blue);
}

.inventory-card .meta {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.inventory-note {
  margin: 0.4rem 0 0.6rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.inventory-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
  margin: 0.35rem 0 0.75rem;
}

.inventory-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.inventory-detail-link {
  color: inherit;
  text-decoration: none;
}

.phone-detail-page {
  max-width: 1280px;
}

.phone-detail-back {
  margin: 0 0 1rem;
}

.phone-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.phone-media,
.phone-info {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.phone-main-image-wrap {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 10px;
  height: clamp(340px, 52vh, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.phone-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.phone-thumbs {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 0.5rem;
}

.phone-thumb-btn {
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 0.2rem;
  cursor: pointer;
}

.phone-thumb-btn img {
  width: 100%;
  height: 84px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
}

.phone-thumb-btn.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px rgba(41, 182, 246, 0.45);
}

.phone-detail-price {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0.25rem 0 1rem;
  color: var(--blue);
}

.phone-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  color: var(--muted);
}

.phone-specs li {
  margin-bottom: 0.45rem;
}

.phone-description h2 {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
}

.phone-description p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.otkup-standalone {
  max-width: 520px;
  margin-top: 1.5rem;
}

.content-page p {
  color: var(--muted);
  line-height: 1.6;
}

.buyout-faq {
  max-width: 1100px;
  margin: 1.1rem auto 3rem;
  padding: 0 1.5rem;
}

.buyout-faq h2 {
  font-family: var(--font-display);
  margin: 0 0 0.9rem;
  letter-spacing: 0.05em;
}

.buyout-faq-item {
  background: rgba(10, 15, 28, 0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.65rem;
}

.buyout-faq-item h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.buyout-faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.mobile-sticky-quote-cta {
  display: none;
}

.new-phone-cta {
  margin: 0.75rem 0 1rem;
}

.new-phone-cta__btn {
  width: auto;
  margin-top: 0;
  padding: 0.7rem 1.1rem;
  border: 2px solid #1de9b6;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(29, 233, 182, 0.28), rgba(0, 188, 212, 0.22));
  color: #d7fff6;
  box-shadow: 0 0 0 1px rgba(29, 233, 182, 0.25), 0 10px 24px rgba(0, 188, 212, 0.18);
}

.new-phone-cta__btn:hover {
  transform: translateY(-1px);
  border-color: #64ffda;
  background: linear-gradient(180deg, rgba(29, 233, 182, 0.38), rgba(0, 188, 212, 0.3));
}

.contact-list {
  list-style: none;
  padding: 0;
}

.admin-link {
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
}

.payments {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.pay-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding-top: 3.7rem;
  }

  .hero-top-cta {
    padding-top: 1.05rem;
  }

  .lightning-divider {
    width: 100%;
    min-height: 92px;
    height: 92px;
    margin: -0.2rem 0;
    align-self: center;
    opacity: 0.86;
  }

  .lightning-divider--live .lightning-svg {
    min-height: 92px;
    height: 92px;
    transform: rotate(90deg);
    animation:
      lightning-bolt-pulse 2.2s ease-in-out infinite,
      lightning-bolt-flash 3.6s steps(1, end) infinite;
  }

  .lightning-bloom--blue,
  .lightning-bloom--core {
    width: 94px;
    height: 100%;
    transform: translateX(-50%);
  }

  .hero-otkup::before,
  .hero-prodaja::before {
    display: none;
  }

  .hero-otkup .hero-content,
  .hero-prodaja .hero-content {
    margin: 0 auto;
    max-width: 660px;
  }

  .hero-panel {
    padding: 1.7rem 1.3rem 2.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 22px 32px rgba(255, 255, 255, 0.025), inset 0 -22px 32px rgba(0, 0, 0, 0.22);
  }
}

@media (max-width: 768px) {
  .nav-left,
  .nav-right {
    display: none;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
    grid-column: 3;
  }

  .header-inner.nav-open .nav-right {
    display: flex;
    flex-direction: column;
    grid-column: 1 / -1;
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem;
    border-radius: 8px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .buyout-steps {
    padding: 0.7rem 0.8rem;
    margin-bottom: 0.7rem;
  }

  .buyout-steps-title {
    font-size: 0.78rem;
  }

  .buyout-steps-list {
    font-size: 0.77rem;
  }

  .buyout-trust-item {
    font-size: 0.7rem;
  }

  .glass-form {
    padding: 0.9rem;
    border-radius: 10px;
  }

  .field select,
  .field input,
  .field textarea,
  .list-search-input {
    min-height: 44px;
    font-size: 0.95rem;
  }

  .list-search-label {
    font-size: 0.78rem;
  }

  #buyout-known-model-fields .field-hint {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .variant-combobox-panel {
    position: static;
    margin-top: 0.45rem;
  }

  .variant-combobox-list {
    max-height: 45vh;
  }

  .inventory-filters {
    grid-template-columns: 1fr;
  }

  .phone-rain {
    display: block;
    width: 34px;
    top: 5.6rem;
    z-index: 9;
    opacity: 0.72;
  }

  .phone-rain-left {
    left: 0.12rem;
  }

  .phone-rain-right {
    right: 0.12rem;
  }

  .phone-rain .phone-drop {
    width: 18px;
    height: 18px;
    min-width: 14px;
    min-height: 14px;
    max-width: 24px;
    max-height: 24px;
    border-radius: 5px;
    border-width: 1px;
    opacity: 0.86;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.42), rgba(80, 190, 255, 0.14));
    border-color: rgba(190, 236, 255, 0.82);
    box-shadow:
      0 0 7px rgba(168, 234, 255, 0.55),
      inset 0 -1px 3px rgba(0, 0, 0, 0.28);
  }

  .phone-rain .phone-drop:nth-child(odd) {
    display: none;
  }

  .phone-rain .phone-drop-img {
    filter: saturate(1.28) contrast(1.07) brightness(1.06) drop-shadow(0 0 3px rgba(255, 255, 255, 0.38));
  }

  .phone-detail {
    grid-template-columns: 1fr;
  }

  .phone-main-image-wrap {
    height: 320px;
  }

  .hero-top-cta {
    width: 100%;
    padding: 0.9rem 0.85rem 0.65rem;
    gap: 0.45rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: relative;
    isolation: isolate;
    z-index: 18;
    overflow: visible;
  }

  .hero-top-cta > * {
    position: relative;
    z-index: 3;
  }

  .hero-top-cta::before {
    display: none;
  }

  .hero-top-cta::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -3.6rem;
    width: 72px;
    height: 295px;
    transform: translateX(-50%);
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.45) 0%,
      rgba(205, 246, 255, 0.4) 18%,
      rgba(141, 228, 255, 0.34) 52%,
      rgba(141, 228, 255, 0.12) 100%
    );
    clip-path: polygon(46% 0, 88% 0, 66% 30%, 88% 30%, 20% 100%, 40% 58%, 14% 58%);
    filter: drop-shadow(0 0 8px rgba(205, 246, 255, 0.55))
      drop-shadow(0 0 20px rgba(41, 182, 246, 0.45));
    opacity: 0.66;
    z-index: 1;
    mix-blend-mode: screen;
    pointer-events: none;
    animation: mobile-cta-lightning-flicker 2.6s steps(1, end) infinite;
  }

  .btn-hero-cta {
    width: 100%;
    min-width: 0;
    max-width: none;
    flex: 1 1 auto;
    padding: 0.62rem 0.6rem;
    font-size: 0.7rem;
    letter-spacing: 0.065em;
  }

  .lightning-divider {
    min-height: 108px;
    height: 108px;
    margin: -0.1rem 0;
    opacity: 0.96;
  }

  .lightning-divider--live .lightning-svg {
    min-height: 108px;
    height: 108px;
  }

  .hero-panel {
    padding: 1.35rem 1rem 2rem;
  }

  .hero-panel h1 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .hero-sub {
    font-size: 0.84rem;
    margin-bottom: 1.1rem;
  }

  .ai-chat-panel {
    bottom: 150px;
  }

  .quick-contact-fab {
    bottom: 86px;
    z-index: 1320;
  }

  .quick-contact-fab .fab-link {
    pointer-events: auto;
  }

  .buyout-faq {
    margin: 0.75rem auto 4.6rem;
    padding: 0 0.9rem;
  }

  .buyout-faq-item {
    padding: 0.8rem 0.85rem;
  }

  .mobile-sticky-quote-cta {
    display: block;
    position: fixed;
    left: 50%;
    bottom: 0.9rem;
    transform: translateX(-50%);
    width: min(320px, calc(100vw - 122px));
    z-index: 1120;
    border: 1px solid rgba(184, 240, 0, 0.48);
    border-radius: 999px;
    background: linear-gradient(180deg, #dfff7a, #b8f000);
    color: #121b00;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.76rem 0.9rem;
    box-shadow: 0 10px 24px rgba(184, 240, 0, 0.36);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .mobile-sticky-quote-cta.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(10px);
  }
}

@keyframes mobile-cta-lightning-pulse {
  0%,
  100% {
    opacity: 0.55;
    box-shadow:
      0 0 8px rgba(140, 230, 255, 0.8),
      0 0 14px rgba(41, 182, 246, 0.45);
  }
  50% {
    opacity: 0.98;
    box-shadow:
      0 0 12px rgba(205, 246, 255, 1),
      0 0 24px rgba(41, 182, 246, 0.8);
  }
}

@keyframes mobile-cta-lightning-flicker {
  0%,
  86%,
  100% {
    opacity: 0.94;
  }
  88% {
    opacity: 0.28;
  }
  90% {
    opacity: 1;
  }
  92% {
    opacity: 0.35;
  }
  94% {
    opacity: 0.98;
  }
}
