/* ==========================================================================
   Screenz — redizajn naslovnice (testna ruta /hr/redizajn/, po uzoru na gopro.com)
   Sve pod .rz da ne dira postojeće stranice teme. Predložak: pages/RedesignHome.html.twig
   ========================================================================== */

.rz {
    --rz-ink: #0b0b0b;
    --rz-ink-2: #3d3f42;
    --rz-muted: #6b6f74;
    --rz-paper: #ffffff;
    --rz-card: #e7e9ea;      /* GoPro kartica rgb(231,233,234) */
    --rz-gray: #e3e6e8;
    --rz-line: #d3d7da;
    --rz-blue: #34ADE2;      /* svijetlo plava iz postojeće teme (.blue-bg) */
    --rz-blue-ink: #0a6fa0;
    --rz-radius: 16px;
    --rz-pad: clamp(16px, 2.1vw, 30px);   /* GoPro: trake počinju na x=30 pri 1440 */
    --rz-max: 1440px;
    --rz-font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;

    font-family: var(--rz-font);
    color: var(--rz-ink);
    background: var(--rz-paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
.rz *, .rz *::before, .rz *::after { box-sizing: border-box; }
.rz [hidden] { display: none !important; }
.rz a { color: inherit; text-decoration: none; }
.rz p { margin: 0; }
.rz img { max-width: 100%; display: block; }
.rz h1, .rz h2, .rz h3 { margin: 0; font-family: var(--rz-font); color: inherit; }

.rz-wrap { width: 100%; max-width: var(--rz-max); margin: 0 auto; padding-left: var(--rz-pad); padding-right: var(--rz-pad); }
.rz-center { text-align: center; }

/* Tipografija — široki, teški, verzalni naslovi */
.rz-display {
    font-stretch: 125%;
    font-weight: 900;
    text-transform: uppercase;
    line-height: .95;
    letter-spacing: -.01em;
    font-size: clamp(2rem, 3.6vw, 3.25rem);   /* GoPro hero 52px pri 1440 */
    text-wrap: balance;
    overflow-wrap: break-word;
    hyphens: auto;
}
.rz-h1 { overflow-wrap: break-word; hyphens: auto; font-stretch: 125%; font-weight: 900; text-transform: uppercase; line-height: 1; font-size: clamp(1.75rem, 3.6vw, 3.25rem); letter-spacing: -.01em; text-wrap: balance; }
.rz-h2 { font-stretch: 125%; font-weight: 900; text-transform: uppercase; line-height: 1.02; font-size: clamp(1.4rem, 2.8vw, 2.4rem); text-wrap: balance; }
.rz-h3 { font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: clamp(1rem, 1.6vw, 1.25rem); letter-spacing: .02em; }

/* Gumbi */
.rz-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 48px; padding: 0 22px;   /* GoPro: 48px, padding 15/22, radius 8, 14px */
    border: 2px solid transparent; border-radius: 8px;
    font: 800 14px/1 var(--rz-font); font-stretch: 112%;
    text-transform: uppercase; letter-spacing: .04em;
    cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .18s;
    white-space: nowrap;
}
.rz-btn:active { transform: translateY(1px); }
.rz-btn--sm { min-height: 48px; }   /* GoPro nema manji gumb na kartama — VIEW ALL / BUY NOW su 48px */
.rz-nav__cta.rz-btn { min-height: 40px; padding: 0 18px; font-size: 13px; }
.rz-btn--light { background: #fff; color: var(--rz-ink) !important; }
.rz-btn--light:hover { background: var(--rz-blue); color: #fff !important; }
.rz-btn--ghost { border-color: #fff; color: #fff !important; background: transparent; }
.rz-btn--ghost:hover { background: #fff; color: var(--rz-ink) !important; }
.rz-btn--dark { background: var(--rz-ink); color: #fff !important; }
.rz-btn--dark:hover { background: var(--rz-blue); }
.rz-btn--outline { border-color: var(--rz-ink); color: var(--rz-ink) !important; background: transparent; }
.rz-btn--outline:hover { background: var(--rz-ink); color: #fff !important; }
.rz-btn:focus-visible, .rz-chip:focus-visible, .rz-round:focus-visible, .rz-sq:focus-visible, .rz a:focus-visible { outline: 3px solid var(--rz-blue); outline-offset: 3px; }

.rz-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }   /* GoPro: tekst→gumbi 24, između gumba 16 */
.rz-actions--center { justify-content: center; }

.rz-pill {
    display: inline-block; padding: 4px 12px; border: 1.5px solid currentColor; border-radius: 999px;
    font: 800 .7rem/1.2 var(--rz-font); font-stretch: 112%; text-transform: uppercase; letter-spacing: .06em;
}
.rz-pill--light { color: #fff; }
.rz-tag { display: inline-block; padding: 4px 8px; border-radius: 4px; background: var(--rz-ink-2); color: #fff; font-size: 12px; line-height: 18px; font-weight: 600; }
.rz-badge {
    position: absolute; top: 0; left: 0; z-index: 2;   /* GoPro NEW: 66×30, radius 16 0, #36bcf2, 14px */
    height: 30px; padding: 0 12px; display: flex; align-items: center; border-radius: var(--rz-radius) 0 var(--rz-radius) 0;
    background: #36bcf2; color: var(--rz-ink);
    font: 900 14px/1 var(--rz-font); font-stretch: 112%; text-transform: uppercase; letter-spacing: .02em;
}

/* ─── Header ─────────────────────────────────────────────────────────────── */
.rz-util { background: var(--rz-ink); color: #fff; font-size: .74rem; font-weight: 600; }
.rz-util__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.rz-util__left, .rz-util__right { display: flex; gap: 18px; align-items: center; }
.rz-util__center { flex: 1 1 auto; min-width: 0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: .04em; font-size: .7rem; }
.rz-util a { opacity: .75; }
.rz-util a:hover, .rz-util a.is-active { opacity: 1; }
.rz-util__right a.is-active { text-decoration: underline; text-underline-offset: 4px; }

.rz-nav { position: sticky; top: 0; z-index: 1030; background: #fff; border-bottom: 1px solid var(--rz-line); }
.rz-nav__in.navbar { display: flex; flex-wrap: wrap; align-items: center; min-height: 68px; padding-top: 0; padding-bottom: 0; box-shadow: none !important; }
.rz-nav__logo img { height: 40px; width: auto; }
.rz-nav__menu { margin: 0 auto; gap: 6px; }
.rz-nav__menu .nav-link {
    color: var(--rz-ink) !important; padding: 10px 14px !important;
    font: 700 .9rem/1 var(--rz-font); font-stretch: 105%;
}
.rz-nav__menu .nav-link:hover { color: var(--rz-blue-ink) !important; }
.rz-nav .dropdown-menu { border: 1px solid var(--rz-line); border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.12); padding: 8px; }
.rz-nav .dropdown-item { border-radius: 6px; font-size: .88rem; padding: 8px 12px; }
.rz-nav .dropend .dropdown-menu { top: -9px; }
.rz-nav__toggle { border: 0; padding: 10px 6px; display: flex; flex-direction: column; gap: 5px; box-shadow: none !important; }
.rz-nav__toggle span { display: block; width: 24px; height: 2px; background: var(--rz-ink); }
@media (max-width: 991.98px) {
    .rz-nav__toggle { margin-left: auto; }
    .rz-nav__menu { padding: 8px 0; }
    .rz-nav__cta { margin: 0 0 16px; }
    .rz-nav .dropdown-menu { box-shadow: none; border: 0; background: #f3f5f6; }
}

/* ─── Mediji (pozadina sekcije) ──────────────────────────────────────────── */
.rz-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0b0b0b center/cover no-repeat; }
.rz-media--yt { overflow: hidden; pointer-events: none; }
.rz-media--yt iframe {
    position: absolute; top: 50%; left: 50%; border: 0;
    width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh;
    transform: translate(-50%, -50%) scale(1.15);
}

/* ─── 1. Hero ────────────────────────────────────────────────────────────── */
.rz-hero { position: relative; height: clamp(520px, 48.6vw, 700px); background: #0b0b0b; overflow: hidden; color: #fff; }
.rz-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.rz-hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.rz-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 75%), linear-gradient(0deg, rgba(0,0,0,.45), rgba(0,0,0,0) 40%); }
.rz-hero__content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; gap: 40px; padding-left: clamp(96px, 10.1vw, 145px); padding-right: clamp(96px, 10.1vw, 145px); }   /* GoPro: tekst na x=145 */
.rz-hero__text { max-width: 720px; }
.rz-hero__text .rz-display { transform: translateY(16px); opacity: 0; transition: transform .8s .15s cubic-bezier(.2,.7,.2,1), opacity .8s .15s; }
.rz-hero__slide.is-active .rz-display { transform: none; opacity: 1; }
.rz-hero__sub { margin-top: 16px !important; font-size: 16px; line-height: 1.55; font-weight: 500; max-width: 560px; opacity: .92; }
.rz-hero__side { flex: 0 0 42%; display: flex; justify-content: center; }
.rz-hero__side img { max-height: 70%; max-height: 52vh; width: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }

.rz-sq {
    position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
    width: 48px; height: 48px; display: grid; place-items: center;   /* GoPro: 48×48, radius 8, 24px od ruba */
    background: rgba(249,249,249,.75); color: var(--rz-ink); border: 0; border-radius: 8px; cursor: pointer;
    transition: background-color .18s;
}
.rz-sq:hover { background: #fff; }
.rz-hero__prev { left: 24px; }
.rz-hero__next { right: 24px; }
.rz-hero__dots { position: absolute; z-index: 3; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; gap: 6px; }   /* GoPro: 20px crtice, korak 26, 30 od dna */
.rz-hero__dots button { width: 20px; height: 10px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.rz-hero__dots i { display: block; height: 4px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; border-radius: 2px; }
.rz-hero__dots i::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.rz-hero__dots .is-active i::after { transform: scaleX(1); animation: rz-progress 6s linear; }
.rz-hero.is-paused .rz-hero__dots .is-active i::after { animation: none; }
@keyframes rz-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.rz-hero__pause { position: absolute; z-index: 3; right: 0; bottom: 0; width: 50px; height: 50px; border: 0; background: none; color: #fff; cursor: pointer; display: grid; place-items: center; }
.rz-hero__pause .i-play { display: none; }
.rz-hero.is-paused .rz-hero__pause .i-play { display: block; }
.rz-hero.is-paused .rz-hero__pause .i-pause { display: none; }

@media (max-width: 767.98px) {
    .rz-hero { height: clamp(520px, 88svh, 700px); }
    .rz-hero__shade { background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.1) 100%); }
    /* column-reverse: flex-start = dno, tekst sjedi iznad crtica kao na GoPro mobitelu */
    .rz-hero__content { flex-direction: column-reverse; justify-content: flex-start; align-items: stretch; padding: 0 var(--rz-pad) 64px; gap: 20px; }
    .rz-hero__text { width: 100%; }
    .rz-hero .rz-display { font-size: clamp(1.7rem, 7.6vw, 2.6rem); }
    .rz-hero__side { flex: none; width: 100%; }
    .rz-hero__side img { max-height: 30vh; }
    .rz-sq { display: none; }
    .rz-actions .rz-btn { flex: 1 1 auto; }
}

/* ─── 2. Feature (puna širina, tekst dolje po sredini) ───────────────────── */
.rz-feature { position: relative; height: clamp(480px, 48.6vw, 700px); margin-top: 120px; color: #fff; overflow: hidden; background: #0b0b0b; }
.rz-feature__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,0) 70%); }
.rz-feature__content { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(48px, 6.3vw, 90px); padding: 0 var(--rz-pad); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }   /* GoPro: gumbi 90 od dna, naslov→tekst 16, tekst→gumbi 24 */
.rz-feature__content p { max-width: 640px; font-size: 16px; font-weight: 500; opacity: .92; }
.rz-feature__content .rz-actions { margin-top: 8px; }

/* ─── Sekcije ────────────────────────────────────────────────────────────── */
.rz-sec { padding-top: clamp(56px, 8vw, 120px); }
.rz-sec--tight { padding-top: clamp(40px, 6vw, 88px); }
.rz-head { margin-bottom: 40px; }   /* GoPro: podnaslov→kartice 40 */
.rz-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }   /* GoPro: naslov 52 → podnaslov 16px, razmak 20 */
.rz-head--center p { color: var(--rz-ink-2); max-width: 640px; font-size: 16px; }
.rz-head--tiles { margin-bottom: 36px; }
.rz-head--tiles .rz-h1 { font-size: clamp(1.4rem, 2.1vw, 1.875rem); }   /* GoPro "Shop by Activity" 30px, pločice 36 ispod */
.rz-head--row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rz-head--row .rz-h1 { font-size: clamp(1.5rem, 2.8vw, 2.5rem); }   /* GoPro "THE LATEST GOPRO NEWS" 40px */
.rz-after-rail { margin-top: 32px; }

/* ─── 3. Promo banner ────────────────────────────────────────────────────── */
.rz-promo {
    position: relative; display: flex; align-items: stretch; min-height: clamp(220px, 21.4vw, 308px); overflow: hidden;   /* GoPro 1349×308 */
    border-radius: var(--rz-radius); background: var(--rz-blue) center/cover no-repeat;
}
.rz-promo__text { position: relative; z-index: 1; flex: 0 1 50%; max-width: 600px; padding: 32px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; }   /* GoPro: 32 ruba, naslov 40 → tekst 12 → gumb 20 */
.rz-promo__text .rz-h2 { font-size: clamp(1.6rem, 2.8vw, 2.5rem); line-height: 1; }
.rz-promo__text p { font-size: 16px; font-weight: 500; max-width: 460px; }
.rz-promo__text .rz-btn { margin-top: 8px; }
.rz-promo__img { flex: 1 1 50%; display: flex; align-items: flex-end; justify-content: center; padding: 24px 24px 0; }
.rz-promo__img img { max-height: 340px; width: auto; object-fit: contain; }
.rz-promo__stack { flex: 1 1 50%; position: relative; min-height: 300px; }
.rz-promo__stack img {
    position: absolute; width: 38%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px;
    box-shadow: 0 18px 40px rgba(0,0,0,.28); transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.rz-promo__stack img:nth-child(1) { left: 6%;  top: 18%; transform: rotate(-6deg); }
.rz-promo__stack img:nth-child(2) { left: 31%; top: 6%;  z-index: 1; transform: rotate(2deg); }
.rz-promo__stack img:nth-child(3) { left: 56%; top: 20%; transform: rotate(7deg); }
.rz-promo:hover .rz-promo__stack img:nth-child(1) { transform: rotate(-9deg) translateX(-6px); }
.rz-promo:hover .rz-promo__stack img:nth-child(3) { transform: rotate(10deg) translateX(6px); }
@media (max-width: 767.98px) {
    .rz-promo { flex-direction: column; }
    .rz-promo__stack { min-height: 240px; margin: 0 24px 0; }
    .rz-promo__stack img { width: 34%; }
}

/* ─── Trake (horizontalni karuseli) ──────────────────────────────────────── */
.rz-rail { position: relative; }
.rz-rail__track {
    display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 27.8vw, 400px); gap: 12px;   /* GoPro kartica 400×600, razmak 12 */
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    padding: 4px max(var(--rz-pad), calc((100vw - var(--rz-max)) / 2 + var(--rz-pad))) 8px;
    scroll-padding-inline: max(var(--rz-pad), calc((100vw - var(--rz-max)) / 2 + var(--rz-pad)));
    scrollbar-width: none;
}
.rz-rail__track::-webkit-scrollbar { display: none; }
.rz-rail__track > * { scroll-snap-align: start; }
.rz-rail.is-static .rz-rail__track { justify-content: center; }
.rz-rail__track--tiles { grid-auto-columns: clamp(150px, 13.2vw, 190px); gap: 16px; }   /* GoPro 190×190 */
.rz-rail__track--news { grid-auto-columns: clamp(270px, 27.4vw, 394px); gap: 20px; }   /* GoPro 394×295 */
.rz-rail__track--full { grid-auto-columns: 100%; gap: 0; padding: 0; scroll-padding-inline: 0; }

.rz-round {
    position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
    width: 64px; height: 64px; border-radius: 50%; border: 0; display: grid; place-items: center;   /* GoPro: 64×64, #111, 4px od ruba */
    background: #111; color: #fff; cursor: pointer; box-shadow: none;
    transition: background-color .18s;
}
.rz-round:hover { background: var(--rz-blue-ink); }
.rz-rail__prev { left: max(4px, calc((100vw - var(--rz-max)) / 2)); }
.rz-rail__next { right: max(4px, calc((100vw - var(--rz-max)) / 2)); }
.rz-rail__track--tiles ~ .rz-round { width: 48px; height: 48px; }
@media (hover: none) { .rz-round { display: none; } }

/* Kartica proizvoda */
.rz-pcard { position: relative; display: flex; flex-direction: column; background: var(--rz-card); border-radius: var(--rz-radius); overflow: hidden; min-height: clamp(460px, 41.7vw, 600px); }
/* GoPro: slika 352×251 (≈1,4:1) unutar 24px ruba, ispod nje prostor do 356px */
.rz-pcard__img { display: block; padding: 30px 24px 0; background: var(--rz-card); }   /* GoPro: kartica 30/24/24, slika centrirana u 356px */
.rz-pcard__img img { width: 100%; aspect-ratio: 352 / 251; margin: 14.9% 0; object-fit: contain; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.rz-pcard:hover .rz-pcard__img img { transform: scale(1.04); }
.rz-pcard__body { display: flex; flex-direction: column; gap: 0; padding: 24px; flex: 1; }
.rz-pcard__title { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.3rem, 2.1vw, 1.875rem); line-height: 1; }   /* GoPro 30px */
.rz-pcard__desc { font-size: 14px; color: var(--rz-ink-2); line-height: 20px; margin-top: 20px !important; }   /* naslov→opis 20, opis→cijena 8, cijena→gumb 20 */
.rz-pcard__price { font-size: 14px; line-height: 20px; font-weight: 600; margin-top: 8px !important; }
.rz-pcard__title + .rz-pcard__price { margin-top: 20px !important; }
.rz-pcard .rz-btn { align-self: flex-start; margin-top: 20px; }

/* Čipovi (filter grupa) */
.rz-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -6px 0 26px; }
.rz-chip {
    padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--rz-line); background: #fff; color: var(--rz-ink);
    font: 700 .8rem/1 var(--rz-font); cursor: pointer; transition: border-color .18s, background-color .18s, color .18s;
}
.rz-chip:hover { border-color: var(--rz-ink); }
.rz-chip.is-active { background: var(--rz-ink); border-color: var(--rz-ink); color: #fff; }
@media (max-width: 767.98px) {
    .rz-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-left: calc(var(--rz-pad) * -1); margin-right: calc(var(--rz-pad) * -1); padding: 0 var(--rz-pad); scrollbar-width: none; }
    .rz-chip { flex: none; }
}

/* Pločice projekata */
.rz-tile { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--rz-radius); overflow: hidden; background: #222; }
.rz-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.rz-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,0) 55%); }
.rz-tile:hover img { transform: scale(1.06); }
.rz-tile__label {
    position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 16px; color: #fff;   /* GoPro: 24 lijevo/desno, 16 od dna, 16px */
    font: 800 16px/24px var(--rz-font); font-stretch: 112%; text-transform: uppercase;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ─── 7. Zašto Screenz ───────────────────────────────────────────────────── */
.rz-why { margin-top: clamp(56px, 8vw, 120px); padding: clamp(56px, 7vw, 96px) 0; background: var(--rz-gray); }
.rz-why .rz-head { margin-bottom: clamp(32px, 4vw, 56px); }
.rz-why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.rz-why__item svg { width: 44px; height: 44px; margin: 0 auto 14px; fill: none; stroke: var(--rz-ink); stroke-width: 2; stroke-linejoin: round; }
.rz-why__item h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.rz-why__item p { font-size: .82rem; color: var(--rz-ink-2); max-width: 270px; margin: 0 auto; line-height: 1.45; }
@media (max-width: 991.98px) { .rz-why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .rz-why__grid { grid-template-columns: 1fr; } }

/* ─── 8. Novosti ─────────────────────────────────────────────────────────── */
.rz-story { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }   /* GoPro: slika→oznaka 28, →naslov 8, →datum 12, →Read more 24 */
.rz-story__img { display: block; width: 100%; aspect-ratio: 394 / 295; border-radius: var(--rz-radius); overflow: hidden; background: var(--rz-card); margin-bottom: 28px; }
.rz-story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.rz-story:hover .rz-story__img img { transform: scale(1.04); }
.rz-story__title { font-size: 22px; font-weight: 600; line-height: 28px; margin-top: 8px !important; }
.rz-story__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rz-story time { font-size: 16px; line-height: 24px; color: var(--rz-ink); margin-top: 12px; }
.rz-story__more { color: #00a6e0 !important; font-weight: 400; font-size: 20px; line-height: 36px; margin-top: 24px; }
.rz-story__title + .rz-story__more { margin-top: 24px; }
.rz-story__more:hover { text-decoration: underline; }

/* ─── 9. Tri velike pločice ──────────────────────────────────────────────── */
.rz-most-title { margin-bottom: clamp(28px, 4vw, 48px); }

/* GoPro "Get the most…": karusel preko cijele širine, slajd 1425×700 */
.rz-trio__item { position: relative; display: block; height: clamp(420px, 48.6vw, 700px); width: 100%; scroll-snap-align: start; overflow: hidden; background: #111; color: #fff; }
.rz-trio__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.rz-trio__item:hover img { transform: scale(1.05); }
.rz-trio__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.1) 55%); }
.rz-trio__text { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(28px, 5vw, 72px) var(--rz-pad); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.rz-trio__sub { font-size: .78rem; font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: .06em; opacity: .9; }
.rz-trio__title { font-size: clamp(2rem, 3.6vw, 3.25rem); }
@media (max-width: 767.98px) {
    .rz-trio__item { height: 520px; }
}

/* ─── 11. Reference ──────────────────────────────────────────────────────── */
.rz-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(20px, 4vw, 56px); margin-top: 28px; }
.rz-logos img { height: clamp(48px, 6vw, 84px); width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.rz-logos img:hover { filter: none; opacity: 1; }

/* ─── 12. Završni CTA ────────────────────────────────────────────────────── */
.rz-cta { margin-top: clamp(56px, 8vw, 120px); background-color: var(--rz-ink); color: #fff; padding: clamp(40px, 6vw, 72px) 0; }
.rz-cta__in { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.rz-cta p { margin-top: 10px !important; opacity: .8; }
.rz-cta .rz-actions { margin-top: 0; }

.rz-hide-sm { }
@media (max-width: 767.98px) { .rz-hide-sm { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
    .rz *, .rz *::before, .rz *::after { transition: none !important; animation: none !important; }
    .rz-rail__track { scroll-behavior: auto; }
}

/* ==========================================================================
   Najam (Rentals.html.twig) + detalj najma (RentalDetail.html.twig) — 16.11.2026.
   ========================================================================== */
.rz-nav__menu .nav-link.is-active { color: var(--rz-blue-ink) !important; }

/* Mreža kartica (Najam): 3 u redu, kartica kao u traci */
.rz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rz-grid .rz-pcard { min-height: 0; }
@media (max-width: 991.98px) { .rz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .rz-grid { grid-template-columns: 1fr; } }

/* Breadcrumb */
.rz-crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; padding-bottom: 18px; font-size: 13px; color: var(--rz-muted); }
.rz-crumbs a:hover { color: var(--rz-ink); text-decoration: underline; text-underline-offset: 3px; }
.rz-crumbs [aria-current] { color: var(--rz-ink); font-weight: 600; }

/* Raspored detalja: lijevo galerija + opis/specifikacije, desno forma (sticky) */
.rz-pdp { display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 30vw, 440px); gap: clamp(24px, 3vw, 48px); align-items: start; }
.rz-pdp__main, .rz-pdp__aside { min-width: 0; }
.rz-pdp__main { padding-bottom: clamp(40px, 5vw, 72px); }   /* razmak zadnjeg paragrafa / specifikacija do podnožja */
.rz-pdp__form form, .rz-pdp__form .row { max-width: 100%; }
@media (max-width: 575.98px) { .rz-head--row { flex-wrap: wrap; } }
.rz-pdp__aside { position: sticky; top: 100px; padding-bottom: 30px; }   /* top: redesign.js mjeri stvarnu visinu navigacije; 30 px od podnožja */
.rz-pdp__box { background: #fff; border: 1px solid var(--rz-line); border-radius: var(--rz-radius); padding: 28px 24px; }   /* bez max-height/scrolla — gumb mora biti dostupan; visoku formu redesign.js pušta da se skrola (negativan top) */
.rz-pdp__title { margin-top: 14px; font-size: clamp(1.5rem, 2.2vw, 2rem); }
.rz-pdp__lead { margin-top: 14px !important; font-size: 15px; line-height: 1.5; color: var(--rz-ink-2); }
.rz-pdp__price { margin-top: 14px !important; font-size: 16px; font-weight: 700; }
.rz-pdp__form { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--rz-line); }
.rz-pdp__formsub { margin: 8px 0 14px !important; font-size: 14px; color: var(--rz-ink-2); line-height: 1.45; }
@media (max-width: 1199.98px) {
    .rz-pdp { grid-template-columns: minmax(0, 1fr); }
    .rz-pdp__aside { position: static; }
}

/* Galerija — kao gopro.com: 16:9 na računalu (3000×1688), 1:1 na mobitelu (2048×2048), sličice 124×80 */
.rz-gallery { outline: none; }
.rz-gallery__stage { position: relative; aspect-ratio: 16 / 9; border-radius: var(--rz-radius); overflow: hidden; background: #f2f3f4; }
.rz-gallery__item { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; display: grid; place-items: center; }
.rz-gallery__item.is-active { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.rz-gallery__item a, .rz-gallery__item picture { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.rz-gallery__item img, .rz-gallery__item video { width: 100%; height: 100%; object-fit: contain; }
.rz-gallery__item video { background: #000; }
/* Izrađene slike su točnog omjera — puni okvir (na mobitelu 1:1 izvor iz <picture>) */
.rz-gallery--gen .rz-gallery__item img { object-fit: cover; }
.rz-gallery--gen .rz-gallery__thumb img { object-fit: cover; }
.rz-gallery__item--empty span { font: 900 clamp(1.4rem, 3vw, 2.4rem)/1 var(--rz-font); font-stretch: 125%; text-transform: uppercase; color: var(--rz-line); padding: 24px; text-align: center; }
.rz-gallery__prev { left: 16px; }
.rz-gallery__next { right: 16px; }
.rz-gallery__count { position: absolute; z-index: 3; right: 16px; bottom: 16px; padding: 4px 10px; border-radius: 999px; background: rgba(11,11,11,.7); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.rz-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.rz-gallery__thumbs::-webkit-scrollbar { display: none; }
.rz-gallery__thumb { flex: none; width: 124px; aspect-ratio: 124 / 80; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #f2f3f4; cursor: pointer; opacity: .7; transition: opacity .18s, border-color .18s; display: grid; place-items: center; }
.rz-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.rz-gallery__thumb:hover { opacity: 1; }
.rz-gallery__thumb.is-active { border-color: var(--rz-ink); opacity: 1; }
.rz-gallery__play { color: var(--rz-ink); }
@media (max-width: 767.98px) {
    .rz-gallery__stage .rz-sq { display: grid; width: 40px; height: 40px; }
    .rz-gallery__stage { aspect-ratio: 1 / 1; }
    .rz-gallery__thumb { width: 88px; }
}

/* Opis (lijevo) + specifikacije (desno) */
.rz-pdp__info { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(32px, 4vw, 56px); }
.rz-pdp__info .rz-h3 { margin-bottom: 16px; }
.rz-prose { font-size: 16px; line-height: 1.65; color: var(--rz-ink-2); }
.rz-prose p { margin: 0 0 1em; }
.rz-prose ul, .rz-prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.rz-prose img { height: auto; border-radius: 10px; }
.rz-specs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rz-line); }
.rz-specs li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--rz-line); font-size: 15px; line-height: 1.4; }
.rz-specs li svg { flex: none; margin-top: 1px; color: var(--rz-blue-ink); }
.rz-specs li strong { font-weight: 600; }
.rz-specs li em { display: block; font-style: normal; color: var(--rz-muted); font-size: 14px; margin-top: 2px; }
/* "Izvrtanje" stavka po stavka: JS doda is-armed (skriveno), pa is-in kad lista uđe u ekran; kašnjenje po stavci iz JS-a */
.rz-specs.is-armed li { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.rz-specs.is-armed.is-in li { opacity: 1; transform: none; }
.rz-pdp__pdf { margin-top: 20px; }
@media (max-width: 767.98px) { .rz-pdp__info { grid-template-columns: 1fr; } }

/* Paragrafi proizvoda ispod (partiali teme) */
.rz-pdp__paragraphs { margin-top: clamp(32px, 4vw, 56px); }
/* Paragrafi u izgledu redizajna: isti partiali kao na prodajnom proizvodu, samo tipografija i slike kao .rz */
.rz-pdp__paragraphs .container { max-width: none; width: 100%; padding-left: 0; padding-right: 0; }
/* U stupcu galerije: blokovi s podlogom (boja/slika) dobiju unutarnji razmak i zaobljene rubove kao galerija */
.rz-pdp__paragraphs .paragraph-block { border-radius: var(--rz-radius); overflow: hidden; }
.rz-pdp__paragraphs .paragraph-block[style*="background"] > .container,
.rz-pdp__paragraphs .paragraph-image-bg > .container { padding-left: clamp(20px, 3vw, 40px); padding-right: clamp(20px, 3vw, 40px); }
.rz-pdp__paragraphs .paragraph-block + .paragraph-block { margin-top: 12px; }
.rz-pdp__paragraphs .paragraph-block .title,
.rz-pdp__paragraphs .paragraph-block h2,
.rz-pdp__paragraphs .paragraph-block h3 {
    font-family: var(--rz-font); font-stretch: 125%; font-weight: 900; text-transform: uppercase; line-height: 1;
    font-size: clamp(1.6rem, 2.8vw, 2.5rem); letter-spacing: -.01em; text-wrap: balance; margin-bottom: 20px !important;
}
.rz-pdp__paragraphs .paragraph-block { font-size: 16px; line-height: 1.65; }
/* Dvostruki razmak između slike i teksta (Bootstrap gutter 1.5rem → 3rem; na mobitelu mb-4/mt-4 → 3rem) */
.rz-pdp__paragraphs .paragraph-block .row { --bs-gutter-x: 3rem; }
@media (max-width: 767.98px) {
    .rz-pdp__paragraphs .paragraph-block .mb-4 { margin-bottom: 3rem !important; }
    .rz-pdp__paragraphs .paragraph-block .mt-4 { margin-top: 3rem !important; }
}
.rz-pdp__paragraphs .paragraph-block:not(.para-forced-color) { color: var(--rz-ink-2); }
.rz-pdp__paragraphs .paragraph-block:not(.para-forced-color) .title,
.rz-pdp__paragraphs .paragraph-block:not(.para-forced-color) h3 { color: var(--rz-ink); }
.rz-pdp__paragraphs .paragraph-block p { margin: 0 0 1em; }
.rz-pdp__paragraphs .paragraph-block ul { padding-left: 1.2em; margin: 0 0 1em; }
.rz-pdp__paragraphs .paragraph-block li { margin-bottom: .35em; }
.rz-pdp__paragraphs .paragraph-block img.img-fluid { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--rz-radius); }
.rz-pdp__paragraphs .paragraph-block .btn { border-radius: 8px; font-family: var(--rz-font); font-weight: 800; text-transform: uppercase; font-size: 14px; }

/* Forma za najam — postojeća kontakt forma teme, prilagođena kartici */
.rz-pdp__form .contact-details { display: none; }
.rz-pdp__form .product-contact-form-wrapper { background: none; box-shadow: none; border-radius: 0; padding: 0; }
.rz-pdp__form .row { --bs-gutter-x: 10px; }
.rz-pdp__form .polje, .rz-pdp__form select.polje, .rz-pdp__form textarea.polje {
    width: 100%; margin: 0 0 10px; padding: 11px 12px; border: 1px solid var(--rz-line); border-radius: 8px;
    background: #fff; color: var(--rz-ink); font: 500 14px/1.3 var(--rz-font); box-shadow: none;
}
.rz-pdp__form .polje:focus { outline: 2px solid var(--rz-blue); outline-offset: 0; border-color: transparent; }
.rz-pdp__form p, .rz-pdp__form label { font-size: 13px; line-height: 1.4; color: var(--rz-ink-2); }
.rz-pdp__form .screenz-check-label { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 4px; }
.rz-pdp__form input[type=checkbox] { flex: none; width: 16px !important; height: 16px; margin: 2px 0 0 !important; padding: 0; accent-color: var(--rz-ink); }
.rz-pdp__form button[type=submit] {
    width: 100%; min-height: 52px; border: 0; border-radius: 8px; background: var(--rz-ink); color: #fff; cursor: pointer;
    font: 800 14px/1 var(--rz-font); font-stretch: 112%; text-transform: uppercase; letter-spacing: .04em; transition: background-color .18s;
}
.rz-pdp__form button[type=submit]:hover { background: var(--rz-blue-ink); }
.rz-pdp__form .info { font-size: 12px; color: var(--rz-muted); margin-top: 8px !important; }

/* Kartica za Najam: bez cijene, kratki opis do 3 retka, gumb uvijek na dnu (kartice u traci jednako posložene) */
.rz-pcard--rent .rz-pcard__title { margin-bottom: 20px; }
.rz-pcard--rent .rz-pcard__desc { margin: 0 0 24px !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rz-pcard--rent .rz-btn { margin-top: auto; }

.rz-why__icon { width: 44px; height: 44px; object-fit: contain; margin: 0 auto 14px; display: block; }   /* ikona prednosti iz Slidera (bočna slika) */
