@import url("fonts.css");
@import url("about-fonts.css");

:root {
  --page: #f8fafc;
  --ink: #333;
  --muted: #4f4f4f;
  --blue: #008dce;
  --sky: #00aff0;
  --navy: #035a85;
  --gutter: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Ubuntu, sans-serif;
  line-height: 1.15;
  overflow-x: hidden;
}

h1,h2,h3,p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

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

a:focus-visible,button:focus-visible {
  outline: 3px solid #e65a4b;
  outline-offset: 5px;
}

section,footer {
  scroll-margin-top: 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 20;
  left: 16px;
  top: -80px;
  padding: 12px;
  background: white;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--gutter);
  background: white;
}

.brand,.brand img,.footer-logo {
  width: 90px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--navy);
  font-family: 'Roboto Condensed',sans-serif;
  font-size: 15px;
  font-weight: 700;
}

/* Rezervacije v meniju: ikona + stevec, v modri barvi kot na zasnovi. */
.menu-reservations {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sky);
  white-space: nowrap;
}

.menu-reservations img {
  flex-shrink: 0;
}

/* Stevec je drugotna informacija, zato manjsi in brez krepkosti napisa. */
.reservation-count {
  font-size: 13px;
  font-weight: 400;
}

.main-menu a:hover,.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-link,.menu-toggle {
  display: none;
}

.hero {
  height: 600px;
  padding: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: linear-gradient(rgb(76 53 0 / 25%),rgb(76 53 0 / 25%)),url('../img/imgHeroSection.png') center / cover no-repeat;
  color: white;
}

.hero-pitch {
  width: 100%;
  text-align: center;
  display: grid;
  gap: 24px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
}

.hero p {
  font-family: Roboto,sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: #e0e0e0;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 13px 24px;
  background: var(--blue);
  color: white;
  font-weight: 700;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: -.28px;
  text-align: center;
  border: 0;
  align-self: flex-start;
}

.hero .button {
  align-self: center;
}

.button:hover,.offer-button:hover {
  filter: brightness(.93);
}

.section {
  padding: 80px var(--gutter);
}

.section-heading {
  display: grid;
  gap: 8px;
}

.section-heading h2 {
  font-size: 32px;
  line-height: 37px;
}

.section-heading p {
  color: var(--muted);
  font-size: 16px;
  line-height: 18px;
}

.carousel-nav,.carousel-dots {
  display: none;
}

/* Fiksne desktop mere sledijo Figmi; na manjših zaslonih višino določa vsebina. */
/* Figma navaja 1065 px, kar je visina okvira za dve vrsti po tri kartice. Fiksna visina
   s space-between pri manj karticah potisne mrezo na dno in pusti veliko luknjo, zato
   visino prepustimo vsebini, razmik pa dolocimo z gap. */
.destinations {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.destination-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  grid-auto-rows: 389px;
  gap: 24px;
}

.destination-card,.local-card {
  background: white;
  border: 0;
  outline: 1px solid #e0e0e0;
  outline-offset: -1px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.destination-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Znacka prostih mest na kartici karusela. Naslanja se na sliko in ne na cel vrhnji del
   kartice, zato ovoj .card-image. Videz je enak kot na seznamu ponudb, kjer ga dolocata
   .offers-results--products .listing-urgency in .product-list-page .listing-urgency;
   karusel je na naslovnici in nobenega od teh dveh ovojev nima, zato pravila ponovimo. */
.card-image {
  position: relative;
}

.destination-card .listing-urgency {
  top: auto;
  right: auto;
  bottom: 10px;
  left: 10px;
  padding: 5px 8px;
  background: #ffe475;
  color: #333;
  box-shadow: none;
  font: 700 11px Roboto, sans-serif;
}

.card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.country {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 12px;
  line-height: 20px;
}

.flag {
  width: 14px;
  height: 14px;
  overflow: hidden;
  font-size: 14px;
  line-height: normal;
  color: black;
}

.card-meta time {
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
  color: #828282;
  white-space: nowrap;
}

.card-content h3 {
  font-size: 20px;
  line-height: 23px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  line-height: 13px;
  color: var(--muted);
  background: #f2f2f2;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  box-shadow: inset 0 1px #f2f2f2;
  gap: 8px;
}

.price {
  display: grid;
  gap: 2px;
  white-space: nowrap;
}

.price span {
  color: #828282;
  font-size: 11px;
  line-height: 13px;
}

.price strong {
  font-size: 22px;
  line-height: 25px;
}

.offer-button {
  background: var(--sky);
  color: white;
  border: 0;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.group-banner {
  display: flex;
  min-height: 320px;
  overflow: hidden;
  background: var(--sky);
  color: white;
  align-items: stretch;
}

.group-banner-image {
  background: url('../img/imgBannerImage.png') center / cover no-repeat;
  width: 480px;
  align-self: stretch;
  flex-shrink: 0;
}

.group-copy {
  padding: 60px;
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  font-family: Roboto, sans-serif;
}

.group-copy h2,.group-copy p,.bus-copy h2,.bus-copy p {
  font-size: 32px;
  line-height: 37px;
}

.group-copy p,.bus-copy p {
  font-weight: 300;
}

.group-copy h2,.group-copy p {
  line-height: 38px;
}

.group-copy .button {
  color: var(--navy);
  background: white;
  border-radius: 6px;
  letter-spacing: .2px;
}

.button-white {
  color: var(--ink);
  background: white;
}

.local-trips {
  display: grid;
  gap: 40px;
}

.local-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  grid-auto-rows: 308px;
  gap: 24px;
}

.local-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.local-content {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.local-content p {
  font-size: 12px;
  line-height: 14px;
  color: var(--blue);
}

.local-content h3 {
  font-size: 18px;
  line-height: 21px;
}

.local-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 16px;
}

.local-footer span {
  font-size: 14px;
  color: #828282;
}

.local-footer strong {
  line-height: 21px;
  color: #e65a4b;
  font-size: 18px;
  white-space: nowrap;
}

.bus-section {
  padding: 0;
  background: var(--sky);
}

.bus-banner {
  min-height: 320px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  background: var(--sky);
  color: white;
  overflow: hidden;
}

.bus-copy {
  flex: 1;
  min-width: 0;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  font-family: Roboto, sans-serif;
}

.bus-copy h2,
.bus-copy p {
  color: white;
  line-height: 38px;
}

.bus-copy .button {
  background: white;
  color: var(--navy);
  border-radius: 6px;
  letter-spacing: .2px;
}

.bus-banner-image {
  background: url('../img/imgBusImage.png') center / cover no-repeat;
  flex-shrink: 0;
  width: 480px;
  align-self: stretch;
}

.site-footer {
  border-top: 1px solid #e6e6e6;
  background: #fafafa;
  font-family: Roboto,sans-serif;
  line-height: normal;
  color: var(--muted);
  font-size: 14px;
}

.footer-content {
  padding: 80px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.agency-column {
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.address-block {
  display: grid;
  gap: 12px;
}

.site-footer h2 {
  font-size: 14px;
  line-height: normal;
}

.address-block p {
  line-height: 1.5;
}

.working-hours {
  font-size: 13px;
  line-height: 1.5;
}

.footer-links,.corporate-column {
  width: 280px;
  display: grid;
  gap: 20px;
}

.footer-links h2,.corporate-column h2 {
  color: var(--navy);
}

.footer-links nav,.corporate-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.corporate-details strong,.corporate-details p {
  white-space: nowrap;
}

.corporate-details img {
  width: 157px;
  height: 51px;
  object-fit: contain;
}

.bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--gutter);
  gap: 16px;
  background: var(--navy);
  color: #f2f2f2;
  font-size: 13px;
}

.bottom-bar button {
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
  font: inherit;
}

/* Skupno pogovorno okno je omejeno na velikost vidnega zaslona. */
.detail-dialog {
  width: min(640px,calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  border: 0;
  border-radius: 8px;
  padding: 32px;
  color: var(--ink);
}

.detail-dialog::backdrop {
  background: #0009;
}

.dialog-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  background: white;
  border: 0;
  border-radius: 50%;
  font-size: 26px;
}

.dialog-content {
  display: grid;
  gap: 20px;
}

.dialog-content img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 4px;
}

.dialog-content p {
  line-height: 1.5;
}

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

.dialog-gallery figure {
  margin: 0;
}

.dialog-gallery img {
  height: 130px;
}

.dialog-gallery figcaption {
  font-size: 14px;
  margin-top: 6px;
}

/* Širši zasloni: vsebina ostane poravnana na osrednji pas širine 1280 px. */
@media (min-width: 1441px) {
  :root {
    --gutter: max(80px,calc((100vw - 1280px)/2));
  }

  .group-banner-image {
    width: calc((100vw - 1440px)/2 + 480px);
  }

  .group-copy {
    padding-right: var(--gutter);
  }
}

