/**
 * ONE PRODUCTO CSS
 * Clases NUEVAS con prefijo "one-" para páginas de producto single
 * NO interfieren con las clases originales "pt-" de style.css
 *
 * AL SUBIR A SERVIDOR: subir SIEMPRE junto con:
 *   - pag_include/producto_ficha_acordeon_tabs.php
 * (acordeón y pestañas usan id y clases de ese PHP; si solo subes este CSS, los estilos pueden no aplicarse)
 */

/* =============================================================================
   one-product-single-info - Contenedor principal
   ============================================================================= */
.one-product-single-info {
    line-height: 22px;
}

.one-product-single-info img {
    max-width: 100%;
    height: auto;
}

/* =============================================================================
   one-wrapper - Contenedor genérico
   ============================================================================= */
.one-product-single-info .one-wrapper {
    margin-top: 23px;
    font-size: 18px;
    line-height: 28px;
}

.one-product-single-info .one-wrapper .one-title-options {
    font-size: 16px;
    line-height: 25px;
    padding-bottom: 3px;
    margin-bottom: 10px;
}

.one-product-single-info .one-wrapper .one-title-options strong {
    color: #333333;
}

.one-product-single-info > *:nth-child(1) {
    margin-top: 0;
}

.one-product-single-info > *:nth-child(1).one-wrapper {
    margin-top: 0px;
}

/* =============================================================================
   one-ficha-marco - Marco fino gris para fichas 50/51/52 (opcion_selected_2 = 1)
   ============================================================================= */
.one-ficha-marco {
    border: 1px solid #e5e5e5;
    padding: 6px 10px;
    display: inline-block;
    border-radius: 0;
    text-align: center;
}

/* Enlace dentro del marco: centrado y mismo padding que ficha_50 (sin márgenes del contenedor) */
.one-product-info-buttons .one-ficha-marco a,
.one-product-single-info .pt-texto-ficha-50 .one-ficha-marco a {
    display: block;
    text-align: center;
    margin-left: 0 !important;
    margin-top: 0 !important;
}

/* Marco 51/52: mismo padding que ficha_50 y puede bajar de línea (flex-wrap) */
.one-product-info-buttons .one-ficha-marco {
    padding: 6px 10px;
    margin-top: 11px;
    flex-shrink: 0;
}
.one-product-info-buttons > .one-ficha-marco:first-child {
    margin-left: 30px;
}

/* Ficha_50 opción 1: mismo padding que marcos 51/52 */
.one-product-single-info .pt-texto-ficha-50 .one-ficha-marco {
    padding: 6px 10px;
}

/* Separación entre varios marcos; si no caben, pasan a la siguiente línea (flex-wrap del contenedor) */
.one-product-info-buttons .one-ficha-marco + .one-ficha-marco,
.one-product-info-buttons .one-ficha-marco + a,
.one-product-info-buttons a + .one-ficha-marco {
    margin-left: 12px;
}

.one-product-single-info .pt-texto-ficha-50 .one-ficha-marco + .one-ficha-marco {
    margin-left: 12px;
}

/* =============================================================================
   one-label - Etiquetas (NEW, SALE, FEATURED)
   ============================================================================= */
.one-label-new {
    background: #48CAB2;
    color: #ffffff;
}

.one-label-sale {
    background: #E12C43;
    color: #ffffff;
}

.one-label-out-stock {
    background: #333333;
    color: #ffffff;
}

.one-label-our-fatured {
    background: #ffba0a;
    color: #ffffff;
}

.one-product-single-info .one-label {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: stretch;
    align-items: flex-start;
    margin-left: -10px;
    margin-top: -1px;
}

.one-product-single-info .one-label [class^=one-label] {
    display: inline-block;
    margin-left: 10px;
    margin-top: 10px;
    font-size: 12px;
    line-height: 1;
    color: #ffffff;
    font-weight: 700;
    padding: 5px 7px 4px;
}

.one-product-single-info > *:nth-child(1) .one-label {
    margin-top: -10px;
}

/* =============================================================================
   one-title - Título del producto
   ============================================================================= */
.one-product-single-info .one-title {
    font-size: 36px;
    line-height: 40px;
    margin-top: 16px;
    color: #333333;
    padding-bottom: 3px;
}

.one-product-single-info .one-title.one-size-small {
    font-size: 24px;
    line-height: 35px;
}

.one-product-single-info > *:nth-child(1).one-title {
    margin-top: -5px !important;
}

/* =============================================================================
   one-price - Precio del producto
   ============================================================================= */
.one-product-single-info .one-price {
    color: #48CAB2;
    font-weight: 700;
    transition: opacity 0.2s linear;
    position: relative;
    top: -3px;
}

.one-product-single-info .one-price .new-price {
    color: #e12c43;
    display: inline-block;
    padding-bottom: 4px;
}

.one-product-single-info .one-price .old-price {
    color: #777777;
    font-size: 24px;
    font-weight: normal;
    text-decoration: line-through;
    display: inline-block;
}

.one-product-single-info .one-price:not([class^=one-size]) {
    margin-top: 12px;
    font-size: 36px;
}

.one-product-single-info > *:nth-child(1).one-price {
    margin-top: 7px;
}

/* =============================================================================
   one-review - Reseñas y estrellas
   ============================================================================= */
.one-product-single-info .one-review {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 16px;
}

.one-product-single-info .one-review .one-rating {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
}

.one-product-single-info .one-review .one-rating i:first-child {
    margin-right: 3px;
}

.one-product-single-info .one-review .one-rating i:last-child {
    margin-left: 3px;
}

.one-product-single-info .one-review .one-rating i:not(:first-child):not(:last-child) {
    margin-left: 3px;
    margin-right: 3px;
}

.one-product-single-info .one-review .one-rating + * {
    margin-left: 18px;
}

.one-product-single-info .one-review a {
    position: relative;
    top: -2px;
}

.one-product-single-info .one-review + .one-wrapper {
    margin-top: 11px;
}

/* one-rating general */
.one-rating {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    color: #ffba0a;
}

.one-rating i {
    line-height: 0;
}

.one-rating i svg {
    width: 14px;
    height: 14px;
}

.one-rating i:not(.one-star) {
    color: #D0D0D0;
}

/* =============================================================================
   one-add-info - Información adicional (SKU, Vendor, etc.)
   ============================================================================= */
.one-product-single-info .one-add-info {
    margin-top: 27px;
}

.one-product-single-info .one-add-info ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.one-product-single-info .one-add-info ul li {
    color: #333333;
    font-size: 16px;
    line-height: 25px;
    padding: 0;
    font-weight: 700;
}

.one-product-single-info .one-add-info ul li span:first-child {
    color: #777777;
    font-weight: 400;
}

.one-product-single-info .one-add-info ul li a {
    color: #333333;
    display: inline-block;
    position: relative;
    transition: all 0.2s;
}

.one-product-single-info .one-add-info ul li a:before {
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    margin: auto;
    width: 0%;
    content: "";
    color: transparent;
    background-color: #333333;
    height: 2px;
    transition: width 0.2s linear;
}

.one-product-single-info .one-add-info ul li a:hover:before {
    width: 100%;
}

.one-product-single-info > *:nth-child(1).one-add-info {
    margin-top: -6px;
}

/* =============================================================================
   one-swatches-container y one-options-swatch - Selectores de tallas/colores
   ============================================================================= */
.one-product-single-info .one-swatches-container .one-wrapper:not(:first-child) {
    margin-top: 21px;
}

.one-product-single-info .one-options-swatch {
    margin-top: -12px;
}

.one-product-single-info > *:nth-child(1).one-swatches-container {
    margin-top: -29px;
}

/* one-options-swatch base */
.one-options-swatch {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    list-style: none;
}

.one-options-swatch li {
    line-height: 0;
}

.one-options-swatch li a {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: inline-block;
    position: relative;
}

.one-options-swatch li a:not([class^=one-options-color]):not(.options-color):not(.options-size):not(.opt-text-link):not(.options-text) {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
    color: #777777;
    font-weight: 700;
    min-width: 38px;
    height: 38px;
    padding: 4px 5px;
    border: 1px solid #ebebeb;
    z-index: 2;
    transition: all 0.2s linear;
}

