/* =====================================================
   ARTTEX 031 — Homepage stylesheet
   Premium industrial workwear / PPE brand
   Stack: Vanilla HTML + CSS + JS
   ===================================================== */

/* ============= 1. Design tokens ============= */
:root {
  /* Brand */
  --c-red: #ed1c24;
  --c-red-2: #f32735;
  --c-red-dark: #c2151d;

  --c-ink: #1a1a1a;        /* near-black for headings */
  --c-charcoal: #222222;
  --c-charcoal-2: #2b2b2b;

  --c-body: #3a3a3a;
  --c-muted: #6b6b6b;
  --c-line: #e6e6e6;

  --c-bg: #ffffff;
  --c-bg-soft: #f7f7f7;
  --c-bg-soft-2: #f1f1f1;
  --c-bg-dark: #141414;

  /* Type */
  --ff-display: "Barlow Condensed", "Rajdhani", system-ui, sans-serif;
  --ff-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Sizing */
  --container: 1280px;
  --container-px: clamp(1rem, 3vw, 1.75rem);

  --header-h: 80px;
  --topbar-h: 38px;
  --header-total: calc(var(--topbar-h) + var(--header-h));

  /* Radius / shadow */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.18);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 180ms;
  --t-base: 320ms;
  --t-slow: 600ms;
}

/* ============= 2. Reset / base ============= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-body);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  color: var(--c-ink);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.005em;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

a:hover { color: var(--c-red); }

img, svg { max-width: 100%; display: block; }

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
}

ul, ol { padding: 0; margin: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection { background: var(--c-red); color: #fff; }

/* Utility */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
  width: 100%;
}

.t-red { color: var(--c-red); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-red);
  color: #fff;
  padding: 10px 16px;
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ============= 3. Buttons ============= */
.btn {
  --bg: var(--c-red);
  --fg: #fff;
  --bd: var(--c-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--bg);
  color: var(--fg);
  border: 2px solid var(--bd);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
  cursor: pointer;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
  transform: translateX(-110%);
  transition: transform 600ms var(--ease);
  pointer-events: none;
}

.btn:hover { transform: translateY(-2px); color: #fff; }
.btn:hover::after { transform: translateX(110%); }
.btn:active { transform: translateY(0); }

.btn--primary { --bg: var(--c-red); --bd: var(--c-red); }
.btn--primary:hover { --bg: var(--c-red-dark); --bd: var(--c-red-dark); }

.btn--outline { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.7); }
.btn--outline:hover { --bg: #fff; --fg: var(--c-ink); --bd: #fff; }

.btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.45); }
.btn--outline-light:hover { --bg: #fff; --fg: var(--c-ink); --bd: #fff; }

.btn--ghost { --bg: transparent; --fg: var(--c-ink); --bd: var(--c-ink); }
.btn--ghost:hover { --bg: var(--c-ink); --fg: #fff; --bd: var(--c-ink); }

.btn--sm { padding: 9px 16px; font-size: 0.85rem; }
.btn--lg { padding: 16px 28px; font-size: 1.05rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--c-ink);
  position: relative;
}
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover { color: var(--c-red); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============= 4. Preloader ============= */
.preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 10000;
  display: grid;
  place-items: center;
  transition: opacity 600ms var(--ease), visibility 600ms var(--ease);
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }

.preloader__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.preloader__img {
  width: clamp(180px, 28vw, 280px);
  height: auto;
  display: block;
  animation: preloaderLogo 1600ms var(--ease) both;
}
@keyframes preloaderLogo {
  0%   { opacity: 0; transform: scale(0.92); }
  60%  { opacity: 1; transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1); }
}
.preloader__bar {
  width: 180px;
  height: 3px;
  background: var(--c-bg-soft-2);
  overflow: hidden;
}
.preloader__bar span {
  display: block;
  height: 100%;
  width: 30%;
  background: var(--c-red);
  animation: loadbar 1.2s infinite var(--ease);
}
@keyframes loadbar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}

/* ============= 5. Top utility bar ============= */
.topbar {
  background: var(--c-ink);
  color: #cfcfcf;
  font-size: 0.78rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar__left {
  display: flex;
  align-items: center;
  gap: 22px;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d6d6d6;
  transition: color var(--t-fast) var(--ease);
}
.topbar__item:hover { color: #fff; }
.topbar__item .ico {
  width: 14px;
  height: 14px;
  fill: var(--c-red);
}
.topbar__item--mute { color: #a8a8a8; }
.topbar__badge {
  display: inline-block;
  padding: 4px 10px;
  background: linear-gradient(90deg, var(--c-red), var(--c-red-2));
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

@media (max-width: 900px) {
  .topbar { display: none; }
  :root { --topbar-h: 0px; }
}
@media (max-width: 540px) {
  :root { --header-h: 70px; }
}

/* ============= 6. Header ============= */
.header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.header.is-stuck {
  box-shadow: var(--shadow-sm);
  background: rgba(255,255,255,0.98);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding-top: 6px;
  padding-bottom: 6px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--c-ink);
  flex-shrink: 0;
}
.logo__img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--t-fast) var(--ease);
}
.logo:hover .logo__img { transform: scale(1.02); }
@media (max-width: 540px) {
  .logo__img { height: 38px; }
}

/* Nav */
.nav { display: flex; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 16px 16px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.05em;
  color: var(--c-ink);
  text-transform: uppercase;
  position: relative;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  height: 2px;
  background: var(--c-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-base) var(--ease);
}
.nav__link:hover,
.nav__link.is-active,
.nav__item--has-mega.is-open .nav__link { color: var(--c-ink); }
.nav__link:hover::after,
.nav__link.is-active::after,
.nav__item--has-mega.is-open .nav__link::after { transform: scaleX(1); }

.nav__chev {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--t-fast) var(--ease);
}
.nav__item--has-mega.is-open .nav__chev { transform: rotate(180deg); }

/* Header actions */
.actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.iconbtn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--c-ink);
  background: transparent;
  position: relative;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.iconbtn:hover { background: var(--c-bg-soft); color: var(--c-red); }
.iconbtn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Language switch */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  margin-right: 4px;
  border-right: 1px solid var(--c-line);
}
.lang__btn {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--c-muted);
  padding: 6px 6px;
  position: relative;
}
.lang__btn.is-active { color: var(--c-red); }
.lang__btn.lang__btn--disabled { color: #b0b0b0; cursor: not-allowed; }
.lang__sep { color: var(--c-muted); font-size: 0.85rem; }

/* Hamburger */
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--c-ink);
  display: block;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Search overlay (full-screen dropdown) ===== */
.search {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(80px, 14vh, 140px);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.search[data-open="true"] {
  pointer-events: auto;
  opacity: 1;
}
.search__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.search__inner {
  position: relative;
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 180px);
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(-12px);
  transition: transform var(--t-base) var(--ease);
}
.search[data-open="true"] .search__inner { transform: translateY(0); }

.search__form {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--c-line);
}
.search__ico {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--c-red);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.search__input {
  flex: 1;
  border: 0;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  padding: 6px 0;
  background: transparent;
  color: var(--c-ink);
  outline: none;
}
.search__clear {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  background: var(--c-bg-soft);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.search__clear:hover { background: var(--c-bg-soft-2); color: var(--c-ink); }
.search__clear svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round;
}

.search__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 22px 6px;
}
.search__label {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--c-red);
}
.search__hint {
  font-size: 0.72rem;
  color: var(--c-muted);
  letter-spacing: 0.04em;
}
@media (max-width: 540px) { .search__hint { display: none; } }

.search__results {
  list-style: none;
  margin: 0;
  padding: 6px 10px 14px;
  max-height: 460px;
  overflow-y: auto;
}
.search__result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  color: var(--c-ink);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease);
}
.search__result:hover,
.search__result.is-focused {
  background: var(--c-bg-soft);
}
.search__result-body {
  flex: 1;
  min-width: 0;
}
.search__result-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--c-ink);
  display: block;
  line-height: 1.2;
}
.search__result-title mark {
  background: rgba(237,28,36,0.16);
  color: var(--c-red);
  border-radius: 2px;
  padding: 0 2px;
}
.search__result-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-top: 4px;
}
.search__result-arrow {
  color: var(--c-muted);
  flex-shrink: 0;
  transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.search__result-arrow svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.search__result:hover .search__result-arrow,
.search__result.is-focused .search__result-arrow {
  color: var(--c-red);
  transform: translateX(4px);
}
.search__empty {
  padding: 30px 22px 36px;
  text-align: center;
  color: var(--c-muted);
  font-size: 0.95rem;
}
.search__close { margin-left: 6px; }
@media (max-width: 540px) {
  .search__close { padding: 8px 12px; }
  .search__form { padding: 14px 16px; }
  .search__input { font-size: 1.1rem; }
  .search__results { padding: 4px 6px 12px; }
}

/* ============= 7. Mega menu ============= */
.mega {
  position: fixed;
  left: 0;
  right: 0;
  top: calc(var(--topbar-h) + var(--header-h));
  background: #fff;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  box-shadow: var(--shadow-md);
  z-index: 60;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.mega[data-open="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* When the topbar is hidden on mobile breakpoints we still want correct position */
@media (max-width: 900px) {
  .mega { top: var(--header-h); }
}

.mega__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr) 1.3fr;
  gap: 28px;
  padding: 36px var(--container-px);
}
.mega__col {}
.mega__title {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.92rem;
  color: var(--c-red);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--c-line);
  position: relative;
}
.mega__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 28px; height: 2px;
  background: var(--c-red);
}
.mega__list li { margin-bottom: 8px; }
.mega__list a {
  display: inline-block;
  color: var(--c-body);
  font-size: 0.92rem;
  position: relative;
  padding-left: 0;
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}
.mega__list a::before {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 2px;
  background: var(--c-red);
  transition: width var(--t-base) var(--ease);
}
.mega__list a:hover {
  color: var(--c-ink);
  padding-left: 4px;
}
.mega__list a:hover::before { width: 100%; }