@media (max-width: 1200px) {
  :root {
    --gutter: 40px;
  }

  .group-banner-image {
    width: 34%;
  }

  .group-copy {
    padding: 40px;
  }

  .group-copy h2,.group-copy p,.bus-copy h2,.bus-copy p {
    font-size: 26px;
  }

  .bus-banner-image {
    width: 34%;
  }

  .bus-copy {
    padding: 28px;
  }

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

  .footer-content {
    flex-wrap: wrap;
  }

  .corporate-details strong,.corporate-details p {
    white-space: normal;
  }
}

/* Tablice: zložljiv meni (isti prelom uporablja JS) in dva stolpca ponudb. */
@media (max-width: 960px) {
  :root {
    --gutter: 24px;
  }

  .site-header {
    position: relative;
    flex-wrap: wrap;
    padding: 12px var(--gutter);
    border-bottom: 1px solid #ebebeb;
  }

  .cart-link {
    display: flex;
    position: relative;
    align-items: center;
    padding: 4px;
    color: var(--navy);
  }

  .cart-count {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--navy);
    color: white;
    font-family: 'Roboto Condensed',sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background: none;
    border: 0;
    color: var(--navy);
  }

  /* Ikona namesto besedila; napis ostane za bralnike zaslona. */
  .menu-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .main-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 12px;
  }

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

  .main-menu a {
    padding: 13px 0;
  }

  .hero {
    padding: 64px 24px;
    height: 520px;
  }

  .hero h1 {
    font-size: 40px;
  }


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

  .group-banner {
    height: auto;
    align-items: stretch;
  }

  .group-banner-image {
    align-self: stretch;
    height: auto;
  }

  .group-copy {
    padding: 32px;
  }

  .group-copy h2,.group-copy p {
    font-size: 24px;
  }

  .bus-section {
    height: auto;
  }

  .bus-banner {
    align-items: stretch;
  }

  .bus-banner-image {
    align-self: stretch;
    height: auto;
  }

  .bus-copy h2,.bus-copy p {
    font-size: 24px;
  }
}

/* Telefoni: en stolpec kartic in navpične pasice. */
@media (max-width: 600px) {
  :root {
    --gutter: 16px;
  }

  /* Naslov levo, puščici desno v isti vrstici; podnaslov teče pod obema. */
  .destinations .section-heading,.local-trips .section-heading {
    width: 100%;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .destinations .section-heading h2,.local-trips .section-heading h2 {
    grid-column: 1;
    grid-row: 1;
  }

  .destinations .section-heading p,.local-trips .section-heading p {
    grid-column: 1 / -1;
  }

  .carousel-nav {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    gap: 8px;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    background: white;
    color: var(--navy);
  }

  .carousel-arrow:disabled {
    color: #bdbdbd;
    opacity: .55;
  }

  /* Trak se premika s translateX, zato mora okvir odrezati kartice izven vidnega
     polja - sicer se stran vodoravno razlezne (isti vzorec kot .services-carousel
     na www.meddens.si). */
  .destination-carousel,.local-carousel {
    width: 100%;
    overflow: hidden;
  }

  .destination-grid,.local-grid {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 360ms ease;
    will-change: transform;
  }

  .destination-card,.local-card {
    flex: 0 0 100%;
  }

  /* Figma 4653:5262 - sklop je navpičen niz z 20 px razmiki in 40/16 px odmiki.
     Razmik do pik pod vrtiljakom da ta gap, zato ga pike same nimajo. */
  .destinations {
    gap: 20px;
    padding: 40px var(--gutter);
  }

  .local-trips {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px var(--gutter);
  }

  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d9d9d9;
  }

  .carousel-dot.is-active {
    background: var(--blue);
  }

  .brand,.brand img {
    width: 75px;
    height: 50px;
  }

  .hero {
    min-height: 470px;
    height: auto;
    padding: 72px 20px;
    gap: 32px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 16px;
  }

  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .section-heading {
    gap: 10px;
  }

  .section-heading h2 {
    font-size: 27px;
  }

  .section-heading p {
    font-size: 15px;
    line-height: 1.5;
  }

  .destination-grid,.local-grid {
    gap: 20px;
    grid-auto-rows: auto;
  }

  .destination-card {
    min-height: 389px;
  }

  .card-content h3 {
    white-space: normal;
  }

  .destination-image {
    height: 200px;
  }

  .group-banner {
    flex-direction: column;
  }

  .group-banner-image {
    width: 100%;
    height: 220px;
  }

  .group-copy {
    padding: 32px 20px;
    gap: 24px;
  }

  .group-copy h2,.group-copy p {
    font-size: 26px;
    line-height: 1.2;
  }

  .group-copy p {
    margin-top: 12px;
  }

  .local-card {
    min-height: 308px;
  }

  .local-image {
    height: 200px;
  }

  .bus-section {
    padding-top: 0;
    padding-bottom: 0;
  }

  .bus-banner {
    flex-direction: column;
  }

  .bus-copy {
    padding: 28px 20px;
    gap: 24px;
  }

  .bus-copy p {
    margin-top: 8px;
  }

  /* Na telefonih gre slika nad modri blok. Ker je to en sam vsebinski blok, vrstnega
     reda v HTML ne moremo spremeniti - order to reši brez posega v vsebino. */
  .bus-banner-image {
    order: -1;
    width: 100%;
    height: 190px;
  }

  .footer-content {
    padding-top: 48px;
    padding-bottom: 48px;
    flex-direction: column;
    gap: 36px;
  }

  .agency-column,.footer-links,.corporate-column {
    width: 100%;
  }

  .bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.5;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .detail-dialog {
    padding: 40px 20px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* O nas — Figma 4566:4428, vsebinski pas 1282 px pri širini 1868 px. */
.oNas {
  --about-gutter: max(80px, calc((100% - 1282px) / 2));
  background: white;
  color: #333;
}

.oNas .about-container {
  padding-left: var(--about-gutter);
  padding-right: var(--about-gutter);
}

.oNas .about-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 32px;
  padding-bottom: 16px;
  font-size: 14px;
  line-height: 16px;
  color: #6b7280;
}

.oNas .about-breadcrumbs > span:nth-child(2) {
  color: #9ca3af;
}

.oNas .about-breadcrumbs [aria-current] {
  color: #111827;
  font-weight: 500;
}

.oNas .about-hero {
  padding-top: 16px;
  padding-bottom: 40px;
}

.oNas .about-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 360px;
  border-radius: 12px;
  overflow: hidden;
  padding: 24px;
  background: linear-gradient(rgb(3 90 133 / 30%), rgb(3 90 133 / 30%)), url('../img/about-imgHeroBanner.png') center / cover;
  text-align: center;
  color: white;
}

.oNas .about-banner > div {
  display: grid;
  gap: 12px;
}

.oNas .about-banner h1 {
  font-size: 48px;
  line-height: 55px;
}

.oNas .about-banner p {
  font-size: 18px;
  line-height: 21px;
  font-weight: 300;
  color: #f2f2f2;
}

.oNas .about-content {
  display: grid;
  gap: 40px;
  padding-top: 20px;
  padding-bottom: 60px;
}

.oNas .about-text {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.oNas h2 {
  font-size: 32px;
  line-height: 37px;
}

.oNas .about-text p {
  color: #4b5563;
  font-size: 16px;
  line-height: 26px;
}

.oNas .about-feature {
  display: flex;
  align-items: center;
  gap: 48px;
}

.oNas .about-feature .about-text {
  flex: 1;
}

.oNas .about-feature h2,
.oNas .about-values h2 {
  font-size: 24px;
  line-height: 28px;
}

.oNas .about-feature > img {
  width: 480px;
  height: 320px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 12px;
}

.oNas .about-inquiry {
  padding-top: 64px;
  padding-bottom: 80px;
  background: #f9fafb;
  box-shadow: inset 0 1px #e5e7eb, inset 0 -1px #e5e7eb;
}

/* Trije sklopi po štiri fotografije ohranijo vrstni red iz Figme. */
.oNas .about-gallery {
  display: grid;
  gap: 24px;
  padding: 60px 0;
}

.oNas .about-gallery h2 {
  font-family: Roboto, sans-serif;
  font-size: 24px;
  line-height: 28px;
}

.oNas .about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  height: 420px;
}

.oNas .about-gallery-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.oNas .about-photo {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #e5e7eb;
}

.oNas .about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oNas .about-photo-shaded::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 35%);
  pointer-events: none;
}

.oNas .about-form {
  display: grid;
  gap: 32px;
  padding: 60px 48px;
  border-radius: 16px;
  outline: 1px solid #e5e7eb;
  outline-offset: -1px;
  background: white;
}

