/* Estilos para el banner personalizado */
.custom-demo-banner {
    position: relative;
    width: 100%;
    background: #00A19A;
    height: 50px;
}

.custom-demo-banner .banner-background {
    position: relative;
    width: 100%;
    height: 50px;
}

.custom-demo-banner .banner-text {
    position: absolute;
    width: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
    color: #FFFFFF;
}

.catalog-product-view .product-info-main .box-tocart{ width:100%;
margin-bottom: -20px !important;
}
.catalog-product-view .product-info-main .box-tocart > .fieldset{
  width:100%;
  display:flex;
  align-items:stretch;
  gap:16px;
  flex-wrap:nowrap;
}

.catalog-product-view .product-info-main .box-tocart .actions{ flex:1 1 auto; display:flex; }
.catalog-product-view .product-info-main .box-tocart .actions .tocart{
  width:100%; height:56px; border:0; border-radius:28px;
  background:#00A39A; color:#fff; font-weight:700; font-size:20px; text-transform:none;
}
.catalog-product-view .product-info-main .box-tocart .actions .tocart:hover{ filter:brightness(.95); }


.catalog-product-view .product-info-main .box-tocart .sparsh-buynow-view{ display:none !important; }

/* Responsive: salto a dos filas en pantallas estrechas */
@media (max-width:420px){
  .catalog-product-view .product-info-main .box-tocart > .fieldset{ flex-wrap:wrap; }
  .catalog-product-view .product-info-main .box-tocart .actions{ width: auto !important; }
}

/* Aviso Despacho */
.pdp-shipping-notice{background:#f5f7f8;border:1px solid #e6eaec;border-radius:10px;padding:10px 14px;display:flex;align-items:center;gap:10px;line-height:1.2;color:#878787;font-size:13px;margin-top:50px}
.pdp-shipping-notice__icon{width:36px;height:28px;display:flex;align-items:center;justify-content:center;background:none;border-radius:6px;flex:0 0 auto}
.pdp-shipping-notice__text{font-weight:500}
@media (min-width:768px){.pdp-shipping-notice{padding:12px 16px;font-size:14px;margin-top:20px}.pdp-shipping-notice__icon{width:40px;height:30px}}

/* Overview + "Ver más" */
.pdp-overview{margin-top:20px}
.pdp-overview__text{color:#40464b;line-height:1.6; font-size: 14px;}
.pdp-overview__more{margin-top:6px}
.pdp-overview__more .link-more{ font-weight:600; text-decoration:none; }

/* ===== Especificaciones ===== */
.pdp-specs { margin-top: 10px; }
.pdp-specs__title { font-size: 22px; font-weight: 800; margin: 0 0 10px; }
.pdp-specs__list { list-style: none; padding: 0; margin: 0; }

/* impares con fondo gris */
.pdp-specs__item{
  margin:0 0 0px;
  padding:8px 12px;
  line-height:1.4;
  color:#2b2f33;
  background:transparent !important;
  border:0 !important;
  border-radius:0;
  font-size: 14px;
}

.pdp-specs__item:nth-child(odd){
  background:#f3f5f6 !important;          /* gris */
  border:1px solid #e8ecef !important;
}
.pdp-specs__item:nth-child(even){
  background:#ffffff !important;           /* blanco */
  border:1px solid #ffffff00 !important;   /* sin borde visible */
}

/* ===== Recomendación de Uso ===== */
.pdp-usage { margin-top: 18px; }
.pdp-usage__title { font-size: 22px; font-weight: 800; margin: 0 0 10px; }
.pdp-usage__list { padding-left: 20px; margin: 0; }
.pdp-usage__list > li { margin: 6px 0; line-height: 1.55; }
.pdp-usage__item {
    margin: 0 0 0px;
    padding: 8px 14px;
    line-height: 1.4;
    color: #2b2f33;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    font-size: 14px;
}


/* Botones docs en línea */
/* Botones de documentos (estilo pill gris claro) */
.pdp-docs-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:12px;
}

.pdp-docs-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 16px;
  border-radius:24px;
  background:#E9E9E9;          /* gris claro */
  color:#666;                   /* texto gris */
  text-decoration:none;
  font-weight:600;
  line-height:1;
  border:0;
  box-shadow:none;
}

