/* Video en tab de Modo de Uso: mantener 16:9 y evitar alturas excesivas */
.product-tabs #usage .tab-content-right video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover; /* usar contain si prefieres sin recorte */
  background: #000;
  display: block;
}

@media (max-width: 768px) {
  .product-tabs #usage .tab-content-right video {
    aspect-ratio: 16 / 9;
  }
}

/* Poster de video con botón de play */
.product-tabs #usage .video-poster {
  position: relative;
  display: block;
  cursor: pointer;
  overflow: hidden;
}
.product-tabs #usage .video-poster img {
  width: 100%;
  height: auto;
  display: block;
}
.product-tabs #usage .video-play-button {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease;
}
.product-tabs #usage .video-play-button:hover { background: rgba(0,0,0,0.55); }
.product-tabs #usage .video-play-button .play-icon {
  width: 0;
  height: 0;
  border-left: 24px solid #fff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}

/* Modal de video */
.video-modal { 
  display: none;
  z-index: 99999;
  position: fixed;
  inset: 0;
}
.video-modal.is-open { display: block; }
.video-modal .video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 99998;
}
.video-modal .video-modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 960px);
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  z-index: 99999;
}
.video-modal .video-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 100000;
  border: 0;
  background: rgba(0,0,0,0.5);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  font-size: 22px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
}
.video-modal .video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-modal .video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Poster de imagen con botón de play en swiper */
.images-swiper .image-poster {
  position: relative;
  display: block;
  cursor: pointer;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.images-swiper .image-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.images-swiper .image-play-button {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease;
  z-index: 10;
}
.images-swiper .image-play-button:hover { background: rgba(0,0,0,0.55); }
.images-swiper .image-play-button .play-icon {
  width: 0;
  height: 0;
  border-left: 24px solid #fff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}

/* ===========================================
   ESTILOS PARA TEMPLATE DE PÁGINA DE PRODUCTO PERSONALIZADO
   =========================================== */

/* Reset de estilos de links para evitar subrayados no deseados */
a {
    text-decoration: none !important;
}

a:hover {
    text-decoration: none !important;
}

/* Sobrescribir el padding del tema Leonie para páginas de producto */
body.page-template-page-producto-php #qodef-page-inner {
    padding: 0 !important;
}

/* Sobrescribir el container del tema Leonie para páginas de producto */
body.page-template-page-producto-php .product-page-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 40px 0 !important; /* top/bottom 40px, lados 0 */
}

body.page-template-page-producto-php .product-page-wrapper .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important; /* lados a 0px */
}

/* Adaptar estilos de WooCommerce para nuestro template personalizado */
.product-page-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 40px 0;
    background: #fff;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px 0;
    align-items: start;
}

/* Galería de imágenes */
.woocommerce-product-gallery {
    position: relative;
    opacity: 1;
    width: 100%;
    max-width: none !important;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    gap: 20px;
    float: none !important;
    align-items: flex-start;
}

.thumbs-swiper {
    width: 80px;
    height: 500px;
    flex-shrink: 0;
}

.thumbs-swiper .swiper-slide {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    width: 80px;
    height: 100px;
    position: relative;
    margin-bottom: 15px;
}

.thumbs-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid var(--pink);
}

.thumbs-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* Desktop: mantener layout horizontal */
@media (min-width: 769px) {
    .woocommerce-product-gallery {
        flex-direction: row !important;
        gap: 20px !important;
        align-items: stretch !important;
    }
    
    .thumbs-swiper {
        width: 80px !important;
        height: 100% !important;
        order: -1 !important;
        align-self: stretch !important;
    }
    
    .thumbs-swiper .swiper-slide {
        width: 80px !important;
        height: 100px !important;
        margin-bottom: 15px !important;
        margin-right: 0 !important;
    }
    
    .images-swiper {
        height: 100% !important;
        flex: 1 !important;
        align-self: stretch !important;
    }
    
    .images-swiper .swiper-slide {
        height: 100% !important;
    }
    
    .images-swiper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}

.images-swiper {
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    flex: 1;
    position: relative;
}

.images-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.images-swiper .swiper-slide {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
}

.labels {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.labels div {
    background: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ===========================================
   ESTILOS ADAPTADOS DEL TEMA ORIGINAL
   =========================================== */

/* Adaptar estilos de .woocommerce-product-gallery a .product-gallery */
.product-gallery .images-swiper {
    position: relative;
    height: 414px;
}

/* Estilos de galería eliminados - duplicados con .woocommerce-product-gallery */

/* Información del producto */
.product-info {
    padding: 0 !important;
    max-width: none !important;
    float: none !important;
}

.breadcrumbs {
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--acento-red);
}

.product-rating {
    margin-bottom: 20px;
}

.star {
    color: #ddd;
    font-size: 12px;
    margin-right: 2px;
}

.star.filled {
    color: var(--acento-red);
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    color: var(--acento-red);
    font-family: "DM Mono", sans-serif;
    margin-top: 0;
}

.product-formats {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.format-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #f9ede7;
    border: 1px solid var(--acento-red);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--acento-red);
    font-family: "Archivo", sans-serif;
    line-height: 1.4;
}

.product-subtitle {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 2ch;
    color: #333;
    margin-top: 0;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    background: #f9ede7;
    padding: 1px 10px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 20px;
    font-weight: 500;
    color: var(--acento-red);
    font-family: "Archivo", sans-serif;
}

.product-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
    margin-top: 10px;
}

.product-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
    
}

.product-cta .btn-primary {
    flex: 1;
    width: 100%;
    text-align: center;
    background-color: var(--acento-red);
    border: none;
    font-size: 12px;
}
.product-cta .btn-primary:hover {
 
    background-color: var(--acento-red);
    border: none;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--acento-red);
    color: var(--white);
    font-family: "DM Mono", sans-serif;
}

.btn-primary:hover {
    background: #a02d26;
    transform: translateY(-2px);
}

.price {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    color: var(--acento-red);
    font-family: "DM Mono", sans-serif;
    align-items: baseline;
    gap: 0;
}

.price .number {
    font-size: 24px;
    line-height: 1;
}

.price .number sup {
    font-size: 14px;
    font-weight: 700;
    vertical-align: super;
    margin-left: 1px;
}

.price .euro {
    font-size: 24px;
    margin-left: 0;
}

.price .tax {
    font-size: 10px;
    color: #a02d26;
    margin-left: 4px;
    font-weight: 500;
    opacity: 0.8;
}

.distributors {
    margin-bottom: 0px;
}

.distributors-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    font-family: "Archivo", sans-serif;
}

