:root {
  --navy: #101d2e;
  --navy-soft: #1b2d45;
  --red: #d61f2c;
  --red-dark: #b0111d;
  --gold: #c8963c;
  --text: #23303f;
  --muted: #6b7684;
  --line: #e6eaef;
  --bg-soft: #f6f8fa;
}

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

body {
  font-family: 'Manrope', -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ── Top bar ── */
.topbar {
  background: var(--navy);
  color: #cfd8e3;
  font-size: 13px;
  font-weight: 500;
}
.topbar-inner {
  display: flex;
  gap: 28px;
  padding: 8px 20px;
}
.topbar-hours { margin-left: auto; }

/* ── Header ── */
.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 8px rgba(16, 29, 46, 0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--navy);
}
.logo span { color: var(--red); }
.logo-dot { font-style: normal; font-size: 15px; font-weight: 700; color: var(--muted); margin-left: 2px; }

.phone-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  border: 2px solid var(--red);
  border-radius: 10px;
  transition: background 0.15s;
}
.phone-cta:hover { background: #fdf2f3; }
.phone-icon { font-size: 22px; }
.phone-text { display: flex; flex-direction: column; line-height: 1.25; }
.phone-text small { font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); font-weight: 600; }
.phone-text strong { font-size: 19px; color: var(--red); font-weight: 800; }

/* ── Pretraga ── */
.search-box { position: relative; flex: 1; max-width: 440px; margin: 0 26px; }
.search-box input {
  width: 100%;
  padding: 11px 16px;
  border: 2px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-soft);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.search-box input:focus { border-color: var(--red); background: #fff; }
.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(16, 29, 46, 0.16);
  overflow: hidden;
  z-index: 60;
}
.sr-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  transition: background 0.12s;
}
.sr-item:last-child { border-bottom: none; }
.sr-item:hover { background: var(--bg-soft); }
.sr-item img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; border: 1px solid var(--line); background: #fff; flex-shrink: 0; }
.sr-name { font-size: 14px; font-weight: 600; color: var(--navy); flex: 1; line-height: 1.3; }
.sr-price { font-size: 13px; font-weight: 800; color: var(--red); white-space: nowrap; }
.sr-price del { color: var(--muted); font-weight: 500; margin-right: 4px; }
.sr-empty { padding: 14px; font-size: 14px; color: var(--muted); text-align: center; }