.pdp-docs-btn:hover{
  background:#E2E2E2;
  color:#3c4043;
}

.pdp-docs-btn__icon{
  display:inline-flex;
  width:20px;
  height:20px;
}
.pdp-docs-btn__icon img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

/* Por si algún estilo global intenta sobreescribir */
.pdp-docs-btn,
.pdp-docs-btn:hover{
  background:#E9E9E9 !important;
  color:#666 !important;
}
.pdp-docs-btn:hover{ background:#E2E2E2 !important; color:#3c4043 !important; }


/* Píldora stock */
.product-info-main .product-info-price .pdp-stock-pill {
    display: inline-table;
    clear: both;
    /* margin-top: 8px; */
    font-size: 13px;
    color: #00A19A;
    line-height: 1;
    background: #F7F7F7;
    border: 1px solid #00A19A;
    border-radius: 10px;
    padding: 8px 16px;
    font-weight: 600;
    /* align-content: center; */
    max-width: 202px;
}
.product-info-main .product-info-price{flex-wrap:wrap;}
.product-info-main .product-info-price .pdp-stock-pill{flex:0 0 100%;}
.product-info-main .product-info-price {
    display: block !important;
}


.pdp-stock-pill strong{font-weight:700}

/* Badge "Ver video" junto a la galería */
.pdp-video-badge{margin:8px 0 0 0}
.pdp-video-badge__btn{display:inline-flex;align-items:center;gap:6px;border:0;border-radius:16px;padding:6px 10px;background:#1e1e1e;color:#fff;font-weight:700;line-height:1;text-decoration:none}
.pdp-video-badge__btn:hover{opacity:.9;color:#fff}
.pdp-video-badge__icon{width:12px;height:12px;border-left:8px solid #fff;border-top:6px solid transparent;border-bottom:6px solid transparent}

/* Bloque "Más información" (texto) */
.pdp-moreinfo-text{padding:16px 0}
.pdp-moreinfo-text__title{font-size:18px;font-weight:700;margin:0 0 10px;line-height:1.25}
.pdp-moreinfo-text__content{color:#444;line-height:1.1 !important;font-size:12px}
.pdp-moreinfo-text__content ul{padding-left:18px;margin:8px 0}
.pdp-moreinfo-text__content h2,.pdp-moreinfo-text__content h3,.pdp-moreinfo-text__content h4{margin:14px 0 8px;line-height:1.3}
@media (min-width:768px){.pdp-moreinfo-text{padding:20px 10px 10px 0}.pdp-moreinfo-text__title{font-size:20px}.pdp-moreinfo-text__content{font-size:14px}}

/* Video embed */
.pdp-moreinfo-video{padding:16px 0}
.pdp-moreinfo-video__title{font-size:18px;font-weight:700;margin:0 0 10px;line-height:1.25}
.pdp-video-embed{position:relative;width:100%;max-width:100%;padding-top:56.25%;background:#000;border-radius:10px;overflow:hidden}
.pdp-video-embed>.pdp-video-iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}
.pdp-video-file{width:100%;height:auto;border-radius:10px;background:#000}
@media (min-width:768px){.pdp-moreinfo-video{padding:20px 0 10px}.pdp-moreinfo-video__title{font-size:20px}}

/* Más información (2 columnas: texto + video) */
.pdp-moreinfo{display:grid;grid-template-columns:1fr;gap:18px;margin-top:24px;padding:0px 15px;}
@media (min-width:992px){.pdp-moreinfo{grid-template-columns:1fr 48%;align-items:start}}

/* Links auxiliares */
.link-more{color:#2c7a7b}
.link-more:hover{text-decoration:underline}
.catalog-product-view .pdp-moreinfo { clear: both; }

@media (max-width: 1023px) {
    .pdp-usage__item {
      font-size: 12px;
    }
    .pdp-specs__item{
      font-size: 12px;
    }
    .pdp-overview__text{font-size: 12px;}
}


/* ===== Precio PDP – Estilo maqueta ===== */

/* El contenedor del precio ocupa su fila y permite que el pill de stock quede debajo */
.catalog-product-view .product-info-main .product-info-price{
  display:block;        /* evita inline/float heredados de Porto */
}

/* Fila de precios: viejo + actual en una misma línea */
.catalog-product-view .product-info-main .price-box.price-final_price{
  display:table-caption;
}

/* Ocultar las etiquetas "Regular price" / "Special price" */
.catalog-product-view .product-info-main .price-box .price-label{
  display:none;
}

/* Precio anterior tachado */
.catalog-product-view .product-info-main .price-box .old-price .price{
  color:#6c757d;
  text-decoration:line-through;
  font-size:16px;
  font-weight:600;
  line-height:1;
}

/* Precio actual (verde/teal grande) */
.catalog-product-view .product-info-main .price-box .special-price .price,
.catalog-product-view .product-info-main .price-box .price-wrapper[data-price-type="finalPrice"] .price{
  color:#00A39A !important;            /* tono teal de la maqueta */
  font-weight:800;
  font-size:32px;
  line-height:1;
}

/* Por si Porto fuerza rojo en .price en algún breakpoint */
.catalog-product-view .product-info-main .price-box .price{
  color:inherit !important;
}

/* Responsivo */
@media (min-width: 992px){
  .catalog-product-view .product-info-main .price-box .special-price .price,
  .catalog-product-view .product-info-main .price-box .price-wrapper[data-price-type="finalPrice"] .price{
    font-size:36px;
  }
}

/* ===== Botón de video “abajo-derecha” dentro de la imagen ===== */
.product.media .fotorama__stage{ position:relative;height: 711px !important;left: 0px !important; }
.product.media .pdp-video-badge{
  position:absolute; right:40px; bottom:12px; z-index:5;
}
.product.media .pdp-video-badge__btn{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 12px; border-radius:18px;
  background:#ECEFF1;             /* gris claro */
  color:#5b636a;                   /* gris más oscuro */
  font-weight:600; line-height:1; text-decoration:none;
}
.product.media .pdp-video-badge__btn:hover{
  background:#e2e6ea; color:#2f3437;
}
.product.media .pdp-video-badge__icon{ display:inline-flex; }

/* === Thumbs: ver la imagen completa y 2 por fila === */

/* Ocultar “dots” y flechas del carrusel */
.product.media .fotorama__nav__frame--dot,
.product.media .fotorama__thumb__arr,
.product.media .fotorama__thumb-border{ display:none !important; }

/* El contenedor de miniaturas ocupa todo el ancho */
.product.media .fotorama__nav{ width:100% !important; height:auto !important; }
.product.media .fotorama__nav-wrap{ margin-top:14px; }

/* Hacemos una grilla 2-up sin transformar el shaft */
.product.media .fotorama__nav__shaft{
  display:grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:14px;
  width:100% !important;
  transform:none !important;
}

/* Cada frame ocupa su celda completa, sin paddings/márgenes */
.product.media .fotorama__nav--thumbs .fotorama__nav__frame{
  width:auto !important;
  padding:0 !important;
  margin:0 !important;
  height:auto !important;
}

/* Alto fijo para la miniatura (ajústalo si quieres 90/110/120px) */
.product.media .fotorama__nav--thumbs .fotorama__thumb{
  display:flex !important;
  align-items:center; justify-content:center;
  height:310px !important;            /* <- puedes cambiarlo */
  border-radius:8px; overflow:hidden; background:#fff;
}

/* Reset a lo que habíamos forzado antes (quitamos absolute/márgenes) */
.product.media .fotorama__nav--thumbs .fotorama__thumb img{
  position:static !important;
  width:auto !important;
  height:100% !important;             /* llenará el alto, sin recortar */
  max-width:100% !important;
  object-fit:contain !important;      /* mostrar “todo” */
  margin:0 !important; transform:none !important; top:auto !important; left:auto !important;
}

.product.media .fotorama__nav__frame--thumb:hover .fotorama__thumb, .product.media .fotorama__nav__frame--thumb.fotorama__active .fotorama__thumb {
    box-shadow: none !important;
}

.product-reviews-summary.empty .reviews-actions:before{
  content: "\2606\00a0\2606\00a0\2606\00a0\2606\00a0\2606" !important; 
  display: inline-block !important;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
  font-size: 22px !important;         
  line-height: 1 !important;
  letter-spacing: 0 !important;        
  color: #bdbdbd !important;         
  vertical-align: middle !important;
  margin-right: 6px !important;
}

.fotorama__stage__shaft{
	border:0px !important;
}

  .cart.table-wrapper .actions-toolbar {
    padding-bottom: 0px !important;
  }

 .cart.table-wrapper .col.price .price-excluding-tax .old-price {
    margin-top: 0 !important;
     margin-bottom:0 !important; 
}

@media only screen and (max-width: 767px) {
     .cart.table-wrapper .col.qty:before, .cart.table-wrapper .col.price:before, .cart.table-wrapper .col.subtotal:before {
        margin-top: 30px !important;
        font-size: 14px !important;
     }
    .cart.table-wrapper .product-item-photo {
    max-width: 90px !important;
    } 
    .cart.table-wrapper .product-item-name {
    margin-left: 20px !important;
    }
}


/* Badge de descuento PDP */
.pdp-discount-badge {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 8px;
}

/* Producto CON descuento */
.pdp-discount-badge.has-discount {
    display: flex;
}

.discount-amount-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.discount-amount-old {
    font-size: 16px;
    color: #666;
    text-decoration: line-through;
    font-weight: 400;
}

.discount-amount {
    font-size: 36px;
    font-weight: 700;
    color: #05A89E;
    line-height: 1;
}

.discount-percent-badge {
    background-color: #D6880B;
    color: #fff;
    border-radius: 4px;
    font-size: 24px;
    font-weight: 700;
    min-width: 60px;
    text-align: center;
}

.discount-percent-badge span {
    display: inline-block;
}

/* Producto SIN descuento */
.pdp-discount-badge.no-discount {
    display: block;
}

.pdp-discount-badge.no-discount .regular-price {
    font-size: 28px;
    font-weight: 700;
    color: #05A89E;
    line-height: 1;
    display: inline-block;
}

/* Responsive */
@media (max-width: 767px) {
    .discount-amount {
        font-size: 24px;
    }
    
    .discount-percent-badge {
        font-size: 16px;
        padding: 5px 12px;
        min-width: 50px;
    }
    
    .pdp-discount-badge.no-discount .regular-price {
        font-size: 24px;
    }
    .product.media .fotorama__stage{ position:relative;height: 430px !important;left: 0px !important; }

    .product.media .fotorama__nav-wrap{  display: none !important; }

    .product-info-main .action.towishlist {
    top: 65px !important;
    left: 380px !important;
}
}
@media (min-width: 768px) and (max-width: 1023px) {
  .product-info-main .action.towishlist {
    left: 340px !important;
  }
}

.fotorama__nav-wrap--vertical.fotorama__nav-wrap {
    display: block;
    left: auto !important;
    position: relative !important;
    top: auto !important;
}

    .product-info-main .action.towishlist {
        display: block;
        position: relative;
        top: 65px;
        left: 450px;      
    }

    .product-info-main .action.towishlist span {
        font-size: 0;
        width: 0;
        height: 0;
        overflow: hidden;
        display: block;
        text-indent: -9999px; 
    }

    .product-info-main .action.towishlist::before {
        content: ''; 
        display: block;
        background-image: url('../images/pdp/Heart.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        width: 24px;
        height: 20px;
        opacity: 0.8;
    }

    .product-info-main .action.towishlist:hover::before {
        opacity: 1;
    }

    .product-info-main .action.towishlist.added::before {
        content: '\f004'; 
        color: #EB5757; 
    }