/* =========================================================
   Frigus – glavni CSS
   ========================================================= */

/* ---------- Tokeni ---------- */
:root {
  --bg: #f5f6fa;
  --surface: #ffffff;
  --surface-2: #eceef5;
  --line: #dfe2ec;

  --ink: #0b1440;
  --text-2: #454c63;
  --muted: #5e6479;

  --cold: #2633b8; /* hlađenje */
  --warm: #d81b6a; /* grijanje, akcenti */
  --dry: #0e7480; /* odvlaživanje */

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --wrap: 1296px;
  --radius: 12px;
  --header-h: 88px;
}

/* ---------- Osnova ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--cold);
  outline-offset: 2px;
}

/* ---------- Gumbi ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.btn--dark {
  background: var(--ink);
  color: #ffffff;
}

.btn--dark:hover {
  background: var(--cold);
}

.btn--outline {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: #ffffff;
}

/* ---------- Top bar ---------- */
.topbar {
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-2);
}

.topbar__inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar strong {
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.topbar__info {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar__info a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.topbar__info a:hover {
  color: var(--cold);
}

.topbar__servis {
  color: var(--warm) !important;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.admin-bar .site-header {
  top: 32px;
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo img {
  width: 188px;
  height: auto;
}

.site-logo__text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

/* ---------- Navigacija (desktop) ---------- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2px;
}

.main-nav__list > li {
  position: relative;
}

.main-nav__list a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.main-nav__list a:hover,
.main-nav__list .current-menu-item > a,
.main-nav__list .current-menu-ancestor > a {
  color: var(--cold);
}

/* strelica uz stavke s podizbornikom */
.main-nav__list .menu-item-has-children > a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

/* dropdown */
.main-nav__list .sub-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 40px -24px rgba(11, 20, 64, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.15s,
    transform 0.15s,
    visibility 0.15s;
}

.main-nav__list li:hover > .sub-menu,
.main-nav__list li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.main-nav__list .sub-menu a {
  min-height: 40px;
  font-weight: 500;
  white-space: nowrap;
}

.main-nav__list .sub-menu a:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.nav-toggle,
.submenu-toggle {
  display: none;
}

/* ---------- Navigacija (tablet i mobitel) ---------- */
@media (max-width: 1100px) {
  .topbar__shop,
  .topbar__hours {
    display: none;
  }

  .topbar__inner {
    justify-content: center;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    cursor: pointer;
  }

  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition:
      transform 0.2s,
      background 0.2s;
  }

  .nav-toggle__bars {
    position: relative;
  }

  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle__bars::before {
    top: -6px;
  }
  .nav-toggle__bars::after {
    top: 6px;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bars {
    background: transparent;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 8px 24px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav__list {
    flex-direction: column;
    gap: 0;
  }

  .main-nav__list > li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .main-nav__list > li > a {
    flex-grow: 1;
    min-height: 52px;
    padding: 0 4px;
    font-size: 17px;
  }

  .main-nav__list .menu-item-has-children > a::after {
    display: none;
  }

  .submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .submenu-toggle::before {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s;
  }

  .submenu-toggle[aria-expanded="true"]::before {
    transform: rotate(-135deg);
  }

  .main-nav__list .sub-menu {
    display: none;
    position: static;
    width: 100%;
    min-width: 0;
    padding: 0 0 8px 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .main-nav__list li.is-open > .sub-menu {
    display: block;
  }

  .main-nav__cta {
    width: 100%;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 96px;
  background: var(--ink);
  color: #cdd3e6;
  font-size: 15px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 56px;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.site-footer__title {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
}

.site-footer__address {
  font-style: normal;
  line-height: 1.7;
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer__list a {
  display: inline-block;
  padding: 4px 0;
  color: #cdd3e6;
  text-decoration: none;
}

.site-footer__list a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer__tel {
  color: #ffffff !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}

.site-footer .btn--outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.site-footer .btn--outline:hover {
  background: #ffffff;
  color: var(--ink);
}

.site-footer :focus-visible {
  outline-color: #ffffff;
}

.site-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0 28px;
  font-size: 13px;
  color: #9aa1bc;
}

.site-footer__legal p {
  margin: 0 0 4px;
}

@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* =========================================================
   Zajednički elementi sadržaja
   ========================================================= */
.btn--lg {
  min-height: 54px;
  padding: 0 28px;
  font-size: 16px;
}

.btn--light {
  background: #ffffff;
  color: var(--ink);
}

.btn--light:hover {
  background: var(--surface-2);
}

.eyebrow {
  margin: 0;
  color: var(--accent, var(--cold));
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.section {
  padding: 88px 0;
}

.section--white {
  background: var(--surface);
}

.section--tight {
  padding-top: 0;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.link-arrow {
  color: var(--cold);
  font-weight: 700;
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
}

.cijena-opis {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--ink);
}

.sidrena-cijena {
  display: block;
  color: var(--text-2);
  font-size: 14px;
}

/* =========================================================
   Naslovnica: hero + daljinski
   ========================================================= */
.hero {
  --tint: #dce2fa;
  --accent: var(--cold);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 32px 0 80px;
}

.hero[data-mode="gr"] {
  --tint: #fadce7;
  --accent: var(--warm);
}

.hero[data-mode="su"] {
  --tint: #d6edef;
  --accent: var(--dry);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 620px;
  gap: 48px;
  align-items: stretch;
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero__lead {
  margin: 0;
  max-width: 540px;
  color: var(--text-2);
  font-size: 20px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__visual {
  position: relative;
  min-height: 600px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--tint);
  transition: background 0.4s ease;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* boja načina rada preko fotografije */
.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tint);
  mix-blend-mode: multiply;
  opacity: 0.55;
  transition: background 0.4s ease;
  pointer-events: none;
}

.hero__shop {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 20px;
  border-radius: 16px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.hero__shop-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* daljinski */
.remote {
  position: absolute;
  left: 48px;
  top: 34px;
  z-index: 3;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 26px 24px 28px;
  border-radius: 52px 52px 64px 64px;
  background: #fcfcfe;
  box-shadow:
    0 30px 60px -28px rgba(11, 20, 64, 0.55),
    inset 0 -6px 0 rgba(11, 20, 64, 0.06);
}

.remote__brand {
  color: #878da3;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.3em;
}

.remote__lcd {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #c5d0be;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.18);
  color: #1c2820;
  font-family: "Share Tech Mono", ui-monospace, monospace;
}

.remote__lcd-top {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.remote__lcd-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  padding: 4px 0;
}

.remote__m2 {
  font-size: 72px;
  line-height: 1;
}

.remote__unit {
  font-size: 22px;
}

.remote__rec {
  padding-top: 6px;
  border-top: 1px solid rgba(28, 40, 32, 0.25);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-align: center;
}

.remote__row {
  width: 100%;
  display: flex;
  gap: 8px;
}

.remote__row--m2 {
  align-items: center;
  justify-content: space-between;
}

.remote__btn {
  flex: 1 1 0;
  min-height: 44px;
  padding: 0 6px;
  border: 1.5px solid #cdd2df;
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition:
    background 0.3s,
    border-color 0.3s,
    color 0.3s;
}

.remote__btn.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.remote__row:last-of-type .remote__btn.is-active {
  border-color: var(--ink);
  background: var(--ink);
}

.remote__round {
  width: 60px;
  height: 60px;
  border: 1.5px solid #cdd2df;
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  font-size: 28px;
  font-weight: 600;
  cursor: pointer;
}

.remote__round:active {
  transform: scale(0.95);
}

.remote__label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.remote__go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 10px 20px -10px rgba(11, 20, 64, 0.6);
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.4s ease;
}

/* =========================================================
   Naslovnica: marke
   ========================================================= */
.brands {
  padding: 0 0 40px;
}

.brands__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.brands__item {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--surface);
  text-decoration: none;
  transition: box-shadow 0.2s;
}

.brands__item:hover {
  box-shadow: 0 10px 24px -16px rgba(11, 20, 64, 0.4);
}

.brands__item img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.brands__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}

/* =========================================================
   Naslovnica: kategorije
   ========================================================= */
.cats {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 72px;
}

.cats__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cats__intro p {
  margin: 0;
  color: var(--text-2);
  font-size: 17px;
}

.cats__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cats__item {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.cats__nr {
  width: 36px;
  color: #878da3;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}

.cats__name {
  width: 340px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.01em;
}

.cats__desc {
  flex-grow: 1;
  color: var(--text-2);
}

.cats__arrow {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  transition:
    background 0.2s,
    color 0.2s;
}

.cats__item:hover .cats__name {
  color: var(--cold);
}

.cats__item:hover .cats__arrow {
  background: var(--ink);
  color: #ffffff;
}

/* =========================================================
   Naslovnica: popularne serije
   ========================================================= */
.series-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.series-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  text-decoration: none;
  transition: box-shadow 0.2s;
}

.series-card:hover {
  box-shadow: 0 20px 40px -28px rgba(11, 20, 64, 0.5);
}

.series-card__img {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: var(--surface-2);
}

.series-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* bijela pozadina slike se stopi s podlogom kartice */
  mix-blend-mode: multiply;
}

.series-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.series-card__brand {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.series-card__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
}

.series-card__price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.series-card__price .price {
  color: var(--warm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
}

.series-card__price del {
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
}

.series-card__price ins {
  text-decoration: none;
}

/* =========================================================
   Naslovnica: montaža i servis
   ========================================================= */
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 48px;
  border-radius: 28px;
}

.service p {
  margin: 0;
  color: #2f3650;
  font-size: 17px;
}

.service .eyebrow {
  color: var(--accent);
}

.service--cold {
  --accent: var(--cold);
  background: #e1e6fa;
}

.service--warm {
  --accent: var(--warm);
  background: #fbe3ec;
}

.service .btn {
  margin-top: 8px;
}

/* =========================================================
   Naslovnica: Klima shop
   ========================================================= */
.visit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 24px;
}

.visit__media {
  min-height: 380px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface-2);
}

.visit__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visit__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 44px;
  border-radius: 28px;
  background: var(--ink);
  color: #ffffff;
}

.visit__info {
  margin: 0;
  color: #cdd3e6;
  font-size: 17px;
}

.visit__phones {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.visit__phones a {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
}

/* =========================================================
   Naslovnica: tablet i mobitel
   ========================================================= */
@media (max-width: 1100px) {
  .hero__inner,
  .cats,
  .visit {
    grid-template-columns: 1fr;
  }

  .cats {
    gap: 32px;
  }

  .series-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero {
    padding-bottom: 56px;
  }

  .hero__visual {
    min-height: 0;
    display: flex;
    justify-content: center;
    padding: 32px 16px;
  }

  .remote {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 320px;
  }

  .hero__shop {
    display: none;
  }

  .section {
    padding: 56px 0;
  }

  .section__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .cats__item {
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 20px 0;
  }

  .cats__name {
    width: auto;
    flex-grow: 1;
    font-size: 26px;
  }

  .cats__desc {
    order: 4;
    width: 100%;
    padding-left: 52px;
    font-size: 15px;
  }

  .cats__arrow {
    width: 40px;
    height: 40px;
  }

  .series-grid,
  .services {
    grid-template-columns: 1fr;
  }

  .service,
  .visit__card {
    padding: 32px 24px;
  }

  .visit__media {
    min-height: 220px;
  }
}

/* =========================================================
   Ulazni efekti
   (samo uz JS i samo ako korisnik nije isključio animacije)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
      transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: calc(var(--i, 0) * 80ms);
  }

  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

  /* daljinski "izroni" pri učitavanju */
  .js .remote {
    animation: frigus-remote-in 0.9s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  @keyframes frigus-remote-in {
    from {
      opacity: 0;
      transform: translateY(40px) rotate(-3deg);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

.mpc-cijena {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

/* =========================================================
   WooCommerce: zajedničko
   ========================================================= */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 28px 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--cold);
}

.breadcrumb__sep {
  color: #b7bccc;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid #cdd2df;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}

.chip:hover {
  border-color: var(--ink);
}

.chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.chip.is-unavailable:not(.is-active) {
  border-style: dashed;
  color: var(--muted);
}

.chips--lg .chip {
  min-height: 48px;
  padding: 0 20px;
  font-size: 16px;
}

.specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.specs__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  border-radius: 12px;
  background: var(--bg);
}

.specs dt {
  color: var(--muted);
  font-size: 12px;
}

.specs dd {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}

.specs--compact {
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}

/* Woo cijena: <del> stara, <ins> nova */
.price del,
.serija__price del {
  color: var(--muted);
  font-size: 0.6em;
  font-weight: 500;
}

.price ins,
.serija__price ins {
  text-decoration: none;
}

/* =========================================================
   Lista proizvoda
   ========================================================= */
.shop {
  padding-bottom: 24px;
}

.shop__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
}

.shop__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.shop__desc {
  margin-top: 10px;
  max-width: 720px;
  color: var(--text-2);
  font-size: 17px;
}

.shop__desc p {
  margin: 0;
}

.woocommerce-ordering {
  margin: 0;
}

.woocommerce-ordering select {
  min-height: 46px;
  padding: 0 40px 0 14px;
  border: 1.5px solid #cdd2df;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
}

/* Marke kao filter */
.brand-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.brand-filter__item {
  flex: 0 0 auto;
  height: 64px;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: border-color 0.15s;
}

.brand-filter__item img {
  max-height: 32px;
  width: auto;
}

.brand-filter__item:hover {
  border-color: #cdd2df;
}

.brand-filter__item.is-active {
  border-color: var(--ink);
}

.shop__layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

/* Filteri */
.filters {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.filters__toggle {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
}

.filters__toggle::-webkit-details-marker {
  display: none;
}

.filter {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.filter:first-of-type {
  border-top: 0;
}

.filter__title {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 15px;
}

.filter__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.filter__link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  color: var(--text-2);
  text-decoration: none;
}

.filter__link:hover {
  color: var(--ink);
}

.filter__box {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 1.5px solid #b7bccc;
  border-radius: 6px;
  background: #ffffff;
}

.filter__link.is-active {
  color: var(--ink);
  font-weight: 700;
}

.filter__link.is-active .filter__box {
  border-color: var(--ink);
  background: var(--ink)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 16px no-repeat;
}

.filters__reset {
  display: inline-block;
  margin-top: 12px;
  color: var(--warm);
  font-weight: 700;
  font-size: 14px;
}

/* Kartice serija */
.series-list,
.woocommerce ul.products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product,
.series-list__item {
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.serija {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 240px;
  gap: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.serija__img {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 8px;
  border-radius: 16px;
  background: #ffffff;
}

.woocommerce ul.products li.product .serija__img img,
.serija__img img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  margin: 0;
  object-fit: contain;
}

.serija__main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.serija__brand {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.serija__name {
  margin: -8px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
}

.serija__name a {
  text-decoration: none;
}

.serija__name a:hover {
  color: var(--cold);
}

.serija__sku {
  margin: -8px 0 0;
  color: var(--text-2);
  font-size: 14px;
}

.serija__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.serija__label {
  color: var(--text-2);
  font-size: 13px;
  font-weight: 700;
}

.serija__buy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.serija__prices {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.serija__price {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.1;
}

.serija__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.serija__actions .btn {
  width: 100%;
}

.shop__empty {
  padding: 48px;
  border: 1px dashed #cdd2df;
  border-radius: 24px;
  text-align: center;
}

/* Paginacija */
.woocommerce nav.woocommerce-pagination {
  margin-top: 32px;
}

.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  justify-content: center;
  gap: 6px;
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--ink);
  color: #ffffff;
}

/* =========================================================
   Stranica proizvoda
   ========================================================= */
.single-wrap {
  padding-bottom: 24px;
}

.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.woocommerce div.product > *:not(.images):not(.summary) {
  grid-column: 1 / -1;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  float: none;
  width: 100%;
  margin: 0;
}

.woocommerce div.product div.images {
  padding: 24px;
  border-radius: 28px;
  background: var(--surface);
}

.woocommerce div.product div.images .flex-control-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.woocommerce div.product div.images .flex-control-thumbs li {
  width: 80px;
  float: none;
}

.woocommerce div.product div.images .flex-control-thumbs img {
  border-radius: 10px;
  background: var(--surface-2);
}

.woocommerce div.product div.summary {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.product-brand {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.product-brand:hover {
  color: var(--cold);
}

.woocommerce div.product .product_title {
  margin: -10px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
}

/* Obrazac varijacija: oznaka iznad gumba */
.woocommerce div.product form.cart {
  margin: 0;
}

.woocommerce div.product form.cart .variations {
  margin: 0 0 8px;
  border: 0;
}

.woocommerce div.product form.cart .variations tr {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
  display: block;
  padding: 0;
  line-height: 1.4;
  text-align: left;
}

.woocommerce div.product form.cart .variations label {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 700;
}

.woocommerce div.product form.cart .reset_variations {
  display: none !important;
}

.woocommerce div.product form.cart .woocommerce-variation-price {
  margin-top: 8px;
}

.woocommerce div.product form.cart .woocommerce-variation-price .price {
  font-size: 36px;
}

.woocommerce-variation-add-to-cart .quantity {
  display: none;
}

.single_variation .woocommerce-variation-description {
  display: none;
}

.variation-specs:empty {
  display: none;
}

.variation-specs {
  margin-top: 8px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 15px;
}

.variation-specs ul {
  margin: 0;
  padding-left: 18px;
}

.variation-specs li {
  padding: 3px 0;
}

.product-upit {
  align-self: flex-start;
}

/* Kartice Opis / Podaci */
.woocommerce div.product .woocommerce-tabs {
  margin-top: 32px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 6px;
  margin: 0 0 20px;
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 10px 18px;
  border-radius: 10px;
  color: var(--text-2);
  font-weight: 700;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: var(--ink);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: #ffffff;
}

.woocommerce div.product .woocommerce-tabs .panel {
  max-width: 820px;
  padding: 28px 32px;
  border-radius: 20px;
  background: var(--surface);
}

.woocommerce div.product .woocommerce-tabs .panel > h2:first-child {
  display: none;
}

/* Slične serije */
.woocommerce .related.products > h2 {
  margin: 40px 0 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
}

/* =========================================================
   Lista i proizvod: tablet i mobitel
   ========================================================= */
@media (max-width: 1100px) {
  .shop__layout {
    grid-template-columns: 1fr;
  }

  .filters:not([open]) .filter,
  .filters:not([open]) .filters__reset {
    display: none;
  }

  .filters__toggle::after {
    content: " +";
  }

  .filters[open] .filters__toggle::after {
    content: " −";
  }

  .serija {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .serija__buy {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: flex-end;
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .serija__actions {
    flex-direction: row;
  }

  .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .woocommerce div.product div.summary {
    position: static;
  }
}

@media (max-width: 760px) {
  .shop__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .serija {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 18px;
  }

  .serija__img {
    min-height: 0;
  }

  .woocommerce ul.products li.product .serija__img img,
  .serija__img img {
    height: auto;
    max-height: 260px;
  }

  .serija__buy {
    flex-direction: column;
    align-items: stretch;
  }

  .serija__actions {
    flex-direction: column;
  }

  .specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .woocommerce div.product div.images {
    padding: 12px;
  }

  .woocommerce div.product .woocommerce-tabs .panel {
    padding: 20px;
  }
}

/* =========================================================
   Naslovnica: suptilna pozadina heroja (Prilagodi → Naslovnica)
   ========================================================= */
.hero--bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: var(--hero-bg-opacity, 0.12);
  /* lagano se stapa s pozadinom stranice prema dnu */
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  pointer-events: none;
}

/* =========================================================
   Dekorativni val zraka
   ========================================================= */

/* Footer – brojčanik termostata, jedva vidljiv u desnom kutu */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-55%);
  width: 560px;
  height: 560px;
  background: url("../img/frigus-vrtlog-bijeli.svg") center / contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

@media (max-width: 760px) {
  .site-footer::before {
    opacity: 0.06;
  }
}

/* =========================================================
   Galerija proizvoda
   ========================================================= */
.fgal {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fgal__main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  background: #ffffff;
  cursor: zoom-in;
}

.fgal__main img,
.woocommerce div.product div.images .fgal__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fgal__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fgal__thumb {
  width: 76px;
  height: 76px;
  padding: 4px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.15s;
}

.fgal__thumb img,
.woocommerce div.product div.images .fgal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fgal__thumb:hover {
  border-color: #b7bccc;
}

.fgal__thumb.is-active {
  border-color: var(--ink);
}

/* Povećanje */
.fgal__dialog {
  width: min(92vw, 1100px);
  max-height: 92vh;
  padding: 24px;
  border: 0;
  border-radius: 20px;
  background: #ffffff;
}

.fgal__dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
}

.fgal__dialog-img {
  display: block;
  width: 100%;
  max-height: calc(92vh - 48px);
  object-fit: contain;
}

.fgal__close,
.fgal__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.fgal__close {
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: transparent;
  color: var(--muted);
  font-size: 30px;
  font-weight: 300;
  transition:
    background 0.15s,
    color 0.15s;
}

.fgal__close:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.fgal__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: transparent;
  color: var(--muted);
  font-size: 40px;
  font-weight: 300;
  transition:
    background 0.15s,
    color 0.15s;
}

.fgal__nav:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.fgal__nav--prev {
  left: 12px;
}

.fgal__nav--next {
  right: 12px;
}

.fgal__nav[hidden] {
  display: none;
}

/* =========================================================
   Varijacije: nedostupne opcije se skrivaju
   (osim u prvoj grupi, npr. Model, da se uvijek može promijeniti)
   ========================================================= */
.woocommerce
  div.product
  form.cart
  .variations
  tr:not(:first-child)
  .chip.is-unavailable:not(.is-active),
.serija__group:not(:first-of-type) .chip.is-unavailable:not(.is-active) {
  display: none;
}

.specs__item[hidden] {
  display: none;
}

/* Iznimka: broj unutarnjih jedinica uvijek prikazuje sve opcije (nedostupne iscrtkano) */
.chip.is-unavailable[data-attr="attribute_pa_broj-unutarnjih-jedinica"] {
  display: inline-block !important;
}

/* =========================================================
   Filter cijene (dvostruki klizač)
   ========================================================= */
.price-filter__slider {
  position: relative;
  height: 32px;
  margin: 4px 0 6px;
}

.price-filter__track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  border-radius: 2px;
  background: var(--line);
}

.price-filter__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 2px;
  background: var(--ink);
}

.price-filter input[type="range"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 32px;
  margin: 0;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.price-filter input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
}

.price-filter input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  pointer-events: auto;
}

.price-filter input[type="range"]::-moz-range-track {
  background: none;
}

.price-filter input[type="range"]:focus-visible::-webkit-slider-thumb {
  outline: 3px solid var(--cold);
  outline-offset: 2px;
}

.price-filter__values {
  margin: 0 0 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
}

.price-filter__btn {
  width: 100%;
  min-height: 40px;
}

/* =========================================================
   Lista: učitavanje bez osvježavanja
   ========================================================= */
.shop .shop__results,
.shop .brand-filter {
  transition: opacity 0.2s ease;
}

.shop.is-loading .shop__results,
.shop.is-loading .brand-filter {
  opacity: 0.45;
  pointer-events: none;
}

/* uz JS cijena se filtrira čim se klizač pusti, gumb ne treba */
.js .price-filter__btn {
  display: none;
}

/* =========================================================
   Naslovnica: iskustva kupaca
   ========================================================= */
.reviews {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.reviews__intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reviews__score {
  display: flex;
  align-items: center;
  gap: 16px;
  align-self: flex-start;
  padding: 16px 20px;
  border-radius: 18px;
  background: var(--surface);
  text-decoration: none;
  transition: box-shadow 0.2s;
}

.reviews__score:hover {
  box-shadow: 0 12px 28px -18px rgba(11, 20, 64, 0.45);
}

.reviews__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 52px;
  line-height: 1;
}

.reviews__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
}

.reviews__facts {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-2);
}

.reviews__facts strong {
  display: inline-block;
  min-width: 64px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
}

.reviews__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 24px;
  border-radius: 20px;
  background: var(--surface);
}

.review__text {
  flex-grow: 1;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

.review__text p {
  margin: 0;
}

.review__who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.review__who span {
  color: var(--muted);
}

/* Zvjezdice (djelomično popunjene) */
.stars {
  position: relative;
  display: inline-block;
  width: 100px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath d='M10 1l2.6 5.5 6 .7-4.4 4.1 1.1 5.9L10 14.3 4.7 17.2l1.1-5.9L1.4 7.2l6-.7z' fill='%23DFE2EC'/%3E%3C/svg%3E")
    left / 20px 18px repeat-x;
}

.stars__fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath d='M10 1l2.6 5.5 6 .7-4.4 4.1 1.1 5.9L10 14.3 4.7 17.2l1.1-5.9L1.4 7.2l6-.7z' fill='%23F5B400'/%3E%3C/svg%3E")
    left / 20px 18px repeat-x;
}

@media (max-width: 1100px) {
  .reviews {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .reviews__list {
    grid-template-columns: 1fr;
  }
}

/* stavke izbornika bez vlastite stranice (Klime, Grijanje, Usluge) */
.main-nav__list a.menu-link--grupa {
  cursor: default;
}

/* =========================================================
   Stranice (page.php, O nama)
   ========================================================= */
.page__head {
  padding-top: 56px;
  padding-bottom: 40px;
}

.page__head .page__title {
  max-width: 900px;
}

.page__head .eyebrow {
  margin-top: 8px;
}

.page__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.page__lead {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--text-2);
  font-size: 20px;
}

.page__body {
  padding-bottom: 32px;
}

/* Tipografija sadržaja iz uređivača */
.prose {
  max-width: 760px;
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.7;
}

.prose > * + * {
  margin-top: 1em;
}

.prose h2,
.prose h3 {
  margin-top: 1.8em;
  margin-bottom: 0.4em;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
}

.prose h2 {
  font-size: 32px;
}

.prose h3 {
  font-size: 24px;
}

.prose p {
  margin: 0;
}

.prose p + p {
  margin-top: 1em;
}

.prose a {
  color: var(--cold);
}

.prose strong {
  color: var(--ink);
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose img {
  border-radius: 16px;
}

/* O nama */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 64px;
  align-items: start;
  padding-bottom: 56px;
}

.about__text p:first-child {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.5;
}

.about__img {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
}

.about__img img {
  width: 100%;
  height: auto;
}

.facts {
  list-style: none;
  margin: 0;
  padding: 32px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.facts__item strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 48px;
  line-height: 1;
}

.facts__item span {
  color: var(--text-2);
}

@media (max-width: 1100px) {
  .about {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts__item strong {
    font-size: 36px;
  }
}

/* =========================================================
   Kako radimo (koraci)
   ========================================================= */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.steps__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}

.steps__nr {
  color: var(--cold);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
}

.steps__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
}

.steps__text {
  margin: 0;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .steps__nr {
    font-size: 44px;
  }
}

/* =========================================================
   Dekor: rešetka ventilatora vanjske jedinice
   Dodaj sekciji klase "has-fan has-fan--lijevo" ili "has-fan has-fan--desno"
   ========================================================= */
.has-fan {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.has-fan::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(420px, 48vw, 780px);
  aspect-ratio: 1 / 1;
  background: url("../img/ventilator.svg") center / contain no-repeat;
  pointer-events: none;
}

/* donji lijevi kut, dobar dio izvan ekrana */
.has-fan--lijevo::before {
  left: calc(clamp(420px, 48vw, 780px) * -0.42);
  bottom: calc(clamp(420px, 48vw, 780px) * -0.38);
}

/* desni rub, okomito u sredini */
.has-fan--desno::before {
  right: calc(clamp(420px, 48vw, 780px) * -0.45);
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 760px) {
  .has-fan::before {
    opacity: 0.6;
  }
}

/* =========================================================
   Dekor: tehnički crtež montaže (sekcija "Što tražite?")
   ========================================================= */
.has-crtez {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.has-crtez::before {
  content: "";
  position: absolute;
  left: -40px;
  bottom: -20px;
  z-index: -1;
  width: clamp(480px, 44vw, 760px);
  opacity: 0.3;
  aspect-ratio: 1400 / 940;
  background: url("../img/tehnicki-crtez.svg") left bottom / contain no-repeat;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .has-crtez::before {
    display: none;
  }
}

/* =========================================================
   Montaža i slične stranice usluga
   ========================================================= */
.montaza-uvod {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 56px;
  align-items: start;
  padding-bottom: 72px;
}

.montaza-uvod__cta {
  margin-top: 28px !important;
}

.card-list {
  padding: 32px;
  border-radius: 24px;
  background: var(--surface);
}

.card-list--muted {
  background: var(--surface-2);
}

.card-list__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
}

.checklist,
.crosslist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text-2);
}