.oNas .about-form-heading {
  display: grid;
  gap: 8px;
}

.oNas .about-form-heading p {
  font-size: 16px;
  line-height: 18px;
  color: #6b7280;
}

.oNas .about-fields {
  display: grid;
  gap: 24px;
}

.oNas .about-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.oNas .about-fields label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  font-size: 14px;
  line-height: 16px;
  font-weight: 700;
}

.oNas input:not([type='checkbox']),
.oNas textarea {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 13px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: white;
  color: #333;
  font: 400 16px / 18px Ubuntu, sans-serif;
}

.oNas input::placeholder,
.oNas textarea::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.oNas textarea {
  height: 140px;
  resize: vertical;
}

.oNas input:focus-visible,
.oNas textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.oNas .about-fields .about-consent {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  color: #4b5563;
  font-weight: 400;
}

.oNas .about-consent input {
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--sky);
}

.oNas .about-submit {
  padding: 10px 30px;
  border: 0;
  border-radius: 50px;
  background: var(--sky);
  color: white;
  font: 500 16px / 19px Inter, sans-serif;
}

.oNas .about-form-status {
  color: #4b5563;
  line-height: 1.6;
}

@media (max-width: 1200px) {
  .oNas {
    --about-gutter: 40px;
  }

  .oNas .about-feature > img {
    width: 40%;
  }
}

@media (max-width: 960px) {
  .oNas {
    --about-gutter: 24px;
  }

  .oNas .about-feature {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .oNas .about-feature > img {
    width: 100%;
  }

  .oNas .about-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
  }

  .oNas .about-gallery-group {
    grid-auto-rows: 160px;
    grid-template-rows: repeat(2, 160px);
  }

  .oNas .about-form {
    padding: 36px 24px;
  }
}

/* O nas — mobilni okvir Figma 4660:4061; HTML prihaja iz VSEBINA_LANG. */
@media (max-width: 600px) {
  body:has(.oNas) .content-breadcrumbs {
    min-height: 48px;
    padding: 16px 20px;
    line-height: 16px;
  }

  .oNas {
    --about-gutter: 16px;
  }

  .oNas .about-hero {
    padding: 0;
  }

  .oNas .about-banner {
    height: 280px;
    padding: 16px;
    border-radius: 0;
    background-image: linear-gradient(rgb(3 90 133 / 45%), rgb(3 90 133 / 45%)), url('../img/about-imgHeroBanner.png');
  }

  .oNas .about-banner > div {
    gap: 8px;
  }

  .oNas .about-banner h1 {
    font-size: 32px;
    line-height: 1.15;
  }

  .oNas .about-banner p {
    font-size: 15px;
    line-height: 1.4;
  }

  .oNas .about-content {
    gap: 32px;
    padding-top: 32px;
    padding-bottom: 40px;
  }

  .oNas .about-text {
    gap: 12px;
  }

  .oNas h2 {
    color: #1f2937;
    font-size: 24px;
    line-height: 1.2;
  }

  .oNas .about-text p {
    font-size: 15px;
    line-height: 1.5;
  }

  .oNas .about-feature {
    gap: 16px;
  }

  .oNas .about-feature > img {
    order: -1;
    width: 100%;
    height: 200px;
    border-radius: 8px;
  }

  .oNas .about-feature h2,
  .oNas .about-values h2 {
    font-size: 22px;
  }

  .oNas .about-inquiry {
    padding: 0;
    background: white;
    box-shadow: none;
  }

  .oNas .about-gallery {
    gap: 16px;
    padding: 24px 16px;
    background: #f9fafb;
  }

  .oNas .about-gallery h2 {
    font-size: 20px;
    line-height: 1.2;
  }

  .oNas .about-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 8px) / 3);
    gap: 4px;
    height: auto;
    aspect-ratio: 339.5 / 168;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .oNas .about-gallery-grid::-webkit-scrollbar {
    display: none;
  }

  .oNas .about-gallery-group {
    display: contents;
  }

  .oNas .about-photo {
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
  }

  .oNas .about-form {
    gap: 24px;
    padding: 32px 16px 40px;
    border-radius: 0;
    outline: 0;
  }

  .oNas .about-fields {
    gap: 16px;
  }

  .oNas .about-form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .oNas .about-form-heading p {
    font-size: 14px;
    line-height: 1.4;
  }

  .oNas .about-submit {
    width: 100%;
    border-radius: 8px;
  }

  .oNas .placeholder-form {
    padding: 32px 16px 40px;
  }

  .oNas .placeholder-form .klas-cms-form {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    font-family: Roboto, sans-serif;
  }

  .oNas .klas-cms-form .form-holder {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .oNas .klas-cms-form .form-holder > .form-input-group {
    grid-column: 1;
  }

  .oNas .klas-cms-form .form-head-content {
    margin-bottom: 8px;
  }

  .oNas .klas-cms-form .form-head-content h2 {
    font-size: 24px;
    line-height: 1.2;
  }

  .oNas .klas-cms-form .form-head-content p {
    font-size: 14px;
    line-height: 1.4;
  }

  .oNas .klas-cms-form .floating-label-group > label,
  .oNas .klas-cms-form .floating-label-group:focus-within > label,
  .oNas .klas-cms-form .floating-label-group:has(> .formInput:not(:placeholder-shown)) > label {
    position: static;
    max-width: none;
    margin-bottom: 6px;
    padding: 0;
    background: none;
    color: #1f2937;
    font-size: 13px;
    line-height: 1.2;
    pointer-events: auto;
    transition: none;
  }

  .oNas .klas-cms-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  .oNas .klas-cms-form textarea {
    border-color: #e5e7eb;
    font: 400 15px/20px Roboto, sans-serif;
  }

  .oNas .klas-cms-form textarea {
    height: 100px;
    min-height: 100px;
  }

  .oNas .klas-cms-form .form-checkbox-group label {
    font-size: 12px;
    line-height: 1.4;
  }

  .oNas .klas-cms-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .oNas .klas-cms-form .form-button-group {
    margin-top: 24px;
  }

  .oNas .klas-cms-form .submit-btn {
    width: 100%;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
  }
}

/* Aktualne ponudbe — Figma 4564:4587. */
.ponudbe {
  background: white;
  min-height: 1600px;
}

.offers-intro {
  padding: 40px 80px 24px;
  display: grid;
  gap: 12px;
}

.offers-intro nav {
  font-size: 14px;
  line-height: 16px;
  color: #828282;
}

.offers-intro h1 {
  font-size: 36px;
  line-height: 41px;
  color: var(--navy);
}

.offers-intro > .icon-separator {
  margin-top: -3px;
}

.offers-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 0 80px 120px;
}

/* Bela podlaga cele strani ponudb. Oba bloka skupaj pokrivata ves prostor med glavo in nogo,
   zato --page (#f8fafc) ostane nedotaknjen za ostale strani. */
.offers-intro,
.offers-layout {
  background: white;
}

.offers-filters {
  display: flex;
  width: 280px;
  flex-shrink: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 24px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: #f9fafb;
}

/* align-items: flex-start skrci otroke na vsebino, zato jim sirino vrnemo. */
.offers-filters > * {
  width: 100%;
}

/* Razmik med sklopi da gap sklopa; crta loci vsak sklop, tudi zadnjega pred gumbom. */
.offers-filters details {
  padding-bottom: 24px;
  border-bottom: 1px solid #e0e0e0;
}

.offers-filters summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  line-height: 17px;
  font-weight: 700;
}

.offers-filters summary::-webkit-details-marker {
  display: none;
}

.offers-filters details:not([open]) summary .ui-icon {
  transform: rotate(-90deg);
}

.filter-options {
  display: grid;
  gap: 10px;
  padding-top: 12px;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  min-height: 18px;
}

.filter-check input {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1.5px solid #e0e0e0;
  border-radius: 4px;
  flex-shrink: 0;
}

.filter-check input:checked {
  border-color: var(--blue);
  background: var(--blue) url('../img/offers-imgCheck.svg') center / 10px no-repeat;
}

.filter-check input:disabled {
  cursor: not-allowed;
}

.filter-date {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: white;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px #e0e0e0;
  font-size: 13px;
}

.filter-date input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  color: #333;
}

.price-range {
  position: relative;
  height: 16px;
  margin-top: 2px;
}

.price-range input {
  position: absolute;
  width: 100%;
  height: 6px;
  margin: 0;
  appearance: none;
  background: transparent;
  pointer-events: none;
}

.price-range::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, #e0e0e0 0 var(--range-start, 25%), #008dce var(--range-start, 25%) var(--range-end, 75%), #e0e0e0 var(--range-end, 75%));
}

.price-range input::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 0;
  background: url('../img/offers-imgKnobLeft.svg') center / contain;
  pointer-events: auto;
  cursor: pointer;
}