.mega__cta {
  background: var(--c-ink);
  color: #fff;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--r-md);
  background:
    linear-gradient(135deg, rgba(237,28,36,0.92), rgba(20,20,20,0.96)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 10px, transparent 10px 20px);
}
.mega__cta-title {
  color: #fff;
  font-size: 1.4rem;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.mega__cta-text {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

@media (max-width: 1180px) {
  .mega__grid { grid-template-columns: repeat(3, 1fr); }
  .mega__cta { grid-column: span 3; }
}

/* ============= 8. Mobile nav ============= */
.mnav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(420px, 88vw);
  background: #fff;
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(110%);
  transition: transform var(--t-base) var(--ease);
  box-shadow: var(--shadow-lg);
}
.mnav[data-open="true"] { transform: translateX(0); }
.mnav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--c-line);
}
.mnav__title {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink);
  font-size: 0.95rem;
}
.mnav__close {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mnav__close svg {
  width: 22px; height: 22px;
  fill: none; stroke: var(--c-ink);
  stroke-width: 2; stroke-linecap: round;
}

.mnav__nav { flex: 1; overflow-y: auto; padding: 12px 14px 30px; }
.mnav__list { display: flex; flex-direction: column; gap: 2px; }
.mnav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 10px;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  color: var(--c-ink);
  text-transform: uppercase;
  border-bottom: 1px solid var(--c-bg-soft);
}
.mnav__link svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor;
  stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  transition: transform var(--t-fast) var(--ease);
}
.mnav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.mnav__group {}
.mnav__sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base) var(--ease);
  padding: 0 4px;
}
.mnav__group.is-open .mnav__sub { max-height: 1500px; }
.mnav__sub .acc {
  border-bottom: 1px solid var(--c-bg-soft);
}
.mnav__sub .acc summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 8px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mnav__sub .acc summary::-webkit-details-marker { display: none; }
.mnav__sub .acc summary::after {
  content: "+";
  color: var(--c-red);
  font-weight: 700;
  font-size: 1.2rem;
  transition: transform var(--t-fast) var(--ease);
}
.mnav__sub .acc[open] summary::after { content: "−"; }
.mnav__sub .acc ul { padding: 4px 12px 14px; }
.mnav__sub .acc ul li a {
  display: block;
  padding: 8px 0;
  font-family: var(--ff-body);
  font-size: 0.92rem;
  color: var(--c-body);
}
.mnav__sub .acc ul li a:hover { color: var(--c-red); }

.mnav__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-top: 1px solid var(--c-line);
  background: var(--c-bg-soft);
}

.mnav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 90;
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.mnav-backdrop[data-open="true"] { opacity: 1; }

/* ============= 9. Tooltip ============= */
.tooltip {
  position: fixed;
  z-index: 200;
  background: var(--c-ink);
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 7px 12px;
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}
.tooltip::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid var(--c-ink);
  transform: translateX(-50%);
}
.tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============= 10. Hero ============= */
.hero {
  position: relative;
  width: 100%;
  /* Fill the visible viewport BELOW the sticky header/topbar.
     Fallbacks: vh (older), svh (modern stable), dvh (when supported).
     --header-total adapts via media queries (topbar disappears < 900px). */
  height: calc(100vh - var(--header-total));
  height: calc(100svh - var(--header-total));
  min-height: 520px;
  max-height: 980px;
  overflow: hidden;
  background: #0d0d0d;
  color: #fff;
}
@supports (height: 100dvh) {
  .hero { height: calc(100dvh - var(--header-total)); }
}
.hero__slides {
  position: absolute;
  inset: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms var(--ease), visibility 900ms;
}
.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.06);
  transition: transform 8s linear;
  will-change: transform;
}
/* Subtle Ken Burns zoom while a slide is active */
.hero__slide.is-active .hero__bg-img {
  transform: scale(1.14);
  transition: transform 8s linear;
}

/* Per-slide object-position tweaks so the important subject isn't
   awkwardly cropped on portrait/mobile viewports. */
@media (max-width: 720px) {
  .hero__slide[data-slide="0"] .hero__bg-img { object-position: 60% center; }
  .hero__slide[data-slide="1"] .hero__bg-img { object-position: 55% center; }
  .hero__slide[data-slide="2"] .hero__bg-img { object-position: 50% center; }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  /* Lighter cinematic gradient: keeps the bottom CTA area + left-side
     headline readable, but lets the workwear photo breathe. */
  background:
    linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.28) 55%, rgba(0,0,0,0.55) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.45), rgba(0,0,0,0.0) 60%);
}
@media (max-width: 720px) {
  /* Slightly heavier on mobile because text occupies more of the frame */
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.40) 55%, rgba(0,0,0,0.62) 100%),
      linear-gradient(90deg, rgba(0,0,0,0.30), rgba(0,0,0,0.0) 70%);
  }
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: 40px;
  padding-bottom: 120px; /* leaves room for slider controls + dots */
}
@media (max-width: 720px) {
  .hero__content { padding-bottom: 110px; }
}
.hero__eyebrow {
  display: inline-block;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #fff;
  background: var(--c-red);
  padding: 6px 14px;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms var(--ease) 200ms, transform 800ms var(--ease) 200ms;
}
.hero__title {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  font-weight: 800;
  font-style: italic;
  line-height: 1.02;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0,0,0,0.45);
  letter-spacing: 0;
  margin: 0 0 22px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease) 380ms, transform 900ms var(--ease) 380ms;
  text-transform: uppercase;
}
.hero__text {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: rgba(255,255,255,0.92);
  line-height: 1.6;
  max-width: 620px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms var(--ease) 560ms, transform 900ms var(--ease) 560ms;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 900ms var(--ease) 740ms, transform 900ms var(--ease) 740ms;
}
.hero__slide.is-active .hero__eyebrow,
.hero__slide.is-active .hero__title,
.hero__slide.is-active .hero__text,
.hero__slide.is-active .hero__cta {
  opacity: 1;
  transform: translateY(0);
}

/* Hero controls */
.hero__controls {
  position: absolute;
  left: 0; right: 0;
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 var(--container-px);
}
@media (max-width: 720px) {
  .hero__controls { bottom: 22px; gap: 12px; }
  .hero__arrow { width: 40px; height: 40px; }
  .hero__dot { width: 38px; }
}
.hero__arrow {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.18);
  color: #fff;
  border-radius: 50%;
  backdrop-filter: blur(4px);
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.hero__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__arrow:hover { background: var(--c-red); border-color: var(--c-red); transform: translateY(-2px); }

.hero__dots {
  display: flex;
  gap: 10px;
}
.hero__dot {
  width: 56px;
  height: 4px;
  background: rgba(255,255,255,0.22);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  border-radius: 1px;
}
.hero__dot.is-active { background: rgba(255,255,255,0.3); }
.hero__progress {
  position: absolute;
  inset: 0;
  background: var(--c-red);
  transform: scaleX(0);
  transform-origin: left center;
}
.hero__dot.is-active .hero__progress {
  animation: heroProgress 6s linear forwards;
}
@keyframes heroProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero__scroll {
  position: absolute;
  right: 28px;
  bottom: 30px;
  z-index: 3;
  width: 26px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: 14px;
  display: none;
  align-items: flex-start;
  justify-content: center;
}
.hero__scroll span {
  width: 3px; height: 8px;
  background: #fff;
  margin-top: 6px;
  border-radius: 2px;
  animation: scrollHint 1.6s infinite var(--ease);
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.3; }
  100% { transform: translateY(0); opacity: 1; }
}

@media (min-width: 1000px) {
  .hero__scroll { display: flex; }
}

/* ============= 11. Section base ============= */
.section {
  padding: clamp(60px, 8vw, 110px) 0;
  position: relative;
}
.section--alt { background: var(--c-bg-soft); }
.section--dark { background: var(--c-bg-dark); color: #e8e8e8; }
.section--dark h2,
.section--dark h3 { color: #fff; }

/* The single dark "Modeli koje firme najčešće traže" section gets the
   second hero image as a subtle background. Scoped to #reference so
   future dark sections don't inherit it. */
#reference.section--dark {
  position: relative;
  overflow: hidden;
  background-color: var(--c-bg-dark);
  background-image: url('../img/hero/arttex-011-slide-2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  isolation: isolate;
}
#reference.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(15,15,15,0.82) 0%, rgba(15,15,15,0.92) 100%),
    radial-gradient(circle at 85% 30%, rgba(237,28,36,0.18), transparent 55%);
  pointer-events: none;
}
#reference.section--dark > .container { position: relative; z-index: 1; }
@media (max-width: 720px) {
  #reference.section--dark { background-position: 60% center; }
  #reference.section--dark::before {
    background:
      linear-gradient(180deg, rgba(15,15,15,0.86) 0%, rgba(15,15,15,0.94) 100%);
  }
}

