
  
  /* COLUMNAS */
  .pdp-gallery {
    flex:0 0 60%;
    max-width:60%;
    min-width:0;                     /* permite que se encoja sin forzar wrap */
    display:flex;
    gap:18px;
    align-items:flex-start;
  }
  
  .pdp-summary {
    flex:0 0 40%;
    max-width:40%;
    min-width:0;
    display:flex;
    flex-direction:column;
  }
  


.woocommerce-breadcrumb a {
  color: var(--color-primary) !important;
}


.pdp-title {
  font-size: 22px;
  line-height: 1.33;
  letter-spacing: 1.62px;
  font-weight: 700;
}

.pdp-sku {
  color: #727273;
  font-size: 14px;
}

.pdp-sale .woocommerce-Price-amount {
  font-size: 27px;
  color: #ea416c; 
  font-weight: 700;
}

.single_add_to_cart_button {
  font-size: 17px;
  text-transform: none;
  border-radius: 5px;
  min-width: 150px;
  margin-left: 10px;
  border-radius: 6px;
  border: #ee2c9e  !important;
  background-color: #ee2c9e !important;
  min-height: 43px;
  padding-left: 5px;
  padding-right: 5px;
  color: #fff;
  height: 50px;
}




.pdp-thumbs{
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: hidden;
  max-height: 600px;
}


.pdp-layout-wrapper {
  max-width: 96rem;
  margin: 0 auto;
  margin-top: 130px;
  padding-bottom: 80px;
}


@media (max-width: 768px) {
  .pdp-layout-wrapper {
    max-width: 96rem;
    margin: 0 auto;
    margin-top: 80px;
    padding-right: 10px;
    padding-left: 10px;
  }
}


@media (min-width: 768px) and (max-width: 1600px) {
  .pdp-layout-wrapper {
    padding-right: 30px;
    padding-left: 30px;
  }
}


@media (max-width: 768px) {

  .pdp-layout-content{
    flex-direction: column !important;
  }

  .pdp-summary{
    width:100%;
    max-width:100%;
  }

  .pdp-gallery{
    width:100%;
    max-width:100%;
    flex-direction:column;
    flex-direction: column-reverse; /* Último pasa a ser el primero */
  }

  .pdp-thumbs{
    flex-direction:row;
    gap:15px;
    flex-wrap: nowrap;       /* No permitir salto de línea */
    overflow-x: scroll;        /* Scroll horizontal cuando se desborde */
    overflow-y: hidden;      /* Ocultar scroll vertical */
    padding-bottom: 5px;     /* Espacio para que no corte contenido */
    scroll-behavior: smooth; /* Scroll suave (opcional) */
    width: 100%;
  }

  .pdp-thumbs > img {
    height: auto;
    max-width: 100px;
  }

  .tab-descripcion-producto{
    font-size: 13px !important;
  }

  .tab-descripcion-producto{
    padding: 9px 10px !important;
  }

}















.pdp-layout-content {
  display: flex;
  flex-direction: row;
  gap: 20px;
}


.pdp-complement{
  margin-top: 24px;
}

.tab-descripcion-producto{
    padding: 18px 20px;
    border-top: none;
    border-right: none;
    border-left: none;
    border-image: initial;
    background: rgb(237, 237, 237);
    font-weight: bold;
    font-family: Montserrat;
    font-size: 14px;
    color: rgb(125, 125, 125);
    cursor: pointer;
    outline: none;
    border-bottom: 3px solid transparent;
    border-radius: 8px 8px 0px 0px;
    transition: 0.18s;
    width: 100%;
}

.pdp-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 0;
    width: 100%;
    border-color: rgb(253, 2, 174);
    padding: 0;
}


.tab-descripcion-producto:hover {
    background: rgb(253, 2, 174);
    color: #fff;
    border-color: rgb(253, 2, 174) !important;
}

.tab-descripcion-producto:focus {
    background: rgb(253, 2, 174);
    color: #fff;
    outline: none;
    border-color: rgb(253, 2, 174) !important;
}

.tab-descripcion-producto:active {
    background: rgb(253, 2, 174);
    color: #fff;
    outline: none;
    border-color: rgb(253, 2, 174) !important;
}