.distributor-text-link {
    color: var(--acento-red);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.distributor-text-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.distributor-logos {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.distributor img {
    height: 22px;
    width: auto;
}

.distributor-logo-link {
    display: inline-block;
    transition: opacity 0.2s ease;
}

.distributor-logo-link:hover {
    opacity: 0.8;
}

.distributor-logo-link img {
    height: 22px;
    width: auto;
}

.distributor-link {
    display: inline-block;
    color: var(--acento-red);
    text-decoration: underline;
    font-size: 12px;
    font-weight: 500;
    line-height: 22px;
    font-family: "Archivo", sans-serif;
    transition: opacity 0.2s ease;
}

.distributor-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.view-all {
    color: var(--acento-red);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.view-all:hover {
    text-decoration: underline;
}

.product-attributes {
    padding: 10px 0;
    display: flex;
    column-gap: 40px;
    margin-bottom: 20px;
}

.attribute {
    display: flex;
    column-gap: 8px;
    align-items: center;
}

.attribute .icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attribute .icon img {
    width: 42px;
    height: 42px;
}

.attribute .text {
    font-size: 14px;
    line-height: normal;
    color: var(--black);
}

.attribute .number {
    font-size: 18px;
    line-height: normal;
    font-weight: 700;
    color: var(--black);
    font-family: "DM Mono", sans-serif;
}

.product-wins {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    background-color: var(--lightest-cream);
    border-radius: 12px;
    padding: 20px;
}

.win {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
}

.win .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.win .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.win p {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

/* Tabs */
.product-tabs {
    margin-top: 60px;
    padding: 40px 0;
   
}

.tab-navigation {
    display: flex;
    gap: 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}

/* Grid 2x2 para tabs en responsive */
@media (max-width: 768px) {
    .tab-navigation {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 0 !important;
    }
}

.tab-btn {
    padding: 15px 30px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--acento-red);
    border-bottom-color: var(--acento-red);
}

.tab-btn:hover {
    color: var(--acento-red);
}

.tab-panel {
    display: none;
}

/* Layout de dos columnas para tabs */
.tab-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.tab-content-left {
    flex: 1;
    min-width: 0;
}

.tab-content-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.tab-content-right img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    min-height: 400px;
    object-fit: cover;
}

/* Especificaciones del producto en la columna derecha */
.tab-content-right .product-specs {
    width: 100%;
    margin-top: 0;
}

.tab-content-right .product-wins {
    width: 100%;
    margin-top: 20px;
    display: block !important;
    visibility: visible !important;
    background-color: var(--lightest-cream) !important;
    border-radius: 12px !important;
    padding: 20px !important;
}

.tab-content-right .product-wins .win {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Tab FAQs sin layout de dos columnas */
.tab-panel#faqs .tab-content-wrapper {
    display: block;
}

.tab-panel#faqs .tab-content-left {
    flex: none;
}

.tab-panel#faqs .tab-content-right {
    display: none;
}

/* Responsive para tabs */
@media (max-width: 768px) {
    .product-tabs {
        margin-top: 0px;
    }
    
    .tab-content-wrapper {
        flex-direction: column;
        gap: 30px;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .tab-content-left {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .tab-content-right {
        flex: none;
        width: 100%;
        flex-direction: column;
        gap: 20px;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .tab-content-right img {
        min-height: 300px;
    }
    
    .tab-content-right .product-specs {
        order: 2;
    }
    
    .tab-content-right img {
        order: 1;
    }
}

.tab-panel h3 {
    color: var(--red);
    margin-bottom: 20px;
    font-size: 24px;
    font-family: "DM Mono", sans-serif;
}

.tab-panel h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.tab-panel hr {
    background-color: var(--light-cream);
    height: 3px;
    opacity: 1;
    margin: 20px 0;
    border: none;
}

.tab-panel ul {
    margin-bottom: 25px;
    list-style: none;
    padding-left: 0;
}

.tab-panel ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.tab-panel ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    background: transparent url(/wp-content/themes/leonie-child/img/icons/pdp/wins-check.svg) no-repeat center;
    background-size: contain;
}

.tab-panel ul li strong {
    color: #333;
}

/* Textos específicos en rojo - solo en la lista de características (antes del .benefits) */
.tab-panel .tab-content-left > ul li:nth-child(1) strong,
.tab-panel .tab-content-left > ul li:nth-child(3) strong {
    color: var(--red) !important;
}

/* El segundo elemento tiene span rojo + texto negro */
.tab-panel .tab-content-left > ul li:nth-child(2) strong {
    color: #333 !important;
}

.tab-panel h5 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #666;
    font-weight: 600;
}

.tab-panel p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0px;
    color: #333;
}

.tab-panel strong {
    color: #333;
}

.benefits.box,
.effectiveness.box {
    background-color: var(--lightest-cream);
    border-radius: 10px;
    padding: 24px;
    margin: 20px 0;
}

.benefits.box h3,
.effectiveness.box h3 {
    color: var(--red);
    margin-bottom: 20px;
    font-size: 24px;
}

.benefits ul,
.effectiveness ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.benefits li,
.effectiveness li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.5;
}

.benefits li:last-child,
.effectiveness li:last-child {
    margin-bottom: 0;
}

.benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    background: transparent url(/wp-content/themes/leonie-child/img/icons/pdp/wins-check.svg) no-repeat center;
    background-size: contain;
}

.effectiveness li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background-color: var(--pink);
    opacity: .8;
}

.effectiveness .note {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 15px;
    margin-top: 5px;
    color: #666;
}

.effectiveness .tested {
    padding: 8px 12px;
    border-radius: 40px;
    background-color: rgba(243, 216, 214, 0.30);
    display: flex;
    column-gap: 8px;
    align-items: center;
    width: fit-content;
}

.effectiveness .tested .icon {
    width: 15px;
    height: 15px;
    background: transparent url(/wp-content/themes/leonie-child/img/icons/pdp/health-cross.svg) no-repeat center;
    background-size: contain;
}

.effectiveness .tested p {
    margin-bottom: 0;
    color: var(--red);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.product-specs {
    display: flex;
    background-color: var(--lightest-cream);
    border-radius: 12px;
    padding: 24px;
    margin-top: 30px;
    gap: 0;
}

.spec {
    flex: 1;
    padding: 0 20px;
    position: relative;
    text-align: center;
}

.spec:first-child,
.spec:nth-child(2) {
    flex: 2 !important;
}

.spec:nth-child(3),
.spec:nth-child(4) {
    flex: 1 !important;
}

.spec:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: #E0A8A8;
    opacity: 0.6;
}

.spec h4 {
    font-size: 12px;
    font-weight: 700;
    color: #DB8984;
    margin-bottom: 5px;
    line-height: 17px;
}

.spec p {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 19px;
}