.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section__head--light { color: #fff; }
.section__head--light .section__lead { color: rgba(255,255,255,0.78); }

.section__eyebrow {
  display: inline-block;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--c-red);
  padding: 4px 0 0;
  position: relative;
  margin-bottom: 14px;
}
.section__eyebrow::before,
.section__eyebrow::after {
  content: "";
  display: inline-block;
  width: 26px; height: 2px;
  background: var(--c-red);
  vertical-align: middle;
  margin: 0 10px;
}

.section__title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  font-style: italic;
}
.section__lead {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: var(--c-muted);
  max-width: 640px;
  margin: 0 auto;
}
.section__head:not(:has(.section__lead)) .section__title { margin-bottom: 0; }

.section__more {
  text-align: center;
  margin-top: 44px;
}

/* ============= 12. Category cards ============= */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cat-grid { grid-template-columns: 1fr; } }

/* Constrain the photo height on full-width mobile so cards don't get too tall */
@media (max-width: 620px) {
  .cat-card__media { aspect-ratio: auto; height: 220px; }
}
@media (max-width: 390px) {
  .cat-card__media { height: 200px; }
}

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  color: var(--c-ink);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
  color: var(--c-ink);
}
.cat-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-bg-soft);
}
/* Subtle dark gradient at the top-right corner so the number badge stays
   legible against any photo background, and a soft bottom gradient for
   industrial premium feel. */
.cat-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20,20,20,0.0) 55%, rgba(20,20,20,0.18) 100%),
    radial-gradient(circle at top right, rgba(20,20,20,0.32), transparent 45%);
  transition: opacity var(--t-base) var(--ease);
  opacity: 0.85;
}
.cat-card:hover .cat-card__media::after { opacity: 0.6; }

.cat-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow) var(--ease);
  will-change: transform;
}
.cat-card:hover .cat-card__img { transform: scale(1.06); }

.cat-card__num {
  position: absolute;
  top: 12px; right: 16px;
  z-index: 2;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 2.2rem;
  font-style: italic;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
  padding: 2px 8px;
  background: rgba(237,28,36,0.92);
  border-radius: 2px;
  line-height: 1;
}
.cat-card__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto; /* fills remaining space so CTA aligns at bottom */
}
.cat-card__cta { margin-top: auto; padding-top: 4px; }
.cat-card__title {
  font-size: 1.55rem;
  margin: 0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-style: italic;
}
.cat-card__text {
  color: var(--c-body);
  font-size: 0.95rem;
  margin: 0 0 8px;
}
.cat-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86rem;
  color: var(--c-red);
}
.cat-card__cta svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform var(--t-fast) var(--ease);
}
.cat-card:hover .cat-card__cta svg { transform: translateX(6px); }

/* ============= 13. Story (about) ============= */
.story {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) {
  .story { grid-template-columns: 1fr; gap: 36px; }
}
.story__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-charcoal);
  box-shadow: var(--shadow-md);
}
/* Subtle premium dark vignette so the image matches the industrial design language */
.story__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,20,20,0.0) 60%, rgba(20,20,20,0.22) 100%),
    linear-gradient(135deg, rgba(20,20,20,0.0), rgba(20,20,20,0.12));
  pointer-events: none;
  z-index: 1;
}
.story__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 1.2s var(--ease), filter 1.2s var(--ease);
  filter: saturate(1.02) contrast(1.02);
}
.story__media:hover .story__img {
  transform: scale(1.05);
  filter: saturate(1.05) contrast(1.04);
}
@media (max-width: 720px) {
  .story__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 430px) {
  .story__media { aspect-ratio: 5 / 4; }
}
.story__badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  background: #fff;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.story__badge strong {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--c-red);
}
.story__badge span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.story__body .section__eyebrow { margin-left: 0; }
.story__body .section__eyebrow::before { display: none; }
.story__body .section__title { text-align: left; }
.story__body .section__lead { margin-left: 0; max-width: 100%; }

.story__bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin: 24px 0 28px;
}
@media (max-width: 540px) { .story__bullets { grid-template-columns: 1fr; } }
.story__bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-weight: 600;
  color: var(--c-charcoal);
  font-size: 0.95rem;
}
.story__bullets svg {
  width: 18px; height: 18px;
  fill: none; stroke: var(--c-red);
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.story__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============= 14. B2B section ============= */
.b2b {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-color: var(--c-ink);
  background-image: url('../img/hero/arttex-011-slide-1.png');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  isolation: isolate;
}
.b2b::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(15,15,15,0.78) 0%, rgba(20,20,20,0.88) 100%),
    radial-gradient(circle at 20% 25%, rgba(237,28,36,0.22), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0 16px, transparent 16px 32px);
  pointer-events: none;
}
.b2b > .container { position: relative; z-index: 1; }
@media (max-width: 720px) {
  .b2b { background-position: center; }
  .b2b::before {
    background:
      linear-gradient(180deg, rgba(15,15,15,0.84) 0%, rgba(20,20,20,0.92) 100%),
      radial-gradient(circle at 30% 20%, rgba(237,28,36,0.22), transparent 60%);
  }
}
.b2b__top { position: relative; text-align: center; margin-bottom: 60px; }
.b2b__eyebrow { color: var(--c-red); }
.b2b__title { color: #fff; }
.b2b__lead { color: rgba(255,255,255,0.78); margin: 0 auto 32px; }
.b2b__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  list-style: none;
  padding: 0;
}
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

.steps__item {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 28px 24px;
  border-radius: var(--r-md);
  transition: transform var(--t-base) var(--ease), background var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.steps__item:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(237,28,36,0.4);
}
.steps__num {
  display: inline-block;
  font-family: var(--ff-display);
  font-weight: 800;
  font-style: italic;
  font-size: 2.6rem;
  color: var(--c-red);
  line-height: 1;
  margin-bottom: 14px;
}
.steps__title {
  color: #fff;
  font-size: 1.25rem;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-style: italic;
}
.steps__text {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  margin: 0;
}

/* ============= 15. Why grid + facts ============= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
  padding: 0;
}
@media (max-width: 920px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 28px 24px;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-red);
}
.why-card__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  margin-bottom: 14px;
  background: rgba(237,28,36,0.1);
  color: var(--c-red);
  border-radius: 50%;
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.why-card:hover .why-card__ico {
  background: var(--c-red);
  color: #fff;
}
.why-card__ico svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.why-card__title {
  font-size: 1.2rem;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-style: italic;
}
.why-card__text {
  color: var(--c-body);
  font-size: 0.92rem;
  margin: 0;
}

.facts {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
}
@media (max-width: 880px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }
.facts li {
  text-align: center;
  padding: 8px;
  border-right: 1px solid var(--c-line);
}
.facts li:last-child { border-right: 0; }
@media (max-width: 880px) {
  .facts li:nth-child(2n) { border-right: 0; }
}
@media (max-width: 480px) {
  .facts li { border-right: 0; border-bottom: 1px solid var(--c-line); padding-bottom: 14px; }
  .facts li:last-child { border-bottom: 0; }
}
.facts strong {
  display: block;
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--c-red);
  line-height: 1;
  margin-bottom: 4px;
}
.facts span {
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}

/* ============= 16. Industries grid ============= */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 920px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .ind-grid { grid-template-columns: 1fr; } }

.ind-tile {
  position: relative;
  padding: 28px 24px;
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease), color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.ind-tile::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--c-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-base) var(--ease);
}
.ind-tile:hover {
  transform: translateY(-4px);
  border-color: transparent;
  background: var(--c-ink);
  color: #fff;
}
.ind-tile:hover::after { transform: scaleX(1); }
.ind-tile:hover .ind-tile__title,
.ind-tile:hover .ind-tile__text { color: #fff; }
.ind-tile:hover .ind-tile__ico { background: var(--c-red); color: #fff; }

.ind-tile__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--c-bg-soft);
  color: var(--c-red);
  border-radius: 2px;
  margin-bottom: 8px;
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.ind-tile__ico svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ind-tile__title {
  font-size: 1.2rem;
  margin: 0;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: 0.02em;
}
.ind-tile__text {
  color: var(--c-body);
  font-size: 0.92rem;
  margin: 0;
}

/* ============= 17. Showcase (Section 6 — on dark bg) ============= */
.show-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .show-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .show-grid { grid-template-columns: 1fr; } }

.show-card {
  background: #1c1c1c;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
}
.show-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-red);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.show-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111;
}
/* Subtle bottom vignette so the title strip below feels seamless without
   crushing the studio product photography. */