.price-range input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 0;
  background: url('../img/offers-imgKnobLeft.svg') center / contain;
  pointer-events: auto;
  cursor: pointer;
}

.price-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
}

.price-hint {
  text-align: center;
  font-size: 11px;
  color: #828282;
}

.filter-reset {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  background: none;
  color: var(--blue);
  text-decoration: underline;
  font-size: 13px;
  font-weight: 700;
  padding: 0;
}

.offers-results {
  flex: 1;
  min-width: 0;
}

.offers-results-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 24px;
}

.offers-results-heading h2 {
  font-size: 32px;
  line-height: 37px;
  color: var(--navy);
}

.offers-results-heading p {
  color: var(--muted);
  font-size: 15px;
  line-height: 18px;
}

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

.listing-card {
  border-radius: 12px;
  overflow: hidden;
  outline: 1px solid #e0e0e0;
  outline-offset: -1px;
  min-width: 0;
  background: white;
}

.listing-card[hidden] {
  display: none;
}

.listing-image {
  position: relative;
  height: 320px;
}

.listing-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-country {
  position: absolute;
  top: 268px;
  left: 16px;
  padding: 6px 12px;
  display: flex;
  gap: 6px;
  align-items: center;
  color: white;
  background: rgb(0 0 0 / 60%);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.listing-urgency {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 10px;
  background: #e53326;
  color: white;
  border-radius: 4px;
  font: 600 11px Inter,sans-serif;
  box-shadow: 0 2px 4px #0004;
}

.listing-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
}

.listing-text {
  display: grid;
  gap: 8px;
}

.listing-text h2 {
  font-size: 20px;
  line-height: 30px;
}

.listing-text button {
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-align: left;
}

.listing-text p {
  font-size: 14px;
  line-height: 16px;
  color: #4f4f4f;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.listing-departure {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 21px;
  font-weight: 300;
  color: #4f4f4f;
}

.listing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.listing-tags li {
  border-radius: 100px;
  padding: 6px 12px;
  background: #edf7ed;
  color: #1e4620;
  font-size: 12px;
  line-height: 14px;
  font-weight: 700;
}

.listing-tags li:nth-child(2) {
  background: #fff4f0;
  color: #e05a36;
}

.listing-divider {
  height: 0;
  box-shadow: 0 -1px #e0e0e0;
}

.listing-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.listing-price span {
  font-size: 12px;
  color: #828282;
}

.listing-price strong {
  font-size: 24px;
  line-height: 28px;
  color: var(--navy);
  white-space: nowrap;
}

.offers-empty {
  padding: 24px;
  background: #f9fafb;
  line-height: 1.5;
}

.offers-filters input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

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

}

@media (max-width: 1100px) {
  .offers-intro {
    padding-left: 24px;
    padding-right: 24px;
  }

  .offers-layout {
    padding-left: 24px;
    padding-right: 24px;
    gap: 24px;
  }

  .offers-filters {
    width: 240px;
    padding: 20px;
  }

  .listing-body {
    padding: 18px;
  }

  .listing-price {
    flex-wrap: wrap;
  }

}

@media (max-width: 800px) {
  .offers-layout {
    flex-direction: column;
  }

  .offers-filters {
    width: 100%;
  }

  .offers-results {
    width: 100%;
  }

  .ponudbe {
    min-height: 0;
  }

}

@media (max-width: 600px) {
  .offers-intro {
    padding: 32px 20px 24px;
  }

  .offers-intro h1 {
    font-size: 28px;
    line-height: 34px;
  }

  .offers-layout {
    padding: 0 20px 48px;
  }

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

  .listing-image {
    height: 260px;
  }

  .listing-country {
    top: auto;
    bottom: 24px;
  }

}


/* Dekorativne zastavice in ikone; pomen podaja sosednje besedilo. */
.flag,
.ui-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* Naložena zastava iz taga: ista velikost kot razredi .flag-xx, brez popačenja. */
img.flag {
  object-fit: contain;
}

.flag-at {
  background-image: url('../img/flag-0.png');
}

.flag-hr {
  background-image: url('../img/flag-1.png');
}

.flag-ba {
  background-image: url('../img/flag-2.png');
}

.flag-hu {
  background-image: url('../img/flag-3.png');
}

.flag-si {
  background-image: url('../img/flag-4.png');
}

.flag-cz {
  background-image: url('../img/flag-5.png');
}

/* Zastave ostalih evropskih drzav: Twemoji (emoji zastavice), po ISO 3166-1 alpha-2.
   Sest zgornjih ostaja iz prvotne predloge; te so vektorske in ostre na vseh zaslonih. */

.flag-ad {
  background-image: url('../img/flags/ad.svg');
}

.flag-al {
  background-image: url('../img/flags/al.svg');
}

.flag-am {
  background-image: url('../img/flags/am.svg');
}

.flag-ax {
  background-image: url('../img/flags/ax.svg');
}

.flag-az {
  background-image: url('../img/flags/az.svg');
}

.flag-be {
  background-image: url('../img/flags/be.svg');
}

.flag-bg {
  background-image: url('../img/flags/bg.svg');
}

.flag-by {
  background-image: url('../img/flags/by.svg');
}

.flag-ch {
  background-image: url('../img/flags/ch.svg');
}

.flag-cy {
  background-image: url('../img/flags/cy.svg');
}

.flag-de {
  background-image: url('../img/flags/de.svg');
}

.flag-dk {
  background-image: url('../img/flags/dk.svg');
}

.flag-ee {
  background-image: url('../img/flags/ee.svg');
}

.flag-es {
  background-image: url('../img/flags/es.svg');
}

.flag-eu {
  background-image: url('../img/flags/eu.svg');
}

.flag-fi {
  background-image: url('../img/flags/fi.svg');
}

.flag-fo {
  background-image: url('../img/flags/fo.svg');
}

.flag-fr {
  background-image: url('../img/flags/fr.svg');
}

.flag-gb {
  background-image: url('../img/flags/gb.svg');
}

.flag-ge {
  background-image: url('../img/flags/ge.svg');
}

.flag-gg {
  background-image: url('../img/flags/gg.svg');
}

.flag-gi {
  background-image: url('../img/flags/gi.svg');
}

.flag-gr {
  background-image: url('../img/flags/gr.svg');
}

.flag-ie {
  background-image: url('../img/flags/ie.svg');
}

.flag-im {
  background-image: url('../img/flags/im.svg');
}

.flag-is {
  background-image: url('../img/flags/is.svg');
}

.flag-it {
  background-image: url('../img/flags/it.svg');
}

.flag-je {
  background-image: url('../img/flags/je.svg');
}

.flag-kz {
  background-image: url('../img/flags/kz.svg');
}

.flag-li {
  background-image: url('../img/flags/li.svg');
}

.flag-lt {
  background-image: url('../img/flags/lt.svg');
}

.flag-lu {
  background-image: url('../img/flags/lu.svg');
}

.flag-lv {
  background-image: url('../img/flags/lv.svg');
}

.flag-mc {
  background-image: url('../img/flags/mc.svg');
}

.flag-md {
  background-image: url('../img/flags/md.svg');
}

.flag-me {
  background-image: url('../img/flags/me.svg');
}

.flag-mk {
  background-image: url('../img/flags/mk.svg');
}

.flag-mt {
  background-image: url('../img/flags/mt.svg');
}

.flag-nl {
  background-image: url('../img/flags/nl.svg');
}

.flag-no {
  background-image: url('../img/flags/no.svg');
}

.flag-pl {
  background-image: url('../img/flags/pl.svg');
}

.flag-pt {
  background-image: url('../img/flags/pt.svg');
}

.flag-ro {
  background-image: url('../img/flags/ro.svg');
}

.flag-rs {
  background-image: url('../img/flags/rs.svg');
}

.flag-ru {
  background-image: url('../img/flags/ru.svg');
}

.flag-se {
  background-image: url('../img/flags/se.svg');
}

.flag-sj {
  background-image: url('../img/flags/sj.svg');
}

.flag-sk {
  background-image: url('../img/flags/sk.svg');
}

.flag-sm {
  background-image: url('../img/flags/sm.svg');
}

.flag-tr {
  background-image: url('../img/flags/tr.svg');
}

.flag-ua {
  background-image: url('../img/flags/ua.svg');
}

.flag-va {
  background-image: url('../img/flags/va.svg');
}

.icon-calendar {
  background-image: url('../img/offers-imgCalendar1.svg');
}

.icon-chevron-down {
  background-image: url('../img/offers-imgChevronDown1.svg');
}

.icon-separator {
  background-image: url('../img/offers-imgIntroSeparator.svg');
}

.icon-refresh {
  background-image: url('../img/offers-imgRefreshCw.svg');
}

.ui-icon.icon-separator {
  width: 120px;
  height: 3px;
}