.usage-tips {
    margin-top: 30px;
    padding: 20px;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.usage-tips h3 {
    color: #856404;
    margin-bottom: 15px;
}

.routine-products {
    margin-top: 30px;
}

.complementary-product {
    margin-bottom: 15px;
}

.complementary-product a {
    color: var(--acento-red);
    text-decoration: none;
    font-weight: 500;
}

.complementary-product a:hover {
    text-decoration: underline;
}

.ingredients-header {
    margin-bottom: 30px;
    text-align: center;
}

.percentage {
    font-size: 18px;
    font-weight: 600;
    color: var(--acento-red);
    font-family: "DM Mono", sans-serif;
}

.key-ingredients {
    margin-bottom: 40px;
}

.ingredient {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.all-ingredients {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Testimonios mejorados */
.testimonials {
    margin-top: 40px;
    padding: 40px 30px;
    background-color: var(--lightest-cream);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 28px;
    color: #333;
    font-weight: 700;
}

.testimonials-count {
    text-align: center;
    margin-bottom: 40px;
    font-size: 18px;
    color: #666;
    font-weight: 500;
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial {
    background-color: var(--lightest-cream);
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.testimonial-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
    min-width: 200px;
}

.testimonial-author {
    font-size: 16px;
    color: #333;
    font-weight: 700;
    margin-bottom: 0;
}

.verified {
    font-size: 14px;
    color: #DB8984;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.verified::before {
    content: '✓';
    font-size: 12px;
    color: #DB8984;
}

.testimonial-content {
    flex: 1;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.testimonial-rating .stars {
    display: flex;
    gap: 2px;
}

.testimonial-rating .star {
    color: var(--red);
    font-size: 16px;
}

.testimonial-date {
    font-size: 14px;
    color: #666;
}

.testimonial-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.testimonial-title-link {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.testimonial-title-link:hover {
    color: var(--red);
    text-decoration: underline;
}

.testimonial-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #333;
    font-style: normal;
}

.testimonial-recommendation {
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.testimonial:last-child {
    border-bottom: none;
}

/* Responsive para testimonios */
@media (max-width: 768px) {
    .testimonial {
        flex-direction: column;
        gap: 15px;
    }
    
    .testimonial-header {
        min-width: auto;
        width: 100%;
    }
    
    .testimonial-rating {
        flex-wrap: wrap;
        gap: 6px;
    }
}

/* Productos relacionados */
.related-products {
    margin-top: 60px;
    padding: 40px 0;
}

.related-products h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.related-product {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.related-product .product-image {
    height: 200px;
    overflow: hidden;
}

.related-product .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-product .product-info {
    padding: 20px;
}

.related-product h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.related-product p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.related-product .price {
    font-size: 16px;
    font-weight: 600;
    color: var(--acento-red);
    font-family: "DM Mono", sans-serif;
    margin-bottom: 15px;
}

.related-product .btn {
    width: 100%;
    text-align: center;
    font-size: 14px;
}

/* Prevenir scroll horizontal en footer - todas las pantallas */
footer,
.qodef-footer,
.qodef-footer-inner {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Restaurar padding del contenido del footer */
#qodef-page-footer-top-area-inner.qodef-content-grid,
#qodef-page-footer-bottom-area-inner.qodef-content-grid {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.qodef-grid-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 768px) {
    #qodef-page-footer-top-area-inner.qodef-content-grid,
    #qodef-page-footer-bottom-area-inner.qodef-content-grid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Prevenir scroll horizontal en footer */
@media (max-width: 768px) {
    footer,
    .qodef-footer,
    .qodef-footer-inner,
    .qodef-content-grid {
        overflow-x: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    /* Prevenir scroll horizontal */
    body.page-template-page-producto-php {
        overflow-x: hidden !important;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100% !important;
        overflow-x: hidden;
    }
    
    /* Solo afectar al contenido principal de la página de producto */
    body.page-template-page-producto-php .product-page-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 15px !important;
        overflow-x: hidden;
    }
    
    body.page-template-page-producto-php .product-page-wrapper .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        overflow-x: hidden;
    }
    
    .product-layout {
        display: block;
        gap: 0;
        padding: 20px 0;
    }
    
    .woocommerce-product-gallery {
        order: 1;
        flex-direction: column !important;
        gap: 15px !important;
        align-items: stretch !important;
        width: 100% !important;
        margin-bottom: 30px !important;
        overflow-x: hidden;
    }
    
    .thumbs-swiper {
        width: 100% !important;
        height: 80px !important;
        order: 1 !important;
        flex-shrink: 0 !important;
        overflow-x: hidden;
    }
    
    .thumbs-swiper .swiper-slide {
        width: 80px !important;
        height: 80px !important;
        margin-bottom: 0 !important;
        margin-right: 10px !important;
        flex-shrink: 0 !important;
    }
    
    .thumbs-swiper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 8px !important;
    }
    
    .images-swiper {
        height: auto !important;
        min-height: 300px !important;
        order: 2 !important;
        flex: none !important;
        width: 100% !important;
        flex-shrink: 0 !important;
        overflow-x: hidden;
    }
    
    .images-swiper .swiper-slide {
        height: auto !important;
        min-height: 300px !important;
    }
    
    .images-swiper img {
        width: 100% !important;
        height: auto !important;
        min-height: 300px !important;
        object-fit: contain !important;
        object-position: center !important;
    }
    
    .product-info {
        order: 2;
        padding: 0 !important;
        width: 100%;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .product-subtitle {
        font-size: 16px;
    }
    
    .product-cta {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
    
    .product-cta .btn-primary {
        flex: 0 1 auto;
        min-width: 180px;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .product-cta .price {
        flex: 0 0 auto;
        font-size: 18px;
        white-space: nowrap;
    }
    
    .product-cta .price .number {
        font-size: 22px;
    }
    
    .product-cta .price .number sup {
        font-size: 12px;
        vertical-align: super;
    }
    
    .product-cta .price .euro {
        font-size: 22px;
    }
    
    .product-cta .price .tax {
        font-size: 9px;
    }
    
    .product-attributes {
        flex-direction: column;
        row-gap: 15px;
        column-gap: 0;
    }
    
    .product-wins {
        grid-template-columns: 1fr;
    }
    
    .tab-navigation {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .product-specs {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }
    
    .spec {
        padding: 0px 12px;
        text-align: left;
    }
    
    .spec:not(:last-child)::after {
        display: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .product-layout {
        padding: 15px 0;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .product-cta {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
    
    .product-cta .btn-primary {
        flex: 0 1 auto;
        min-width: 140px;
        font-size: 12px;
        padding: 10px 12px;
    }
    
    .product-cta .price {
        flex: 0 0 auto;
        font-size: 14px;
        white-space: nowrap;
    }
    
    .product-cta .price .number {
        font-size: 16px;
    }
    
    .product-cta .price .number sup {
        font-size: 10px;
        vertical-align: super;
    }
    
    .product-cta .price .euro {
        font-size: 16px;
    }
    
    .product-cta .price .tax {
        font-size: 7px;
    }
    
    .tab-btn {
        font-size: 14px;
        padding: 12px 20px;
    }
    
    .testimonial {
        padding: 20px;
    }
    
    .related-product .product-info {
        padding: 15px;
    }
}

/* ===========================================
   ESTILOS FORZADOS PARA SOBRESCRIBIR WOOCOMMERCE
   =========================================== */

/* Forzar layout 50/50 - ELIMINADO para permitir responsive */

/* Sobrescribir estilos específicos de WooCommerce */
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .summary.entry-summary {
    max-width: none !important;
    float: none !important;
}

@media (min-width: 1200px) {
    .woocommerce div.product .woocommerce-product-gallery {
        max-width: none !important;
    }
    
    .woocommerce div.product .summary.entry-summary {
        max-width: none !important;
    }
}

#content .breadcrumbs {
    display: none;
}

/************************
           PAGE
************************/

@media (min-width: 769px) and (max-width: 1199px) {
    .product-gallery, .product-info {
        float: none !important;
        width: 100% !important;
    }
}

@media (min-width: 1200px) {
    .product-gallery {
        max-width: none !important;
    }

    .product-info {
        max-width: none !important;
    }
}

@media (min-width: 1441px) {
    .product-page-wrapper {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .product-info {
        max-width: none !important;
    }

    .product-gallery {
        max-width: none !important;
    }

    .product-tabs, .related-products {
        width: 100%;
    }
}

/* Price */

.woocommerce .price {
    display: flex;
    padding: 8px 8px 8px 0;
}

.woocommerce .price .number,
.woocommerce .price .euro {
    font-size: 24px;
    line-height: 21px;
    font-weight: 700;
}

.woocommerce .price .decimal {
    font-size: 12px;
    line-height: 12px;
    font-weight: 700;
}

.woocommerce .price .tax {
    font-size: 10px;
    line-height: 12px;
    font-weight: 600;
    align-self: flex-end;
}

@media (min-width: 992px) {
    .woocommerce .price .number,
    .woocommerce .price .euro {
        font-size: 28px;
        line-height: 25px;
    }
    
    .woocommerce .price .decimal {
        font-size: 14px;
        line-height: 14px;
    }

    .woocommerce .price .tax {
        font-size: 12px;
        line-height: 16px;
    }
}

#main .pdp-sticky-header .price {
    padding: 3px 0;
}

#main .pdp-sticky-header .price .number,
#main .pdp-sticky-header .price .euro,
.woocommerce div.product .related.products .product .price .number,
.woocommerce div.product .related.products .product .price .euro {
    font-size: 20px;
    line-height: 17px;
}

#main .pdp-sticky-header .price .decimal,
.woocommerce div.product .related.products .product .price .decimal {
    font-size: 11px;
    line-height: 11px;
}

#main .pdp-sticky-header .price .tax,
.woocommerce div.product .related.products .product .price .tax {
    font-size: 9px;
    line-height: 10px;
}

@media (min-width: 992px) {
    #main .pdp-sticky-header .price .number,
    #main .pdp-sticky-header .price .euro {
        font-size: 24px;
        line-height: 21px;
    }

    .woocommerce div.product .related.products .product .price .number,
    .woocommerce div.product .related.products .product .price .euro {
        font-size: 20px;
        line-height: 17px;
    }
    
    #main .pdp-sticky-header .price .decimal,
    .woocommerce div.product .related.products .product .price .decimal {
        font-size: 11px;
        line-height: 11px;
    }

    #main .pdp-sticky-header .price .tax,
    .woocommerce div.product .related.products .product .price .tax {
        font-size: 9px;
        line-height: 10px;
    }
}

/* Labels */

.labels {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 10;
}

.labels > div {
    background-color: var(--white);
    height: 20px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    font-size: 12px;
    line-height: 12px;
    font-weight: 500;
    color: var(--black);
}

@media (min-width: 576px) {
    .labels {
        left: 30px;
    }
}

/* Review stars */

.product-rating {
    display: flex;
    column-gap: 2px;
    margin-bottom: 8px;
}

.product-rating img {
    height: 12px;
}

/************************
      STICKY HEADER
************************/

#main .pdp-sticky-header {
    position: sticky;
    top: 67px;
    width: 100%;
    background-color: var(--white);
    height: 70px;
    z-index: 998;
    border-top: 1px solid var(--salmon-bg);
    border-bottom: 1px solid var(--salmon-bg);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.04)
}

#main .pdp-sticky-header > div {
    padding: 7.5px 12px;
    column-gap: 8px;
    display: flex;
    align-items: center;
}

#main .pdp-sticky-header img {
    width: 55px;
    height: 55px;
}

#main .pdp-sticky-header h2 {
    font-size: 14px;
    font-weight: 700;
    line-height: 19px;
    margin-bottom: 0;
}

#main .pdp-sticky-header h3 {
    display: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 19px;
    margin-bottom: 0;
}

#main .pdp-sticky-header .product-info {
    flex-grow: 1;
}

#main .pdp-sticky-header a {
    width: 170px;
    min-width: 170px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
}

@media (max-width: 321px) {
    #main .pdp-sticky-header {
        display: none !important;
    }
}

@media (max-width: 413px) {
    #main .pdp-sticky-header img {
        display: none;
    }

    #main .pdp-sticky-header a {
        width: 155px;
        min-width: 155px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #main .pdp-sticky-header > div {
        padding: 7.5px 24px;
        column-gap: 10px;
    }
}