.show-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20,20,20,0) 60%, rgba(20,20,20,0.45) 100%);
  opacity: 0.85;
  transition: opacity var(--t-base) var(--ease);
}
.show-card:hover .show-card__media::after { opacity: 0.55; }
.show-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 800ms var(--ease);
  will-change: transform;
}
.show-card:hover .show-card__img { transform: scale(1.06); }
.show-card__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.show-card .link-arrow { margin-top: auto; padding-top: 4px; }
@media (max-width: 580px) {
  .show-card__media { aspect-ratio: 16 / 10; }
}
.show-card__title {
  color: #fff;
  font-size: 1.25rem;
  margin: 0 0 4px;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: 0.02em;
}
.show-card__text {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  margin: 0 0 14px;
}
.show-card .link-arrow { color: #fff; }
.show-card .link-arrow:hover { color: var(--c-red); }

/* ============= 18. Gallery ============= */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}
@media (max-width: 980px) { .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px; } }
@media (max-width: 640px)  { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; } }

.gallery__item {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(237,28,36,0.2), rgba(20,20,20,0.65)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 12px, transparent 12px 24px);
  display: block;
  transition: transform var(--t-base) var(--ease);
}
.gallery__item--lg { grid-column: span 2; grid-row: span 2; }
@media (max-width: 640px) {
  .gallery__item--lg { grid-column: span 2; grid-row: span 1; }
}

.gallery__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.0);
  transition: background var(--t-base) var(--ease);
}
.gallery__item:hover::before { background: rgba(0,0,0,0.35); }
.gallery__zoom {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.gallery__item:hover .gallery__zoom { opacity: 1; }
.gallery__zoom svg {
  width: 38px; height: 38px;
  fill: none; stroke: #fff;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  background: rgba(237,28,36,0.92);
  padding: 8px;
  border-radius: 50%;
}

/* Gallery tint variants */
.gallery__item[data-img="g1"] { background-color: #1f2a33; }
.gallery__item[data-img="g2"] { background-color: #2a1f1f; }
.gallery__item[data-img="g3"] { background-color: #1d201d; }
.gallery__item[data-img="g4"] { background-color: #2b2316; }
.gallery__item[data-img="g5"] { background-color: #1b1f2a; }
.gallery__item[data-img="g6"] { background-color: #2a1a1d; }

/* ============= 19. CTA band ============= */
.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: clamp(48px, 7vw, 80px) 0;
  background-color: var(--c-red);
  background-image: url('../img/hero/arttex-011-slide-3.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    /* strong branded red wash */
    linear-gradient(110deg, rgba(237,28,36,0.90) 0%, rgba(194,21,29,0.94) 100%),
    /* subtle diagonal pattern matching the previous design */
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 16px, transparent 16px 32px),
    /* corner depth */
    radial-gradient(circle at 90% 30%, rgba(0,0,0,0.22), transparent 50%);
  pointer-events: none;
}
.cta-band > .container { position: relative; z-index: 1; }
@media (max-width: 720px) {
  .cta-band { background-position: 60% center; }
  .cta-band::before {
    background:
      linear-gradient(180deg, rgba(237,28,36,0.92) 0%, rgba(194,21,29,0.96) 100%),
      repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 16px, transparent 16px 32px);
  }
}
.cta-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 880px) {
  .cta-band__inner { grid-template-columns: 1fr; text-align: center; }
}
.cta-band__eyebrow { color: #fff; }
.cta-band__eyebrow::before,
.cta-band__eyebrow::after { background: #fff; }
.cta-band__title {
  color: #fff;
  margin-bottom: 12px;
}
.cta-band__lead {
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
  margin: 0;
}
.cta-band__actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
@media (max-width: 880px) { .cta-band__actions { justify-content: center; } }

/* ============= 20. Footer ============= */
.footer {
  background: var(--c-bg-dark);
  color: #c8c8c8;
  padding-top: 60px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }

.logo--footer .logo__img {
  height: 70px;
  /* Real PNG is transparent; convert to clean white silhouette on dark footer */
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.logo--footer:hover .logo__img { opacity: 1; }
@media (max-width: 540px) {
  .logo--footer .logo__img { height: 56px; }
}

.footer__about {
  margin: 18px 0;
  color: #a8a8a8;
  font-size: 0.92rem;
  max-width: 360px;
}
.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social a {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #c8c8c8;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.footer__social a:hover {
  background: var(--c-red);
  color: #fff;
  border-color: var(--c-red);
}
.footer__social svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.footer__title {
  color: #fff;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
  font-style: italic;
}
.footer__list li {
  margin-bottom: 10px;
}
.footer__list a {
  color: #a8a8a8;
  font-size: 0.92rem;
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}
.footer__list a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer__contact { display: flex; flex-direction: column; gap: 14px; }
.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: #c8c8c8;
}
.footer__contact svg {
  width: 18px; height: 18px;
  fill: none; stroke: var(--c-red);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 3px;
}
.footer__contact a { color: #c8c8c8; }
.footer__contact a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0;
  background: #0d0d0d;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #888;
}
.footer__by { color: #666; }
.footer__bottom-inner p { margin: 0; }

/* ============= 21. Reveal-on-scroll ============= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============= 22. Responsive nav ============= */
@media (max-width: 1200px) {
  .nav__link { padding: 14px 12px; font-size: 1rem; letter-spacing: 0.04em; }
}
@media (max-width: 1000px) {
  .nav { display: none; }
  .hamburger { display: inline-flex; }
  .lang { display: none; }
  .iconbtn { width: 40px; height: 40px; }
}

@media (max-width: 540px) {
  .actions { gap: 0; }
}

/* ============= 24. Back-to-top button ============= */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 75;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px) scale(0.92);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), background var(--t-fast) var(--ease);
}
.to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.to-top:hover {
  background: var(--c-red);
  transform: translateY(-3px);
}
.to-top svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
@media (max-width: 540px) {
  .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* ============= 25. AI assistant ============= */
.ai-toggle {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 75;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 12px 14px;
  background: var(--c-red);
  color: #fff;
  border-radius: 999px;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.88rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.ai-toggle:hover {
  background: var(--c-red-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.ai-toggle__ico {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
}
.ai-toggle__ico svg {
  width: 18px; height: 18px;
  fill: none; stroke: #fff;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ai-toggle__label { line-height: 1; }
.ai-toggle__pulse {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
  animation: aiPulse 2s infinite var(--ease);
}
@keyframes aiPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.ai-toggle.is-open { background: var(--c-ink); }
.ai-toggle.is-open .ai-toggle__pulse { display: none; }

@media (max-width: 540px) {
  .ai-toggle {
    left: 16px;
    bottom: 16px;
    padding: 10px 14px 10px 10px;
    font-size: 0.8rem;
  }
  .ai-toggle__label { display: none; }
  .ai-toggle__ico { background: transparent; }
}

/* Chat panel */
.ai-panel {
  position: fixed;
  left: 24px;
  bottom: 88px;
  z-index: 76;
  width: min(380px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 140px));
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transform-origin: bottom left;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.ai-panel[data-open="true"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
@media (max-width: 540px) {
  .ai-panel {
    left: 12px;
    right: 12px;
    bottom: 78px;
    width: auto;
    max-height: calc(100vh - 120px);
  }
}

.ai-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--c-red), var(--c-red-dark));
  color: #fff;
}
.ai-panel__title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ai-panel__title strong {
  font-family: var(--ff-display);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  text-transform: uppercase;
  display: block;
}
.ai-panel__title span {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.78);
  margin-top: 2px;
}
.ai-panel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5dff8a;
  box-shadow: 0 0 0 4px rgba(93,255,138,0.22);
}
.ai-panel__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  color: #fff;
  display: inline-grid;
  place-items: center;
  transition: background var(--t-fast) var(--ease);
}
.ai-panel__close:hover { background: rgba(0,0,0,0.32); }
.ai-panel__close svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor;
  stroke-width: 2.4; stroke-linecap: round;
}

.ai-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px 8px;
  background: var(--c-bg-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}

.ai-msg {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  animation: aiMsgIn 280ms var(--ease) both;
}
@keyframes aiMsgIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ai-msg--bot {
  align-self: flex-start;
  background: #fff;
  color: var(--c-ink);
  border: 1px solid var(--c-line);
  border-bottom-left-radius: 4px;
}
.ai-msg--user {
  align-self: flex-end;
  background: var(--c-ink);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.ai-typing {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
}
.ai-typing span {
  width: 6px;
  height: 6px;
  background: var(--c-muted);
  border-radius: 50%;
  animation: aiDots 1.2s infinite var(--ease);
}
.ai-typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes aiDots {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.6; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.ai-panel__suggestions {
  padding: 10px 14px 12px;
  background: var(--c-bg-soft);
  border-top: 1px solid var(--c-line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 160px;
  overflow-y: auto;
}
.ai-chip {
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--c-charcoal);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  text-align: left;
  line-height: 1.3;
}
.ai-chip:hover {
  background: var(--c-red);
  color: #fff;
  border-color: var(--c-red);
}
.ai-chip.is-used {
  opacity: 0.55;
}

.ai-panel__foot {
  padding: 10px 16px;
  background: #fff;
  border-top: 1px solid var(--c-line);
  font-size: 0.74rem;
  color: var(--c-muted);
  text-align: center;
}
.ai-panel__foot a { color: var(--c-red); font-weight: 700; }

/* Ensure floating buttons don't overlap on very small screens */
@media (max-width: 380px) {
  .to-top { width: 40px; height: 40px; }
}

/* =====================================================
   26. Products page (proizvodi.html)
   Premium category listing / shop template
   ===================================================== */

/* ---- 26.1 Cart icon badge ---- */
.iconbtn--cart { position: relative; }
.iconbtn__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--c-red);
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px #fff;
  line-height: 1;
  animation: badgePop 240ms var(--ease);
}
@keyframes badgePop {
  0%   { transform: scale(0.4); opacity: 0; }
  60%  { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}

/* ---- 26.2 Page hero (inner page) ---- */
.page-hero {
  position: relative;
  isolation: isolate;
  background: var(--c-bg-dark);
  color: #fff;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 84px);
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(237,28,36,0.18) 0%, transparent 55%),
    radial-gradient(circle at 82% 70%, rgba(237,28,36,0.12) 0%, transparent 55%),
    linear-gradient(135deg, #161616 0%, #1f1f1f 50%, #141414 100%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.018) 0 8px, transparent 8px 16px);
  z-index: -1;
}
.page-hero__bg::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--c-red) 40%, var(--c-red) 60%, transparent 100%);
  opacity: 0.7;
}
.page-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 920px;
}
.page-hero__crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.65);
}
.page-hero__crumb a {
  color: rgba(255,255,255,0.85);
  transition: color var(--t-fast) var(--ease);
}
.page-hero__crumb a:hover { color: var(--c-red); }
.page-hero__crumb span[aria-current="page"] {
  color: var(--c-red);
}
.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--c-red);
}
.page-hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--c-red);
  display: inline-block;
}
.page-hero__title {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: 0.005em;
  margin: 4px 0 6px;
  line-height: 1.05;
}
.page-hero__lead {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 0 6px;
}
.page-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
@media (max-width: 540px) {
  .page-hero__cta .btn { flex: 1 1 auto; }
}

