/* Contenedor Principal */
.cws-slider-wrap {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif, -apple-system;
    overflow: hidden;
    background: transparent;
}

.cws-slider-wrap * {
    box-sizing: border-box;
}

.cws-slider-container {
    position: relative;
    width: 100%;
    min-height: 405px;
    height: 405px;
    overflow: hidden;
}

/* Slides */
.cws-slides-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.cws-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: center;
}

.cws-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.cws-slide-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px 60px;
}

/* Columna Imagen */
.cws-col-image {
    flex: 0 0 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cws-col-image img {
    max-width: 300px;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Columna Contenido */
.cws-col-content {
    flex: 1;
    padding-left: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Título */
.cws-title {
    font-size: 22px;
    font-weight: 400;
    line-height: 26px;
    margin: 0 0 8px 0;
    color: #0a0a0a;
}

.cws-title a {
    color: #0a0a0a;
    text-decoration: none;
}

/* Precio */
.cws-price {
    font-size: 23px;
    font-weight: 400;
    color: #ac221f;
    line-height: 26px;
    margin-bottom: 10px;
}

.cws-price .woocommerce-Price-amount {
    color: #ac221f !important;
}

.cws-price del {
    color: #888;
    font-size: 18px;
    margin-right: 8px;
}

.cws-price ins {
    text-decoration: none;
}

/* Descripción */
.cws-description {
    font-size: 13px;
    line-height: 20px;
    color: #686868;
    margin-bottom: 18px;
    max-height: 60px;
    overflow: hidden;
}

/* Botón Ver Producto */
.cws-action {
    margin-bottom: 20px;
}

.cws-btn {
    display: inline-block;
    background-color: #ac221f;
    color: #ffffff !important;
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    font-weight: 500;
    padding: 11px 35px;
    border-radius: 3px;
    text-decoration: none !important;
    transition: background-color 0.3s ease;
    cursor: pointer;
    border: none;
}

.cws-btn:hover {
    background-color: #9a1916;
}

/* Features / Checklist */
.cws-features {
    display: flex;
    flex-direction: row;
    gap: 25px;
}

.cws-feature-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cws-feature-item {
    display: flex;
    align-items: center;
    font-size: 12px;
    line-height: 18px;
    color: #686868;
}

.cws-check-icon {
    width: 12px;
    height: 12px;
    min-width: 12px;
    margin-right: 6px;
    color: #444;
}

/* Flechas de Navegación */
.cws-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.3s ease;
}

.cws-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.cws-arrow-prev {
    left: 10px;
}

.cws-arrow-next {
    right: 10px;
}

/* Barra de Progreso */
.cws-progress-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: transparent;
    z-index: 10;
}

.cws-progress-bar {
    width: 0%;
    height: 100%;
    background-color: #ac221f;
}

/* ==========================================================================
   MOBILE RESPONSIVE
   (Muestra únicamente la imagen y debajo el botón "Ver Producto")
   ========================================================================== */
@media (max-width: 768px) {
    .cws-slider-container {
        height: auto;
        min-height: 380px;
    }

    .cws-slide {
        position: absolute;
    }

    .cws-slide.is-active {
        position: relative;
    }

    .cws-slide-inner {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 25px 20px;
        text-align: center;
    }

    .cws-col-image {
        flex: none;
        margin-bottom: 20px;
    }

    .cws-col-image img {
        max-width: 250px;
        max-height: 250px;
    }

    .cws-col-content {
        flex: none;
        padding-left: 0;
        width: 100%;
        align-items: center;
    }

    /* Ocultar elementos en móvil */
    .cws-title,
    .cws-price,
    .cws-description,
    .cws-features {
        display: none !important;
    }

    .cws-action {
        margin-bottom: 0;
    }

    .cws-btn {
        width: auto;
        padding: 12px 40px;
        font-size: 16px;
    }

    .cws-arrow {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}