@media (min-width: 962px)  {
    #main .pdp-sticky-header {
        top: 63px;
    }
}

@media (min-width: 992px)  {
    #main .pdp-sticky-header > div {
        padding: 7.5px 8px;
        column-gap: 16px;
    }

    #main .pdp-sticky-header .product-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #main .pdp-sticky-header h2 {
        font-size: 16px;
        line-height: 22px;
    }

    #main .pdp-sticky-header h3 {
        display: block;
    }

    #main .pdp-sticky-header a {
        width: 260px;
        min-width: 260px;
    }
}

@media (min-width: 1441px) {
    #main .pdp-sticky-header > div {
        padding: 7.5px 0;
    }
}

/************************
        THUMBNAILS
************************/

.product .woocommerce-product-gallery {
    display: flex;
    flex-direction: column;
}

.product .woocommerce-product-gallery .images-swiper {
    position: relative;
    height: 414px;
}

/* Estilos duplicados eliminados - ya cubiertos por .woocommerce-product-gallery */

/************************
        SUMMARY
************************/

.woocommerce div.product div.summary {
    padding: 40px 24px;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .woocommerce div.product div.summary {
        padding-bottom: 0;
    }
}

@media (min-width: 992px) {
    .woocommerce div.product div.summary {
        padding: 30px 80px 0 54px;
    }
}

@media (min-width: 1200px) {
    .woocommerce div.product div.summary {
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
    }
}

/* Breadcrumbs */

.product div.summary .woocommerce-breadcrumb {
    margin-bottom: 30px;
}

.product div.summary .woocommerce-breadcrumb, .woocommerce .woocommerce-breadcrumb a {
    text-decoration: none;
    color: var(--black);
    font-size: 12px;
    line-height: 12px;
}

.woocommerce .woocommerce-breadcrumb a:hover {
    opacity: .6;
    text-decoration: underline;
}

/* Title & Subtitle */

.woocommerce div.product div.summary h1.product_title {
    font-size: 24px;
    line-height: 29px;
    font-weight: 700;
    margin-bottom: 8px;
}

.woocommerce div.product div.summary h1 + h2 {
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

@media (min-width: 576px) {
    .woocommerce div.product div.summary h1.product_title {
        font-size: 28px;
        line-height: 34px;
    }
}

/* Tags */

.woocommerce div.product div.summary .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 6px;
    margin-bottom: 20px;
}

.woocommerce div.product div.summary .tags > div {
    background-color: var(--salmon-bg);
    padding: 1px 10px;
    font-size: 14px;
    line-height: 19px;
    font-weight: 700;
    border-radius: 20px;
    color: #c23b33cc;
}

/* Description */

.woocommerce div.product div.summary .short-description {
    margin-bottom: 20px;
}

.woocommerce div.product div.summary .short-description p {
    font-size: 14px;
    line-height: 19px;
    margin-bottom: 5px;
}

.woocommerce div.product div.summary .short-description p:last-child {
    margin-bottom: 0;
}

/* Description link */

.woocommerce div.product div.summary .summary-bottom {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    flex-grow: 1;
}

.woocommerce div.product div.summary .summary-bottom a {
    font-size: 14px;
    line-height: 17px;
    text-underline-offset: 2px;
}

/* Buy links */

.woocommerce div.product div.summary .summary-bottom .buy-links {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.woocommerce div.product div.summary .summary-bottom .buy-links .amazon-container {
    display: flex;
    column-gap: 15px;
    align-items: center;
}

.woocommerce div.product div.summary .summary-bottom .buy-links .amazon-container a {
    height: 46px;
    width: 100%;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--red) !important;
    color: var(--white) !important;
    text-decoration: none !important;
    border-radius: 8px !important;
}

.woocommerce div.product div.summary .summary-bottom .buy-links .amazon-container a:hover {
    opacity: .7;
}

.woocommerce div.product div.summary .summary-bottom .buy-links .other-stores {
    display: flex;
    column-gap: 20px;
    align-items: center;
}

.woocommerce div.product div.summary .summary-bottom .buy-links .other-stores img {
    height: 18px;
}

.woocommerce div.product div.summary .summary-bottom .buy-links .other-stores .separator {
    margin-left: -5px;
    margin-right: -17px;
}

.woocommerce div.product div.summary .summary-bottom .buy-links .other-stores .btn-link.view-all {
    font-size: 14px;
    line-height: 17px;
    border: none;
    text-underline-offset: 2px;
    padding-top: 0;
    padding-bottom: 0;
}

.woocommerce div.product div.summary .summary-bottom .buy-links .other-stores .btn-link.view-all:hover {
    opacity: .6;
}

@media (max-width: 991px) {
    .woocommerce div.product div.summary .summary-bottom .buy-links .other-stores .store:nth-child(3n+3) {
        display: none;
    }
}

@media (max-width: 350px) {
    .woocommerce div.product div.summary .summary-bottom .buy-links .amazon-container a {
        padding: 5px 10px;
        display: flex;
        align-items: center;
    }
}

/* Extra info */

.woocommerce div.product div.summary .summary-bottom .extra-info {
    padding: 10px 0;
    display: flex;
    column-gap: 14px;
    justify-content: space-between;
}

.woocommerce div.product div.summary .summary-bottom .extra-info > div {
    display: flex;
    column-gap: 8px;
    align-items: center;
}