/* ---- 26.3 Shop section + layout ---- */
.shop-section { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 88px); }

.shop {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 980px) {
  .shop { grid-template-columns: 1fr; gap: 18px; }
  .shop__filters { display: none; }
}

/* ---- 26.4 Filters sidebar ---- */
.shop__filters {
  position: sticky;
  top: calc(var(--topbar-h) + var(--header-h) + 14px);
  max-height: calc(100vh - var(--topbar-h) - var(--header-h) - 28px);
  overflow-y: auto;
  padding-right: 4px;
}
.shop__filters::-webkit-scrollbar { width: 6px; }
.shop__filters::-webkit-scrollbar-track { background: transparent; }
.shop__filters::-webkit-scrollbar-thumb { background: var(--c-bg-soft-2); border-radius: 999px; }

.filters {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 18px 18px 22px;
}
.filters__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-line);
  position: relative;
}
.filters__head::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 34px; height: 2px;
  background: var(--c-red);
}
.filters__heading {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1rem;
  margin: 0;
  color: var(--c-ink);
}
.filters__reset-link {
  font-family: var(--ff-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--c-red);
  background: transparent;
  padding: 4px 6px;
  border-radius: 2px;
  transition: background var(--t-fast) var(--ease);
}
.filters__reset-link:hover { background: rgba(237,28,36,0.08); }

.filters__group {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
}
.filters__group + .filters__group {
  padding-top: 16px;
  border-top: 1px solid var(--c-line);
}
.filters__title {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--c-charcoal);
  margin: 0 0 10px;
  padding: 0;
  float: none;
}
.filters__opts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 4px;
}
.filters__opts::-webkit-scrollbar { width: 4px; }
.filters__opts::-webkit-scrollbar-thumb { background: var(--c-bg-soft-2); border-radius: 999px; }
.filters__opts--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  max-height: none;
}

.filters__opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--c-body);
  padding: 4px 0;
  line-height: 1.3;
  transition: color var(--t-fast) var(--ease);
}
.filters__opt:hover { color: var(--c-ink); }
.filters__opt input[type="checkbox"],
.filters__opt input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--c-line);
  background: #fff;
  border-radius: 3px;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.filters__opt input[type="radio"] { border-radius: 50%; }
.filters__opt input[type="checkbox"]:checked,
.filters__opt input[type="radio"]:checked {
  background: var(--c-red);
  border-color: var(--c-red);
}
.filters__opt input[type="checkbox"]:checked::after {
  content: "";
  width: 9px; height: 5px;
  border: 1.8px solid #fff;
  border-top: 0; border-right: 0;
  transform: rotate(-45deg) translate(0, -1px);
}
.filters__opt input[type="radio"]:checked::after {
  content: "";
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
}
.filters__opt input:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: 2px;
}

/* chip-style options (sizes, colors, uses, availability) */
.filters__opt--chip {
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 5px 10px;
  background: #fff;
  font-size: 0.78rem;
  font-family: var(--ff-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-charcoal);
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.filters__opt--chip input { display: none; }
.filters__opt--chip:has(input:checked) {
  background: var(--c-red);
  border-color: var(--c-red);
  color: #fff;
}
.filters__opt--chip:hover { border-color: var(--c-red); color: var(--c-red); }
.filters__opt--chip:has(input:checked):hover { color: #fff; }

/* ---- 26.5 Shop topbar (search/sort/count) ---- */
.shop__topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.shop-search {
  flex: 1 1 280px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 10px 14px;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.shop-search:focus-within {
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px rgba(237,28,36,0.12);
}
.shop-search svg {
  width: 18px; height: 18px;
  fill: none; stroke: var(--c-red);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.shop-search input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--c-ink);
  min-width: 0;
}
.shop-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.shop-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--c-charcoal);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 6px 10px 6px 14px;
  transition: border-color var(--t-fast) var(--ease);
}
.shop-sort:focus-within { border-color: var(--c-red); }
.shop-sort__label { white-space: nowrap; }
.shop-sort select {
  border: 0;
  background: transparent;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  color: var(--c-ink);
  padding: 8px 6px;
  outline: none;
  cursor: pointer;
}

.filters__open { display: none; }
@media (max-width: 980px) {
  .filters__open { display: inline-flex; }
  .shop__topbar { gap: 10px; }
  .shop-search { flex: 1 1 100%; }
}

/* ---- 26.6 Active filter chips ---- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  background: #fff;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--c-charcoal);
  letter-spacing: 0.02em;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  cursor: pointer;
}
.chip svg {
  width: 12px; height: 12px;
  fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round;
}
.chip:hover { border-color: var(--c-red); color: var(--c-red); }
.chip--clear {
  background: var(--c-ink);
  color: #fff;
  border-color: var(--c-ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.chip--clear:hover { background: var(--c-red); border-color: var(--c-red); color: #fff; }

/* ---- 26.7 Product count ---- */
.shop-count {
  font-family: var(--ff-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--c-muted);
  margin: 0 0 14px;
}

/* ---- 26.8 Product grid + cards ---- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1180px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px)  { .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 580px)  { .prod-grid { grid-template-columns: 1fr; } }

.prod-card {
  display: flex;
  flex-direction: column;
  background: #181818;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-md);
  overflow: hidden;
  color: #e8e8e8;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  position: relative;
}
.prod-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-red);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.prod-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #111;
  overflow: hidden;
  cursor: pointer;
}
.prod-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform var(--t-slow) var(--ease);
}
.prod-card:hover .prod-card__img { transform: scale(1.05); }
.prod-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20,20,20,0) 60%, rgba(20,20,20,0.45) 100%);
  opacity: 0.85;
  transition: opacity var(--t-base) var(--ease);
}
.prod-card:hover .prod-card__media::after { opacity: 0.55; }

.prod-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 4px 10px;
  background: var(--c-red);
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
}

.prod-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 20px;
  flex: 1;
}
.prod-card__cat {
  display: block;
  font-family: var(--ff-display);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--c-red);
}
.prod-card__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  line-height: 1.2;
  margin: 0;
  letter-spacing: 0.01em;
}
.prod-card__text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.prod-card__sizes {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.prod-card__sizes span:first-child {
  font-family: var(--ff-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  margin-right: 6px;
}
.prod-card__more {
  display: inline-block;
  background: rgba(237,28,36,0.12);
  color: var(--c-red);
  padding: 1px 7px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.7rem;
  margin-left: 4px;
}
.prod-card__price {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.88rem;
  color: var(--c-red);
  padding-top: 4px;
  border-top: 1px dashed rgba(255,255,255,0.12);
  margin-top: 4px;
}
.prod-card__actions {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.prod-card__actions .btn { flex: 1; justify-content: center; }
.prod-card__actions .btn--ghost {
  --bg: transparent;
  --fg: #fff;
  --bd: rgba(255,255,255,0.35);
}
.prod-card__actions .btn--ghost:hover { --bg: #fff; --fg: var(--c-ink); --bd: #fff; }

/* ---- 26.9 Product empty state ---- */
.prod-empty {
  text-align: center;
  padding: 50px 24px;
  border: 1px dashed var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-bg-soft);
  color: var(--c-charcoal);
}
.prod-empty svg {
  margin: 0 auto 14px;
  fill: none; stroke: var(--c-red);
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.prod-empty h3 {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--c-ink);
  margin: 0 0 8px;
}
.prod-empty p {
  color: var(--c-body);
  max-width: 540px;
  margin: 0 auto 20px;
  font-size: 0.95rem;
  line-height: 1.55;
}
.prod-empty__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* ---- 26.10 Product modal ---- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease);
}
.modal[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal__panel {
  position: relative;
  width: min(960px, 100%);
  max-height: calc(100vh - 48px);
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
}
.modal[data-open="true"] .modal__panel { transform: translateY(0) scale(1); }

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--c-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.modal__close svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round;
}
.modal__close:hover {
  background: var(--c-red);
  color: #fff;
  transform: rotate(90deg);
}

