

:root {

  --bg-white: #F9F8F7;
  --dark-gray: #131210;
  --body-text-black: #0A0A0A;
  --extra-light-gray: #CCCCCC;
  --footer-text-gray: #B0AFAE;
  --footer-title-gray: #7F7E7D;
}
.product-section{
    padding-top: 64px;
    padding-bottom: 64px;
    overflow: hidden;
}
@media (max-width: 991px){
    .product-section{
        padding-top: 40px;
        padding-bottom: 40px;
    }
  }
/* Spriječi automatsko „usidravanje“ skrola dok grid raste */
.similar-products .products-wrapper,
.similar-products #similar-products-grid,
.similar-products .see-more-wrapper {
  overflow-anchor: none;
}

  
.product-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ctas-wrapper-product{
    margin-top: 10px!important;
}
.product-contact-info-wrapper{
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 16px;
}
.contact-cta-product{
    max-width: 230px!important;
    padding: 8px 32px;
    width: 223px!important;
}
.contact-cta-product-black{
    background-image: none!important;
    background-color: var(--black)!important;
    padding: 9.5px 32px;
}
.contact-cta-product-black:hover{
    background-color: transparent!important;
}
.contact-cta-product-black:hover > div{
    color: var(--black)!important;
}
.contact-cta-product img{
    max-width: 24px!important;
   
}
.heading-2{
    text-align: left!important;
}
.red-commercial-text-wrapper{
  padding-top: 81px;
}
/* Layout */
.product-wrapper{
    display:grid;
    grid-template-columns: 50% 50%;
    gap: 20px;
    align-items:start;
  }
  @media (max-width: 991px){
    .product-wrapper{ grid-template-columns: 1fr; }
  }
  
  /* Slider */
  .product-slider{
    display:grid;
    grid-template-columns: 92px 1fr;
    gap:16px;
    align-items:start;
    opacity: 0;
  }
  
  .ps-thumbs{
    display:flex;
    flex-direction:column;
    gap:12px;
    max-height:480px;
    overflow:auto;
  }
  .ps-thumb{
    border:1px solid var(--extra-light-gray);
    overflow:hidden;
    cursor:pointer;
    transition:border-color .2s ease, transform .2s ease;
  }
  .ps-thumb img{ display:block; width:100%; height:auto; }

  .ps-thumb.is-active{ border-color:var(--dark-gray); }
  
  .ps-main{
    position:relative;
    overflow:hidden;
    background:#fff;
    border: 1px solid var(--extra-light-gray);
  }
  .ps-main img{
    display:block;
    width:100%;
    height:auto;
    transition:transform .35s ease;
  }
  .ps-main:hover img{ transform:scale(1.03); }
  
  /* Discount badge */
  .ps-badge{
    position:absolute;
    right:16px; bottom:16px;
    background:var(--dark-gray);
    color:var(--bg-white); font-weight:400;
    padding:4px 10px;
    border: 1px solid var(--dark-gray);
     font-family: "Jost", sans-serif;
     text-transform: uppercase;
     letter-spacing: 4%;
     font-size: 13.33px;

  }
  
  /* Text */
  .product-price-wrapper{
    display:flex; gap:12px; align-items:center; margin:6px 0 12px;
  }
  #product-rrp-price{  font-family: "Jost", sans-serif; color:#2E2B29; text-decoration:line-through; font-size: 13.33px; font-weight: 300; letter-spacing: 4%;}
  #product-price{ font-family: "Jost", sans-serif; color:var(--body-text-black); font-weight:400; font-size: 19px; letter-spacing: 4%;}
  #product-discount{ color:var(--bg-white); font-weight:400; font-size: 13.33px; padding: 2px 6px 2px 6px; background-color: var(--dark-gray); letter-spacing: 4%;}
  /* Sitnice */
  .skeleton{
    background:linear-gradient(90deg,#f4f4f4, #ececec, #f4f4f4);
    background-size:200% 100%;
    animation:sheen 1.2s linear infinite;
    min-height:320px; border-radius:14px;
  }
  @keyframes sheen{ 0%{background-position:200% 0} 100%{background-position:-200% 0} }
/* Mobilni re탑im */
@media (max-width: 991px){
    .product-slider{
      grid-template-columns: 1fr;   /* samo glavna slika */
    }
    .ps-thumbs{ display:none; }     /* sakrij thumbnails */
   
  
    /* Dots ispod slike */
    .ps-dots{
      display:flex; justify-content:center; gap:10px;
      margin-top:12px; user-select:none;
    }
    .ps-dot{
      width:6px; height:6px; border-radius:999px;
      background:#cfcfcf; transition:transform .2s ease, background-color .2s ease;
    }
    .ps-dot.is-active{
      background:#111; transform:scale(1.2);
    }
    .ps-badge{
      padding:4px 10px;
      font-size: 14px;
    }
    .red-commercial-text-wrapper{
  padding-top: 46px;
}
  }
    
  




  .similar-products{
    padding-top: 64px;
  }
  .similar-products .products-wrapper{
    border-top: 1px solid var(--border-gray);
  }

.product-section-line{
  width: 100%;
  max-width: 100%;
  height: 1px;
  border-top: 1px solid var(--extra-light-gray);
}
.product-heading-3{
    margin-bottom: 32px!important;
      font-family: "Cormorant Garamond", serif;
      font-weight: 600;
      font-size: 27.65px;
}
.product-description-wrapper{
  opacity: 0;
}

  @media (max-width: 991px){
    .product-section{
        padding-top: 40px;
    }
    .product-slider{
        width: 80%;
        margin: auto;
      }
      #product-name{
        text-align: left!important;
      }
      .product-price-wrapper{
        justify-content: start;
      }
      .product-contact-info-wrapper{
        justify-content: center;
      }
      .product-description-wrapper{
        text-align: left;
      }
      .product-heading-3{
        font-size: 27.81px;
      }
      .product-heading-2{
        text-align: left!important;
      }
        .similar-products{
    padding-top: 40px;
  }
  }
  @media (max-width: 991px){

   .contact-cta-product{
    padding: 8px 16px;
    width: 100%!important;
    max-width: 100%!important;
}
.ctas-wrapper-product{
    flex-direction: column;
    margin-top: 0!important;
    width: 100%;
}
.product-contact-info-wrapper{
   /* flex-direction: column;*/
    margin-top: 16px;
    align-items: start;

}
.product-heading-3{
    font-size: 23.04px;
}
  .product-heading-3{
    margin-bottom: 20px!important;
}

  }
  



   @media screen and (max-width: 767px) {
      #product-price{ font-size: 16px; }
      #product-rrp-price{ font-size: 12px;}
      #product-discount{ font-size: 12px;}
    .ps-badge{
      padding:4px 8px;
      font-size: 13.33px;
    }
        .ps-dot{
      width:4px; height:4px; 
    }
    .similar-products{
      padding-top: 20px;
    }
    .product-section{
      padding-bottom: 32px;
      padding-top: 32px;
    }
   }
     @media (max-width: 479px){

    .contact-cta-product{
     justify-content: center!important;
     max-width: 80%!important;
     margin: auto;
 }
 .ctas-wrapper-product{
     flex-direction: column;
     margin-top: 0!important;
 }
 .product-contact-info-wrapper{
     flex-direction: column;
     margin-top: 16px;
 
 }
 .contact-cta-product-black{
    padding: 12px 32px;
}
.product-slider{
    width: 90%;
  }
  .product-heading-3{
    font-size: 19.2px;
}
    .ps-badge{
      bottom: 10px;
      right: 10px;
    }
        .similar-products{
      padding-top: 22px;
    }
    .product-section{
      padding-bottom: 22px;
      padding-top: 20px;
    }

   }