/* Stranica proizvoda — tri kolone u jednoj sekciji (override dist bundle) */

.final-product-container {
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.final-product-left {
  flex: 0 0 330px;
  width: 330px;
  max-width: 330px;
  min-width: 330px;
}

.final-product-right {
  align-items: stretch;
  align-self: stretch;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

.desc-row-kratak {
  width: 100%;
  text-align: left;
}

.final-product-bottom {
  width: 100%;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: stretch;
}

.final-product-bottom .detaljnije-container {
  margin-top: 0;
}

.povezani-proizvodi {
  flex: 0 0 280px;
  width: 280px;
  max-width: 280px;
  flex-shrink: 0;
  align-self: stretch;
}

@media screen and (max-width: 1440px) {
  .final-product-container {
    flex-wrap: nowrap;
    gap: 16px;
  }

  .final-product-left {
    flex: 0 0 330px;
    width: 330px;
    max-width: 330px;
    min-width: 330px;
  }

  .final-product-right {
    flex: 1 1 auto;
    min-width: 0;
  }

  .povezani-proizvodi {
    flex: 0 0 240px;
    width: 240px;
    max-width: 260px;
    margin-top: 0;
    max-height: none;
    display: flex;
  }

  .povezani-proizvodi-scroll {
    display: block;
    flex-wrap: nowrap;
    max-height: none;
    overflow-y: auto;
    padding: 12px 0 0;
  }

  .povezani-proivod {
    max-width: 100%;
  }
}

@media screen and (max-width: 1024px) {
  .final-product-container {
    flex-wrap: wrap;
  }

  .final-product-left,
  .final-product-right,
  .povezani-proizvodi {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }
}