.one-options-swatch li a:not([class^=one-options-color]):not(.options-color):not(.options-size):not(.opt-text-link):not(.options-text):before {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    left: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    border: 1px solid #ebebeb;
    transition: all 0.2s linear;
}

.one-options-swatch li a:not([class^=one-options-color]):not(.options-color):not(.options-size):not(.opt-text-link):not(.options-text):hover {
    border-color: #333333;
    color: #333333;
}

.one-options-swatch li a:not([class^=one-options-color]):not(.options-color):not(.options-size):not(.opt-text-link):not(.options-text):hover:before {
    border-width: 2px;
    border-color: #333333;
}

/* Colores circulares */
.one-options-swatch li a.one-options-color {
    font-size: 0;
    line-height: 0;
    width: 20px;
    height: 20px;
    overflow: hidden;
    border-radius: 50%;
    background-size: cover;
}

.one-options-swatch li a.one-options-color:before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    margin-left: -50%;
    margin-top: -50%;
    border-radius: 50%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border: 0px solid #ffffff;
}

.one-options-swatch li a.one-options-color:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    margin-left: calc(-50% - 4px);
    margin-top: calc(-50% - 4px);
    border-radius: 50%;
    transition: all 0.12s linear;
    border: 0px solid #333333;
}

.one-options-swatch li a.one-options-color:hover:before {
    border-width: 3px;
}

.one-options-swatch li a.one-options-color:hover:after {
    border-width: 2px;
}

/* Colores con imagen */
.one-options-swatch li a.one-options-color-img {
    width: 44px;
    height: 44px;
    background-size: cover;
    border-radius: 50%;
}

.one-options-swatch li a.one-options-color-img:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    margin-left: calc(-50% - 4px);
    margin-top: calc(-50% - 4px);
    border-radius: 50%;
    transition: all 0.12s linear;
    border: 0px solid #333333;
}

.one-options-swatch li a.one-options-color-img:hover:after {
    border-width: 2px;
}

/* Espaciado de swatches */
.one-options-swatch:not([class^=one-size-]) {
    margin-left: -12px;
    margin-top: -12px;
}

.one-options-swatch:not([class^=one-size-]) li {
    margin-left: 12px;
    margin-top: 12px;
}

.one-options-swatch:not([class^=one-size-]) li a.one-options-color {
    width: 20px;
    height: 20px;
}

.one-options-swatch:not([class^=one-size-]) li.active a:not([class^=one-options-color]) {
    color: #333333;
    border-color: #333333;
}

.one-options-swatch:not([class^=one-size-]) li.active a:not([class^=one-options-color]):before {
    border-width: 2px;
    border-color: #333333;
}

.one-options-swatch:not([class^=one-size-]) li.active a.one-options-color:before {
    border-width: 3px;
}

.one-options-swatch:not([class^=one-size-]) li.active a.one-options-color:after {
    border-width: 2px;
}

.one-options-swatch:not([class^=one-size-]) li.active a.one-options-color-img:after {
    border-width: 2px;
}

/* Estado activo para span.options-color (variante sin recarga) - Idéntico a product item (style.css .pt-options-swatch li.active a.options-color:before/:after) */
.one-options-swatch li span.options-color {
    position: relative;
}
.one-options-swatch li span.options-color:before {
    content: "";
    display: block;
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    outline: none;
    border-radius: inherit;
    transition: all 0.12s linear;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border: 0px solid #ffffff;
}
.one-options-swatch li span.options-color:after {
    content: "";
    display: block;
    position: absolute;
    top: -4px;
    left: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    outline: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: inherit;
    transition: all 0.12s linear;
    border: 0px solid #333333;
}
.one-options-swatch li.active span.options-color:before {
    border-width: 3px;
}
.one-options-swatch li.active span.options-color:after {
    border-width: 2px;
}

/* Disponibilidad */
.one-options-swatch:not([class^=one-size-]) [data-availability=false],
.one-options-swatch:not([class^=one-size-]) [data-variant_availability=false] {
    position: relative;
    pointer-events: none;
}

.one-options-swatch:not([class^=one-size-]) [data-availability=false] a,
.one-options-swatch:not([class^=one-size-]) [data-variant_availability=false] a {
    text-decoration: line-through;
    opacity: 0.5;
}

/* one-size-middle */
.one-options-swatch.one-size-middle li a:not([class^=one-options-color]) {
    padding: 4px 10px;
    height: 44px;
    font-size: 16px;
}

/* options-size - Rectángulos de texto para tallas/opciones */
.one-options-swatch li a.options-size {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 4px 10px;
    border: 1px solid #ebebeb;
    font-size: 14px;
    font-weight: 700;
    color: #777;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s linear;
}

.one-options-swatch li a.options-size:hover {
    border-color: #333;
    color: #333;
}

.one-options-swatch li.active a.options-size {
    border-color: #333;
    color: #333;
}

/* opt-text-link - Links de texto para atributos (tallas, unidades, etc) */
.one-options-swatch li a.opt-text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 4px 10px;
    border: 1px solid #ebebeb;
    font-size: 14px;
    font-weight: 700;
    color: #777;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s linear;
    position: relative;
    z-index: 10;
}

.one-options-swatch li a.opt-text-link:before,
.one-options-swatch li a.opt-text-link:after {
    display: none !important;
    content: none !important;
}

.one-options-swatch li a.opt-text-link:hover {
    border-color: #333;
    color: #333;
}

.one-options-swatch li.active a.opt-text-link {
    border-color: #333;
    color: #333;
}

/* options-text - Enlaces de texto que usan clase options-color para funcionar con JS */
/* Especificidad alta para sobrescribir ficha_29 */
.one-swatches-container .one-options-swatch li a.options-color.options-text,
.one-product-single-info .one-options-swatch li a.options-color.options-text,
.one-options-swatch li a.options-color.options-text {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 38px !important;
    height: 38px !important;
    width: auto !important;
    padding: 4px 10px !important;
    border: 1px solid #ebebeb !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #777 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all 0.2s linear !important;
    position: relative !important;
    z-index: 10 !important;
    background-color: transparent !important;
    background-image: none !important;
    background: transparent !important;
}

/* span.options-color.options-text (variante sin recarga) - mismo padding y caja que el enlace */
.one-swatches-container .one-options-swatch li span.options-color.options-text,
.one-product-single-info .one-options-swatch li span.options-color.options-text,
.one-options-swatch li span.options-color.options-text {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 38px !important;
    height: 38px !important;
    width: auto !important;
    padding: 4px 10px !important;
    border: 1px solid #ebebeb !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #777 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all 0.2s linear !important;
    position: relative !important;
    z-index: 10 !important;
    background-color: transparent !important;
    background-image: none !important;
    box-sizing: border-box !important;
}

.one-swatches-container .one-options-swatch li a.options-color.options-text:before,
.one-swatches-container .one-options-swatch li a.options-color.options-text:after,
.one-product-single-info .one-options-swatch li a.options-color.options-text:before,
.one-product-single-info .one-options-swatch li a.options-color.options-text:after,
.one-options-swatch li a.options-color.options-text:before,
.one-options-swatch li a.options-color.options-text:after {
    display: none !important;
    content: none !important;
}

/* Hover: solo cambio de color de texto, marco sigue gris (marco negro solo en .active) */
.one-swatches-container .one-options-swatch li a.options-color.options-text:hover,
.one-product-single-info .one-options-swatch li a.options-color.options-text:hover,
.one-options-swatch li a.options-color.options-text:hover {
    border-color: #ebebeb !important;
    color: #333 !important;
    background: transparent !important;
}

.one-swatches-container .one-options-swatch li.active a.options-color.options-text,
.one-product-single-info .one-options-swatch li.active a.options-color.options-text,
.one-options-swatch li.active a.options-color.options-text {
    border-color: #333 !important;
    color: #333 !important;
    background: transparent !important;
}

/* Estado activo para span (variante sin recarga) */
.one-swatches-container .one-options-swatch li.active span.options-color.options-text,
.one-product-single-info .one-options-swatch li.active span.options-color.options-text,
.one-options-swatch li.active span.options-color.options-text {
    border-color: #333 !important;
    color: #333 !important;
    background: transparent !important;
}

