.product-detail-section{
  padding: 100px 0;
    background: #fafcfe;
}

/* GALLERY */

.main-product-image {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border: 1px solid #ffffff;
}

.main-product-image img{
  width:100%;
  height:600px;
  object-fit:cover;
  opacity:1;
  transition:opacity .28s ease, transform .28s ease;
}

.main-product-image img.is-changing{
  opacity:.25;
  transform:scale(1.015);
}

.gallery-thumbs{
  display:flex;
  gap:16px;
  margin-top:20px;
  overflow-x:auto;
  scroll-behavior:smooth;
  scrollbar-width:none;
}

.gallery-thumbs::-webkit-scrollbar{
  display:none;
}

.main-image-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:54px;
  height:54px;
  border:none;
  border-radius:50%;
  background:#fff;
  color:#005dff;
  box-shadow:0 10px 24px rgba(2, 44, 92, 0.14);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:.3s;
  z-index:2;
}

.main-image-prev{
  left:22px;
  display:none;
}

.main-image-next{
  right:22px;
  display:none;

}


.main-product-image:hover .main-image-prev,
.main-product-image:hover .main-image-next {
    display: block;
}



/* Mobile */
.main-product-image.show-controls .main-image-prev,
.main-product-image.show-controls .main-image-next {
    display: block;
}