/* ── Glavna navigacija ── */
.mainnav {
  border-top: 1px solid var(--line);
  background: #fff;
}
.mainnav-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 0 20px;
}
.mainnav a {
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.mainnav a:hover { color: var(--red); border-bottom-color: var(--red); }

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  text-align: center;
  padding: 56px 0 48px;
}
.hero h1 { font-size: 38px; font-weight: 800; letter-spacing: -0.8px; }
.hero p { font-size: 17px; color: #b9c5d4; margin-top: 8px; }
.hero-trust {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.trust-item {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px 26px;
  display: flex;
  flex-direction: column;
  min-width: 150px;
}
.trust-item strong { font-size: 19px; color: var(--gold); font-weight: 800; }
.trust-item span { font-size: 13px; color: #b9c5d4; }

/* ── Hero slider ── */
.hero-slider { position: relative; overflow: hidden; }
.slide { display: none; }
.slide.active { display: block; animation: slideIn 0.45s ease; }
@keyframes slideIn { from { opacity: 0.35; } to { opacity: 1; } }
.slide-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 36px;
  min-height: 360px;
  padding: 40px 20px;
}
.slide-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.slide-text h2 { font-size: 40px; font-weight: 800; line-height: 1.12; letter-spacing: -0.8px; }
.slide-text h2 em { font-style: normal; }
.slide-text p { font-size: 16px; margin: 14px 0 22px; max-width: 480px; }
.slide-cta { display: inline-block; font-size: 17px; padding: 14px 30px; }
.slide-img { display: flex; align-items: center; justify-content: center; }
.slide-img img {
  max-height: 320px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(16, 29, 46, 0.22);
  background: #fff;
}
.slide-navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%); color: #fff; }
.slide-navy .slide-tag { background: var(--gold); color: var(--navy); }
.slide-navy h2 em { color: var(--gold); }
.slide-navy p { color: #b9c5d4; }
.slide-red { background: linear-gradient(150deg, var(--red-dark) 0%, var(--red) 85%); color: #fff; }
.slide-red .slide-tag { background: #fff; color: var(--red); }
.slide-red h2 em { color: #ffd9dc; }
.slide-red p { color: #ffe3e5; }
.slide-red .slide-cta { background: #fff; color: var(--red); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18); }
.slide-red .slide-cta:hover { background: #ffeff0; }
.slide-light { background: linear-gradient(150deg, #f2f5f8 0%, #e6ecf2 100%); color: var(--navy); }
.slide-light .slide-tag { background: var(--navy); color: #fff; }
.slide-light h2 em { color: var(--red); }
.slide-light p { color: var(--muted); }
.slide-prev, .slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(16, 29, 46, 0.18);
  transition: background 0.15s;
}
.slide-prev:hover, .slide-next:hover { background: #fff; }
.slide-prev { left: 16px; }
.slide-next { right: 16px; }
.slide-dots {
  position: absolute;
  bottom: 16px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
}
.slide-dot {
  width: 10px; height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(16, 29, 46, 0.25);
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s, background 0.15s;
}
.slide-dot.active { background: var(--red); transform: scale(1.25); border-color: var(--red); }

/* ── Timer strip ── */
.timer-strip { background: var(--red); color: #fff; }
.timer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 11px 20px;
  flex-wrap: wrap;
}
.timer-label { font-size: 14px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; }
.timer-clock {
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: rgba(0, 0, 0, 0.22);
  padding: 3px 14px;
  border-radius: 8px;
  letter-spacing: 1.5px;
}

/* ── Kategorija pločice ── */
.cat-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 20px;
}
.cat-tile {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 16px 18px;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(16, 29, 46, 0.1); border-color: var(--red); }
.cat-tile img { width: 110px; height: 110px; object-fit: contain; margin: 0 auto 12px; border-radius: 10px; background: #fff; }
.cat-tile-name { display: block; font-size: 16px; font-weight: 800; color: var(--navy); }
.cat-tile-count { display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 2px; }

/* ── Popust bedž ── */
.disc-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(214, 31, 44, 0.35);
}
.card-badge { background: var(--navy); }

/* ── Sekcije ── */
.section { padding: 48px 20px 56px; }
.section-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 26px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--red);
  display: inline-block;
}

/* ── Grid kartice ── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 26px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(16, 29, 46, 0.12);
}
.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
  letter-spacing: 0.3px;
}
.inline-badge { position: static; display: inline-block; margin-bottom: 12px; }
.card-img {
  background: #fff;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.card-img img { max-height: 100%; object-fit: contain; }
.card-body { padding: 18px 20px 22px; border-top: 1px solid var(--line); flex: 1; display: flex; flex-direction: column; }
.card-cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 700;
}
.card-body h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin: 6px 0 8px; line-height: 1.35; }
.card-rating { font-size: 13px; color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rating-num { font-weight: 700; color: var(--text); }

/* SVG zvezdice sa delimičnim popunjavanjem */
.stars { position: relative; display: inline-block; line-height: 0; }
.stars-bg, .stars-fill { display: inline-flex; gap: 2px; white-space: nowrap; }
.stars-fill { position: absolute; top: 0; left: 0; overflow: hidden; }
.stars svg.st { width: 17px; height: 17px; flex: 0 0 17px; }
.stars-bg svg.st path { fill: #e2e6ea; }
.stars-fill svg.st path { fill: #f6a723; stroke: #e08c00; stroke-width: 0.6; }
.card-price { font-size: 23px; font-weight: 800; color: var(--navy); margin-top: auto; }
.old-price { font-size: 16px; font-weight: 600; color: var(--muted); text-decoration: line-through; }
.old-price-big { font-size: 20px; }
.price-action { color: var(--red); }
.card-btn {
  margin-top: 14px;
  text-align: center;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 11px;
  border-radius: 9px;
  transition: background 0.15s;
}
.card:hover .card-btn { background: var(--red); }

/* ── Order strip ── */
.order-strip {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 38px 0;
}
.order-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.order-strip h2 { font-size: 22px; color: var(--navy); font-weight: 800; }
.order-strip p { color: var(--muted); max-width: 560px; margin-top: 4px; }
.btn-call {
  background: var(--red);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  padding: 16px 32px;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(214, 31, 44, 0.3);
  transition: background 0.15s, transform 0.1s;
}
.btn-call:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-call-big { display: block; text-align: center; font-size: 24px; padding: 18px; }

/* ── Product page ── */
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.breadcrumbs a { color: var(--red); font-weight: 600; }

.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-gallery { position: sticky; top: 96px; }
.main-img {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}
.main-img img { max-height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s;
}
.thumb:hover, .thumb.active { border-color: var(--red); }

.product-info h1 { font-size: 28px; font-weight: 800; color: var(--navy); line-height: 1.25; margin-bottom: 8px; }
.product-intro { font-size: 16px; color: var(--text); margin: 14px 0 4px; }

.benefits { list-style: none; margin: 18px 0 6px; }
.benefits li {
  padding: 7px 0 7px 32px;
  position: relative;
  font-size: 15px;
  font-weight: 500;
}
.benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 6px;
  width: 22px;
  height: 22px;
  background: #e9f7ee;
  color: #1d9d4f;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 20px 0;
  padding: 16px 20px;
  background: var(--bg-soft);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.price-label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--muted); font-weight: 700; }
.price { font-size: 34px; font-weight: 800; color: var(--navy); }

.order-box {
  border: 2px solid var(--red);
  border-radius: 14px;
  padding: 20px;
  background: #fffafa;
}
.order-box-title {
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.order-box-note { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }

.mini-trust {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.product-details {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.product-details h2 { font-size: 21px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.details-desc p { margin-bottom: 14px; font-size: 15px; }

.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.specs td:first-child { font-weight: 700; color: var(--navy); width: 42%; background: var(--bg-soft); }

/* ── Koraci poručivanja ── */
.steps-section { padding: 20px 0 48px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 10px; }
.step {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--red);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 14px;
}
.step h3 { font-size: 17px; color: var(--navy); font-weight: 800; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }
.step a { color: var(--red); }

/* ── Brojke ── */
.numbers-strip { background: var(--navy); color: #fff; padding: 30px 0; }
.numbers-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.num-item strong { display: block; font-size: 26px; font-weight: 800; color: var(--gold); }
.num-item span { font-size: 13px; color: #b9c5d4; }

/* ── Recenzije ── */
.reviews-section { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.reviews-section h2 { font-size: 22px; font-weight: 800; color: var(--navy); }
.reviews-count { color: var(--muted); font-weight: 600; }
.reviews-summary { margin: 10px 0 22px; font-size: 15px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.reviews-summary strong { color: var(--text); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-avatar {
  width: 40px; height: 40px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 17px;
  flex-shrink: 0;
}
.review-head strong { display: block; font-size: 14px; color: var(--navy); }
.review-verified { font-size: 12px; color: #1d9d4f; font-weight: 600; }
.review-card p { font-size: 14px; margin-top: 8px; color: var(--text); }
.reviews-note { font-size: 12px; color: var(--muted); margin-top: 18px; }

/* ── Info stranice ── */
.info-page .info-content { max-width: 760px; }
.info-content h2 { font-size: 19px; font-weight: 800; color: var(--navy); margin: 26px 0 10px; }
.info-content p { margin-bottom: 12px; font-size: 15px; }
.info-content ul, .info-content ol { margin: 0 0 14px 22px; font-size: 15px; }
.info-content li { margin-bottom: 8px; }
.info-content a { color: var(--red); font-weight: 600; }
.contact-phone a { font-size: 26px; font-weight: 800; color: var(--red); }
.cat-count { color: var(--muted); font-weight: 600; font-size: 18px; }

/* ── Footer ── */
.footer { background: var(--navy); color: #b9c5d4; margin-top: 64px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 44px 20px 36px;
}
.footer-col a { color: #b9c5d4; transition: color 0.15s; }
.footer-col a:hover { color: var(--gold); }
.logo-footer { color: #fff; margin-bottom: 10px; font-size: 22px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 10px; font-weight: 700; }
.footer p { font-size: 14px; margin-bottom: 6px; }
.footer-phone a { color: var(--gold); font-size: 20px; font-weight: 800; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  font-size: 13px;
  color: #7d8b9c;
}

/* ── Mobile ── */
@media (max-width: 860px) {
  .topbar-inner { justify-content: center; }
  .topbar-inner span:not(:first-child) { display: none; }
  .hero h1 { font-size: 27px; }
  .search-box { margin: 0; max-width: none; width: 100%; order: 3; }
  .slide-inner { grid-template-columns: 1fr; min-height: 0; padding: 30px 20px 46px; gap: 20px; text-align: center; }
  .slide-text h2 { font-size: 27px; }
  .slide-text p { margin-left: auto; margin-right: auto; font-size: 15px; }
  .slide-img img { max-height: 190px; }
  .slide-prev, .slide-next { display: none; }
  .timer-label { font-size: 12px; }
  .cat-tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-tile img { width: 84px; height: 84px; }
  .disc-badge { width: 46px; height: 46px; font-size: 13px; }
  .hero-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 20px; }
  .trust-item { min-width: 0; padding: 12px 14px; }
  .product { grid-template-columns: 1fr; gap: 28px; }
  .product-gallery { position: static; }
  .product-details { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .header-inner { flex-direction: column; gap: 12px; }
  .order-strip-inner { flex-direction: column; text-align: center; }
  .steps { grid-template-columns: 1fr; }
  .numbers-inner { grid-template-columns: 1fr 1fr; }
  .mainnav-inner { padding: 0 12px; }
}