.modal__content {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 0;
  overflow-y: auto;
}
@media (max-width: 760px) {
  .modal__content { grid-template-columns: 1fr; }
}

.modal__media {
  position: relative;
  background: var(--c-bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 280px;
}
.modal__media img {
  max-width: 100%;
  max-height: 360px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.4));
}
.modal__tags {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.prod-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--c-red);
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
}
.prod-tag--soft {
  background: var(--c-bg-soft-2);
  color: var(--c-ink);
  border-radius: 999px;
}

.modal__body {
  padding: 30px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal__cat {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--c-red);
}
.modal__title {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  color: var(--c-ink);
  margin: 0;
  line-height: 1.1;
}
.modal__desc {
  color: var(--c-body);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.modal__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.modal__row-label {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--c-charcoal);
}
.modal__sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.size-btn {
  min-width: 44px;
  padding: 8px 12px;
  border: 1.5px solid var(--c-line);
  border-radius: 4px;
  background: #fff;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  color: var(--c-ink);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.size-btn:hover { border-color: var(--c-red); color: var(--c-red); }
.size-btn.is-active {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: #fff;
}
.modal__chiplist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.modal__qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--c-line);
  border-radius: 4px;
  overflow: hidden;
  width: max-content;
}
.qty-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--c-ink);
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--ff-display);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.qty-btn:hover { background: var(--c-red); color: #fff; }
.qty-input {
  width: 56px;
  height: 38px;
  text-align: center;
  border: 0;
  border-left: 1.5px solid var(--c-line);
  border-right: 1.5px solid var(--c-line);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-ink);
  background: #fff;
  outline: none;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.modal__price {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--c-red);
  padding: 8px 0;
  border-top: 1px dashed var(--c-line);
  border-bottom: 1px dashed var(--c-line);
  margin: 6px 0 4px;
}
.modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.modal__actions .btn { flex: 1; justify-content: center; }
.modal__note {
  font-size: 0.78rem;
  color: var(--c-muted);
  line-height: 1.5;
  margin: 8px 0 0;
  background: var(--c-bg-soft);
  border-left: 3px solid var(--c-red);
  padding: 10px 12px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

@media (max-width: 760px) {
  .modal { padding: 0; }
  .modal__panel { border-radius: 0; max-height: 100vh; height: 100vh; width: 100%; }
  .modal__media { padding: 28px; min-height: 220px; }
  .modal__media img { max-height: 220px; }
  .modal__body { padding: 22px 20px 24px; }
}

/* ---- 26.11 Inquiry side panel ---- */
.inquiry {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  width: min(460px, 100%);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(110%);
  transition: transform var(--t-base) var(--ease);
  box-shadow: var(--shadow-lg);
}
.inquiry[data-open="true"] { transform: translateX(0); }

.inquiry-backdrop {
  position: fixed;
  inset: 0;
  z-index: 115;
  background: rgba(10,10,10,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.inquiry-backdrop[data-open="true"] { opacity: 1; }

.inquiry__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--c-line);
  background: var(--c-ink);
  color: #fff;
}
.inquiry__title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.inquiry__title {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1rem;
  color: #fff;
  margin: 0;
}
.inquiry__total {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}
.inquiry__close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,0.08);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.inquiry__close:hover { background: var(--c-red); transform: rotate(90deg); }
.inquiry__close svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round;
}

.inquiry__body {
  flex: 0 1 auto;
  overflow-y: auto;
  padding: 14px 18px 8px;
  min-height: 100px;
  max-height: 38vh;
}
.inquiry__body::-webkit-scrollbar { width: 6px; }
.inquiry__body::-webkit-scrollbar-thumb { background: var(--c-bg-soft-2); border-radius: 999px; }

.inquiry__empty {
  text-align: center;
  padding: 30px 18px;
  color: var(--c-muted);
}
.inquiry__empty svg {
  fill: none; stroke: var(--c-red);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  margin: 0 auto 14px;
}
.inquiry__empty p { margin: 0 0 4px; }
.inquiry__empty-hint { font-size: 0.85rem; color: var(--c-muted); }

.inq-item {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-bg-soft-2);
}
.inq-item:last-child { border-bottom: 0; }
.inq-item__img {
  width: 68px;
  height: 68px;
  background: var(--c-bg-dark);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
}
.inq-item__img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.inq-item__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.inq-item__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-ink);
  margin: 0;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.inq-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--c-muted);
}
.inq-item__meta strong { color: var(--c-ink); }
.inq-item__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  width: max-content;
  margin-top: 2px;
}
.inq-item__qty .qty-btn { width: 28px; height: 28px; font-size: 1rem; }
.inq-item__qty .qty-input { width: 36px; height: 28px; font-size: 0.85rem; }
.inq-item__remove {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-bg-soft);
  color: var(--c-charcoal);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  align-self: start;
}
.inq-item__remove:hover { background: var(--c-red); color: #fff; }
.inq-item__remove svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round;
}

/* form */
.inquiry__form {
  border-top: 1px solid var(--c-line);
  padding: 16px 18px 18px;
  background: var(--c-bg-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  overflow-y: auto;
}
.inquiry__form-title {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--c-ink);
  margin: 0 0 4px;
}
.inq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.inq-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.inq-field--full { grid-column: 1 / -1; }
.inq-field span {
  font-family: var(--ff-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.76rem;
  color: var(--c-charcoal);
  text-transform: uppercase;
}
.inq-field input,
.inq-field textarea {
  font-family: var(--ff-body);
  font-size: 0.9rem;
  color: var(--c-ink);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  padding: 9px 11px;
  outline: none;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  width: 100%;
}
.inq-field textarea { resize: vertical; min-height: 64px; font-family: var(--ff-body); }
.inq-field input:focus,
.inq-field textarea:focus {
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px rgba(237,28,36,0.12);
}
.inquiry__note {
  font-size: 0.78rem;
  color: var(--c-charcoal);
  background: #fff;
  border-left: 3px solid var(--c-red);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 10px 12px;
  margin: 0;
  line-height: 1.5;
}
.inquiry__note strong { color: var(--c-ink); }
.inquiry__submit {
  width: 100%;
  margin-top: 2px;
}
.inquiry__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

@media (max-width: 540px) {
  .inquiry { width: 100%; }
  .inq-grid { grid-template-columns: 1fr; }
  .inquiry__body { max-height: 32vh; }
}

/* ---- 26.12 Mobile filters drawer ---- */
.filters-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 105;
  width: min(380px, 92vw);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(-110%);
  transition: transform var(--t-base) var(--ease);
  box-shadow: var(--shadow-lg);
}
.filters-drawer[data-open="true"] { transform: translateX(0); }
.filters-backdrop {
  position: fixed;
  inset: 0;
  z-index: 102;
  background: rgba(10,10,10,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.filters-backdrop[data-open="true"] { opacity: 1; }
.filters-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--c-ink);
  color: #fff;
}
.filters-drawer__title {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: #fff;
  margin: 0;
}
.filters-drawer__close {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: background var(--t-fast) var(--ease);
}
.filters-drawer__close:hover { background: var(--c-red); }
.filters-drawer__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.filters-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
}
.filters-drawer__hint {
  font-size: 0.82rem;
  color: var(--c-muted);
  background: var(--c-bg-soft);
  padding: 8px 10px;
  border-left: 3px solid var(--c-red);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: 0 0 14px;
}
.filters-drawer__foot {
  display: flex;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--c-line);
}
.filters-drawer__foot .btn { flex: 1; justify-content: center; }

@media (max-width: 980px) {
  .filters-drawer .filters {
    border: 0;
    padding: 0;
  }
  /* On mobile, the visible filters form is rendered in the drawer body */
  .filters-drawer__body > .filters__form { display: block; }
}

/* Move filters form to drawer on small screens via cloning would be ideal,
   but to keep things simple we display the same #filtersForm — its parent
   .shop__filters is hidden on mobile, so we move it visually via JS only
   if needed. Here we instead let the drawer body host a stylable copy
   when JS is available. Plain CSS fallback: drawer shows reset prompt
   and the in-page form is reachable via standard scrolling. */

/* ---- 26.13 Toast ---- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 12px);
  z-index: 130;
  background: var(--c-ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: var(--ff-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.88rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
  border-left: 4px solid var(--c-red);
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 540px) {
  .toast { bottom: 88px; width: calc(100% - 32px); text-align: center; left: 16px; transform: translate(0, 12px); border-radius: var(--r-sm); }
  .toast.is-visible { transform: translate(0, 0); }
}

/* ---- 26.14 Floating button layering (don't overlap inquiry/modal) ---- */
.is-locked .ai-toggle,
.is-locked .to-top { opacity: 0.4; pointer-events: none; }

/* =====================================================
   27. Product detail page (proizvod.html)
   ===================================================== */