.main-image-nav:hover{
  background:linear-gradient(90deg,#005dff,#00dfff);
  color:#fff;
  transform:translateY(-50%) scale(1.04);
}

.gallery-thumb{
  width:110px;
  height:110px;
  flex:0 0 110px;
  border-radius:18px;
  overflow:hidden;
  cursor:pointer;
  border:2px solid transparent;
  transition:.3s;
  background:#fff;
}

.gallery-thumb.active{
  border-color:#00b7ff;
}

.gallery-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* PRODUCT INFO */

.product-category{
  font-size:12px;
  letter-spacing:4px;
  color:#6b7280;
  font-weight:700;
  margin-bottom:18px;
}

.product-title{
  font-size:48px;
  line-height:1.1;
  font-weight:800;
  margin-bottom:20px;
}

.product-title span{
  background:linear-gradient(90deg,#005dff,#00cfff);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #003f9324;
  color: oklch(38% .16 252);
  padding: 6px 10px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-rating{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:24px;
  font-size: 14px;
  color: #576574;
  font-weight: 500;
}

.product-rating i{
  color:#00cfff;
}

.product-price{
  display:flex;
  align-items:end;
  gap:16px;
  margin-bottom:24px;
}

.current-price{
  font-size:36px;
  font-weight:800;
  color:#0082c8;
  line-height: 1;
}

.old-price{
  font-size:18px;
  color:#6b7280;
  text-decoration:line-through;
}

.discount-badge{
  background:#00cfff;
  color:#fff;
  padding:3px 8px;
  border-radius:30px;
  font-size:12px;
  font-weight:700;
}

.product-desc{
  font-size:16px;
  line-height:1.5;
  color:#576574;
  margin-bottom:35px;
}

/* SIZE */

.size-title{
  font-size:14px;
  font-weight:700;
  margin-bottom:15px;
}

.size-options{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:35px;
}

.size-btn{
  border:none;
  background:#fff;
  border-radius:40px;
  padding:12px 20px;
  font-size:14px;
  font-weight:500;
  transition:.3s;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.size-btn.active{
  background:linear-gradient(90deg,#005dff,#00dfff);
  color:#fff;
}

/* ACTIONS */

.product-actions{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  align-items:center;
  margin-bottom:40px;
}

.quantity-box{
  display:flex;
  align-items:center;
  background:#fff;
  border-radius:50px;
  overflow:hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.quantity-box button{
  width:50px;
  height:50px;
  border:none;
  background:#fff;
  font-size:20px;
  font-weight:400;
}

.quantity-box input{
  width:50px;
  text-align:center;
  border:none;
  font-weight:500;
}

.cart-btn{
  border:none;
  background:linear-gradient(90deg,#005dff,#00dfff);
  color:#fff;
  padding:16px 34px;
  border-radius:50px;
  font-weight:700;
}

.buy-btn{
  border:none;
  background:#fff;
  padding:16px 34px;
  border-radius:50px;
  font-weight:700;
}

/* TABS */

.product-tabs{
  margin-top:70px;
}

.custom-tabs{
  border-bottom:none;
  gap:40px;
}

.custom-tabs .nav-link{
  border:none;
  background:none;
  color:#6b7280;
  font-weight:700;
  padding:0 0 16px;
}

.custom-tabs .nav-link.active{
  color:#005dff;
  border-bottom:3px solid #00cfff;
}

.tab-content-box{
  margin-top:40px;
}

.tab-content-box p{
  font-size:18px;
  line-height:1.9;
  color:#5b6472;
}

.description-icon-list{
  list-style:none;
  padding-left:0;
  margin:26px 0 0;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}

.description-icon-list li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  background:#fff;
  border:1px solid #dbeafe;
  border-radius:12px;
  padding:16px;
  color:#4b5563;
  line-height:1.6;
  box-shadow:0 8px 20px rgba(15, 76, 129, 0.06);
}

.description-icon-list i{
  width:34px;
  height:34px;
  flex:0 0 34px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#e8f7ff;
  color:#005dff;
  font-size:17px;
}

.additional-media{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  margin-top:28px;
}

.additional-media img,
.additional-media video{
  width:100%;
  border-radius:18px;
  display:block;
  background:#fff;
  box-shadow:0 18px 35px rgba(2, 44, 92, 0.12);
}

.additional-media img{
  height:320px;
  object-fit:cover;
}

/* TAGS */


.tags-title{
  font-size:18px;
  font-weight:700;
  margin-bottom:20px;
}

.tags-list{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.tag-item {
    background: linear-gradient(180deg, #ffffff, #f4fbff);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #005d9f;
    border: 1px solid #c8ecff;
    box-shadow: 0 8px 18px rgba(0, 93, 255, 0.08);
    transition: .3s;
}

.tag-item:hover {
    background: linear-gradient(90deg,#005dff,#00dfff);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
}

/* =========================
EXPLORE PRODUCTS
========================= */

.related-products{
  padding:120px 0;
}

.section-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin-bottom:60px;
}

.section-subtitle{
  font-size:13px;
  letter-spacing:5px;
  color:#005dff;
  font-weight:700;
  margin-bottom:20px;
}


.section-title span{
  background:linear-gradient(90deg,#005dff,#00cfff);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* VIEW SWITCH */

.view-switch{
  display:flex;
  background:#fff;
  border-radius:50px;
  padding:8px;
  gap:8px;
  border: 1px solid #ccc;
}

.view-btn{
  border:none;
  background:transparent;
  padding:12px 24px;
  border-radius:40px;
  font-weight:700;
}

.view-btn.active{
  background:linear-gradient(90deg,#005dff,#00dfff);
  color:#fff;
}

/* GRID VIEW */

.products-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:28px;
}

.product-card{
  background: #fff;
  border-radius:20px;
  overflow:hidden;
  border: 1px solid #eef6fb;
  transition:.4s;
  box-shadow: 0 16px 34px rgba(2, 44, 92, 0.10);
}

.product-card:hover{
  transform:translateY(-8px);
  box-shadow: 0 22px 46px rgba(2, 44, 92, 0.16);
}

.product-image {
    position: relative;
    border-radius: 20px !important;
    overflow: hidden;
}

.product-image img{
  width:100%;
  height:280px;
  object-fit:cover;
}


.offer-badge{
  position:absolute;
  top:18px;
  left:18px;
  background:linear-gradient(45deg, #0158b8, #07d2e7);
  color:#fff;
  padding:8px 16px;
  border-radius:40px;
  font-size:12px;
  font-weight:700;
}

.product-content {
    padding: 18px;
}

.product-type{
  font-size:12px;
  letter-spacing:3px;
  color:#6b7280;
  margin-bottom:12px;
}

.product-name{
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0px;
}

.price-wrap{
  display:flex;
  gap:12px;
  align-items:center;
}

.new-price {
    font-size: 20px;
    font-weight: 600;
    color: #0158b8;
}

.old-price-small{
  color:#6b7280;
  text-decoration:line-through;
  font-size:15px;
}

/* LIST VIEW */

.products-list{
  display:none;
  flex-direction:column;
  gap:24px;
}

.list-card{
  display:flex;
  background:#fff;
  border-radius:28px;
  overflow:hidden;
  border:1px solid #d9edf5;
}

.list-image{
  width:260px;
  flex-shrink:0;
}

.list-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.list-content{
  padding:34px;
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.list-left h3{
  font-size:28px;
  font-weight:600;
  margin-bottom:12px;
}

.list-left p{
  font-size:18px;
  color:#6b7280;
  margin-bottom:20px;
}

.list-actions{
  text-align:right;
   width: 365px;
}

.list-btn{
  border:none;
  background:linear-gradient(90deg,#005dff,#00dfff);
  color:#fff;
  padding:14px 26px;
  border-radius:40px;
  font-weight:700;
}

/* RESPONSIVE */
ul.share {
    display: inline-flex;
    list-style: none;
    gap: 12px;
    padding-left: 0;
}
ul.share .bi
{
  color: #434343 !important;
}
div#myTabContent {
    padding-top: 20px;
}
.section-tag
{
  color: #000;
  margin-bottom: 5px;
}
@media(max-width:1200px){

  .products-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:991px){

  .product-title{
    font-size:48px;
  }

  .section-title{
    font-size:52px;
  }

  .products-grid{
    grid-template-columns:1fr;
  }

  .list-card{
    flex-direction:column;
  }

  .list-image{
    width:100%;
  }

  .list-content{
    flex-direction:column;
    align-items:flex-start;
    gap:30px;
  }
}

@media(max-width:767px){

  .product-detail-section{
    padding:70px 0;
  }

  .product-title{
    font-size:38px;
  }

  .current-price{
    font-size:36px;
  }

  .section-top{
    flex-direction:column;
    align-items:flex-start;
    gap:30px;
  }

  .section-title{
    font-size:40px;
  }

  .main-product-image img{
    height:400px;
  }

  .gallery-thumb{
    width:80px;
    height:80px;
    flex-basis:80px;
  }

  .main-image-nav{
    width:44px;
    height:44px;
  }

  .description-icon-list{
    grid-template-columns:1fr;
  }

  .additional-media img{
    height:240px;
  }
}