/* Koledar v datumskem polju ostane klikljiv prek izvornega izbirnika. */
.filter-date input {
  background: url('../img/offers-imgCalendar.svg') right center / 14px 14px no-repeat;
}

.filter-date input::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
}

/* Izvoz zastavic vsebuje belo robno površino; prikažemo le osrednji pas zastave. */
.listing-country > img,
.filter-check > img {
  clip-path: inset(3px 0);
}


/* Product list (Figma 4645:3785). Scoped to product_list.php so other offer lists keep their layout. */
.offers-results--products {
  font-family: Roboto, sans-serif;
}

.offers-results--products .offers-results-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.offers-results--products .offers-results-heading > div {
  display: grid;
  gap: 8px;
}

.offers-results--products .offers-results-heading h1 {
  color: #333;
  font-size: 32px;
  line-height: normal;
}

.offers-results--products .offers-results-heading p {
  color: #4f4f4f;
  font-size: 16px;
  line-height: normal;
}

.offers-results--products .offers-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.offers-results--products .listing-card {
  display: flex;
  flex-direction: column;
  min-height: 397px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  outline: 0;
}

.offers-results--products .listing-card[hidden] {
  display: none;
}

.offers-results--products .listing-image {
  height: 200px;
  flex: none;
}

.offers-results--products .listing-urgency {
  top: 12px;
  left: 12px;
  right: auto;
  padding: 5px 8px;
  background: #ffe475;
  color: #333;
  box-shadow: none;
  font: 700 11px Roboto, sans-serif;
}

.offers-results--products .listing-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.offers-results--products .listing-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.offers-results--products .listing-country {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  color: #008dce;
  font-size: 13px;
  line-height: 20px;
  font-weight: 400;
}

.offers-results--products .listing-country .flag {
  width: 14px;
  height: 14px;
}

.offers-results--products .listing-departure,
.card-meta .listing-departure {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  padding: 6px 8px;
  border-radius: 6px;
  background: #e7f7ff;
  color: #008dce;
  font-size: 13px;
  line-height: normal;
  font-weight: 700;
  white-space: nowrap;
}

/* .card-meta time ima svojo sivo barvo in tanko pisavo; znotraj znacke mora
   podedovati od .listing-departure, sicer pilula ostane siva. */
.card-meta .listing-departure time {
  color: inherit;
  font: inherit;
}

.offers-results--products .listing-departure .ui-icon,
.card-meta .listing-departure .ui-icon {
  width: 16px;
  height: 16px;
  margin-right: 3px;
}

.offers-results--products .listing-text {
  display: block;
  min-width: 0;
}

.offers-results--products .listing-text h2 {
  overflow: hidden;
  color: #333;
  font-size: 20px;
  line-height: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.offers-results--products .listing-text button {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.offers-results--products .listing-text p {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.offers-results--products .listing-tags {
  gap: 6px;
}

.offers-results--products .listing-tags li,
.offers-results--products .listing-tags li:nth-child(2) {
  padding: 2px 8px;
  border-radius: 4px;
  background: #f2f2f2;
  color: #4f4f4f;
  font-size: 11px;
  line-height: normal;
  font-weight: 400;
}

.offers-results--products .listing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding: 16px;
  border-top: 1px solid #f2f2f2;
}

.offers-results--products .listing-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.offers-results--products .listing-price span {
  color: #828282;
  font-size: 11px;
  line-height: normal;
}

.offers-results--products .listing-price strong {
  color: #333;
  font-size: 22px;
  line-height: normal;
}

.offers-results--products .listing-action {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 0;
  border-radius: 6px;
  background: #00aff0;
  color: white;
  font-size: 13px;
  line-height: normal;
  font-weight: 700;
  white-space: nowrap;
}

.offers-results--products .listing-action:hover {
  background: #008dce;
}

@media (max-width: 1350px) {
  .offers-results--products .offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .offers-results--products .offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .offers-results--products .offers-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .offers-results--products .listing-image {
    height: 200px;
  }
}

/* Drobtinice seznama potovanj — Figma 4645:3657. */
.product-list-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 16px 20px;
  background: #fff;
  color: #6b7280;
  font: 400 14px/16px Roboto, sans-serif;
}

.product-list-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.product-list-breadcrumbs a:hover,
.product-list-breadcrumbs a:focus-visible {
  color: #008dce;
  text-decoration: underline;
}

.product-list-breadcrumb-separator {
  color: #9ca3af;
}

.product-list-breadcrumbs [aria-current="page"] {
  color: #6b7280;
}

/* Entire product list page: Figma 4645:3158, 1440 px canvas. */
body.product-list-page {
  background: #fff;
  font-family: Roboto, sans-serif;
}

.product-list-page > .site-header,
.product-list-page > main {
  width: 100%;
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
}

.product-list-page .site-header {
  min-height: 100px;
  padding: 20px;
}

.product-list-page .main-menu a:first-child {
  border-bottom: 1px solid #035a85;
}

.product-list-page .content-breadcrumbs {
  min-height: 48px;
  padding: 16px 20px;
  line-height: 16px;
}

.product-list-page .content-breadcrumbs a {
  text-decoration: none;
}

.product-list-page .content-breadcrumbs [aria-current="page"] {
  color: #6b7280;
  font-weight: 400;
}

.product-list-page .offers-intro:not([style]) {
  display: none;
}

.product-list-page .offers-layout {
  gap: 40px;
  padding: 0 20px 80px;
}

.product-list-page .offers-sort {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  color: #999;
  font-size: 13px;
  white-space: nowrap;
}

.product-list-page .offers-sort select {
  max-width: 190px;
  padding: 0 20px 0 0;
  border: 0;
  background: #fff url('../img/offers-imgChevronDown1.svg') right center / 16px no-repeat;
  appearance: none;
  color: #111;
  font: inherit;
  cursor: pointer;
}

.product-list-page .offers-sort select:focus-visible {
  outline: 2px solid #008dce;
  outline-offset: 3px;
}

.product-list-page .listing-urgency {
  top: auto;
  bottom: 10px;
  left: 10px;
}

.product-list-page .offers-filter-toggle {
  display: none;
}

.product-list-page .offers-pagination {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  margin-top: 20px;
  padding-top: 20px;
}

.product-list-page .offers-pagination[hidden] {
  display: none;
}

.product-list-page .offers-pagination button,
.product-list-page .offers-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #ebebeb;
  border-radius: 6px;
  background: white;
  color: #333;
  font: 700 14px Roboto, sans-serif;
}

.product-list-page .offers-pagination button[aria-current="page"] {
  border-color: #008dce;
  background: #008dce;
  color: white;
}

.product-list-page .offers-pagination button:first-child,
.product-list-page .offers-pagination button:last-child,
.product-list-page .offers-pagination span {
  border: 0;
}

.product-list-page .offers-pagination button:disabled {
  color: #bdbdbd;
  cursor: default;
}

@media (max-width: 1100px) {
  .product-list-page .offers-layout {
    gap: 24px;
    padding: 0 24px 64px;
  }

}

@media (max-width: 800px) {
  .product-list-page .offers-layout {
    flex-direction: column;
  }

  .product-list-page .offers-results {
    width: 100%;
  }
}

/* Mobilni seznam potovanj — Figma 4653:5808 (390 px). */
@media (max-width: 600px) {
  .product-list-page .site-header {
    min-height: 74px;
    padding: 12px 16px;
  }

  .product-list-page .brand,
  .product-list-page .brand img {
    width: 76px;
    height: 50px;
  }

  .product-list-page .product-list-breadcrumbs {
    min-height: 48px;
    padding: 16px 20px;
  }

  .product-list-page .offers-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px 20px 20px;
  }

  .product-list-page .offers-filters {
    display: none;
    order: 1;
    width: 100%;
    margin: 0 0 16px;
  }

  .product-list-page .offers-filters.is-open {
    display: flex;
  }

  .product-list-page .offers-results {
    display: contents;
  }

  .product-list-page .offers-results-heading {
    display: grid;
    order: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;
    row-gap: 16px;
    width: 100%;
    margin-bottom: 10px;
  }

  .product-list-page .offers-results-heading > div {
    display: contents;
  }

  .product-list-page .offers-results-heading h1 {
    grid-column: 1 / -1;
    font-size: 32px;
  }

  .product-list-page .offers-filter-toggle {
    display: inline-flex;
    grid-column: 1 / -1;
    grid-row: 2;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 40px;
    padding: 8px 16px;
    border: 0;
    border-radius: 6px;
    background: var(--sky);
    color: white;
    font: 700 13px/20px Roboto, sans-serif;
    text-transform: uppercase;
  }

  .product-list-page .offers-filter-toggle-icon {
    width: 20px;
    height: 20px;
    background: url('../img/product-list-page-info.svg') center / contain no-repeat;
  }

  .product-list-page .offers-results-heading p {
    grid-column: 1;
    grid-row: 3;
    font-size: 16px;
  }

  .product-list-page .offers-sort {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
    align-self: center;
    padding: 8px 0;
  }

  .product-list-page .offers-results--products .offers-grid {
    order: 3;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    width: 100%;
  }

  .product-list-page .offers-results--products .listing-card {
    min-height: 397px;
  }

  .product-list-page .offers-results--products .listing-image {
    height: 200px;
  }

  .product-list-page .offers-results--products .listing-meta {
    flex-wrap: wrap;
  }

  .product-list-page .offers-empty { order: 2; width: 100%; }

  .product-list-page .offers-pagination {
    order: 4;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
  }
}