.woocommerce div.product div.summary .summary-bottom .extra-info .icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background-size: cover;
    background-position: center;
}

.woocommerce div.product div.summary .summary-bottom .extra-info .natural .number {
    font-size: 18px;
    line-height: normal;
}

.woocommerce div.product div.summary .summary-bottom .extra-info .text {
    font-size: 14px;
    line-height: normal;
}

.woocommerce div.product div.summary .summary-bottom .extra-info .natural .text {
    white-space: nowrap;
}

.woocommerce div.product div.summary .summary-bottom .extra-info .natural > div:not(.icon) {
    display: flex;
    flex-direction: column;
}

.woocommerce div.product div.summary .summary-bottom .extra-info .pore-control-system .text button.btn-info {
    margin-left: 2px;
}

@media(min-width: 1200px) {
    .woocommerce div.product div.summary .summary-bottom .extra-info {
        column-gap: 40px;
    }

    .woocommerce div.product div.summary .summary-bottom .extra-info .pore-control-system .text {
        max-width: 180px;
    }
}

@media (min-width: 450px) and (max-width: 1199px) {
    .woocommerce div.product div.summary .summary-bottom .extra-info {
        max-width: 450px;
    }

    .woocommerce div.product div.summary .summary-bottom .extra-info .natural {
        width: 100%;
    }

    .woocommerce div.product div.summary .summary-bottom .extra-info .pore-control-system {
        min-width: 200px;
    }
}

@media (min-width: 408px) and (max-width: 411px) {
    .woocommerce div.product div.summary .summary-bottom .extra-info {
        column-gap: 10px;
    }
}

@media (max-width: 407px) {
    .woocommerce div.product div.summary .summary-bottom .extra-info .natural .text {
        white-space: wrap;
    }
}

@media (max-width: 355px) {
    .woocommerce div.product div.summary .summary-bottom .extra-info {
        flex-direction: column;
        row-gap: 15px;
    }
}

/* Pore control modal */

.woocommerce div.product div.summary aside.modal.pore-control-modal .modal-dialog {
    max-width: 370px;
    --dh-modal-content-padding-m: 24px;
    --dh-modal-content-padding-d: 30px;
    --dh-modal-content-row-gap-m: 16px;
    --dh-modal-content-row-gap-d: 24px;
}

@media (min-width: 992px) {
    .woocommerce div.product div.summary aside.modal.pore-control-modal .modal-dialog {
        max-width: 685px;
    }
}

.woocommerce div.product div.summary aside.modal.pore-control-modal .modal-body {
    position: relative;
}

.woocommerce div.product div.summary aside.modal.pore-control-modal .modal-body p,
.woocommerce div.product div.summary aside.modal.pore-control-modal .modal-body li {
    font-size: 14px;
    line-height: 19px;
}

.woocommerce div.product div.summary aside.modal.pore-control-modal .modal-body p {
    max-width: 222px;
    margin-bottom: 10px;
}

.woocommerce div.product div.summary aside.modal.pore-control-modal .modal-body ul {
    margin-bottom: 0;
    list-style-type: disc;
    padding-left: 20px;
}

.woocommerce div.product div.summary aside.modal.pore-control-modal .modal-body img {
    width: 55px;
    height: 55px;
    position: absolute;
    top: 20px;
    right: 13px;
}

@media (min-width: 992px) {
    .woocommerce div.product div.summary aside.modal.pore-control-modal .modal-body p {
        max-width: 437px;
        margin-bottom: 30px;
    }

    .woocommerce div.product div.summary aside.modal.pore-control-modal .modal-body ul {
        max-width: 437px;
    }

    .woocommerce div.product div.summary aside.modal.pore-control-modal .modal-body img {
        width: 107px;
        height: 107px;
        top: 37px;
        right: 30px;
    }
}

@media (max-width: 350px) {
    .woocommerce div.product div.summary aside.modal.pore-control-modal .modal-body p {
        max-width: unset;
    }
    .woocommerce div.product div.summary aside.modal.pore-control-modal .modal-body img {
        display: none;
    }
}

/* Wins */

.woocommerce div.product div.summary .wins {
    background-color: var(--cream);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 24px;
    margin: 10px -24px 0;
}

.woocommerce div.product div.summary .wins .win {
    display: flex;
    column-gap: 8px;
    align-items: center;
}

.woocommerce div.product div.summary .wins .win .icon {
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
}

/* Regla duplicada eliminada - ya cubierta por .win p principal */

@media (max-width: 350px) {
    .woocommerce div.product div.summary .wins {
        flex-direction: column;
    }
}