.checklist li,
.crosslist li {
  position: relative;
  padding-left: 32px;
  line-height: 1.5;
}

.checklist li::before,
.crosslist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px;
}

.checklist li::before {
  background-color: var(--cold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.crosslist li::before {
  background-color: #b7bccc;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 3.5l5 5M8.5 3.5l-5 5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Tablica cijena */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.price-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 16px;
}

.price-table th,
.price-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.price-table thead th {
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
}

.price-table thead small {
  color: var(--muted);
  font-weight: 500;
}

.price-table tbody th {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
}

.price-table tbody td {
  font-weight: 700;
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.na-upit {
  color: var(--muted);
  font-weight: 600;
}

.price-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.callout {
  margin-top: 28px;
  padding: 18px 22px;
  border-left: 4px solid var(--cold);
  border-radius: 0 14px 14px 0;
  background: #e1e6fa;
  color: var(--ink);
}

.details {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.details summary {
  padding: 16px 22px;
  font-weight: 700;
  cursor: pointer;
}

.details[open] summary {
  border-bottom: 1px solid var(--line);
}

.details .prose {
  padding: 18px 22px 22px;
  font-size: 16px;
}

/* Nije uključeno + dodatni radovi */
.montaza-dodatno {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.extras {
  list-style: none;
  margin: 0;
  padding: 0;
}

.extras li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
}

.extras li:last-child {
  border-bottom: 0;
}

.extras__price {
  flex-shrink: 0;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.extras__price small {
  color: var(--muted);
  font-weight: 500;
}

/* Traka s pozivom na akciju */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px;
  border-radius: 28px;
  background: var(--ink);
  color: #ffffff;
}

.cta-band p {
  margin: 10px 0 0;
  color: #cdd3e6;
  font-size: 18px;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.btn--outline-light:hover {
  background: #ffffff;
  color: var(--ink);
}

@media (max-width: 1100px) {
  .montaza-uvod,
  .montaza-dodatno {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .card-list,
  .cta-band {
    padding: 28px 22px;
  }

  .extras li {
    flex-direction: column;
    gap: 4px;
  }
}

/* gumbi unutar teksta zadržavaju svoje boje */
.prose a.btn {
  text-decoration: none;
}

.prose a.btn--dark {
  color: #ffffff;
}

.prose a.btn--outline {
  color: var(--ink);
}

/* =========================================================
   Ružičasta iz logotipa kao boja akcije
   ========================================================= */
.btn--accent,
.main-nav__cta,
.product-upit,
.serija__actions .btn--outline,
.montaza-uvod__cta .btn,
.cta-band .btn--light {
  border-color: var(--warm) !important;
  background: var(--warm) !important;
  color: #ffffff !important;
}

.btn--accent:hover,
.main-nav__cta:hover,
.product-upit:hover,
.serija__actions .btn--outline:hover,
.montaza-uvod__cta .btn:hover,
.cta-band .btn--light:hover {
  border-color: #b5165a !important;
  background: #b5165a !important;
}

/* male oznake iznad naslova (hero i paneli zadržavaju svoju boju) */
.eyebrow {
  color: var(--accent, var(--warm));
}

/* =========================================================
   Servis: razlozi i jednostavna tablica cijena
   ========================================================= */
.reasons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.reason {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  border-radius: 22px;
  background: var(--bg);
}

.reason__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #e1e6fa;
  color: var(--cold);
}

.reason__title {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
}

.reason__text {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
}

.table-wrap--narrow {
  max-width: 760px;
}

.price-table--simple {
  min-width: 0;
}

.price-table--simple tbody th {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
}

.price-table--simple td {
  width: 160px;
  text-align: right;
  font-size: 18px;
}

.cta-band__link {
  color: #ffffff;
}

/* gumb "Dogovorite servis" u uvodu – ružičast kao ostale akcije */
.page--servis .montaza-uvod__cta .btn {
  border-color: var(--warm);
  background: var(--warm);
  color: #ffffff;
}

@media (max-width: 1100px) {
  .reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .reasons {
    grid-template-columns: 1fr;
  }

  .price-table--simple td {
    width: auto;
  }
}

/* Traka s pozivom: radno vrijeme sitnije */
.cta-band p.cta-band__meta {
  margin-top: 6px;
  color: #9aa1bc;
  font-size: 15px;
}

/* zadnja sekcija prije footera bez dodatnog donjeg razmaka (footer ima svoj) */
.site-main > .section:last-child {
  padding-bottom: 0;
}

#topBtn {
  display: none; /* Skriven je dok korisnik ne krene skrolati */
  position: fixed; /* Ostaje na istom mjestu na ekranu */
  bottom: 20px; /* Udaljenost od dna */
  right: 30px; /* Udaljenost od desnog ruba */
  z-index: 99; /* Osigurava da je gumb uvijek na vrhu drugih elemenata */
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px -10px rgba(11, 20, 64, 0.35);
  outline: none;
  background-color: #ffffff; /* Boja gumba */
  color: var(--ink); /* Boja strelice */
  cursor: pointer;
  padding: 15px;
  border-radius: 10px; /* Zaobljeni rubovi */
  font-size: 18px;
  transition: background-color 0.3s ease;
}

#topBtn:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

/* =========================================================
   Jamstvo
   ========================================================= */
.jamstvo-sazetak {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.jamstvo-sazetak > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border-radius: 18px;
  background: var(--surface);
}

.jamstvo-sazetak strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
}

.jamstvo-sazetak span {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.5;
}

.prose .jamstvo-istaknuto {
  padding: 18px 22px;
  border-left: 4px solid var(--warm);
  border-radius: 0 14px 14px 0;
  background: #fbe3ec;
  color: var(--ink);
  font-size: 16px;
}

.prose ol.uvjeti {
  list-style: none;
  padding-left: 0;
  counter-reset: uvjet;
}

.prose ol.uvjeti li {
  position: relative;
  padding: 16px 0 16px 52px;
  border-bottom: 1px solid var(--line);
  counter-increment: uvjet;
  font-size: 16px;
}

.prose ol.uvjeti li + li {
  margin-top: 0;
}

.prose ol.uvjeti li::before {
  content: counter(uvjet, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 14px;
  color: var(--cold);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
}

.prose .jamstvo-napomena {
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 760px) {
  .jamstvo-sazetak {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Načini plaćanja
   ========================================================= */
.placanje {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.placanje__kartica {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1.5px solid transparent;
  border-radius: 20px;
  background: var(--surface);
  font-size: 15px;
}

.placanje__kartica--istaknuta {
  border-color: var(--warm);
}

.placanje__oznaka {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e1e6fa;
  color: var(--cold);
  font-weight: 700;
  font-size: 13px;
}

.placanje__kartica--istaknuta .placanje__oznaka {
  background: var(--warm);
  color: #ffffff;
}

.prose .placanje__kartica h3 {
  margin: 0;
  font-size: 22px;
}

.prose .placanje__kartica p,
.prose .placanje__kartica ul {
  margin: 0;
}

.prose .placanje__kartica li + li {
  margin-top: 4px;
}

.prose ul.napomene {
  list-style: none;
  padding-left: 0;
}

.prose ul.napomene li {
  position: relative;
  padding: 14px 0 14px 32px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.prose ul.napomene li + li {
  margin-top: 0;
}

.prose ul.napomene li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cold);
}

@media (max-width: 900px) {
  .placanje {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Cjenik (strojno čitljivi cjenici)
   ========================================================= */
.cjenik {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 40px;
  align-items: start;
}

.cjenik__uvod {
  margin: 0 0 24px;
  color: var(--text-2);
  font-size: 17px;
}

.cjenik__lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cjenik__stavka {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border: 1.5px solid transparent;
  border-radius: 16px;
  background: var(--surface);
}

.cjenik__stavka > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cjenik__stavka strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
}

.cjenik__stavka--vazeci {
  border-color: var(--ink);
}

.cjenik__oznaka {
  align-self: flex-start;
  margin-bottom: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
}

.cjenik__meta {
  color: var(--muted);
  font-size: 14px;
}

.cjenik__prazno {
  padding: 32px;
  border: 1px dashed #cdd2df;
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
}

/* Obrazac (samo admin) */
.cjenik__upload {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.cjenik__napomena {
  margin: -10px 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.cjenik__forma {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cjenik__datoteka {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
}

.cjenik__datoteka input[type="file"] {
  padding: 12px;
  border: 1.5px dashed #cdd2df;
  border-radius: 12px;
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 14px;
}

.cjenik__poruka {
  margin: 0 0 14px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
}

.cjenik__poruka--ok {
  background: #e3f4ea;
  color: #1e6b3a;
}

.cjenik__poruka--greska {
  background: #fbe3ec;
  color: #a3134f;
}

@media (max-width: 900px) {
  .cjenik {
    grid-template-columns: 1fr;
  }

  .cjenik__upload {
    position: static;
    order: -1;
  }

  .cjenik__stavka {
    flex-direction: column;
    align-items: flex-start;
  }
}

.cjenik__zamka {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cjenik__datoteka input[type="password"] {
  min-height: 46px;
  padding: 0 14px;
  border: 1.5px solid #cdd2df;
  border-radius: 12px;
  background: #ffffff;
  font-family: var(--font-body);
  font-size: 15px;
}

/* =========================================================
   Kontakt
   ========================================================= */
.kontakt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 32px;
  align-items: start;
}

.polja {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.polje {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
}

.polje--puno {
  grid-column: 1 / -1;
}

.polje input,
.polje select,
.polje textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid #cdd2df;
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
}

.polje textarea {
  resize: vertical;
}

.polje input:focus,
.polje select:focus,
.polje textarea:focus {
  border-color: var(--cold);
  outline: none;
  box-shadow: 0 0 0 3px #e1e6fa;
}

.kontakt__napomena {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.privola {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 22px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
}

.privola input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--ink);
}

.privola a {
  color: var(--cold);
}

.kontakt__greske {
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fbe3ec;
  color: #a3134f;
  font-weight: 600;
  font-size: 14px;
}

.kontakt__greske p {
  margin: 0;
}

.kontakt__greske p + p {
  margin-top: 4px;
}

.kontakt__hvala p {
  margin: 0 0 20px;
  color: var(--text-2);
}

/* Info kartica */
.kontakt__info {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 36px;
  border-radius: 24px;
  background: var(--ink);
  color: #cdd3e6;
}

.kontakt__info p {
  margin: 0;
  font-size: 16px;
}

.kontakt__info-naslov {
  margin: 0 0 6px;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
}

.kontakt__tel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 14px 0 4px;
}

.kontakt__tel a {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  text-decoration: none;
}

.kontakt__email {
  margin-bottom: 18px;
  color: #ffffff;
}

@media (max-width: 1000px) {
  .kontakt {
    grid-template-columns: 1fr;
  }

  .kontakt__info {
    position: static;
  }
}

@media (max-width: 560px) {
  .polja {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Stranica proizvoda: fiksna galerija lijevo, sadržaj desno
   ========================================================= */
.woocommerce div.product div.images {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.admin-bar .woocommerce div.product div.images {
  top: calc(var(--header-h) + 56px);
}

/* galerija uvijek stane u ekran (velika slika + sličice) */
.fgal__main {
  max-height: calc(100vh - var(--header-h) - 200px);
}

/* povezani proizvodi preko cijele širine, ispod oba stupca */
.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products {
  grid-column: 1 / -1;
}

/* Opis serije i Podaci – sklopivi blokovi */
.product-section {
  border-top: 1px solid var(--line);
}

.product-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  cursor: pointer;
  list-style: none;
}

.product-section summary::-webkit-details-marker {
  display: none;
}

.product-section summary::after {
  content: "+";
  color: var(--muted);
  font-weight: 400;
  font-size: 28px;
}

.product-section[open] summary::after {
  content: "−";
}

.product-section__body {
  padding-bottom: 24px;
  font-size: 16px;
}

.product-section__body.prose {
  font-size: 16px;
}

/* tablica Podaci */
.product-section .woocommerce-product-attributes {
  width: 100%;
  border: 0;
  border-collapse: collapse;
}

.product-section .woocommerce-product-attributes th,
.product-section .woocommerce-product-attributes td {
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  text-align: left;
  font-size: 15px;
}

.product-section .woocommerce-product-attributes th {
  width: 45%;
  color: var(--muted);
  font-weight: 600;
}

.product-section .woocommerce-product-attributes td p {
  margin: 0;
}

@media (max-width: 1100px) {
  .woocommerce div.product div.images {
    position: static;
  }

  .fgal__main {
    max-height: none;
  }
}

/* Povezani proizvodi: Woo za njih daje stupce (columns-3 / 30 % širine) – poništavamo,
   da svaka kartica bude preko cijele širine kao na listi */
.woocommerce .related ul.products li.product,
.woocommerce .upsells ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product {
  width: 100%;
  float: none;
  clear: none;
  margin: 0;
}

/* Povezani proizvodi: male kartice, tri u redu */
.woocommerce .related ul.products,
.woocommerce .upsells ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.woocommerce .related ul.products li.product .series-card__img img,
.woocommerce .upsells ul.products li.product .series-card__img img {
  width: 100%;
  height: 100%;
  margin: 0;
}

@media (max-width: 1100px) {
  .woocommerce .related ul.products,
  .woocommerce .upsells ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .woocommerce .related ul.products,
  .woocommerce .upsells ul.products {
    grid-template-columns: 1fr;
  }
}

/* Povezani proizvodi: kartice iste visine, cijena uvijek na dnu */
.woocommerce .related ul.products li.product,
.woocommerce .upsells ul.products li.product {
  display: flex;
}

.woocommerce .related .series-card,
.woocommerce .upsells .series-card {
  width: 100%;
  height: 100%;
}

.woocommerce .related .series-card__body,
.woocommerce .upsells .series-card__body {
  flex-grow: 1;
}

.woocommerce .related .series-card__price,
.woocommerce .upsells .series-card__price {
  margin-top: auto;
}