/* Product detail — Figma 4547:1977. */
.product-detail-shell {
  background: #fff;
  font-family: Roboto, sans-serif;
}

.product-detail-shell > .site-header,
.product-detail-shell > main {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}

.product-detail-shell .site-header {
  min-height: 100px;
  padding: 20px;
}

.product-detail-page {
  color: #111827;
  background: #fff;
  font-family: Roboto, sans-serif;
}

.product-detail-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 16px 20px;
  color: #6b7280;
  font: 400 14px/16px Roboto, sans-serif;
}

.product-detail-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.product-detail-breadcrumbs a:hover,
.product-detail-breadcrumbs a:focus-visible {
  color: #008dce;
  text-decoration: underline;
}

.product-detail-breadcrumb-separator {
  color: #9ca3af;
}

.product-detail-breadcrumbs [aria-current="page"] {
  color: #6b7280;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  align-items: start;
  gap: 64px;
  padding: 10px 40px 80px;
}

.product-detail-main {
  display: flex;
  flex-direction: column;
  gap: 60px;
  min-width: 0;
}

.product-gallery-main {
  width: 100%;
  aspect-ratio: 738 / 600;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.product-gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  overflow-x: auto;
}

.product-gallery-thumb {
  flex: 1 0 120px;
  min-width: 0;
  max-width: 180px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: none;
}

.product-gallery-thumb.is-active,
.product-gallery-thumb:focus-visible {
  border-color: #00aff0;
}

.product-gallery-thumb img {
  width: 100%;
  aspect-ratio: 120 / 80;
  height: auto;
  object-fit: cover;
}

.product-detail-copy {
  display: grid;
  gap: 24px;
}

.product-detail-copy h2 {
  color: #111827;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
}

.product-detail-copy h3 {
  color: #111827;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.product-detail-copy h4 {
  color: #111827;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}

.product-detail-copy p,
.product-detail-copy li,
.product-detail-copy blockquote {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.6;
}

.product-detail-copy ul,
.product-detail-copy ol {
  margin: 0;
  padding-left: 24px;
}

.product-detail-copy a {
  color: #008dce;
  text-decoration: underline;
}

.product-detail-aside {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.product-detail-heading {
  display: grid;
  gap: 16px;
}

.product-detail-country {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #00aff0;
  font-size: 14px;
  font-weight: 700;
}

.product-detail-heading h1 {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 700;
}

.product-detail-unit-price {
  display: grid;
  gap: 4px;
}

.product-detail-unit-price strong {
  font-size: 32px;
  font-weight: 700;
}

.product-detail-unit-price span {
  color: #9ca3af;
  font-size: 14px;
}

.product-detail-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.6;
  text-overflow: ellipsis;
  cursor: pointer;
}

.product-detail-summary:hover,
.product-detail-summary:focus-visible {
  color: #035a85;
}

#opis-potovanja {
  scroll-margin-top: 32px;
}

.product-booking {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-booking-box,
.product-booking-variant {
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
}

.product-booking-variant {
  display: grid;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
}

.product-booking-variant select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: white;
  color: #111827;
  font: inherit;
}

.product-color-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-color-links a {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: white;
  font-size: 14px;
}

.product-color-links a[aria-current="true"] {
  border-color: #00aff0;
  color: #008dce;
}

.product-booking-passengers {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
}

.product-quantity {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: white;
}

.product-quantity button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #d1d5db;
  border-radius: 50%;
  background: #f3f4f6;
}

.product-quantity button img {
  width: 16px;
  height: 16px;
}

.product-quantity input {
  width: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111827;
  font: 700 16px Roboto, sans-serif;
  text-align: center;
  appearance: textfield;
}

.product-quantity input::-webkit-inner-spin-button,
.product-quantity input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.product-booking-totals {
  display: grid;
  gap: 12px;
}

.product-booking-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #4b5563;
  font-size: 18px;
  font-weight: 600;
}

.product-booking-totals strong {
  color: #111827;
  font-weight: 700;
  white-space: nowrap;
}

.product-booking-totals .product-booking-grand-total {
  align-items: center;
  padding-top: 12px;
  border-top: 2px solid #111827;
  color: #111827;
  font-size: 20px;
  font-weight: 700;
}

.product-booking-grand-total strong {
  font-size: 28px;
}

.product-booking-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 10px 30px;
  border: 1px solid #00aff0;
  border-radius: 6px;
  background: #00aff0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.product-booking-submit:hover:not(:disabled) {
  background: #008dce;
}

.product-booking-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.product-booking-submit img {
  width: 20px;
  height: 20px;
}

.product-booking-status {
  min-height: 20px;
  color: #035a85;
  font-size: 14px;
  line-height: 1.4;
}

.product-detail-accordions details {
  border-bottom: 1px solid #e5e7eb;
}

.product-detail-accordions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
}

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

.product-detail-accordions details[open] summary img {
  transform: rotate(180deg);
}

/* Telo accordiona je zdaj .cms-content-block--compact (glej bloke na dnu datoteke). */

.product-recommendations {
  padding: 80px 40px;
  border-top: 1px solid #ebebeb;
}

.product-recommendations-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.product-recommendations-heading h2 {
  font-size: 32px;
}

.product-recommendations-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4f4f4f;
  font-size: 14px;
}

.product-recommendations-controls > span {
  margin-right: 8px;
}

.product-recommendations-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  background: white;
}

.product-recommendations-controls button:disabled {
  opacity: .4;
  cursor: default;
}

.product-recommendations-controls img {
  width: 20px;
  height: 20px;
}

.product-recommendations-grid {
  display: grid;
  grid-auto-columns: calc((100% - 48px) / 3);
  grid-auto-flow: column;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.product-recommendations-grid::-webkit-scrollbar {
  display: none;
}

.product-recommendations-dots {
  display: none;
}

.product-recommendation-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 397px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: white;
  scroll-snap-align: start;
}

.product-recommendation-card > a img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-recommendation-card > div:nth-child(2) {
  flex: 1;
  padding: 16px;
}

.product-recommendation-card h3 {
  font-size: 20px;
  line-height: 1.3;
}

.product-recommendation-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-recommendation-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  color: #008dce;
  font-size: 13px;
  text-transform: uppercase;
}

.product-recommendation-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.product-recommendation-date {
  padding: 6px 8px;
  border-radius: 6px;
  background: #e7f7ff;
  font-weight: 700;
  white-space: nowrap;
}

.product-recommendation-content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-recommendation-content li {
  padding: 2px 8px;
  border-radius: 4px;
  background: #f2f2f2;
  color: #4f4f4f;
  font-size: 11px;
}

.product-recommendation-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px;
  border-top: 1px solid #f2f2f2;
}

.product-recommendation-footer span {
  display: grid;
  gap: 2px;
  color: #828282;
  font-size: 11px;
}

.product-recommendation-footer strong {
  color: #333;
  font-size: 22px;
}

.product-recommendation-footer > a {
  padding: 8px 16px;
  border-radius: 6px;
  background: #00aff0;
  color: white;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.product-detail-dates {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: #4f4f4f;
  font-size: 15px;
}

.product-detail-dates .ui-icon {
  flex: 0 0 18px;
}

.offers-results--products .listing-image-link,
.offers-results--products .listing-image-link img {
  display: block;
  width: 100%;
  height: 100%;
}

.offers-results--products .listing-image-link img {
  object-fit: cover;
}

@media (max-width: 1100px) {
  .product-detail-hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 42%);
    gap: 32px;
    padding-inline: 24px;
  }

  .product-detail-heading h1 {
    font-size: 38px;
  }

  .product-recommendations {
    padding-inline: 24px;
  }
}