/* ---- 27.1 Compact hero variant ---- */
.page-hero--compact { padding: clamp(40px, 6vw, 64px) 0 clamp(28px, 4vw, 44px); }
.page-hero--compact .page-hero__title { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.page-hero--compact .page-hero__eyebrow { letter-spacing: 0.14em; font-size: 0.74rem; }

/* ---- 27.2 Main product layout (gallery + info) ---- */
.product-section { padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 56px); }
.product-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: start;
}
@media (max-width: 880px) { .product-grid { grid-template-columns: 1fr; } }

/* Gallery */
.product-gallery {
  position: sticky;
  top: calc(var(--topbar-h) + var(--header-h) + 18px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (max-width: 880px) { .product-gallery { position: static; } }

.product-gallery__main {
  position: relative;
  background: var(--c-bg-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}
.product-gallery__main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 18%, rgba(237,28,36,0.16) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(237,28,36,0.10) 0%, transparent 55%);
}
.product-gallery__main img {
  position: relative;
  max-width: 84%;
  max-height: 84%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,0.45));
  transition: transform var(--t-slow) var(--ease);
}
.product-gallery__main:hover img { transform: scale(1.04); }
.product-gallery__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  background: var(--c-red);
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  z-index: 1;
}

.product-gallery__thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.product-thumb {
  width: 84px;
  height: 84px;
  border-radius: var(--r-sm);
  background: var(--c-bg-soft);
  border: 2px solid transparent;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.product-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-thumb:hover { transform: translateY(-2px); border-color: var(--c-line); }
.product-thumb.is-active { border-color: var(--c-red); }

/* Info card */
.product-info {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-info__cat {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--c-red);
}
.product-info__title {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--c-ink);
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0.005em;
}
.product-info__desc {
  color: var(--c-body);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}
.product-info__price {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.1rem;
  color: var(--c-red);
  padding: 12px 0;
  border-top: 1px dashed var(--c-line);
  border-bottom: 1px dashed var(--c-line);
}

.product-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-row__label {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--c-charcoal);
}
.product-sizes,
.product-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
/* size-btn comes from modal styles — reuse */

/* Color buttons (text chips with active state) */
.color-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1.5px solid var(--c-line);
  border-radius: 999px;
  background: #fff;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--c-ink);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.color-btn:hover { border-color: var(--c-red); color: var(--c-red); }
.color-btn.is-active {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: #fff;
}

.product-row--qty .modal__qty { width: max-content; }

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.product-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.product-actions .btn { flex: 1; justify-content: center; min-width: 180px; }

.product-note {
  font-size: 0.86rem;
  color: var(--c-charcoal);
  background: var(--c-bg-soft);
  border-left: 3px solid var(--c-red);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 12px 14px;
  margin: 0;
  line-height: 1.55;
}
.product-note strong { color: var(--c-ink); }

/* ---- 27.3 Tabs ---- */
.product-tabs-section { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); }
.product-tabs {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--c-line);
  background: var(--c-bg-soft);
}
.tab {
  flex: 1 1 auto;
  min-width: max-content;
  padding: 16px 20px;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.88rem;
  color: var(--c-charcoal);
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.tab::after {
  content: "";
  position: absolute;
  left: 20px; right: 20px; bottom: 0;
  height: 3px;
  background: var(--c-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.tab:hover { color: var(--c-ink); background: #fff; }
.tab.is-active { color: var(--c-ink); background: #fff; }
.tab.is-active::after { transform: scaleX(1); }
@media (max-width: 640px) {
  .tabs { overflow-x: auto; flex-wrap: nowrap; }
  .tab { flex: 0 0 auto; padding: 14px 16px; font-size: 0.78rem; }
  .tab::after { left: 16px; right: 16px; }
}

.tab-panels {
  padding: clamp(20px, 3vw, 32px);
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: tabIn 280ms var(--ease); }
@keyframes tabIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tab-panel p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-body);
  margin: 0 0 14px;
}
.tab-panel__hint {
  font-size: 0.9rem;
  color: var(--c-muted);
  font-style: italic;
}
.tab-panel__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* Spec list */
.spec-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
}
.spec-row {
  display: grid;
  grid-template-columns: minmax(180px, 30%) 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--c-line);
}
.spec-row:last-child { border-bottom: 0; }
.spec-row dt {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--c-charcoal);
  margin: 0;
}
.spec-row dd {
  margin: 0;
  font-size: 0.96rem;
  color: var(--c-ink);
  line-height: 1.5;
}
@media (max-width: 560px) {
  .spec-row { grid-template-columns: 1fr; gap: 2px; }
}

/* Uses list */
.uses-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 0 0 14px;
}
.uses-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-bg-soft);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  color: var(--c-ink);
}
.uses-list svg {
  width: 18px; height: 18px;
  fill: none; stroke: var(--c-red);
  stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---- 27.4 Related products (uses .prod-grid + .prod-card from products page) ---- */
.related-section .section__head { margin-bottom: 22px; }
.related-grid { /* inherits .prod-grid */ }
/* Make titles inside related cards keep their native link color */
.related-grid .prod-card__title a { color: inherit; }
.related-grid .prod-card__title a:hover { color: var(--c-red); }
/* Ensure card body Detaljnije link is full-width when used as anchor */
.related-grid .prod-card__actions .btn { flex: 1; justify-content: center; }

/* ---- 27.5 Detail final CTA  uses the existing .cta-band styles ---- */
/* Nothing new — reuses .cta-band block from homepage */

/* ---- 27.6 Not-found state ---- */
.not-found {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 24px;
  background: #fff;
  border: 1px dashed var(--c-line);
  border-radius: var(--r-lg);
}
.not-found svg {
  fill: none;
  stroke: var(--c-red);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin: 0 auto 16px;
}
.not-found h2 {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.6rem;
  color: var(--c-ink);
  margin: 0 0 10px;
}
.not-found p {
  color: var(--c-body);
  line-height: 1.65;
  margin: 0 0 22px;
}
.not-found__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================================================
   28. Real catalog additions — brand label, EN standards
       chips, RSD vs Cena-na-upit price styling.
   ===================================================== */

/* ---- EN standard chips (used on cards, modal, detail page) ---- */
.std-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(237, 28, 36, 0.08);
  color: var(--c-red);
  border: 1px solid rgba(237, 28, 36, 0.22);
  border-radius: 3px;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.66rem;
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
}
.std-chip--more {
  background: var(--c-bg-soft-2);
  color: var(--c-muted);
  border-color: var(--c-line);
}
/* On dark card bg: invert chip palette */
.prod-card .std-chip {
  background: rgba(237, 28, 36, 0.18);
  color: #ffb1b5;
  border-color: rgba(237, 28, 36, 0.35);
}
.prod-card .std-chip--more {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.65);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ---- Brand label on cards ---- */
.prod-card__brand {
  display: inline-block;
  font-family: var(--ff-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  margin: -2px 0 2px;
}
.prod-card__brand::before {
  content: "Brend: ";
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

/* ---- Standards row on cards ---- */
.prod-card__stds {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}

/* ---- Fixed price emphasis ---- */
.prod-card__price--fix {
  color: #ffd6d8;
}
.product-info__price--fix {
  color: var(--c-ink);
  background: rgba(237, 28, 36, 0.06);
  margin: 4px -6px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border-top: 0;
  border-bottom: 0;
}

/* ---- Brand block in modal + detail ---- */
.modal__brand,
.product-info__brand {
  font-size: 0.86rem;
  color: var(--c-body);
}
.modal__brand span,
.product-info__brand span {
  font-family: var(--ff-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--c-muted);
  margin-right: 6px;
}
.modal__brand strong,
.product-info__brand strong {
  color: var(--c-ink);
}

/* ---- Standards row on detail page (light bg) ---- */
.product-stds {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ---- Force product images to fit the dark card art area without
       distortion. Source images vary widely (300x300 to 768x768). ---- */
.prod-card__img,
.product-gallery__main img,
.modal__media img,
.inq-item__img img,
.product-thumb img {
  background: #fff;
}
.prod-card__img { background: #fff; padding: 8px; }

/* ---- product-card layout tightening for many EN chips ---- */
.prod-card__body { gap: 6px; }

/* ============= 23. Prefers reduced motion ============= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .hero__bg-img,
  .hero__slide.is-active .hero__bg-img { transform: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   29. O NAMA + KONTAKT PAGE COMPONENTS
   ========================================================== */

/* ---- 29.1 Page hero with photo backdrop (o-nama) ---- */
.page-hero--photo .page-hero__bg {
  background:
    linear-gradient(135deg, rgba(20,20,20,0.86) 0%, rgba(20,20,20,0.72) 50%, rgba(20,20,20,0.88) 100%),
    var(--page-photo, none) center / cover no-repeat;
}
.page-hero--photo .page-hero__bg::after { opacity: 0.85; }

/* ---- 29.2 Gallery photo variant (real <img> children) ---- */
.gallery--photos .gallery__item {
  background-color: #161616;
}
.gallery--photos .gallery__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.gallery--photos .gallery__item:hover img { transform: scale(1.06); }
.gallery--photos .gallery__zoom { z-index: 2; }
.gallery__note {
  margin-top: 18px;
  font-size: 0.92rem;
  color: var(--c-text-muted, #6b6b6b);
  text-align: center;
}

/* ---- 29.3 Info grid (kontakt + maloprodaja cards) ---- */
.info-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}
.info-grid--single {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}
.info-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 28px 26px 26px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.07);
}
.info-card__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(237,28,36,0.08);
  color: var(--c-red);
}
.info-card__ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.info-card__title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0.005em;
  margin: 0;
  color: var(--c-text, #1a1a1a);
}
.info-card__sub-title {
  margin: -8px 0 0;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-muted, #6b6b6b);
}
.info-card__list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--c-text, #1a1a1a);
}
.info-card__list > li > strong {
  display: inline-block;
  min-width: 120px;
  font-weight: 700;
  color: var(--c-text, #1a1a1a);
}
.info-card__list a {
  color: var(--c-text, #1a1a1a);
  border-bottom: 1px solid rgba(237,28,36,0.25);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.info-card__list a:hover {
  color: var(--c-red);
  border-bottom-color: var(--c-red);
}
.info-card__sub {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.info-card__sub li { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.info-card__tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(237,28,36,0.1);
  color: var(--c-red);
  font-weight: 700;
}
.info-card .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---- 29.4 Map grid (kontakt) ---- */
.map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 22px;
}
.map-card {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}
.map-card__wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #1a1a1a;
}
.map-card__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-card__cap {
  padding: 18px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.96rem;
}
.map-card__cap strong {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--c-text, #1a1a1a);
}
.map-card__cap span {
  color: var(--c-text-muted, #6b6b6b);
}
.map-card__cap .link-arrow { margin-top: 8px; }

/* ---- 29.5 Contact form (kontakt) ---- */
.contact-form-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-form {
  width: 100%;
  max-width: 760px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 32px clamp(20px, 4vw, 36px) 30px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form__note {
  margin: 4px 0 0;
  font-size: 0.92rem;
  color: var(--c-text-muted, #6b6b6b);
  line-height: 1.55;
}
.contact-form__submit { align-self: flex-start; }
.contact-form__status {
  margin: 6px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.45;
}
.contact-form__status.is-success {
  background: rgba(46,160,67,0.08);
  border: 1px solid rgba(46,160,67,0.3);
  color: #1e7d34;
}
.contact-form__status.is-error {
  background: rgba(237,28,36,0.08);
  border: 1px solid rgba(237,28,36,0.3);
  color: var(--c-red);
}

/* ---- 29.6 Small-screen tweaks ---- */
@media (max-width: 640px) {
  .info-card { padding: 22px 20px; }
  .info-card__list > li > strong { min-width: 100px; }
  .contact-form { padding: 24px 18px 22px; }
  .contact-form__submit { align-self: stretch; }
}

/* ---- 29.7 Reference page — intro + logo wall ---- */
.ref-intro .section__head { max-width: 920px; margin: 0 auto; }

.logo-wall {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}
.logo-wall__item {
  background: #fff;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  height: 120px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transition:
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}
.logo-wall__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
  border-color: rgba(237,28,36,0.35);
}
.logo-wall__item img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: filter var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.logo-wall__item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
.logo-wall__note {
  margin: 22px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
}

@media (max-width: 600px) {
  .logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .logo-wall__item {
    height: 104px;
    padding: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .logo-wall__item,
  .logo-wall__item img { transition: none; }
}

/* ---- 29.8 Galerija page — Sopstvena proizvodnja tiles + Vozila ---- */
.own-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.own-tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition:
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}
.own-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0,0,0,0.10);
  border-color: rgba(237,28,36,0.25);
}
.own-tile__media {
  position: relative;
  background: #f4f4f4;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.own-tile__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  display: block;
  transition: transform 0.5s var(--ease);
}
.own-tile:hover .own-tile__media img { transform: scale(1.04); }
.own-tile__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.own-tile__title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: 0.005em;
  margin: 0;
  color: var(--c-text, #1a1a1a);
}
.own-tile__text {
  margin: 2px 0 6px;
  font-size: 0.96rem;
  color: var(--c-text-muted, #6b6b6b);
  line-height: 1.5;
}
.own-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-red);
  font-size: 0.92rem;
  margin-top: auto;
}
.own-tile__cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--t-fast) var(--ease);
}
.own-tile:hover .own-tile__cta svg { transform: translateX(3px); }