/* =============================================================================
   one-product-info-buttons - Botones de información
   ============================================================================= */
.one-product-info-buttons {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: stretch;
    align-items: center;
    margin-left: -30px;
    margin-top: 9px;
}

.one-product-info-buttons a {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: stretch;
    align-items: center;
    font-size: 14px;
    line-height: 17px;
    margin-top: 11px;
    transition: color 0.2s;
    margin-left: 30px;
}

.one-product-info-buttons a .one-icon {
    color: #333333;
}

.one-product-info-buttons a .one-icon + .one-text {
    margin-left: 8px;
}

.one-product-info-buttons a .one-icon svg {
    width: 24px;
    height: 24px;
}

.one-product-info-buttons a .one-text {
    font-weight: 700;
    display: block;
    position: relative;
    top: -2px;
    color: #333333;
    transition: color 0.2s;
}

.one-product-info-buttons a .one-text:before {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    margin: auto;
    width: 0%;
    content: "";
    color: transparent;
    background-color: #333333;
    height: 2px;
    transition: width 0.2s linear;
}

.one-product-info-buttons a:hover .one-text {
    color: #333333;
}

.one-product-info-buttons a:hover .one-text:before {
    width: 100%;
}

/* Sin subrayado para fichas 51/52 cuando opcion_selected_2 es 0 o 1 (solo subrayado animado en opción 2 con .one-text) */
.one-product-info-buttons a.one-ficha-sin-subrayado {
    text-decoration: none !important;
}

.one-product-info-buttons a.one-ficha-sin-subrayado:hover {
    text-decoration: none !important;
}

.one-product-single-info > *:nth-child(1) .one-product-info-buttons {
    margin-top: -11px;
}

/* Ficha 50 opción 2: mismo subrayado animado que 51/52 cuando lleva .one-text */
.one-product-single-info .pt-texto-ficha-50 a {
    text-decoration: none;
}

.one-product-single-info .pt-texto-ficha-50 a .one-text {
    font-weight: 700;
    display: inline-block;
    position: relative;
    color: #333333;
    transition: color 0.2s;
}

.one-product-single-info .pt-texto-ficha-50 a .one-text:before {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    margin: auto;
    width: 0%;
    content: "";
    background-color: #333333;
    height: 2px;
    transition: width 0.2s linear;
}

.one-product-single-info .pt-texto-ficha-50 a:hover .one-text {
    color: #333333;
}

.one-product-single-info .pt-texto-ficha-50 a:hover .one-text:before {
    width: 100%;
}

/* =============================================================================
   one-row-custom-01 - Fila con contador y botón ADD TO CART
   ============================================================================= */
.one-product-single-info .one-row-custom-01 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    margin-top: 32px;
}

.one-product-single-info .one-row-custom-01 .one-col-item:not(:last-child) {
    margin-right: 12px;
}

.one-product-single-info .one-row-custom-01 .one-col-item:nth-child(2) {
    flex: 1 1 auto;
}

.one-product-single-info .one-row-custom-01 .one-btn {
    width: 100%;
}

.one-product-single-info > *:nth-child(1) .one-row-custom-01 {
    margin-top: 0px;
}

@media (max-width: 420px) {
    .one-product-single-info .one-row-custom-01 {
        flex-wrap: wrap;
        flex-direction: column;
    }
    .one-product-single-info .one-row-custom-01 .one-col-item:not(:first-child) {
        margin-top: 10px;
    }
}

/* =============================================================================
   one-input-counter - Contador de cantidad
   ============================================================================= */
.one-input-counter.one-style-01 {
    position: relative;
    max-width: 138px;
    min-width: 138px;
}

.one-input-counter.one-style-01 input {
    background: #f8f8f8;
    color: #333333;
    display: block;
    width: 100%;
    height: 54px;
    font-size: 20px;
    line-height: 1em;
    text-align: center;
    border: none;
    outline: none;
    font-weight: 700;
}

.one-input-counter.one-style-01 span {
    display: inline-block;
    font-size: 27px;
    line-height: 1em;
    cursor: pointer;
    position: absolute;
    width: 54px;
    height: 100%;
    text-align: center;
    top: 50%;
    margin-top: -15px;
}

.one-input-counter.one-style-01 span.one-minus-btn {
    left: 0px;
}

.one-input-counter.one-style-01 span.one-plus-btn {
    right: 0px;
}

.one-input-counter.one-style-01 span svg {
    color: #D0D0D0;
    transition: color 0.2s;
    width: 16px;
    height: 16px;
}

.one-input-counter.one-style-01 span:hover svg {
    color: #48CAB2;
}

/* =============================================================================
   one-ficha-counter - Contador ficha producto (igual que otros: sin marco gris, zonas iguales, iconos centrados)
   ============================================================================= */
.one-ficha-counter-table {
    border-radius: 0;
    box-sizing: border-box;
}

.one-ficha-counter-table-grid {
    width: 138px !important;
    background: transparent !important;
    border-collapse: collapse;
    table-layout: fixed;
    border-radius: 0;
}

.one-ficha-counter-td {
    text-align: center;
    vertical-align: middle;
    padding: 0;
}

/* Solo las celdas de botones son grises, mismas dimensiones; sin marco gris envolvente */
.one-ficha-counter-td-btn {
    height: 54px;
    width: 40px;
    min-width: 40px;
    padding: 0;
    background: #f8f8f8;
}

.one-ficha-counter-td-input {
    height: 54px;
    width: 58px;
    min-width: 58px;
    padding: 0;
    background: #fff;
}

.one-ficha-counter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 54px;
    cursor: pointer;
    user-select: none;
}

/* Iconos centrados: bloque y mismo tamaño en ambos botones */
.one-ficha-counter-btn .one-ficha-counter-icon,
.one-ficha-counter-icon {
    display: block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    fill: #333333;
    transition: fill 0.2s;
}

.one-ficha-counter-btn svg {
    display: block;
    width: 16px;
    height: 16px;
}

.one-ficha-counter-btn:hover .one-ficha-counter-icon {
    fill: #48CAB2;
}

.one-ficha-counter-input {
    width: 100%;
    height: 54px;
    line-height: 54px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    background: #fff;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    display: block;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    box-shadow: none;
}

