@import url("./common.css");




.product-detail-hero-section{
 width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: url("../images/gradient.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
    /* min-height: 400px; */
}
.product-detail-hero-section .product-detail-container{
    max-width: 1800px;
  width: 100%;
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;
      padding: 30px;


}
.product-detail-container .product-detail-home {
    margin-top: 80px;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 5px;
}
.product-detail-container .product-detail-home .product-detail-home-icon {
  width: 24px;
  height: 24px;
  background-color: var(--aqua-color);
  mask: url('../images/iocns/home-solid.svg') no-repeat center;
  mask-size: contain;
  -webkit-mask: url('../images/iocns/home-solid.svg') no-repeat center;
  -webkit-mask-size: contain;
}
.product-detail-home p{
    color: var(--aqua-color);
    font-size: 16px;
    margin: 0;
}
.product-detail-container .product-detail-page-name{
font-size: 56px;
width: 100%;
text-align: center;
position: relative;
  z-index: 2; 
  margin-top: 50px;

}
.product-detail-page-name .product-detail-page-name-heading-img{
    position: absolute;
  top: 50px;
  bottom: 40px;
  left: 0;
  right: 0;
  margin: auto;
  width: 190px;
  height: auto;
  z-index: -2; 
  pointer-events: none;
}

.product-detail-container .product-detail-subheading{
max-width: 600px;
margin: auto;
font-size: 16px;
text-align: center;
}
.product-detail-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 200px;
    background: url("../images/gradient.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

}

.product-detail-section-inner {
  max-width: 1800px;
  width: 100%;
  display: flex;
  justify-content: start;
  align-items: center;
  flex-direction: column;
  padding: 0 200px; 
  padding: 40px;
  border-radius: 30px;
   

}

.product-main{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 50px;
}

.slider-container {
  max-width: 600px;
  width: 100%;
  min-width: 350px;
}

.main-image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.main-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: contain;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 8px 12px;
  margin-top: -20px;
  color: var(--white);
  font-weight: bold;
  font-size: 18px;
  border: none;
  background: var(--box-shadow);
  border-radius: 4px;
  user-select: none;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.thumbnails {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.thumbnails img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
}



.product-detail-section-inner .details .heading{
    font-size: 44px;
}
.product-detail-section-inner .details .product-id{
    color: var(--aqua-color);
}

.product-detail-section-inner .details .price{
    color: var(--pink-border);
        font-size: 44px;
        margin-top: 40px;

}
.product-detail-section-inner .details .features{
    list-style: none;
    padding-left: 0;
}
.product-detail-section-inner .details .btn-gradient{
   margin-top: 20px;
    display: flex;
    gap: 5px;align-items: center;
    justify-content: center;
}

.product-detail-section-inner .details  .icon-cart{
 width: 24px;
  height: 24px;
  background-color: var(--white);
  mask: url('../images/iocns/cartregular.svg') no-repeat center;
  mask-size: contain;
  -webkit-mask: url('../images/iocns/cartregular.svg') no-repeat center;
  -webkit-mask-size: contain;
}
.product-detail-section-inner .details .btn-gradient:hover .icon-cart  {
  background-color: var(--orange);
}
.product-detail-section-inner .details .features li{
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 10px;
}
.product-detail-section-inner .details .features li .location{
    width: 70px;
  height: 70px;
  background-color: var(--aqua-color);

  mask: url('../images/iocns/atsiimti-vietoje.svg') no-repeat center;
  mask-size: contain;
  -webkit-mask: url('../images/iocns/atsiimti-vietoje.svg') no-repeat center;
  -webkit-mask-size: contain;
}

.product-detail-section-inner .details .features li .icon-mask {
  width: 70px;
  height: 70px;
  background-color: var(--aqua-color);
  mask: url('../images/iocns/kurjerio-pristatymas.svg') no-repeat center;
  mask-size: contain;
  -webkit-mask: url('../images/iocns/kurjerio-pristatymas.svg') no-repeat center;
  -webkit-mask-size: contain;
}


.product-detail-section-inner .details .features li .building {
  width: 70px;
  height: 70px;
  background-color: var(--aqua-color);
  mask: url('../images/iocns/pastomatas.svg') no-repeat center;
  mask-size: contain;
  -webkit-mask: url('../images/iocns/pastomatas.svg') no-repeat center;
  -webkit-mask-size: contain;
}
.product-detail-section-inner .details .features li .heighlight{
color: var(--aqua-color);
}
.product-detail-section-inner .details .features li .link{
color: var(--pink-border);

}
.border-left{
    border-left: 1px solid var(--gradient-color);
}

.product-detail-section-inner .specification{
    width: 100%;
}
.product-detail-section-inner .specification .heading{
font-size: 44px;
width: 100%;
text-align: left;
margin-top: 20px;
color: var(--aqua-color);
font-weight: 400;
}

.product-detail-section-inner .specification .tabs {
width: 100%;
margin-top: 20px;

}

/* hide radio buttons */
.product-detail-section-inner .specification .tabs input[type="radio"] {
  display: none;
}

.product-detail-section-inner .specification .tabs label {
  padding: 10px 20px;
  margin-right: -4px;
  cursor: pointer;
  transition: background 0.3s;
}

.product-detail-section-inner .specification .tabs label:hover {
    color: var(--aqua-color);
}

.product-detail-section-inner .specification .content {
  display: none;
  padding: 20px;
  border-top: none;
}

/* Show content when the corresponding radio is checked */
#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3 {
  display: block;
}

