* {
  box-sizing: border-box;
}

.product-detail {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  flex-wrap: wrap;
}

.product-detail > * {
  min-width: 0;
}

.product-galleryz{
  width: 55%;
}

.product-title-between{
  width: 45%;
}

.product-info {
  width: 40%;
  min-width: 0;
  margin: 0 auto; 
  padding: 0 10px;
  overflow-x: hidden;
}

.product-galleryz{
  width:100%;
  max-width:650px;
}

/* IMAGEN PRINCIPAL */
.main-image-box{
  width:100%;
  height:450px;
  border:1px solid #ddd;
  border-radius:6px;
  overflow:hidden;
  display:flex;
  justify-content:center;
  align-items:center;
  background:#fff;
}

.main-image{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* MINIATURAS */

.thumbs{
  display:flex;
  gap:8px;
  margin-top:10px;
  overflow-x:auto;
  padding-bottom:6px;
  scroll-behavior:smooth;
}

.thumbs img{
  flex:0 0 auto;
  width:80px;
  height:65px;
  object-fit:cover;
  cursor:pointer;
  border:1px solid #ccc;
  border-radius:4px;
  transition:all .25s ease;
  opacity:.8;
}

.thumbs img:hover{
  opacity:1;
  transform:scale(1.05);
  border-color:#001b3d;
}

/* SCROLL BONITO */

.thumbs::-webkit-scrollbar{
  height:6px;
}

.thumbs::-webkit-scrollbar-thumb{
  background:#bbb;
  border-radius:10px;
}


.product-title-between {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  width: 100%;
  padding-top: 0;
  margin-top: 0;
}

.product-title-between h1 {
  font-size: clamp(28px, 6vw, 64px);
  font-weight: 900;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 2px;
  text-align: center;
  width: 100%;
}

.accordion {
  max-width: 500px;  
  margin: 0 auto;   
}

.product-title-between h3 {
  margin: 0;
  margin-top: 8px;
  font-size: clamp(12px, 2.5vw, 18px);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
}

.product-info h1 {
  font-size: 50px;
  margin-top: 0;
}

.meta {
  font-size: 14px;
  color: #001b3d;
  margin-bottom: 20px;
}

.accordion,
.accordion-item,
.accordion-header,
.accordion-content {
  width: 100%;
  max-width: 100%;
}

.accordion-header {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #ddd;
  cursor: pointer;
  font-weight: 700;
  position: relative;
  margin-top: 10px;
  display: block;
}

.accordion-header::after {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.accordion-content {
  padding: 16px 24px 20px;
  box-sizing: border-box;   
}


.accordion-item.active .accordion-content {
  max-height: 5000px;
  padding: 16px 24px 20px;
}

/* LISTAS */
.accordion-content ul {
  list-style: disc;
  padding-left: 20px;   
  margin: 8px 0 0;
  list-style-position: outside;
  text-align: left;

}

.accordion-content li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #001b3d;
  text-align: left;
}


.accordion-content table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0 auto;
}

.accordion-content tr {
  border-bottom: 1px solid #dfdfdf;
}

.accordion-content td {
  padding: 12px 16px;
  font-size: 14px;
  vertical-align: top;
  word-wrap: break-word;
  text-align: center;   
}

.accordion-content td:first-child {
  font-weight: 600;
  color: #001b3d;
}

.banner {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: visible;
}

.banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-front {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -150px;
  height: 500px;
  width: auto;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); 
  z-index: 1;
}

@media (max-width: 768px){

  .banner{
    height: 260px;
  }

  .banner-bg{
    object-fit: cover;
  }

  .banner-front{
   height: 300px; 
   bottom: -150px; 
   transform: translateX(-50%); 
   width: auto;
   object-fit: contain;
  }

}

@media (max-width: 768px) {
  .product-galleryz,
  .product-title-between,
  .product-info {
    width: 100%;
    padding: 0 10px;
    margin-bottom: 20px;
  }

  .product-title-between {
    align-items: center;
    padding-left: 0;
  }

  .product-detail {
    flex-direction: column;
  }

  .product-gallery,
  .product-info {
    width: 100%;
  }

  .product-info h1 {
    font-size: 50px;
  }

  .acordion-item.active .accordion-content {
    padding: 14px 16px;
  }

}

@media (max-width: 768px) {

  .main-image-box{
    width: 100%;
    height: auto;
    aspect-ratio: 16/9; 
    background: transparent;
    border: none;
  }

  .main-image{
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .thumbs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 6px;
    scroll-behavior: smooth;
  }

.thumbs img{
    width: 55px;
    height: 50px;
  }

  .thumbs::-webkit-scrollbar {
    height: 4px;
  }

  .thumbs::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 10px;
  }

}