/* Vozila — single Fancybox card */
.vozila-wrap {
  display: flex;
  justify-content: center;
}
.vozila-card {
  position: relative;
  display: block;
  width: 100%;
  max-width: 920px;
  border-radius: 18px;
  overflow: hidden;
  background: #161616;
  box-shadow: 0 14px 40px rgba(0,0,0,0.18);
  aspect-ratio: 16 / 9;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.vozila-card:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(0,0,0,0.24); }
.vozila-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.vozila-card:hover img { transform: scale(1.04); }
.vozila-card__zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
  z-index: 2;
}
.vozila-card:hover .vozila-card__zoom { opacity: 1; }
.vozila-card__zoom svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (prefers-reduced-motion: reduce) {
  .own-tile, .own-tile__media img, .own-tile__cta svg,
  .vozila-card, .vozila-card img { transition: none; transform: none !important; }
}

/* ---- 29.9 Za firme — industry tags + logo strip + light link ---- */
.industry-tags {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.industry-tags__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.98rem;
  color: var(--c-text, #1a1a1a);
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  transition:
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}
.industry-tags__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  border-color: rgba(237,28,36,0.35);
  color: var(--c-red);
}
.industry-tags__item svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--c-red);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Compact strip variant of logo-wall (Za firme reference teaser) */
.logo-wall--strip { margin-top: 28px; }
.logo-wall--strip .logo-wall__item { height: 96px; padding: 16px; }

/* Light link-arrow for use on dark sections */
.link-arrow--light { color: rgba(255,255,255,0.85); }
.link-arrow--light:hover { color: var(--c-red); }

@media (prefers-reduced-motion: reduce) {
  .industry-tags__item { transition: none; transform: none !important; }
}

/* ============================================================
   29.10 — Form submission status (inquiry + contact)
   Loading / success / error states + mailto fallback link.
   Mirrors .contact-form__status visual language so inquiry and
   kontakt feel identical.
   ============================================================ */
.inq-status {
  margin: 8px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.45;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--c-text, #111);
}
.inq-status.is-loading {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.08);
}
.inq-status.is-success {
  background: rgba(46,160,67,0.08);
  border-color: rgba(46,160,67,0.3);
  color: #1e7d34;
}
.inq-status.is-error {
  background: rgba(237,28,36,0.08);
  border-color: rgba(237,28,36,0.3);
  color: #b3151b;
}
.inq-status__fallback,
.contact-form__status-fallback {
  display: inline-block;
  margin-left: 4px;
  font-weight: 600;
  text-decoration: underline;
  color: inherit;
}
.inq-status__fallback:hover,
.contact-form__status-fallback:hover { opacity: 0.85; }

/* Disabled / loading state for the submit buttons */
.inquiry__submit.is-loading,
.contact-form__submit.is-loading {
  opacity: 0.75;
  cursor: progress;
}
.inquiry__submit:disabled,
.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================================
   29.11 — Legal document layout (Politika privatnosti, future
   uslovi-koriscenja, etc.). Single-column, comfortable line
   length, clear heading hierarchy — readable, NOT marketing.
   ============================================================ */
.legal-doc {
  max-width: 760px;
  margin: 0 auto;
  color: var(--c-text, #111);
}
.legal-doc__meta {
  color: var(--c-muted, #666);
  font-size: 0.95rem;
  margin: -0.25rem 0 1.5rem;
}
.legal-doc__intro {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.legal-doc h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.4rem;
  line-height: 1.3;
  letter-spacing: 0.005em;
}
.legal-doc h2:first-of-type { margin-top: 1rem; }
.legal-doc h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.1rem;
  line-height: 1.35;
}
.legal-doc p,
.legal-doc ul,
.legal-doc ol {
  line-height: 1.75;
  font-size: 1rem;
}
.legal-doc ul,
.legal-doc ol {
  padding-left: 1.5em;
  margin: 0.6rem 0 1rem;
}
.legal-doc li { margin: 0.35em 0; }
.legal-doc a { color: var(--c-red, #ed1c24); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc a:hover { text-decoration-thickness: 2px; }

.legal-doc__panel {
  background: rgba(0,0,0,0.035);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 1rem 0 1.5rem;
}
.legal-doc__panel p:last-child { margin-bottom: 0; }
.legal-doc__panel dl { margin: 0; }
.legal-doc__panel dt {
  font-weight: 600;
  margin-top: 0.5em;
  color: var(--c-text, #111);
}
.legal-doc__panel dt:first-child { margin-top: 0; }
.legal-doc__panel dd {
  margin: 0.15em 0 0.4em 0;
  line-height: 1.6;
}

.legal-doc__note {
  background: rgba(237,28,36,0.04);
  border: 1px solid rgba(237,28,36,0.2);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 2rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #6b1f22;
}
.legal-doc__note strong { color: #b3151b; }

@media (max-width: 640px) {
  .legal-doc h2 { font-size: 1.25rem; }
  .legal-doc h3 { font-size: 1.05rem; }
  .legal-doc__panel { padding: 14px 16px; }
}