.pdp-tab-content{
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.07);
    padding: 28px 30px 30px 30px;
    margin-top: 0;
    font-family: Montserrat;
    color: #727273;
    font-size: 15px;
    min-height: 120px;
    overflow: hidden;
    border: 1px solid #fd02ae;
}

.pdp-tab-content-not-active {
    display: none;
}

.pdp-tab-content-active {
    display: block;
}

.tab-descripcion-producto-active {
    background: rgb(253, 2, 174);
    color: #fff;
}


.pdp-recommended-products {
  margin-top: 40px;
}

.pdp-recommended-title {
  justify-content: center;
  display: flex;
}

.pdp-main-img{
  width: 100%;
  height: 100%;
  max-height: 600px;
  object-fit: contain;
}

.pdp-img-big-main{
  display: flex;
  justify-content: center;
  width: 100%;
}

























.quantity-wrapper {
  display: inline-flex;
  align-items: center;
  margin-right: 1em;
}

.qty-button {
    background: #f5f5f5;
    border: 1px solid #fd00ae;
    padding: 0 12px;
    font-size: 1.2em;
    line-height: 1;
    cursor: pointer;
    color: #fd00ae;
    height: 40px;
    border-radius: 0px;
}

.qty-button:hover {
    background: #fd00ae !important;
    color: #fff;
    border: none;
}

.qty-button:focus {
    background: #fd00ae !important;
    color: #fff;
    border: none;
  }

.qty-button:active {
    background: #fd00ae !important;
    color: #fff;
    border: none;
}


.qty {
  width: 60px;
  text-align: center;
  border-top: 1px solid #fd00ae !important;
  border-bottom: 1px solid #fd00ae !important;
  height: 2.4em;
  margin: 0;
}

.single_add_to_cart_button {
  background-color: #7D3C98;
  color: #fff;
  padding: 0.8em 1.8em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.single_add_to_cart_button:hover {
  background-color: #693081;
}

.form-cart-pdp{
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
}











/* CSS */
/* Info box */
.info-box {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px 24px;
  background: #fff;
  margin-top: 20px;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
  padding: 8px;
  border-radius: 4px;
}
.info-item:hover {
  background-color: #f9f9f9;
}
.info-icon {
  color: #E91E63;
}
.info-text {
  font-size: 14px;
  color: #333;
}
.highlight {
  font-weight: 600;
  color: #E91E63;
}

/* Modal base */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal.show {
  display: flex;
}
.modal-content {
  background: #fff;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  padding: 24px;
  position: relative;
  text-align: center;
}
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}
.modal-close:hover {
  color: #333;
}
.modal-content h2 {
  margin-top: 0;
  color: #333;
}
.modal-content p,
.modal-content ul {
  color: #555;
  font-size: 14px;
  line-height: 1.5;
}
.modal-content ul {
  padding-left: 20px;
  text-align: left;
}
.modal-content a {
  color: #E91E63;
  text-decoration: none;
}
.modal-content a:hover {
  text-decoration: underline;
}


.modal-close-pdp {
  padding: 5px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fd00ae;
  border: none;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-close-pdp:hover {
  background: #e6009c;
  color: #fff;
}

.modal-close-pdp:focus {
  background: #e6009c;
  color: #fff;
}

.modal-close-pdp:active {
  background: #e6009c;
  color: #fff;
}

.checkout-content-right {
  display: flex;
  flex-direction: column;
}


.woocommerce-Price-amount .amount{
  font-size: 27px;
  color: #ea416c;
  font-weight: 700;
}





@media screen and (max-width: 740px){
  .form-cart-pdp{
    box-shadow: 0 -3px 26px rgb(0 0 0 / 10%);
    background-color: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 8px;
    z-index: 30;
    display:flex;
    flex-direction:row;
  }
}


.pdp-thumb{
  height:100% !important;
}

.woocommerce-message{
  display:none;
} 

.alfa-checkout-grid{
  display:flex !important;
}







.pdp-prices { 
  display: block; 
  padding-bottom:10px;
}

.pdp-row {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.pdp-row--regular { margin-bottom: .25rem; }

.pdp-price-regular {
  color: #6b7280;
  text-decoration: line-through;
  font-size: 14px;
}

.pdp-price-sale {
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  color: #ea416c;
}

.pdp-badge-off {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
}