/* Highlight active tab */
#tab1:checked + label,
#tab2:checked + label,
#tab3:checked + label {
    color: var(--aqua-color);
}

.product-detail-section-inner .specification-table {
  width: 100%;
  border-collapse: collapse;
}

.product-detail-section-inner .specification-table tr {
  border-top: 0.5px solid var(--white);
}

.product-detail-section-inner .specification-table td {
  padding: 10px;
  text-align: left;
  vertical-align: top;
}




.related-products {
  max-width: 1800px;
  margin: 40px auto;
  padding: 0 200px; 
}

.related-products h2 {
  font-size: 34px;
  margin-bottom: 20px;
  color: var(--aqua-color);
}

.slider-container-related-products {
  position: relative;
  display: flex;
  align-items: center;
}

.products-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.products-slider::-webkit-scrollbar {
  display: none; /* Hide scrollbar */
}

.product-card {
  flex: 0 0 auto;
  width: 300px; /* adjust to your design */
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  position: relative;
}


.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background-color: var(--white);
    padding: 20px;
}

.product-info {
    padding: 15px;
}

.product-category {
    font-size: 12px;
    color: var(--aqua-color);
    font-weight: 700;
    line-height: 19px;
    padding-bottom: 10px;
    margin-bottom: 5px;
}

.product-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 19px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--black);
    text-decoration: none;
    cursor: pointer;
}

.product-brand {
    font-size: 14px;
    color: var(--black);
    margin-bottom: 10px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    color: var(--black);
}

.add-to-cart {
    background: var(--gradient-color);
    color: var(--white);
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart:hover {
    background-color: var(--aqua-color);
}

.prev, .next {
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 24px;
  padding: 8px 12px;
  border-radius: 4px;
  position: absolute;
  z-index: 1;
}

.prev {
  left: -10px;
}

.next {
  right: -10px;
}



@media (max-width: 1200px) {
.product-detail-section,.related-products  {

  padding: 50px 100px;
}
.product-detail-section-inner .details .heading,.product-detail-section-inner .specification .heading{
    font-size: 34px;
}
.product-main{

flex-direction: column;}
}

@media (max-width: 900px) {
.product-detail-section {

  padding:  50px;

}


.product-detail-section-inner,.related-products  {
  
  padding: 20px;
}
}

@media (max-width: 768px) {

.product-detail-section {
  padding: 50px 20px;
}
}
@media (max-width: 550px) {

.product-detail-hero-section{
min-height: 300px;
padding-bottom: 30px;

}
.slider-container {
  max-width: auto;
  width: 100%;
  min-width: auto;
}
}