@media (max-width: 800px) {
  /* Na ozkem zaslonu naslov in rezervacijo pokažemo pred dolgim opisom. */
  .product-detail-hero {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .product-detail-main,
  .product-detail-aside {
    display: contents;
  }

  .product-detail-heading { order: 0; }
  .product-detail-summary { order: 1; }
  .product-gallery { order: 2; }
  .product-detail-copy { order: 3; }
  .product-detail-main > .product-detail-block { order: 4; }
  .product-detail-dates { order: 5; margin: 0; }
  .product-booking { order: 6; }
  .product-detail-accordions { order: 7; }

  .product-detail-hero > .product-detail-main > *,
  .product-detail-hero > .product-detail-aside > * {
    width: 100%;
    min-width: 0;
  }

  .product-recommendations-grid {
    grid-auto-columns: calc((100% - 24px) / 2);
  }
}

@media (max-width: 600px) {
  .product-detail-shell .site-header {
    min-height: 74px;
    padding: 12px 16px;
  }

  .product-detail-shell .brand,
  .product-detail-shell .brand img {
    width: 76px;
    height: 50px;
  }

  .product-detail-hero {
    padding: 8px 20px 48px;
  }

  .product-detail-heading h1 {
    font-size: 36px;
    overflow-wrap: anywhere;
  }

  .product-detail-unit-price strong {
    font-size: 28px;
  }

  .product-detail-breadcrumbs {
    padding-inline: 20px;
    overflow-wrap: anywhere;
  }

  .product-gallery-main {
    aspect-ratio: 738 / 600;
  }

  .product-gallery-thumb {
    flex: 0 0 calc((100% - 36px) / 4);
  }

  .product-booking-passengers,
  .product-booking-totals > div,
  .product-booking-totals .product-booking-grand-total {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .product-booking-passengers {
    gap: 8px;
  }

  .product-booking-submit {
    width: 100%;
    padding-inline: 12px;
    text-align: center;
  }

  .product-detail-copy,
  .product-detail-block,
  .product-detail-accordions {
    overflow-wrap: anywhere;
  }

  .product-recommendations {
    padding: 40px 16px;
  }

  .product-recommendations-heading {
    align-items: center;
    flex-direction: row;
    gap: 8px;
    margin-bottom: 20px;
  }

  .product-recommendations-heading h2 {
    flex: 1;
    min-width: 0;
    font-size: 22px;
  }

  .product-recommendations-controls > span {
    display: none;
  }

  .product-recommendations-controls button {
    width: 38px;
    height: 38px;
  }

  .product-recommendations-grid {
    grid-auto-columns: 100%;
    gap: 20px;
  }

  .product-recommendation-card {
    min-height: 397px;
  }

  .product-recommendations-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }

  .product-recommendations-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d1d5db;
  }

  .product-recommendations-dots button.is-active {
    background: var(--sky);
  }

  .product-recommendation-meta,
  .product-recommendation-footer {
    flex-wrap: wrap;
  }
}
/* Stran 404 uporablja skupno glavo, nogo in gumb predloge. */
.not-found-page {
  padding: 80px 24px;
  text-align: center;
}

.not-found-page-inner {
  max-width: 680px;
  margin: 0 auto;
}

.not-found-eyebrow {
  color: var(--blue);
  font-size: clamp(80px, 16vw, 144px);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 24px;
}

.not-found-page h1 {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.2;
}

.not-found-content {
  color: var(--muted);
  margin: 24px 0 32px;
  line-height: 1.6;
}

/* Placeholder obrazca v urejevalniku vsebine. */
.form-editor-placeholder {
  box-sizing: border-box;
  width: 100%;
  padding: 48px 24px;
  border: 2px dashed #86cce8;
  border-radius: 20px;
  background: linear-gradient(135deg, #f0faff, #fff);
  color: #035a85;
  font-family: Ubuntu, sans-serif;
  text-align: center;
}

.form-editor-placeholder .form-placeholder-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #e0f3fc;
  color: #008dce;
  font-size: 32px;
  line-height: 1;
}

.form-editor-placeholder h3 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.form-editor-placeholder p {
  max-width: 360px;
  margin: 0 auto;
  color: #526774;
  font-size: 15px;
  line-height: 1.6;
}

/* Skupne drobtinice iz CMS strukture. */
.content-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 32px var(--gutter) 16px;
  background: white;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}