.one-ficha-counter-select {
    width: 100%;
    height: 54px;
    line-height: 54px;
    text-align: center;
    text-align-last: center;
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    background: #fff;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    display: block;
    outline: none;
    cursor: pointer;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* =============================================================================
   one-btn - Botones
   ============================================================================= */
.one-btn {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffffff;
    background: #333333;
    border: 2px solid #333333;
    padding: 18px 35px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.one-btn:hover {
    background: #48CAB2;
    border-color: #48CAB2;
    color: #ffffff;
}

.one-btn .one-icon {
    margin-right: 10px;
}

.one-btn .one-icon svg {
    width: 20px;
    height: 20px;
}

.one-btn.one-btn-lg {
    padding: 20px 40px;
    font-size: 14px;
}

/* =============================================================================
   pt-btn-addtocart en ficha de producto (igual que product_item)
   ============================================================================= */
.one-product-single-info .pt-btn-addtocart {
    background-color: #48CAB2;
    border: none;
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 0.04em;
    line-height: 1;
    font-weight: 400;
    position: relative;
    outline: none;
    padding: 5px 20px 4px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    height: 54px;
    cursor: pointer;
    transition: background-color 0.2s linear, padding 0.2s ease-out;
}

.one-product-single-info .pt-btn-addtocart:hover {
    background-color: #333333;
}

.one-product-single-info .pt-btn-addtocart .pt-icon {
    position: relative;
    top: -1px;
    color: #ffffff;
}

.one-product-single-info .pt-btn-addtocart .pt-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Ocultar segundo y tercer SVG por defecto */
.one-product-single-info .pt-btn-addtocart .pt-icon svg:nth-child(2),
.one-product-single-info .pt-btn-addtocart .pt-icon svg:nth-child(3) {
    display: none;
    position: relative;
    top: -1px;
}

/* Texto del botón */
.one-product-single-info .pt-btn-addtocart .pt-text {
    display: block;
    word-wrap: break-word;
    white-space: nowrap;
    transition: margin 0.2s, width 0.2s, font-size 0.2s;
}

.one-product-single-info .pt-btn-addtocart .pt-icon + .pt-text {
    margin-left: 11px;
}

/* =============================================================================
   ficha-solo-icono: Texto oculto por defecto, se expande en hover
   ============================================================================= */
.one-product-single-info .pt-btn-addtocart.ficha-solo-icono {
    padding: 5px 10px 4px;
}

.one-product-single-info .pt-btn-addtocart.ficha-solo-icono .pt-icon + .pt-text {
    margin-left: 0;
}

.one-product-single-info .pt-btn-addtocart.ficha-solo-icono .pt-text {
    width: 0;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

/* Hover: expandir mostrando texto e ícono plus */
.one-product-single-info .pt-btn-addtocart.ficha-solo-icono:hover {
    padding: 5px 21px 4px;
}

.one-product-single-info .pt-btn-addtocart.ficha-solo-icono:hover .pt-icon svg:nth-child(1) {
    display: none;
}

.one-product-single-info .pt-btn-addtocart.ficha-solo-icono:hover .pt-icon svg:nth-child(2) {
    display: inline-block;
}

.one-product-single-info .pt-btn-addtocart.ficha-solo-icono:hover .pt-icon + .pt-text {
    margin-left: 11px;
}

.one-product-single-info .pt-btn-addtocart.ficha-solo-icono:hover .pt-text {
    display: inline-block;
    width: auto;
    font-size: 13px;
    line-height: 1;
}

/* =============================================================================
   ficha-type-02: Texto visible siempre
   ============================================================================= */
.one-product-single-info .pt-btn-addtocart.ficha-type-02 {
    padding: 5px 21px 4px;
}

.one-product-single-info .pt-btn-addtocart.ficha-type-02 .pt-text {
    display: block;
    width: auto;
    font-size: 13px;
    line-height: 1;
}

/* Hover: cambiar ícono a plus */
.one-product-single-info .pt-btn-addtocart.ficha-type-02:hover .pt-icon svg:nth-child(1) {
    display: none;
}

.one-product-single-info .pt-btn-addtocart.ficha-type-02:hover .pt-icon svg:nth-child(2) {
    display: inline-block;
}

/* =============================================================================
   Botón SIN STOCK en ficha de producto (ficha_39 con CSS de ficha_31)
   ============================================================================= */
.one-product-single-info .pt-btn-addtocart.btn-sin-stock-ficha {
    pointer-events: auto;
    cursor: pointer;
}

/* Mostrar solo el ícono deshabilitado (3er SVG) */
.one-product-single-info .pt-btn-addtocart.btn-sin-stock-ficha.pt-disable .pt-icon svg:nth-child(1),
.one-product-single-info .pt-btn-addtocart.btn-sin-stock-ficha.pt-disable .pt-icon svg:nth-child(2) {
    display: none !important;
}

.one-product-single-info .pt-btn-addtocart.btn-sin-stock-ficha.pt-disable .pt-icon svg:nth-child(3) {
    display: block !important;
}

/* Deshabilitar efecto hover en botón sin stock */
.one-product-single-info .pt-btn-addtocart.btn-sin-stock-ficha.pt-disable:hover .pt-icon svg:nth-child(1),
.one-product-single-info .pt-btn-addtocart.btn-sin-stock-ficha.pt-disable:hover .pt-icon svg:nth-child(2) {
    display: none !important;
}

.one-product-single-info .pt-btn-addtocart.btn-sin-stock-ficha.pt-disable:hover .pt-icon svg:nth-child(3) {
    display: block !important;
}

.one-btn.one-btn-border {
    background: transparent;
    color: #333333;
}

.one-btn.one-btn-border:hover {
    background: #333333;
    color: #ffffff;
}

.one-btn.one-btn-dark {
    background: #333333;
    border-color: #333333;
    color: #ffffff;
}

.one-btn.one-btn-dark:hover {
    background: #48CAB2;
    border-color: #48CAB2;
}

/* =============================================================================
   one-list-btn - Lista de botones (Wishlist, Compare)
   ============================================================================= */
.one-product-single-info .one-list-btn {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin-top: -2px;
}

.one-product-single-info .one-list-btn:not(.nostretch) {
    justify-content: flex-start;
    align-content: stretch;
    margin-left: -12px;
}

.one-product-single-info .one-list-btn:not(.nostretch) li {
    margin-left: 12px;
    margin-top: 10px;
}

@media (min-width: 420px) {
    .one-product-single-info .one-list-btn:not(.nostretch) li {
        width: calc(50% - 12px);
    }
    .one-product-single-info .one-list-btn:not(.nostretch) li [class^=one-btn] {
        width: 100%;
    }
}

.one-product-single-info .one-list-btn .one-icon svg {
    width: 24px;
    height: 24px;
}

.one-product-single-info > *:nth-child(1) .one-list-btn {
    margin-top: -10px;
}

.one-product-single-info .one-wrapper .one-list-btn {
    margin-bottom: 0;
}

/* =============================================================================
   Botones Wishlist/Compare en ficha de producto (ficha_53)
   Mismo diseño que pt-btn-addtocart, con colores de ficha_56
   ============================================================================= */

/* Estilos base (idéntico a pt-btn-addtocart) */
.one-product-single-info .pt-btn-wishlist-ficha,
.one-product-single-info .pt-btn-compare-ficha {
    background-color: #48CAB2;
    border: none;
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 0.04em;
    line-height: 1;
    font-weight: 400;
    position: relative;
    outline: none;
    padding: 5px 20px 4px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    height: 54px;
    cursor: pointer;
    transition: background-color 0.2s linear, padding 0.2s ease-out;
}

/* Margen solo a la izquierda del segundo botón (compare); el gap del wrapper separa cuando se apilan */
.one-product-single-info .one-wrapper-wishlist-compare .pt-btn-compare-ficha {
    margin-left: 10px;
}
.one-product-single-info .one-wrapper-wishlist-compare .pt-btn-compare-ficha:first-child {
    margin-left: 0;
}

.one-product-single-info .pt-btn-wishlist-ficha:hover,
.one-product-single-info .pt-btn-compare-ficha:hover {
    background-color: #333333;
}

.one-product-single-info .pt-btn-wishlist-ficha .pt-icon,
.one-product-single-info .pt-btn-compare-ficha .pt-icon {
    position: relative;
    top: -1px;
    color: #ffffff;
}

.one-product-single-info .pt-btn-wishlist-ficha .pt-icon svg,
.one-product-single-info .pt-btn-compare-ficha .pt-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Ocultar segundo SVG por defecto */
.one-product-single-info .pt-btn-wishlist-ficha .pt-icon svg:nth-child(2),
.one-product-single-info .pt-btn-compare-ficha .pt-icon svg:nth-child(2) {
    display: none;
    position: relative;
    top: -1px;
}

/* Texto del botón */
.one-product-single-info .pt-btn-wishlist-ficha .pt-text,
.one-product-single-info .pt-btn-compare-ficha .pt-text {
    display: block;
    word-wrap: break-word;
    white-space: nowrap;
    transition: margin 0.2s, width 0.2s, font-size 0.2s;
}

.one-product-single-info .pt-btn-wishlist-ficha .pt-icon + .pt-text,
.one-product-single-info .pt-btn-compare-ficha .pt-icon + .pt-text {
    margin-left: 11px;
}

/* =============================================================================
   ficha-solo-icono para Wishlist/Compare: Texto oculto, expande en hover
   ============================================================================= */
.one-product-single-info .pt-btn-wishlist-ficha.ficha-solo-icono,
.one-product-single-info .pt-btn-compare-ficha.ficha-solo-icono {
    padding: 5px 10px 4px;
}

.one-product-single-info .pt-btn-wishlist-ficha.ficha-solo-icono .pt-icon + .pt-text,
.one-product-single-info .pt-btn-compare-ficha.ficha-solo-icono .pt-icon + .pt-text {
    margin-left: 0;
}

.one-product-single-info .pt-btn-wishlist-ficha.ficha-solo-icono .pt-text,
.one-product-single-info .pt-btn-compare-ficha.ficha-solo-icono .pt-text {
    width: 0;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

/* Hover: expandir mostrando texto e ícono add */
.one-product-single-info .pt-btn-wishlist-ficha.ficha-solo-icono:hover,
.one-product-single-info .pt-btn-compare-ficha.ficha-solo-icono:hover {
    padding: 5px 21px 4px;
}

.one-product-single-info .pt-btn-wishlist-ficha.ficha-solo-icono:hover .pt-icon svg:nth-child(1),
.one-product-single-info .pt-btn-compare-ficha.ficha-solo-icono:hover .pt-icon svg:nth-child(1) {
    display: none;
}

.one-product-single-info .pt-btn-wishlist-ficha.ficha-solo-icono:hover .pt-icon svg:nth-child(2),
.one-product-single-info .pt-btn-compare-ficha.ficha-solo-icono:hover .pt-icon svg:nth-child(2) {
    display: inline-block;
}

.one-product-single-info .pt-btn-wishlist-ficha.ficha-solo-icono:hover .pt-icon + .pt-text,
.one-product-single-info .pt-btn-compare-ficha.ficha-solo-icono:hover .pt-icon + .pt-text {
    margin-left: 11px;
}

.one-product-single-info .pt-btn-wishlist-ficha.ficha-solo-icono:hover .pt-text,
.one-product-single-info .pt-btn-compare-ficha.ficha-solo-icono:hover .pt-text {
    display: inline-block;
    width: auto;
    font-size: 13px;
    line-height: 1;
}

/* =============================================================================
   ficha-type-02 para Wishlist/Compare: Texto visible siempre
   ============================================================================= */
.one-product-single-info .pt-btn-wishlist-ficha.ficha-type-02,
.one-product-single-info .pt-btn-compare-ficha.ficha-type-02 {
    padding: 5px 21px 4px;
}

.one-product-single-info .pt-btn-wishlist-ficha.ficha-type-02 .pt-text,
.one-product-single-info .pt-btn-compare-ficha.ficha-type-02 .pt-text {
    display: block;
    width: auto;
    font-size: 13px;
    line-height: 1;
}

/* Hover: cambiar ícono a add */
.one-product-single-info .pt-btn-wishlist-ficha.ficha-type-02:hover .pt-icon svg:nth-child(1),
.one-product-single-info .pt-btn-compare-ficha.ficha-type-02:hover .pt-icon svg:nth-child(1) {
    display: none;
}

.one-product-single-info .pt-btn-wishlist-ficha.ficha-type-02:hover .pt-icon svg:nth-child(2),
.one-product-single-info .pt-btn-compare-ficha.ficha-type-02:hover .pt-icon svg:nth-child(2) {
    display: inline-block;
}

/* Ajustes de margen, mismo ancho y alineación para wrapper de wishlist/compare */
.one-product-single-info .one-wrapper-wishlist-compare {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.one-product-single-info .one-wrapper-wishlist-compare .pt-btn-wishlist-ficha,
.one-product-single-info .one-wrapper-wishlist-compare .pt-btn-compare-ficha {
    flex: 1 1 0;
    min-width: 0;
}

/* Ocultar tooltip en botones de ficha de producto */
.one-product-single-info .no-tooltip[data-tooltip]::before,
.one-product-single-info .no-tooltip[data-tooltip]::after {
    display: none !important;
}

/* CSS para estado activo (producto en lista) */
.one-product-single-info .pt-btn-wishlist-ficha.active .pt-icon svg:nth-child(1),
.one-product-single-info .pt-btn-compare-ficha.active .pt-icon svg:nth-child(1) {
    display: none;
}

.one-product-single-info .pt-btn-wishlist-ficha.active .pt-icon svg:nth-child(2),
.one-product-single-info .pt-btn-compare-ficha.active .pt-icon svg:nth-child(2) {
    display: inline-block;
}

/* =============================================================================
   one-row-custom-03 - Fila con checkbox y Buy it now
   ============================================================================= */
.one-product-single-info .one-row-custom-03 {
    margin-top: 35px;
}

.one-product-single-info .one-row-custom-03 .one-col-item [class^=one-btn] {
    width: 100%;
}

.one-product-single-info .one-row-custom-03 .one-checkbox-group {
    margin-bottom: 16px;
}

.one-product-single-info .one-row-custom-03 .one-checkbox-group label {
    color: #333333;
    font-size: 16px;
    padding-left: 32px;
}

.one-product-single-info > *:nth-child(1) .one-row-custom-03 {
    margin-top: -5px;
}

/* =============================================================================
   one-checkbox-group - Grupo de checkbox
   ============================================================================= */
.one-checkbox-group {
    position: relative;
}

.one-checkbox-group input[type=checkbox] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.one-checkbox-group label {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding-left: 26px;
    color: #777777;
    font-size: 14px;
    line-height: 22px;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.one-checkbox-group label .box {
    position: absolute;
    top: 3px;
    left: 0;
    height: 16px;
    width: 16px;
    background-color: transparent;
    border: 1px solid #e1e1e1;
    transition: all 0.2s;
}

.one-checkbox-group label .check {
    position: absolute;
    top: 3px;
    left: 0;
    height: 16px;
    width: 16px;
    opacity: 0;
    transition: all 0.2s;
}

.one-checkbox-group label .check:after {
    content: "";
    position: absolute;
    display: block;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #333333;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.one-checkbox-group input[type=checkbox]:checked ~ label .check {
    opacity: 1;
}

.one-checkbox-group input[type=checkbox]:checked ~ label .box {
    border-color: #333333;
}

/* =============================================================================
   one-collapse-block - Bloques colapsables (template build/product-type-06)
   Solo dentro de .one-product-acordeon-tabs-fullwidth y .one-product-single-info
   para no pisar otros CSS del sitio.
   ============================================================================= */
.one-product-single-info .one-collapse-block {
    margin-top: 23px;
}

/* titulo pestaña */
.one-product-acordeon-tabs-fullwidth .one-collapse-block .one-item .one-collapse-title,
.one-product-single-info .one-collapse-block .one-item .one-collapse-title {
    color: #333333;
    cursor: pointer;
    transition: all 0.2s;
    padding: 14px 0;
}

.one-product-acordeon-tabs-fullwidth .one-collapse-block .one-item .one-collapse-title .one-icon,
.one-product-single-info .one-collapse-block .one-item .one-collapse-title .one-icon {
    display: inline-block;
    position: relative;
    transition: all 0.15s linear;
    margin-left: 3px;
    color: #D0D0D0;
}

.one-product-acordeon-tabs-fullwidth .one-collapse-block .one-item .one-collapse-title .one-icon svg,
.one-product-single-info .one-collapse-block .one-item .one-collapse-title .one-icon svg {
    width: 12px;
    height: 7px;
}

.one-product-acordeon-tabs-fullwidth .one-collapse-block .one-item .one-collapse-title:hover,
.one-product-single-info .one-collapse-block .one-item .one-collapse-title:hover {
    color: #00a89d;
}

/* texto dentro de la pestaña */
.one-product-acordeon-tabs-fullwidth .one-collapse-block .one-item .one-collapse-content,
.one-product-single-info .one-collapse-block .one-item .one-collapse-content {
    display: none;
    margin-top: 8px;
    padding-bottom: 15px;
}

.one-product-acordeon-tabs-fullwidth .one-collapse-block .one-item.active .one-collapse-content,
.one-product-single-info .one-collapse-block .one-item.active .one-collapse-content {
    display: block;
}

.one-product-acordeon-tabs-fullwidth .one-collapse-block .one-item .one-collapse-content .one-list-dot,
.one-product-single-info .one-collapse-block .one-item .one-collapse-content .one-list-dot {
    margin-top: 21px;
}

.one-product-acordeon-tabs-fullwidth .one-collapse-block .one-item .one-collapse-content .one-table-03-indent,
.one-product-single-info .one-collapse-block .one-item .one-collapse-content .one-table-03-indent {
    padding-top: 9px;
    padding-bottom: 6px;
}

.one-product-acordeon-tabs-fullwidth .one-collapse-block .one-item img,
.one-product-single-info .one-collapse-block .one-item img {
    max-width: 100%;
    height: auto;
}

/* Estado activo: teal */
.one-product-acordeon-tabs-fullwidth .one-collapse-block .one-item.active .one-collapse-title,
.one-product-single-info .one-collapse-block .one-item.active .one-collapse-title {
    padding-bottom: 15px;
    color: #00a89d;
}
.one-product-acordeon-tabs-fullwidth .one-collapse-block .one-item.active .one-collapse-title .one-icon,
.one-product-single-info .one-collapse-block .one-item.active .one-collapse-title .one-icon {
    top: 2px;
    -webkit-transform: scale(1, -1);
    transform: scale(1, -1);
}

.one-product-acordeon-tabs-fullwidth .one-collapse-block .one-item:not(:first-child),
.one-product-single-info .one-collapse-block .one-item:not(:first-child) {
    border-top: 1px solid #ebebeb;
}

.one-product-single-info > *:nth-child(1).one-collapse-block {
    margin-top: -19px;
}

/* Wrapper de tabs producto: debajo del acordeón */
.one-product-single-info .one-product-tabs-wrapper,
.one-product-acordeon-tabs-fullwidth .one-product-tabs-wrapper {
    width: 100%;
    margin-top: 1.5rem;
}

.one-product-single-info .one-product-tabs-wrapper .pt-product-page__tabs,
.one-product-acordeon-tabs-fullwidth .one-product-tabs-wrapper .pt-product-page__tabs {
    width: 100%;
}

.one-product-acordeon-tabs-fullwidth .one-collapse-block {
    margin-top: 23px;
}

.one-product-acordeon-tabs-fullwidth .one-collapse-block:first-child {
    margin-top: 0;
}

/* -----------------------------------------------------------------------------
   Evitar que el texto de una columna pase por encima de otra (overflow)
   min-width: 0 permite que los flex items se encojan; overflow-wrap rompe palabras largas.
   ----------------------------------------------------------------------------- */
#one-producto-variante-contenido .row > [class*="col-"] {
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
#one-producto-acordeon-tabs,
#one-producto-tercera-columna,
.one-product-acordeon-tabs-fullwidth .one-collapse-block,
.one-product-acordeon-tabs-fullwidth .one-product-tabs-wrapper {
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
#one-producto-acordeon-tabs .one-collapse-block .one-item .one-collapse-title,
#one-producto-acordeon-tabs .one-collapse-block .one-item .one-collapse-content,
#one-producto-acordeon-tabs .pt-tabs .pt-tabs__head > ul > li > span,
#one-producto-acordeon-tabs .pt-tabs .pt-tabs__body .one-ficha54-tab-content,
#one-producto-tercera-columna .one-collapse-block .one-item .one-collapse-title,
#one-producto-tercera-columna .one-collapse-block .one-item .one-collapse-content,
.one-modulo-textos-categoria .one-collapse-block .one-item .one-collapse-title,
.one-modulo-textos-categoria .one-collapse-block .one-item .one-collapse-content,
.one-modulo-textos-categoria .pt-tabs .pt-tabs__head > ul > li > span,
.one-modulo-textos-categoria .pt-tabs .pt-tabs__body .one-ficha54-tab-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
}
body #one-producto-acordeon-tabs .one-collapse-block .one-item .one-collapse-content,
body #one-producto-acordeon-tabs .one-ficha54-texto-intro,
body #one-producto-acordeon-tabs .one-ficha54-texto,
body #one-producto-acordeon-tabs .pt-tabs .pt-tabs__body .one-ficha54-tab-content,
body #one-producto-acordeon-tabs .pt-tabs .pt-tabs__body .one-ficha54-content,
body #one-producto-tercera-columna .one-collapse-block .one-item .one-collapse-content,
body #one-producto-tercera-columna .one-ficha54-texto,
body #one-producto-tercera-columna .one-ficha54-content,
.one-modulo-textos-categoria .one-ficha54-texto,
.one-modulo-textos-categoria .one-ficha54-tab-content,
.one-modulo-textos-categoria .one-ficha54-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
}

/* =============================================================================
   ESTILOS ACORDÉN Y PESTAÑAS - Tres grupos bien identificados
   Solo afectan a #one-producto-acordeon-tabs (producto).
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. NOMBRE DE PESTAÑAS
   Etiquetas clicables: títulos del acordeón y nombres de las pestañas (tabs).
   Clases: .one-collapse-title (acordeón), .pt-tabs__head span, .one-tab-label
   Incluye tercera columna (ficha_56).
   ----------------------------------------------------------------------------- */

/* Tercera columna (ficha_56): contenido fijo, no ancho total */
#one-producto-tercera-columna {
    max-width: 720px;
    width: 100%;
    box-sizing: border-box;
}

#one-producto-acordeon-tabs .one-collapse-block .one-item .one-collapse-title,
#one-producto-acordeon-tabs .pt-tabs .pt-tabs__head > ul > li > span,
#one-producto-acordeon-tabs .pt-tabs .pt-tabs__body > div > span,
#one-producto-tercera-columna .one-collapse-block .one-item .one-collapse-title,
/* Módulo textos_categoria (home): estilos por defecto según page-faq.html (sin !important para que inline style gane) */
.one-modulo-textos-categoria .one-collapse-block .one-item .one-collapse-title,
.one-modulo-textos-categoria .pt-tabs .pt-tabs__head > ul > li > span,
.one-modulo-textos-categoria .pt-tabs .pt-tabs__body > div > span.pt-tabs__title {
    font-size: 24px;
    line-height: 35px;
    font-weight: 700;
}
/* Tamaño icono según page-faq.html .pt-accordeon-title:after (15px) */
.one-modulo-textos-categoria .one-collapse-title .one-icon svg,
.one-modulo-textos-categoria .pt-tabs .pt-tabs__head .one-icon svg,
.one-modulo-textos-categoria .pt-tabs .pt-tabs__body .one-icon svg {
    width: 15px;
    height: 15px;
}

/* -----------------------------------------------------------------------------
   2. TÍTULO DENTRO DE LAS PESTAÑAS
   Títulos/copetes dentro del contenido de cada pestaña o acordeón.
   Clases: .one-ficha54-copete, .pt-title-tabs (h4 dentro del contenido)
   Incluye tercera columna (ficha_56).
   ----------------------------------------------------------------------------- */
#one-producto-acordeon-tabs .one-ficha54-copete,
#one-producto-acordeon-tabs .one-collapse-content .pt-title-tabs,
#one-producto-acordeon-tabs .pt-tabs .pt-tabs__body .pt-title-tabs,
#one-producto-tercera-columna .one-ficha54-copete,
#one-producto-tercera-columna .one-collapse-content .pt-title-tabs,
/* Módulo textos_categoria (home): copete según page-faq (sin !important) */
.one-modulo-textos-categoria .one-ficha54-copete {
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    margin-bottom: 20px;
}

/* -----------------------------------------------------------------------------
   3. TEXTO DENTRO DE LAS PESTAÑAS
   Texto de cuerpo: intro, párrafos y contenido de cada pestaña o acordeón.
   Clases: .one-ficha54-texto, .one-ficha54-texto-intro, .one-collapse-content
   ÚNICO sitio: edita aquí font-size, line-height, font-weight.
   Incluye tercera columna (ficha_56).
   ----------------------------------------------------------------------------- */
body #one-producto-acordeon-tabs .one-collapse-block .one-item .one-collapse-content,
body #one-producto-acordeon-tabs .one-ficha54-texto-intro,
body #one-producto-acordeon-tabs .one-ficha54-texto,
body #one-producto-acordeon-tabs .pt-tabs .pt-tabs__body .one-ficha54-tab-content,
body #one-producto-acordeon-tabs .pt-tabs .pt-tabs__body .one-ficha54-content,
body #one-producto-tercera-columna .one-collapse-block .one-item .one-collapse-content,
body #one-producto-tercera-columna .one-ficha54-texto-intro,
body #one-producto-tercera-columna .one-ficha54-texto,
body #one-producto-tercera-columna .one-ficha54-content,
/* Módulo textos_categoria (home): texto según page-faq.html pt-accordeon-content (sin !important) */
body .one-modulo-textos-categoria .one-collapse-block .one-item .one-collapse-content,
body .one-modulo-textos-categoria .one-ficha54-texto,
body .one-modulo-textos-categoria .one-ficha54-tab-content,
body .one-modulo-textos-categoria .one-ficha54-content {
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    margin-bottom: 20px;
}

/* =============================================================================
   one-tabs (etiquetas) - Solo dentro de .one-product-acordeon-tabs-fullwidth
   para no pisar otros .pt-tabs del sitio.
   ============================================================================= */
.one-product-acordeon-tabs-fullwidth .pt-tabs {
    overflow: hidden;
}

.one-product-acordeon-tabs-fullwidth .pt-tabs .pt-tabs__head::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
}

.one-product-acordeon-tabs-fullwidth .pt-tabs .pt-tabs__head > ul {
    list-style: none;
    padding: 0;
    margin: 0 -17px;
    flex-wrap: wrap;
    display: flex;
}

.one-product-acordeon-tabs-fullwidth .pt-tabs .pt-tabs__head > ul > li {
    padding: 0 17px;
}

/* titulo pestaña */
.one-product-acordeon-tabs-fullwidth .pt-tabs .pt-tabs__head > ul > li > span {
    position: relative;
    display: block;
    padding: 10px 0 14px;
    color: #333333;
    cursor: pointer;
    transition: all 0.2s linear;
}

/* Hover y activo: teal */
.one-product-acordeon-tabs-fullwidth .pt-tabs .pt-tabs__head > ul > li > span:hover,
.one-product-acordeon-tabs-fullwidth .pt-tabs .pt-tabs__head > ul > li.active > span {
    color: #00a89d;
}

.one-product-acordeon-tabs-fullwidth .pt-tabs .pt-tabs__body > div:not(:first-child) > span {
    border-top: solid 1px #ebebeb;
}

.one-product-acordeon-tabs-fullwidth .pt-tabs .pt-tabs__body > div > div {
    display: none;
}

.one-product-acordeon-tabs-fullwidth .pt-tabs .pt-tabs__body > div.active > div {
    display: block;
}

.one-product-acordeon-tabs-fullwidth .pt-tabs .pt-tabs__body > div > div:not(.nomargin) {
    padding: 56px 0 0;
}

.one-product-acordeon-tabs-fullwidth .pt-tabs .pt-tabs__border {
    position: absolute;
    width: 100px;
    left: 0;
    bottom: 0;
    border-bottom: solid 2px #00a89d;
}

@media only screen and (max-width: 1024px) {
    .one-product-acordeon-tabs-fullwidth .pt-tabs .pt-tabs__head {
        display: none;
    }
    /* titulo pestaña */
    .one-product-acordeon-tabs-fullwidth .pt-tabs .pt-tabs__body > div > span {
        position: relative;
        display: block;
        padding: 16px 0 15px;
        color: #333333;
        cursor: pointer;
        transition: all 0.2s linear;
    }
    .one-product-acordeon-tabs-fullwidth .pt-tabs .pt-tabs__body > div > div {
        padding: 30px 0 27px;
        border-top: solid 1px #ebebeb;
    }
    .one-product-acordeon-tabs-fullwidth .pt-tabs .pt-tabs__body > div:hover > span,
    .one-product-acordeon-tabs-fullwidth .pt-tabs .pt-tabs__body > div.active > span {
        color: #00a89d;
    }
}

@media only screen and (min-width: 1025px) {
    .one-product-acordeon-tabs-fullwidth .pt-tabs .pt-tabs__head {
        position: relative;
        visibility: visible;
        margin-top: 0;
    }
    .one-product-acordeon-tabs-fullwidth .pt-tabs .pt-tabs__body {
        border-top: solid 1px #ebebeb;
        margin-top: -1px;
    }
    .one-product-acordeon-tabs-fullwidth .pt-tabs .pt-tabs__body > div > span {
        display: none;
    }
}

/* =============================================================================
   Galería en acordeón/tabs: formato del banner (carrusel o damero-1..8)
   Igual que galeria_imagenes.php, solo dentro de #one-producto-acordeon-tabs
   ============================================================================= */
#one-producto-acordeon-tabs .one-ficha54-galeria.galeria-wrapper {
    margin: 20px 0;
}
#one-producto-acordeon-tabs .one-ficha54-galeria .galeria-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
#one-producto-acordeon-tabs .one-ficha54-galeria .galeria-item {
    overflow: hidden;
    position: relative;
}
#one-producto-acordeon-tabs .one-ficha54-galeria .galeria-item a {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}
#one-producto-acordeon-tabs .one-ficha54-galeria .galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Dameros */
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-1 { height: 600px; }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-1 .galeria-item:nth-child(1) { width: 100%; height: calc(60% - 5px); }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-1 .galeria-item:nth-child(2),
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-1 .galeria-item:nth-child(3) { width: calc(50% - 5px); height: 40%; }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-2 { height: 600px; }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-2 .galeria-item:nth-child(1),
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-2 .galeria-item:nth-child(2) { width: calc(50% - 5px); height: 40%; }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-2 .galeria-item:nth-child(3) { width: 100%; height: calc(60% - 5px); }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-3 { height: 600px; flex-direction: column; }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-3 .galeria-item { width: 100%; height: calc(50% - 5px); }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-4 { height: 400px; flex-wrap: nowrap; }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-4 .galeria-item { width: calc(50% - 5px); height: 100%; }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-5,
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-6 { height: 500px; flex-wrap: nowrap; align-items: stretch; }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-5 > .galeria-item:first-child { width: calc(50% - 5px); height: 100%; }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-5 .col-der { width: calc(50% - 5px); height: 100%; display: flex; flex-direction: column; gap: 10px; }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-5 .col-der .galeria-item { width: 100%; height: calc(50% - 5px); }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-6 .col-izq { width: calc(50% - 5px); height: 100%; display: flex; flex-direction: column; gap: 10px; }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-6 .col-izq .galeria-item { width: 100%; height: calc(50% - 5px); }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-6 > .galeria-item:last-child { width: calc(50% - 5px); height: 100%; }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-7,
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-8 { height: 500px; flex-wrap: nowrap; align-items: stretch; }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-7 > .galeria-item:first-child { width: calc(50% - 5px); height: 100%; }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-7 .col-der { width: calc(50% - 5px); height: 100%; display: flex; flex-direction: column; gap: 10px; }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-7 .col-der .galeria-item:nth-child(1) { width: 100%; height: calc(50% - 5px); }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-7 .col-der .fila-inferior { display: flex; gap: 10px; height: calc(50% - 5px); }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-7 .col-der .fila-inferior .galeria-item { width: calc(50% - 5px); height: 100%; }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-8 .col-izq { width: calc(50% - 5px); height: 100%; display: flex; flex-direction: column; gap: 10px; }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-8 .col-izq .galeria-item:nth-child(1) { width: 100%; height: calc(50% - 5px); }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-8 .col-izq .fila-inferior { display: flex; gap: 10px; height: calc(50% - 5px); }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-8 .col-izq .fila-inferior .galeria-item { width: calc(50% - 5px); height: 100%; }
#one-producto-acordeon-tabs .one-ficha54-galeria .damero-8 > .galeria-item:last-child { width: calc(50% - 5px); height: 100%; }
@media (max-width: 767px) {
    #one-producto-acordeon-tabs .one-ficha54-galeria .galeria-grid { flex-direction: column; height: auto !important; }
    #one-producto-acordeon-tabs .one-ficha54-galeria .galeria-item,
    #one-producto-acordeon-tabs .one-ficha54-galeria .col-der,
    #one-producto-acordeon-tabs .one-ficha54-galeria .col-izq { width: 100% !important; height: auto !important; }
    #one-producto-acordeon-tabs .one-ficha54-galeria .galeria-item { min-height: 200px; }
    #one-producto-acordeon-tabs .one-ficha54-galeria .col-der,
    #one-producto-acordeon-tabs .one-ficha54-galeria .col-izq { height: auto !important; }
    #one-producto-acordeon-tabs .one-ficha54-galeria .fila-inferior { flex-direction: column; height: auto !important; }
    #one-producto-acordeon-tabs .one-ficha54-galeria .fila-inferior .galeria-item { width: 100% !important; height: 200px !important; }
}

/* =============================================================================
   one-list-dot - Lista con puntos
   ============================================================================= */
.one-list-dot {
    list-style: none;
    margin: 0;
    padding: 0;
}

.one-list-dot li {
    position: relative;
    color: #777777;
    padding-left: 26px;
}

.one-list-dot li:before {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #48CAB2;
    top: 11px;
    left: 4px;
}

.one-list-dot li:not(:first-child) {
    margin-top: 4px;
}

/* =============================================================================
   one-table-03 - Tabla de información adicional
   ============================================================================= */
.one-table-03-indent {
    padding-top: 9px;
    padding-bottom: 6px;
}

.one-table-03 {
    width: 100%;
    border-collapse: collapse;
}

.one-table-03 td {
    padding: 6px 0;
    vertical-align: top;
}

.one-table-03 td:first-child {
    color: #333333;
    width: 150px;
    padding-right: 15px;
}

.one-table-03 td:last-child {
    color: #777777;
}

/* =============================================================================
   one-review-block - Bloque de reseñas
   ============================================================================= */
.one-review-block {
    margin-top: 10px;
}

.one-review-title {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid #ebebeb;
}

.one-review-title .one-col-item:first-child {
    padding-right: 15px;
}

.one-review-title .one-title {
    color: #333333;
    margin: 0;
    padding: 0;
}

.one-review-title .one-title-description {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 5px;
}

.one-review-title .one-title-description .one-rating {
    margin-right: 10px;
}

.one-review-title .one-title-description .one-text {
    color: #777777;
}

/* =============================================================================
   one-review-comments - Comentarios de reseñas
   ============================================================================= */
.one-review-comments {
    margin-top: 20px;
}

.one-review-comments .one-item {
    padding: 20px 0;
    border-top: none;
}

.one-review-comments .one-item:not(:first-child) {
    border-top: 1px solid #ebebeb;
}

.one-review-comments .one-comments-wrapper {
    padding-bottom: 10px;
}

.one-review-comments .one-rating {
    margin-bottom: 10px;
}

.one-comments-title {
    color: #333333;
    margin: 0 0 5px 0;
}

.one-comments-info {
    color: #777777;
    margin-bottom: 10px;
}

.one-comments-info strong {
    color: #333333;
}

.one-comments-layout {
    color: #777777;
}

.one-review-link {
    margin-top: 10px;
}

.one-review-link a {
    color: #777777;
    text-decoration: underline;
    transition: color 0.2s;
}

.one-review-link a:hover {
    color: #333333;
}

/* =============================================================================
   one-review-form - Formulario de reseña
   ============================================================================= */
.one-review-form {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ebebeb;
}

.one-message-info {
    color: #333333;
    margin-bottom: 20px;
}

.one-rating-indicator {
    margin-bottom: 20px;
}

.one-rating-indicator .one-title {
    color: #333333;
    margin-bottom: 5px;
}

/* =============================================================================
   one-form-default - Formulario por defecto
   ============================================================================= */
.one-form-default .one-form-group {
    margin-bottom: 20px;
}

.one-form-default .one-control-label {
    display: block;
    font-size: 14px;
    line-height: 22px;
    color: #333333;
    margin-bottom: 5px;
}

.one-form-default .one-form-control {
    display: block;
    width: 100%;
    height: 48px;
    padding: 10px 15px;
    font-size: 16px;
    line-height: 26px;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #ebebeb;
    border-radius: 0;
    transition: border-color 0.2s;
}

.one-form-default .one-form-control:focus {
    border-color: #333333;
    outline: none;
}

.one-form-default textarea.one-form-control {
    height: auto;
    resize: vertical;
}

/* =============================================================================
   one-btn-link - Enlaces tipo botón
   ============================================================================= */
.one-btn-link {
    display: inline-block;
    font-size: 14px;
    line-height: 17px;
    font-weight: 700;
    color: #333333;
    text-decoration: none;
    transition: color 0.2s;
}

.one-btn-link:hover {
    color: #48CAB2;
}

.one-btn-link.one-btn-lg {
    font-size: 16px;
}

.one-btn-link.one-color-base {
    color: #48CAB2;
}

.one-btn-link.one-color-base:hover {
    color: #333333;
}

/* =============================================================================
   one-promo-brand - Logos de marcas
   ============================================================================= */
.one-promo-brand {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: center;
}

.one-promo-brand img,
.one-promo-brand svg {
    max-width: 100%;
    height: auto;
}

.one-product-single-info .one-promo-brand {
    margin-top: 37px;
}

.one-product-single-info > *:nth-child(1) .one-promo-brand {
    margin-top: -3px;
}

/* =============================================================================
   Responsive
   ============================================================================= */
@media (max-width: 767px) {
    .one-product-single-info {
        margin-top: 52px;
    }
}

@media (max-width: 575px) {
    .one-product-single-info .one-title {
        font-size: 30px;
        line-height: 34px;
    }
    .one-product-single-info .one-price {
        font-size: 30px;
    }
    .one-product-single-info .one-price .old-price {
        font-size: 22px;
    }
    .one-product-single-info .one-list-btn li {
        width: inherit;
    }
}

/* =============================================================================
   FIX CRÍTICO: Lupa en galerías de producto
   - Posición: ángulo superior derecho, dentro de la imagen
   - Z-index alto para que quede por encima del zoom
   ============================================================================= */
.pt-product-single-img {
    position: relative !important;
}

.pt-product-single-img > div {
    position: relative !important;
}

.pt-product-single-img .pt-btn-zoom,
.pt-product-single-img .js-btnzoom-slider {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 99999 !important;
    background: rgba(255,255,255,0.85) !important;
    cursor: pointer !important;
    pointer-events: all !important;
    padding: 8px !important;
    border-radius: 4px !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}

.pt-product-single-img .pt-btn-zoom:hover,
.pt-product-single-img .js-btnzoom-slider:hover {
    background: rgba(255,255,255,1) !important;
}

/* El zoomContainer NO debe tapar la lupa */
.zoomContainer {
    z-index: 100 !important;
}

.zoomWindowContainer,
.zoomWindow,
.zoomLens {
    z-index: 100 !important;
}

/* Modal/Lightbox - overlay por encima de TODO */
.mfp-bg {
    z-index: 1000042 !important;
}

.mfp-wrap {
    z-index: 1000043 !important;
}

.mfp-container {
    z-index: 1000044 !important;
}

.mfp-content {
    z-index: 1000045 !important;
}

/* X para cerrar lightbox - ocultar div vacío, mostrar solo button */
div.mfp-close {
    display: none !important;
}
button.mfp-close {
    display: block !important;
    color: #000 !important;
    background: transparent !important;
    font-size: 40px !important;
    z-index: 1000050 !important;
}

.slick-lightbox {
    z-index: 1000042 !important;
}

.slick-lightbox-slick-item-inner {
    z-index: 1000043 !important;
}

.fancybox-container,
.fancybox-bg {
    z-index: 1000042 !important;
}

.fancybox-slide {
    z-index: 1000043 !important;
}

/* Ocultar zoomContainer cuando hay lightbox abierto */
body.mfp-zoom-out-cur .zoomContainer,
body:has(.mfp-wrap) .zoomContainer {
    display: none !important;
    visibility: hidden !important;
    z-index: -1 !important;
}

/* Tercera columna - 100% en móvil */
@media (max-width: 767px) {
    .pt-product-single-aside,
    .pt-product-single-aside > *,
    .pt-services-aside,
    .pt-aside-block,
    .pt-aside-content {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* =============================================================================
   FORZADO: 1. NOMBRE DE PESTAÑAS (clases .one-title-acordeon y .one-tab-label)
   Al final del archivo para ganar a style.css y skins.
   Incluye tercera columna (ficha_56).
   ============================================================================= */
body #one-producto-acordeon-tabs .one-title-acordeon,
body #one-producto-acordeon-tabs .one-tab-label,
body #one-producto-tercera-columna .one-title-acordeon {
    font-size: 18px !important;
    line-height: 26px !important;
    font-weight: 700 !important;
}

