/* Fotografije izvedenih radova na podstranicama ostale ponude.
   Nadovezuje se na product-catalog.css; ukida fiksni omjer kataloga.
   Miješani portreti i pejzaži prikazuju se u jednakim poljima (object-fit: cover);
   puni kadar ostaje u povećanju (lightbox). */

.product-intro-long h1{
  font-size:clamp(2.2rem,6.2vw,4.8rem);
  letter-spacing:-.045em;
  line-height:1.02;
}

.product-photos{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  background:var(--warm);
  padding:8px 0 4px;
}
.product-photos .product-catalog-page{
  margin:0;
  display:flex;
  flex-direction:column;
  min-width:0;
}
.product-photos .product-catalog-page a{
  display:block;
  overflow:hidden;
  background:#eceae6;
  aspect-ratio:4/3;
}
.product-photos .product-catalog-page img{
  aspect-ratio:auto;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  vertical-align:middle;
  background:#eceae6;
}
/* Neparni zadnji kadar — preko cijele širine */
.product-photos .product-catalog-page:last-child:nth-child(odd){
  grid-column:1/-1;
}
.product-photos .product-catalog-page:last-child:nth-child(odd) a{
  aspect-ratio:3/2;
  max-height:min(78vh,720px);
}

.product-cta .product-cta-service{
  display:flex;
  width:100%;
  margin-top:16px;
  padding:17px 30px;
  line-height:1.5;
  text-align:center;
  box-sizing:border-box;
}

@media(max-width:760px){
  .product-intro-long h1{font-size:clamp(1.85rem,9vw,2.8rem)}
  .product-photos{grid-template-columns:1fr;gap:16px;padding:0}
  .product-photos .product-catalog-page:last-child:nth-child(odd){grid-column:auto}
  .product-photos .product-catalog-page a,
  .product-photos .product-catalog-page:last-child:nth-child(odd) a{
    aspect-ratio:4/3;
    max-height:none;
  }
}

/* Kartica kataloga na podstranici automatskih vrata.
   Koristi postojeće .cat-cover iz products.css, s portretnim omjerom A4. */
.product-brochure{
  margin:48px 0 8px;
  padding-top:8px;
}
.product-brochure > .label{display:block;margin-bottom:8px}
.product-brochure h2{
  margin:0 0 12px;
  font-size:clamp(1.35rem,2.6vw,1.85rem);
  letter-spacing:-.03em;
  line-height:1.15;
}
.product-brochure > p{
  margin:0 0 22px;
  max-width:40rem;
  color:var(--ink2);
  line-height:1.55;
}
.product-brochure .cat-downloads.cat-covers{
  margin:0 0 8px;
  justify-content:flex-start;
}
.product-brochure .cat-cover-portrait{
  width:min(100%,260px);
}
.product-brochure .cat-cover-portrait img{
  aspect-ratio:210/297;
  object-fit:cover;
  object-position:top center;
  background:#fff;
}
.product-brochure .product-catalog-cta{
  justify-content:flex-start;
  margin:20px 0 0;
}
.product-brochure .product-catalog-btn{
  min-width:min(100%,260px);
}

@media(max-width:760px){
  .product-brochure{margin:32px 0 0}
  .product-brochure .cat-cover-portrait{width:min(100%,220px)}
  .product-brochure .product-catalog-btn{min-width:min(100%,220px);padding:18px 20px}
}

@media(prefers-reduced-motion:reduce){
  .product-brochure .cat-cover{transition:none}
}