.content-breadcrumbs a { text-decoration: underline; }
.content-breadcrumbs a:hover { color: var(--blue); }
.content-breadcrumb-separator { color: #9ca3af; }
.content-breadcrumbs [aria-current="page"] {
  color: #111827;
  font-weight: 500;
}
/* Stari ročno vstavljeni primeri se ne podvajajo s skupno navigacijo. */
.cms-content-body .about-breadcrumbs,
.cms-content-body .offers-intro nav[aria-label="Drobtinice"] {
  display: none;
}

/* Dinamični CMS obrazec v enaki postavitvi kot izvorni obrazec O nas. */
.klas-cms-form {
  box-sizing: border-box;
  width: calc(100% - 2 * var(--gutter));
  max-width: 1282px;
  margin: 0 auto 80px;
  padding: 60px 48px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: white;
  color: #333;
  font-family: Ubuntu, sans-serif;
}
.about-container .klas-cms-form { width: 100%; margin-bottom: 0; }
.klas-cms-form form { margin: 0; }
.klas-cms-form .form-holder {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.klas-cms-form .form-holder > * { min-width: 0; grid-column: 1 / -1; }
.klas-cms-form .form-holder > .form-input-group,
.klas-cms-form .form-holder > .form-select-group { grid-column: auto; }
.klas-cms-form .form-head-content { margin-bottom: 8px; line-height: 1.5; }
.klas-cms-form .form-head-content h2 { margin: 0 0 8px; font-size: 32px; line-height: 37px; }
.klas-cms-form .form-head-content p { color: #6b7280; font-size: 16px; }
.klas-cms-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}
.klas-cms-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.klas-cms-form textarea,
.klas-cms-form select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 12px 13px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: white;
  color: #333;
  font: 400 16px / 20px Ubuntu, sans-serif;
}
.klas-cms-form textarea { height: 140px; min-height: 140px; resize: vertical; }

/* Oznake besedilnih polj se ob vnosu premaknejo nad rob polja. */
.klas-cms-form .floating-label-group { position: relative; }
.klas-cms-form .floating-label-group > label {
  position: absolute;
  z-index: 1;
  top: 13px;
  left: 14px;
  max-width: calc(100% - 28px);
  margin: 0;
  padding: 0 2px;
  background: white;
  color: #4b5563;
  line-height: 20px;
  pointer-events: none;
  transform-origin: left center;
  transition: top .15s ease, font-size .15s ease, color .15s ease;
}
.klas-cms-form .floating-label-group:focus-within > label,
.klas-cms-form .floating-label-group:has(> .formInput:not(:placeholder-shown)) > label {
  top: -10px;
  font-size: 12px;
  color: #333;
}

.klas-cms-form input::placeholder,
.klas-cms-form textarea::placeholder { color: #9ca3af; opacity: 1; }
.klas-cms-form input:focus-visible,
.klas-cms-form textarea:focus-visible,
.klas-cms-form select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.klas-cms-form .form-checkbox-group,
.klas-cms-form .form-radio-group { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 12px; }
.klas-cms-form input[type="checkbox"],
.klas-cms-form input[type="radio"] {
  width: 20px; height: 20px; flex: 0 0 20px; margin: 0; accent-color: var(--sky);
}
.klas-cms-form .form-checkbox-group label,
.klas-cms-form .form-radio-group label { flex: 1; margin: 0; color: #4b5563; font-weight: 400; }
.klas-cms-form label a { color: var(--blue); text-decoration: underline; }
.klas-cms-form .form-button-group { margin-top: 32px; }
.klas-cms-form .submit-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 30px; border: 0; border-radius: 50px;
  background: var(--sky); color: white;
  font: 500 16px / 20px Inter, sans-serif;
  text-transform: uppercase;
}
.klas-cms-form .submit-btn:hover { background: var(--blue); }
.klas-cms-form .submit-btn:disabled { opacity: .65; cursor: wait; }
.klas-cms-form .spinner { display: none; }
.klas-cms-form .validationMessages,
.klas-cms-form .required-mark { color: #b42318; }
.klas-cms-form .validationMessages { flex-basis: 100%; margin-top: 6px; font-size: 14px; line-height: 1.4; }
.klas-cms-form .validationMessages:empty { display: none; }
.klas-cms-form .errorValidation { border-color: #b42318 !important; }
.klas-cms-form .form-alert-message:empty { display: none; }
.klas-cms-form .form-alert-message { margin-bottom: 24px; padding: 16px; border-radius: 8px; line-height: 1.5; }
.klas-cms-form .alert-danger { background: #fff1f0; color: #b42318; }
.klas-cms-form .alert-success { background: #ecfdf3; color: #166534; }
@media (max-width: 600px) {
  .klas-cms-form { padding: 32px 20px; margin-bottom: 48px; }
  .klas-cms-form .form-holder { grid-template-columns: minmax(0, 1fr); }
  .klas-cms-form .form-head-content h2 { font-size: 26px; line-height: 1.25; }
  .klas-cms-form .submit-btn { width: 100%; font-size: 14px; }
}

/* Pregled potovanj, dodanih v rezervacije. */
.reservation-basket {
  max-width: 1440px;
  min-height: 55vh;
  margin: 0 auto;
  padding: 48px 40px 100px;
  color: #333;
  font-family: Roboto, sans-serif;
}

.reservation-basket > h1 {
  margin: 0 0 36px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
}

.reservation-basket-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
  gap: 48px;
}

.reservation-basket-items {
  display: grid;
  gap: 24px;
}

.reservation-basket-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.reservation-basket-item img {
  width: 160px;
  height: 110px;
  border-radius: 8px;
  object-fit: cover;
}

.reservation-basket-item h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.reservation-basket-item p {
  margin: 0 0 8px;
  color: #666;
}

.reservation-basket-item button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #008dce;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.reservation-basket-item > strong {
  white-space: nowrap;
  font-size: 22px;
}

.reservation-basket-summary {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.reservation-basket-summary h2 {
  margin: 0;
  font-size: 24px;
}

.reservation-basket-summary > p:not([role="status"]) {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
}

.reservation-basket-summary > a {
  display: block;
  padding: 16px;
  border-radius: 6px;
  background: #00aff0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.reservation-basket-summary small {
  color: #666;
  line-height: 1.5;
}

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

@media (max-width: 600px) {
  .reservation-basket { padding: 32px 20px 60px; }
  .reservation-basket-item { grid-template-columns: 100px minmax(0, 1fr); gap: 16px; padding: 16px; }
  .reservation-basket-item img { width: 100px; height: 85px; }
  .reservation-basket-item > strong { grid-column: 2; font-size: 18px; }
  .reservation-basket-item h2 { font-size: 18px; }
}

/* Vsebinski bloki (CONTENT_BLOCK) na strani potovanja.
   .product-detail-block je ovoj sekcije, .cms-content-block tipografija za HTML iz urejevalnika. */
.product-detail-block {
  display: grid;
  gap: 24px;
}

.product-detail-block-title {
  margin: 0;
  color: #111827;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
}

.product-detail-block--wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

.cms-content-block {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.6;
}

.cms-content-block > *:first-child { margin-top: 0; }
.cms-content-block > *:last-child { margin-bottom: 0; }

.cms-content-block h2,
.cms-content-block h3,
.cms-content-block h4 {
  margin: 32px 0 16px;
  color: #111827;
  line-height: 1.25;
  font-weight: 700;
}

.cms-content-block h2 { font-size: 28px; }
.cms-content-block h3 { font-size: 18px; }
.cms-content-block h4 { font-size: 16px; }

.cms-content-block p,
.cms-content-block blockquote {
  margin: 0 0 16px;
}

.cms-content-block ul,
.cms-content-block ol {
  margin: 0 0 16px;
  padding-left: 24px;
}

.cms-content-block li { margin-bottom: 8px; }

.cms-content-block blockquote {
  padding: 16px 24px;
  border-left: 3px solid var(--sky);
  background: #f3f9fd;
  border-radius: 0 8px 8px 0;
}

.cms-content-block a {
  color: var(--blue);
  text-decoration: underline;
}

.cms-content-block a:hover { color: var(--navy); }

.cms-content-block img {
  height: auto;
  margin: 0 0 16px;
  border-radius: 12px;
}

.cms-content-block table {
  width: 100%;
  margin: 0 0 16px;
  border-collapse: collapse;
  font-size: 15px;
}

.cms-content-block th,
.cms-content-block td {
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.cms-content-block th {
  color: #111827;
  font-weight: 700;
}

/* Bloki v accordionih so ožji, zato brez velikih razmikov. */
.cms-content-block--compact {
  padding: 0 0 16px;
  font-size: 14px;
}

.cms-content-block--compact h2 { font-size: 20px; }
.cms-content-block--compact h3 { font-size: 16px; }
.cms-content-block--compact h4 { font-size: 15px; }

.cms-content-block--compact h2,
.cms-content-block--compact h3,
.cms-content-block--compact h4 {
  margin: 16px 0 8px;
}

.cms-content-block--compact p,
.cms-content-block--compact ul,
.cms-content-block--compact ol {
  margin-bottom: 12px;
}

@media (max-width: 1100px) {
  .product-detail-block--wide { padding-inline: 24px; }
}

@media (max-width: 600px) {
  .product-detail-block { gap: 16px; }
  .product-detail-block-title { font-size: 24px; }
  .product-detail-block--wide { padding: 0 20px 48px; }
  .cms-content-block h2 { font-size: 24px; }
}


/* Dodatne opcije v rezervacijskem obrazcu (povezani izdelki s TIP = 2). */
.product-booking-extras {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  gap: 12px;
  margin: 0;
  padding: 20px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  background: #F9FAFB;
}

.product-booking-extras-title {
  color: #111827;
  font-size: 16px;
  font-weight: 700;
}

/* Vrstice morajo v flex stolpcu z align-items: flex-start dobiti polno sirino. */
.product-extra {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  cursor: pointer;
}

.product-extra input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  background: #fff;
  appearance: none;
  cursor: pointer;
}

.product-extra input[type="checkbox"]:checked {
  border-color: var(--sky);
  background: var(--sky);
}

/* Kljukica je narisana z robovi, brez dodatne slike. */
.product-extra input[type="checkbox"]:checked::after {
  content: "";
  display: block;
  width: 5px;
  height: 10px;
  margin: 1px auto 0;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.product-extra input[type="checkbox"]:focus-visible {
  outline: 3px solid #e65a4b;
  outline-offset: 3px;
}

.product-extra-title {
  color: #111827;
  font-size: 15px;
  line-height: 1.4;
}

.product-extra-price {
  color: #9CA3AF;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.product-extra:has(input:checked) .product-extra-title {
  font-weight: 700;
}

.product-booking-totals .product-booking-extras-total {
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 600px) {
  .product-booking-extras { padding: 16px; }
  .product-extra { gap: 10px; }
  .product-extra-title,
  .product-extra-price { font-size: 14px; }
}

/* Kosarica kot nakup: stevec potnikov in vrstice povzetka. */
.reservation-basket-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.reservation-basket-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
}

.reservation-basket-qty button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #d1d5db;
  border-radius: 50%;
  background: #f3f4f6;
  color: #111827;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
}

.reservation-basket-qty button:hover:not(:disabled) {
  border-color: var(--sky);
  color: var(--blue);
}

.reservation-basket-qty button:disabled {
  opacity: .5;
  cursor: wait;
}

.reservation-basket-qty output {
  min-width: 28px;
  font: 700 16px Roboto, sans-serif;
  text-align: center;
}

.reservation-basket-unit del {
  margin-left: 6px;
  color: #9ca3af;
}

.reservation-basket-item[aria-busy="true"] {
  opacity: .6;
}

.reservation-basket-summary .reservation-basket-total {
  align-items: center;
  padding-top: 16px;
  border-top: 2px solid #111827;
  color: #111827;
  font-size: 18px;
  font-weight: 700;
}

.reservation-basket-summary .reservation-basket-total strong {
  font-size: 24px;
}

@media (max-width: 600px) {
  .reservation-basket-actions { gap: 12px; }
  .reservation-basket-qty button { width: 28px; height: 28px; }
}

/* Doplacilo je svoja postavka kosarice, izpisana zamaknjeno pod svojim potovanjem. */
.reservation-basket-option {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: -12px;
  margin-left: 40px;
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  background: #F9FAFB;
}

.reservation-basket-option h2 {
  font-size: 16px;
}

.reservation-basket-option .reservation-basket-unit {
  color: #6b7280;
  font-size: 14px;
}

.reservation-basket-option-qty {
  color: #6b7280;
  font-size: 14px;
}

.reservation-basket-option-qty output {
  font-weight: 700;
}

.reservation-basket-option > strong {
  font-size: 18px;
}

@media (max-width: 600px) {
  .reservation-basket-option { margin-left: 16px; }
}

/* Nadomestna slika jedra: Shop::prepareProductsForPLP() in com/article.frontend.php jo
   izdelkom brez naložene slike podtakneta pod TemplatePath assets/img/. Predloge jo
   večinoma odfiltrirajo (fragment/includes/product-image.php), tole je varovalo za
   poti, ki je ne - da je videti namerno in ne kot pokvarjena slika. Vzorec po
   template/lloyd, le da tu zadošča eno pravilo, ker so vsi naši okviri na object-fit. */
img[src$="image-empty-placeholder.svg"] {
  object-fit: contain;
  padding: 12%;
  opacity: 0.55;
  background: #f4f6f8;
}