@media (min-width: 500px) and (max-width: 1199px) {
    .woocommerce div.product div.summary .wins {
        justify-content: center;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .woocommerce div.product div.summary .wins {
        margin: 10px -80px 0;
    }
}

@media (min-width: 1200px) {
    .woocommerce div.product div.summary .wins-container {
        flex-grow: 1;
        display: flex;
        align-items: flex-end;
    }

    .woocommerce div.product div.summary .wins {
        justify-content: space-between;
        gap: 18px;
        padding: 20px 54px;
        margin: 1px -80px 0 -54px;
    }

    .woocommerce div.product div.summary .wins .win {
        flex-basis: 40%;
    }

    .woocommerce div.product div.summary .wins .win .icon {
        width: 20px;
        height: 20px;
    }

    .woocommerce div.product div.summary .wins .win p {
        width: fit-content;
        white-space: nowrap;
    }
}

/************************
           TABS
************************/

.woocommerce div.product .wc-tabs-wrapper {
    padding-bottom: 40px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 24px;
    margin: 0 -24px 34px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::-webkit-scrollbar {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
    .woocommerce div.product .woocommerce-tabs ul.tabs li::before,
    .woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: var(--white);
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border-bottom: 4px solid var(--red);
    margin: 0;
    opacity: .2;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border-bottom: 4px solid var(--red);
    opacity: 1;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    padding: 16px 24px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    opacity: 1;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li h2 {
    font-size: 16px;
    line-height: 24px;
    white-space: nowrap;
    color: var(--red);
    font-weight: 700;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .woocommerce div.product .wc-tabs-wrapper {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs {
        padding: 0;
        margin: 0 0 40px;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs,
    .woocommerce div.product .woocommerce-tabs ul.tabs li {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .woocommerce div.product .wc-tabs-wrapper {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li h2 {
        font-size: 18px;
    }
}

/* Tabs content */

.woocommerce div.product .woocommerce-tabs .panel {
    margin-bottom: 0;
}

.woocommerce div.product .woocommerce-tabs .panel h3 {
    color: var(--red);
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
}

.woocommerce div.product .woocommerce-tabs .panel h4 {
    font-size: 12px;
    font-weight: 700;
    line-height: 17px;
    color: #DB8984;
    margin-bottom: 5px;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel .tablet:not(.mobile),
.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel .desktop {
    display: none !important;
}

@media (min-width: 768px) {
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel .tablet,
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel .tablet.desktop,
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel .mobile.tablet {
        display: block !important;
    }
    
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel .mobile {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel .desktop,
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel .tablet.desktop {
        display: block !important;
    }
    
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel .tablet,
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel .mobile.tablet {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel:not(.woocommerce-Tabs-panel--faqs) {
        display: flex;
        column-gap: 55px;
    }

    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel:not(.woocommerce-Tabs-panel--faqs) > div:first-child {
        flex: 0 0 49%;
    }

    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel:not(.woocommerce-Tabs-panel--faqs) > div:last-child {
        flex: 1 0 45%;
    }
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel .box {
    background-color: var(--lightest-cream);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
}

/* Description tab */

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description p, .woocommerce div.product .woocommerce-tabs .panel li {
    font-size: 14px;
    line-height: 19px;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description p {
    margin-bottom: 5px;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description hr {
    background-color: var(--light-cream);
    height: 3px;
    opacity: 1;
    margin: 16px 0;
    border: none;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description hr + ul {
    margin-bottom: 30px;
    list-style-type: disc;
    padding-left: 20px;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description li {
    margin-bottom: 8px;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description hr + ul li::marker {
    color: var(--red);
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description hr + ul li strong {
    color: var(--red);
}

@media (min-width: 992px) {
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description hr + ul {
        margin-bottom: 40px;
    }

    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .benefits,
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .effectiveness,
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .specs {
        margin-bottom: 24px;
    }
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .benefits ul {
    padding-left: 0;
    margin-bottom: 0;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .benefits ul li {
    position: relative;
    padding-left: 24px;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .benefits ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    background: transparent url(/wp-content/themes/leonie-child/img/icons/pdp/wins-check.svg) no-repeat center;
    background-size: contain;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .effectiveness ul {
    padding-left: 0;
    margin-bottom: 10px;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .effectiveness ul li {
    position: relative;
    padding-left: 14px;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .effectiveness ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background-color: var(--pink);
    opacity: .8;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description.woocommerce-Tabs-panel--description .effectiveness p.note {
    font-size: 12px;
    line-height: 17px;
    margin-bottom: 19px;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .effectiveness .tested {
    padding: 5px 10px;
    border-radius: 40px;
    background-color: rgba(243, 216, 214, 0.30);
    display: flex;
    column-gap: 5px;
    align-items: center;
    margin-bottom: 9px;
    width: fit-content;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .effectiveness .tested .icon {
    width: 15px;
    height: 15px;
    background: transparent url(/wp-content/themes/leonie-child/img/icons/pdp/health-cross.svg) no-repeat center;
    background-size: contain;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .effectiveness .tested p {
    margin-bottom: 0;
    color: var(--red);
    font-size: 12px;
    line-height: 17px;
    font-weight: 700;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .specs {
    display: flex;
    column-gap: 40px;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .specs.mobile {
    margin-top: -4px;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .specs p {
    font-size: 14px;
    font-weight: 700;
    line-height: 19px;
    margin-bottom: 0;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .specs > div {
    position: relative;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .specs > div:not(:first-child)::before {
    content: '';
    position: absolute;
    left: -19.5px;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: #E6B2AD;
    opacity: .6;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .packaging p {
    margin-bottom: 4px;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .packaging {
    margin-bottom: 20px;
}

@media (min-width: 992px) {
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .specs {
        justify-content: space-between;
        padding: 16px 20px;
    }

    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .specs div.tablet p {
        max-width: 188px;
    }

    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .specs h4,
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .specs > div:nth-child(-n + 2) {
        white-space: nowrap;
    }

    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .packaging p:last-child {
        margin-bottom: 0;
    }
    
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--description .packaging {
        margin-bottom: 0;
    }
}

/* How to tab */

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--how-to .steps ul {
    margin-bottom: 25px;
    list-style: none;
    padding-left: 0;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--how-to .steps ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.5;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--how-to .steps ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    background: transparent url(/wp-content/themes/leonie-child/img/icons/pdp/wins-check.svg) no-repeat center;
    background-size: contain;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--how-to .steps ul li strong {
    color: var(--red);
}

@media (min-width: 992px) {
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--how-to > div:first-child {
        padding-top: 16px;
    }
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--how-to .routine-products {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--how-to .routine-products a {
    white-space: nowrap;
    font-size: 12px;
    line-height: normal;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--how-to video {
    width: 100%;
    height: 100%;
    display: flex;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--how-to video {
        margin-bottom: 0;
        margin-top: 50px;
    }
}

@media (min-width: 992px) {
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--how-to video {
        margin-top: 0;
    }
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--how-to .when .boxes {
    display: flex;
    column-gap: 30px;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--how-to .when .boxes p {
    font-size: 14px;
    font-weight: 700;
    line-height: 19px;
    margin-bottom: 0;
}

.woocommerce div.product .woocommerce-tabs  .panel.woocommerce-Tabs-panel--how-to .when .boxes > div {
    position: relative;
    display: flex;
    column-gap: 15px;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--how-to .when .boxes > div:not(:first-child)::before {
    content: '';
    position: absolute;
    left: -14.5px;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: #E6B2AD;
    opacity: .6;
}

@media (max-width: 370px) {
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--how-to .when .boxes {
        flex-direction: column;
        row-gap: 20px;
    }

    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--how-to .when .boxes > div:not(:first-child)::before {
        display: none;
    }
}

@media (min-width: 515px) {
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--how-to .when .boxes {
        column-gap: 0;
    }

    .woocommerce div.product .woocommerce-tabs  .panel.woocommerce-Tabs-panel--how-to .when .boxes > div {
        width: 50%;
    }

    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--how-to .when .boxes > div:not(:first-child)::before {
        left: -30px;
    }
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--how-to .routine-steps {
    border: 1.5px solid #F3D8D6;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 593px;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--how-to .routine-steps > span {
    display: block;
    padding: 4px 15px;
    font-size: 12px;
    font-weight: 700;
    line-height: 17px;
    color: #E6B2AD;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--how-to .routine-steps > span.active {
    border-radius: 100px;
    background-color: #CE625C;
    color: var(--white);
}

@media (max-width: 400px) {
    .routine-steps {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .routine-steps::-webkit-scrollbar {
        display: none;
    }

    .routine-steps > span {
        padding: 8px 12px;
        min-width: 80px;
        flex-shrink: 0;
    }
}

@media (min-width: 415px) {
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--how-to .routine-steps > span {
        padding: 4px 0;
        text-align: center;
        width: 100%;
    }
}

/* Accordion */

.accordion-flush .accordion-item {
    border: none;
    margin-bottom: 10px;
}

.accordion-flush .accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-flush .accordion-item h4.accordion-header {
    margin-bottom: 0 !important;
}

.accordion-flush .accordion-item .accordion-button {
    outline: none;
    box-shadow: none;
    background-color: #FCF6F3;
    padding: 20px;
    display: flex;
    align-items: center;
    column-gap: 16px;
}


.accordion-flush .accordion-item .accordion-button span {
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    color: var(--red);
}

.accordion-flush .accordion-item .accordion-body {
    padding: 0 20px 20px;
    background-color: #FCF6F3;
}

/* Accordion button styles for ingredients - Diseño limpio sin bordes individuales */
#ingredientsAccordion .accordion-button {
    background-color: #FCF6F3 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 20px !important;
    display: flex !important;
    align-items: center !important;
    column-gap: 16px !important;
    font-weight: 700 !important;
    color: var(--red) !important;
    box-shadow: none !important;
    cursor: pointer !important;
    position: relative !important;
}

#ingredientsAccordion .accordion-button:not(.collapsed) {
    background-color: #FCF6F3 !important;
    box-shadow: none !important;
}

#ingredientsAccordion .accordion-button::after {
    background-image: url(/wp-content/themes/leonie-child/img/icons/general/+.svg) !important;
    background-size: 16px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    width: 16px !important;
    height: 16px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    content: "" !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

#ingredientsAccordion .accordion-button:not(.collapsed)::after {
    background-image: url(/wp-content/themes/leonie-child/img/icons/general/-.svg) !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background-size: 16px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    width: 16px !important;
    height: 16px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    content: "" !important;
    display: block !important;
}

#ingredientsAccordion .accordion-button img {
    width: 33px !important;
    height: 33px !important;
    flex-shrink: 0 !important;
}

#ingredientsAccordion .accordion-button span {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 22px !important;
    color: var(--red) !important;
}

/* Asegurar que el collapse funcione */
.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .accordion-collapse {
    transition: height 0.35s ease !important;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .accordion-collapse.show {
    display: block !important;
}

/* Separadores entre elementos del acordeón */
#ingredientsAccordion .accordion-item:not(:last-child) {
    border-bottom: 1px solid #E6B2AD !important;
}

#ingredientsAccordion .accordion-item {
    border: none !important;
    border-radius: 0 !important;
}

/* Estilos específicos para el accordion-body del acordeón de ingredientes - Diseño limpio */
#ingredientsAccordion .accordion-body {
    background-color: #FCF6F3 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 20px 20px 20px !important;
    margin-top: 0 !important;
}

#ingredientsAccordion .accordion-body h5 {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 19px !important;
    color: #333 !important;
    margin-bottom: 8px !important;
}

#ingredientsAccordion .accordion-body p {
    font-size: 14px !important;
    line-height: 19px !important;
    color: #333 !important;
    margin-bottom: 16px !important;
}

#ingredientsAccordion .accordion-body div:last-child p {
    margin-bottom: 0 !important;
}

/* Estilos para el acordeón de FAQs - mismo diseño que ingredientes */
#faqsAccordion {
    border: 1px solid #E6B2AD !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    max-width: none !important;
}

#faqsAccordion .accordion-item:not(:last-child) {
    border-bottom: 1px solid #E6B2AD !important;
}

#faqsAccordion .accordion-item {
    border: none !important;
    border-radius: 0 !important;
}

#faqsAccordion .accordion-button {
    background-color: #FCF6F3 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 20px !important;
    display: flex !important;
    align-items: center !important;
    column-gap: 16px !important;
    font-weight: 700 !important;
    color: var(--red) !important;
    box-shadow: none !important;
    cursor: pointer !important;
    position: relative !important;
    width: 100% !important;
    text-align: left !important;
    font-size: 16px !important;
    transition: none !important;
}

#faqsAccordion .accordion-button:not(.collapsed) {
    background-color: #FCF6F3 !important;
    box-shadow: none !important;
}

#faqsAccordion .accordion-button::after {
    background-image: url(/wp-content/themes/leonie-child/img/icons/general/+.svg) !important;
    background-size: 16px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    width: 16px !important;
    height: 16px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    content: "" !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

#faqsAccordion .accordion-button:not(.collapsed)::after {
    background-image: url(/wp-content/themes/leonie-child/img/icons/general/-.svg) !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background-size: 16px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    width: 16px !important;
    height: 16px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    content: "" !important;
    display: block !important;
}

#faqsAccordion .accordion-button span {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 22px !important;
    color: var(--red) !important;
}

#faqsAccordion .accordion-body {
    background-color: #FCF6F3 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 20px 20px 20px !important;
    margin-top: 0 !important;
}

#faqsAccordion .accordion-body p {
    font-size: 14px !important;
    line-height: 19px !important;
    color: #333 !important;
    margin-bottom: 0 !important;
}

/* Asegurar que el collapse funcione para FAQs */
.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--faqs .accordion-collapse {
    transition: height 0.35s ease !important;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--faqs .accordion-collapse.show {
    display: block !important;
}


/* Ingredients tab - Estilos para nuestro template personalizado */
.tab-panel#ingredients .natural {
    display: flex;
    column-gap: 16px;
    align-items: center;
    background-color: rgba(63, 133, 77, 0.15);
    border-radius: 0px;
    padding: 16px 24px;
    margin-bottom: 24px;
    border: none;
}

.tab-panel#ingredients .natural img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #3F854D;
    padding: 8px;
    background-color: transparent;
}

.tab-panel#ingredients .natural div {
    color: #3F854D;
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .natural {
    display: flex;
    column-gap: 16px;
    align-items: center;
    background-color: rgba(63, 133, 77, 0.15);
    border-radius: 20px;
    padding: 16px 24px;
    margin-bottom: 8px;
    border: none;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .natural img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #3F854D;
    padding: 8px;
    background-color: transparent;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .natural div {
    color: #3F854D;
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .key-assets {
    padding-top: 20px;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .key-assets .accordion-body {
    display: flex;
    flex-direction: column;
    row-gap: 32px;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .key-assets .accordion-body h5 {
    font-size: 14px;
    font-weight: 700;
    line-height: 19px;
    margin-bottom: 8px;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .key-assets .accordion-body p,
.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .key-assets .accordion-body li {
    font-size: 14px;
    line-height: 19px;
    margin-bottom: 0;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .key-assets .accordion-body ul {
    margin-bottom: 0;
    padding-left: 20px;
    list-style-type: disc;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .key-assets .accordion-body ul li::marker {
    color: var(--red);
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .key-assets .accordion-body ul li:not(:last-child) {
    margin-bottom: 4px;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .key-assets .accordion-body p span {
    color: var(--red);
    font-weight: 600;
}

.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .key-assets .accordion-body .natural-products {
    font-size: 12px;
    color: #3F854D;
    font-weight: 600;
    margin-top: 10px;
}

@media (min-width: 768px) {
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .natural {
        margin-bottom: 34px;
    }
    
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .key-assets {
        padding-top: 34px;
    }
}

@media (min-width: 992px) {
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .natural {
        margin-bottom: 24px;
    }
    
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .key-assets {
        padding-top: 0;
    }
}

/* Responsive para ingredientes */
@media (max-width: 768px) {
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .natural {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .key-assets {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .key-assets .accordion-item {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .key-assets .accordion-button {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients .key-assets .accordion-body {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Asegurar que el contenedor padre también ocupe el 100% */
    .woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--ingredients * {
        max-width: 100% !important;
    }
}

/************************
         REVIEWS
************************/

.woocommerce div.product section.reviews {
    background-color: var(--lightest-cream);
    width: 100%;
}

.woocommerce div.product section.reviews .reviews-header {
    padding: 40px 0 24px;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

.woocommerce div.product section.reviews .reviews-header h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 0;
}

.woocommerce div.product section.reviews .reviews-header .review-stars img {
    height: 21px;
}

.woocommerce div.product section.reviews .reviews-container {
    padding-bottom: 40px;
}

.woocommerce div.product section.reviews .reviews-container .review {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    border-top: 1.5px solid #FAE8E0;
}

.woocommerce div.product section.reviews .reviews-container .review p {
    font-size: 14px;
    line-height: 19px;
    margin-bottom: 0;
}

.woocommerce div.product section.reviews .reviews-container .review .name {
    display: flex;
    column-gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.woocommerce div.product section.reviews .reviews-container .review .name h3,
.woocommerce div.product section.reviews .reviews-container .review .name .verified {
    white-space: nowrap;
}

.woocommerce div.product section.reviews .reviews-container .review .name h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 0;
}

.woocommerce div.product section.reviews .reviews-container .review .name .verified {
    background-position: top left;
    background-size: 16px;
    background-repeat: no-repeat;
    padding-left: 20px;
    color: var(--acento-salmon);
    font-size: 14px;
    font-weight: 700;
    line-height: 19px;
}

.woocommerce div.product section.reviews .reviews-container .review .stars-date {
    display: flex;
    align-items: center;
    column-gap: 3px;
    margin-bottom: 8px;
}

.woocommerce div.product section.reviews .reviews-container .review .stars-date .review-stars {
    margin-bottom: 0;
}

.woocommerce div.product section.reviews .reviews-container .review .stars-date .review-stars img {
    height: 17px;
    margin-bottom: 4px;
}

.woocommerce div.product section.reviews .reviews-container .review .stars-date .date {
    font-size: 13px;
    line-height: 17px;
}

.woocommerce div.product section.reviews .reviews-container .review .content h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    margin-bottom: 8px;
}

.woocommerce div.product section.reviews .reviews-container .review .content .recommends {
    margin-top: 8px;
    background-position: top left;
    background-size: 16px;
    background-repeat: no-repeat;
    padding-left: 24px;
    font-size: 14px;
    font-weight: 700;
    line-height: 19px;
}

@media (min-width: 768px) {
    .woocommerce div.product section.reviews .reviews-header {
        padding: 60px 0 24px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        column-gap: 8px;
    }

    .woocommerce div.product section.reviews .reviews-container {
        padding-bottom: 60px;
    }

    .woocommerce div.product section.reviews .reviews-container .review {
        padding: 48px 0;
        flex-direction: row;
        column-gap: 33px;
        justify-content: flex-start;
    }

    .woocommerce div.product section.reviews .reviews-container .review .name {
        row-gap: 8px;
        margin-bottom: 24px;
    }

    .woocommerce div.product section.reviews .reviews-container .review .skin-type p {
        white-space: nowrap;
    }

    .woocommerce div.product section.reviews .reviews-container .review .content h3 {
        font-size: 18px;
        line-height: 24px;
    }
}

@media (min-width: 992px) {
    .woocommerce div.product section.reviews .reviews-container {
        padding-bottom: 80px;
    }

    .woocommerce div.product section.reviews .reviews-container .review {
        column-gap: 40px;
    }

    .woocommerce div.product section.reviews .reviews-container .review > div:first-child {
        width: 376px;
        min-width: 376px;
    }
}

/************************
        RELATED
************************/

.woocommerce div.product .related.products {
    padding: 40px 0;
}

.woocommerce div.product .related.products h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 24px;
}

.woocommerce div.product .related.products .swiper-container {
    margin: 0 -24px;
    padding: 0 24px;
}

.woocommerce div.product .related.products .product {
    width: 100%;
    max-width: 334px;
    position: relative;
}

.woocommerce div.product .related.products .product > a:hover {
    opacity: 1;
}

.woocommerce div.product .related.products .product > a > img.hover,
.woocommerce div.product .related.products .product:hover > a > img:not(.hover) {
    display: none;
}

.woocommerce div.product .related.products .product:hover > a > img.hover {
    display: block;
}

@media (min-width: 768px) {
    .woocommerce div.product .related.products {
        padding: 60px 0;
    }

    .woocommerce div.product .related.products .swiper-container {
        margin: 0 -40px;
        padding: 0 40px;
    }

    .woocommerce div.product .related.products .product {
        max-width: 375px;
    }
}

@media (min-width: 992px) {
    .woocommerce div.product .related.products {
        padding: 80px 0;
    }
}

@media (min-width: 1441px) {
    .woocommerce div.product .related.products .swiper-container {
        margin: 0;
        padding: 0;
    }

    .woocommerce div.product .related.products .product a,
    .woocommerce div.product .related.products .product .product-content {
        width: 100%;
    }
}

.woocommerce div.product .related.products .product a {
    text-decoration: none;
}

.woocommerce div.product .related.products .product img {
    width: 100%;
}

.woocommerce div.product .related.products .product .labels {
    top: 16px;
    left: 16px;
}

.woocommerce div.product .related.products .product .product-content {
    padding-top: 16px;
}

.woocommerce div.product .related.products .product h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 0;
}

.woocommerce div.product .related.products .product h4 {
    font-size: 14px;
    font-weight: 700;
    line-height: 19px;
    margin-bottom: 0;
}

.woocommerce div.product .related.products .product .price {
    padding: 0;
}

.woocommerce div.product .related.products .product .product-review-price {
    padding: 12px 0 16px;
    display: flex;
    justify-content: space-between;
}

.woocommerce div.product .related.products .product a.btn-primary {
    width: 100%;
}

/* Override ancho grid en desktop grandes */
@media (min-width: 1441px) {
    .qodef-content-grid-1300 .qodef-content-grid {
        width: 1440px !important;
    }
}

/* Media queries duplicados eliminados - ya cubiertos por reglas principales */

/* Ajustar altura del swiper para pantallas desde 1440px hacia arriba */
@media (min-width: 1440px) {
    .woocommerce-product-gallery {
        align-items: stretch !important;
    }
    
    .thumbs-swiper {
        height: 100% !important;
        align-self: stretch !important;
    }
    
    .images-swiper {
        height: 100% !important;
        align-self: stretch !important;
    }
    
    .images-swiper .swiper-slide {
        height: 100% !important;
    }
    
    .images-swiper img {
        height: 100% !important;
        object-fit: cover !important;
    }
}

/* ===========================================
   ESTILOS PARA EL TAB DE MODO DE USO
   =========================================== */

.steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 0;
}

.steps li .number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-orange);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
    margin-right: 16px;
    flex-shrink: 0;
}

.steps li .text {
    flex: 1;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    padding-top: 8px;
}

.routine.box {
    background-color: var(--lightest-cream);
    border-radius: 10px;
    padding: 24px;
    margin: 30px 0;
}

.routine.box h3 {
    color: var(--red);
    margin-bottom: 20px;
    font-size: 24px;
}

.routine-products {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 20px;
    margin-left: 0;
    padding-left: 0;
}

.routine-products div {
    flex: 1;
    min-width: 0;
    margin-left: 0;
    padding-left: 0;
}

.routine-products a {
    color: #333;
    text-decoration: underline;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    display: block;
    text-align: left;
    margin-left: 0;
    padding-left: 0;
}

.routine-products a:hover {
    color: var(--pink);
}

.box.when {
    background-color: var(--lightest-cream);
    border-radius: 10px;
    padding: 24px;
    margin: 30px 0;
}

.box.when h3 {
    color: var(--red);
    margin-bottom: 20px;
    font-size: 24px;
}

.boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.boxes > div {
    display: flex;
    align-items: center;
    gap: 16px;
}

.boxes img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.boxes h4 {
    font-size: 16px;
    margin: 0 0 4px 0;
    color: var(--red);
    font-weight: 500;
}

.boxes p {
    font-size: 14px;
    margin: 0;
    color: #666;
    font-weight: 500;
}

.tab-content-right .box {
    width: 100%;
}

.routine-steps {
    background-color: var(--lightest-cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px;
    border: none;
    max-width: 100%;
    width: 100%;
}

.routine-steps > span {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    line-height: 19px;
    color: #DB8984;
    background-color: transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.routine-steps > span.active {
    background-color: var(--red);
    color: var(--white);
    border-radius: 8px;
}

.routine-steps > span:hover:not(.active) {
    background-color: rgba(219, 137, 132, 0.1);
    color: var(--red);
}

/* Responsive para tablet y desktop */
@media (max-width: 768px) {
    .tablet.desktop {
        display: block;
    }
    
    .boxes {
        grid-template-columns: 1fr;
    }
    
    .routine-products {
        flex-direction: row;
        gap: 6px;
    }
    
    .routine-products div {
        min-width: 0;
    }
    
    .routine-products a {
        font-size: 12px;
    }
}

/* ===========================================
   ESTILOS ESPECÍFICOS PARA PANTALLAS MUY PEQUEÑAS
   =========================================== */

@media only screen and (max-width: 480px) {
    .qodef-content-grid {
        width: 100%;
    }
}

/* ===========================================
   ESTILOS MEJORADOS PARA FAQs
   =========================================== */

.faqs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background-color: var(--lightest-cream);
    border-radius: 0;
    overflow: hidden;
    border: none;
    box-shadow: none;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background-color: var(--lightest-cream);
    border: none;
    border-radius: 0;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--red);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background-color: var(--lightest-cream);
    color: var(--red);
}

.faq-question::after {
    content: '+';
    font-size: 18px;
    font-weight: 700;
    color: #333;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-question[aria-expanded="true"]::after {
    content: '−';
    transform: rotate(0deg);
}

.faq-answer {
    padding: 0 24px 20px;
    background-color: var(--lightest-cream);
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}