/**
 * WooCommerce Popup Carrito - Estilos
 */

/* =============================================
   BOTÓN "COMPLETÁ EL CONJUNTO" (página de producto)
   ============================================= */

.wpc-complete-look-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: 10px;
    padding: 0 24px;
    background: transparent;
    color: var(--flv-rojo-titulo, #8f2e20);
    border: 1.5px solid var(--flv-rojo-titulo, #8f2e20);
    border-radius: var(--flv-radius-md, 4px);
    font-family: var(--wpc-font-ui);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.wpc-complete-look-btn:hover {
    background: var(--flv-rojo-titulo, #8f2e20);
    color: #ffffff;
}

/* Mensaje de error en la página del producto */
.wpc-page-error-msg {
    display: block;
    margin: 8px 0 0 0;
    font-size: 0.85em;
    color: #d63638;
    text-align: left;
}

/* Variables CSS
 *
 * Toman los tokens del tema cuando existen (--flv-*), y si no, los valores de
 * respaldo: así el popup se ve como el sitio sin dejar de funcionar solo. */
:root {
    --wpc-overlay-bg: rgba(26, 18, 16, 0.55);
    --wpc-popup-bg: var(--flv-white, #ffffff);
    --wpc-popup-radius: var(--flv-radius-md, 4px);
    --wpc-popup-shadow: 0 18px 50px rgba(42, 24, 16, 0.18);
    --wpc-added-bg: var(--flv-cream-100, #f5ede3);
    --wpc-check-bg: var(--flv-espresso-900, #2a1810);
    --wpc-title-color: var(--flv-espresso-900, #2a1810);
    --wpc-text-color: var(--flv-mud-600, #7a6255);
    --wpc-price-color: var(--flv-espresso-900, #2a1810);
    --wpc-price-sale: var(--flv-salmon-700, #99382a);
    --wpc-price-regular: var(--flv-mud-600, #7a6255);
    --wpc-border-color: var(--flv-line-200, #e6dacb);
    --wpc-btn-primary-bg: var(--flv-espresso-900, #2a1810);
    --wpc-btn-primary-color: var(--flv-white, #ffffff);
    --wpc-btn-secondary-bg: var(--flv-rose-300, #f6bdb1);
    --wpc-btn-secondary-color: var(--flv-espresso-900, #2a1810);
    --wpc-connector-color: var(--flv-line-200, #e6dacb);
    --wpc-transition: 0.2s ease;

    /* Tipografías del sitio: título con la serif, el resto con la de interfaz. */
    --wpc-font-display: var(--flv-font-display, Georgia, "Times New Roman", serif);
    --wpc-font-ui: var(--flv-font-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

/* Overlay */
.wpc-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--wpc-overlay-bg);
    z-index: 99999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--wpc-transition), visibility var(--wpc-transition);
}

.wpc-overlay.wpc-active {
    opacity: 1;
    visibility: visible;
}

/* Popup */
.wpc-popup {
    position: relative;
    background: var(--wpc-popup-bg);
    border-radius: var(--wpc-popup-radius);
    box-shadow: var(--wpc-popup-shadow);
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transform: translateY(30px);
    transition: transform var(--wpc-transition);
}

.wpc-overlay.wpc-active .wpc-popup {
    transform: translateY(0);
}

/* Header */
.wpc-header {
    position: relative;
    padding: 20px 50px 20px 20px;
    border-bottom: 1px solid var(--wpc-border-color);
}

.wpc-title {
    margin: 0;
    font-family: var(--wpc-font-display);
    font-size: 24px;
    font-weight: 400;
    color: var(--wpc-title-color);
    text-align: center;
    line-height: 1.2;
}

.wpc-close {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: var(--wpc-text-color);
    transition: color var(--wpc-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.wpc-close:hover {
    color: var(--wpc-title-color);
}

/* Content */
.wpc-content {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Producto añadido */
.wpc-added-product {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: var(--wpc-added-bg);
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.wpc-product-image-wrapper {
    position: relative;
    flex-shrink: 0;
}

.wpc-product-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.wpc-check-icon {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 22px;
    height: 22px;
    background: var(--wpc-check-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpc-check-icon svg {
    width: 12px;
    height: 10px;
}

.wpc-product-info {
    flex: 1;
    min-width: 0;
}

.wpc-product-name {
    margin: 0 0 4px 0;
    font-family: var(--wpc-font-ui);
    font-size: 16px;
    font-weight: 600;
    color: var(--wpc-title-color);
    line-height: 1.3;
}

.wpc-product-variation {
    margin: 0 0 4px 0;
    font-family: var(--wpc-font-ui);
    font-size: 14px;
    color: var(--wpc-text-color);
}

.wpc-product-variation:empty {
    display: none;
}

.wpc-product-price {
    font-size: 0.9em;
    color: var(--wpc-price-color);
}

/* Línea conectora - oculta por defecto */
.wpc-connector {
    display: none;
}

/* Sección Upsells */
.wpc-upsells {
    display: none;
}

.wpc-upsells.wpc-has-items {
    display: block;
    position: relative;
    margin-left: 35px;
}

/* Línea conectora vertical en el lateral izquierdo */
.wpc-upsells.wpc-has-items::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    height: calc(100% - 60px);
    width: 2px;
    background: var(--wpc-connector-color);
}

/* Punto final de la línea */
.wpc-upsells.wpc-has-items::after {
    content: '';
    position: absolute;
    left: -24px;
    bottom: 60px;
    width: 10px;
    height: 10px;
    background: var(--wpc-connector-color);
    border-radius: 50%;
}

.wpc-upsells-list {
    display: flex;
    flex-direction: column;
}

/* Item Upsell */
.wpc-upsell-item {
    display: flex;
    flex-direction: column;
    padding: 15px 20px 15px 0;
    border-bottom: 1px solid var(--wpc-border-color);
}

.wpc-upsell-item:last-child {
    border-bottom: none;
}

.wpc-upsell-main {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.wpc-upsell-image {
    width: 80px;
    height: 100px;
    object-fit: cover;
    flex-shrink: 0;
}

.wpc-upsell-info {
    flex: 1;
    min-width: 0;
}

.wpc-upsell-name {
    margin: 0 0 5px 0;
    font-family: var(--wpc-font-ui);
    font-size: 15px;
    font-weight: 600;
    color: var(--wpc-title-color);
    line-height: 1.3;
}

.wpc-upsell-price {
    font-family: var(--wpc-font-ui);
    font-size: 15px;
    font-weight: 600;
    color: var(--wpc-price-color);
}

.wpc-upsell-price del {
    color: var(--wpc-price-regular);
    font-weight: 400;
}

.wpc-upsell-price ins {
    text-decoration: none;
    color: var(--wpc-price-sale);
}

/* Selector de variación */
.wpc-upsell-variation-wrapper {
    margin-top: 8px;
}

.wpc-upsell-variation-select {
    width: 100%;
    padding: 0;
    padding-left: 10px;
    padding-right: 24px;
    border: 1px solid var(--wpc-border-color);
    background: #fff;
    font-size: 0.85em;
    color: var(--wpc-title-color);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

.wpc-upsell-variation-select:focus {
    outline: none;
    border-color: var(--wpc-title-color);
}

/* Botón Ver Detalle */
.wpc-upsell-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin-top: 12px;
    padding: 0 20px;
    background: var(--wpc-btn-primary-bg);
    color: var(--wpc-btn-primary-color);
    border: none;
    border-radius: var(--flv-radius-md, 4px);
    font-family: var(--wpc-font-ui);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--wpc-transition);
}

.wpc-upsell-btn:hover {
    background: var(--flv-brown-800, #3b2418);
    color: var(--wpc-btn-primary-color);
}

/* Footer */
.wpc-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    padding: 15px 20px;
    border-top: 1px solid var(--wpc-border-color);
}

.wpc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    min-width: 200px;
    height: 52px;
    border-radius: var(--flv-radius-md, 4px);
    transition: background var(--wpc-transition), color var(--wpc-transition);
}

.wpc-btn a,
.wpc-btn button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
    font-family: var(--wpc-font-ui);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
}

.wpc-btn a:hover,
.wpc-btn button:hover {
    color: inherit;
}

/* Finalizar compra: el rosa del sitio, como el «Ir a pagar» del carrito. */
.wpc-btn-checkout {
    background: var(--wpc-btn-secondary-bg);
    color: var(--wpc-btn-secondary-color);
}

.wpc-btn-checkout:hover {
    background: var(--flv-salmon-400, #e86a5c);
    color: var(--wpc-btn-secondary-color);
}

/* Seguir comprando: botón de línea, como los secundarios del sitio. */
.wpc-btn-continue {
    background: transparent;
    color: var(--wpc-title-color);
    box-shadow: inset 0 0 0 1.5px var(--wpc-title-color);
}

.wpc-btn-continue:hover {
    background: var(--wpc-title-color);
    color: var(--flv-white, #ffffff);
}

/* Loading state */
.wpc-loading .wpc-content {
    opacity: 0.5;
    pointer-events: none;
}

/* =============================================
   CROSS-SELL LAYOUT (estilo ASOS)
   ============================================= */

/* Popup más ancho cuando hay cross-sells */
.wpc-popup.wpc-has-crosssells {
    max-width: 900px;
}

/* Layout principal: dos columnas */
.wpc-cs-layout {
    display: flex;
    flex-direction: row;
    min-height: 420px;
}

/* Columna izquierda: imagen del producto original (fija) */
.wpc-cs-image-col {
    flex: 0 0 35%;
    max-width: 35%;
    background: var(--wpc-added-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wpc-cs-original-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Columna derecha: miniaturas + sub-layout */
.wpc-cs-detail-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 15px 20px;
}

/* Carrusel de miniaturas */
.wpc-cs-thumbnails-wrapper {
    position: relative;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--wpc-border-color);
    overflow: hidden;
}

.wpc-cs-thumbnails {
    display: flex;
    flex-direction: row;
    gap: 6px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    flex: 1;
    padding: 0;
}

.wpc-cs-thumbnails::-webkit-scrollbar {
    display: none;
}

/* Flechas de navegación del carrusel (estilo Flickity) */
.wpc-cs-thumb-nav {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: 0;
    width: 34px;
    border: none;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--wpc-title-color);
    transition: background var(--wpc-transition);
    z-index: 3;
}

.wpc-cs-thumb-nav:hover {
    background: rgba(255, 255, 255, 0.9);
}

.wpc-cs-thumb-nav svg {
    width: 14px;
    height: 14px;
    fill: var(--wpc-title-color);
}

.wpc-cs-thumb-prev {
    left: 0;
}

.wpc-cs-thumb-next {
    right: 0;
}

.wpc-cs-thumb-nav.wpc-hidden {
    opacity: 0;
    pointer-events: none;
}

/* Miniatura individual — siempre caben 4 enteras: (100% - 3 gaps de 6px) / 4 */
.wpc-cs-thumb {
    flex: 0 0 calc((100% - 18px) / 4);
    max-width: calc((100% - 18px) / 4);
    aspect-ratio: 3 / 4;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: border-color var(--wpc-transition);
}

.wpc-cs-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Miniatura seleccionada */
.wpc-cs-thumb.wpc-cs-active {
    border-color: var(--wpc-title-color);
}

/* Miniatura de producto añadido al carrito */
.wpc-cs-thumb.wpc-cs-added::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: var(--wpc-check-bg);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5L4.5 8.5L11 1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 8px;
}

.wpc-cs-thumb.wpc-cs-added {
    border-color: var(--wpc-check-bg);
}

/* Sub-layout: imagen seleccionada + info */
.wpc-cs-product-area {
    display: flex;
    flex-direction: row;
    gap: 15px;
    flex: 1;
    min-height: 0;
}

/* Sub-columna izquierda: imagen del producto seleccionado */
.wpc-cs-product-image-col {
    flex: 0 0 35%;
    max-width: 35%;
    overflow: hidden;
    border-radius: 0;
    background: var(--wpc-added-bg);
    align-self: flex-start;
    position: relative;
    /* Aspect ratio 3:4 — compatible con iOS 14 y anteriores */
    padding-top: 133.33%; /* alto = 4/3 del ancho propio */
    height: 0;
}

.wpc-cs-selected-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Navegadores modernos con aspect-ratio: usan la forma limpia */
@supports (aspect-ratio: 3 / 4) {
    .wpc-cs-product-image-col {
        padding-top: 0;
        height: auto;
        aspect-ratio: 3 / 4;
    }

    .wpc-cs-selected-image {
        position: static;
    }
}

/* Sub-columna derecha: info del producto */
.wpc-cs-product-info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Detalle del producto */
.wpc-cs-product-detail {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.wpc-cs-product-name {
    margin: 0 0 6px 0;
    font-family: var(--wpc-font-ui);
    font-size: 16px;
    font-weight: 600;
    color: var(--wpc-title-color);
    line-height: 1.3;
}

.wpc-cs-product-price {
    font-family: var(--wpc-font-ui);
    font-size: 15px;
    font-weight: 600;
    color: var(--wpc-price-color);
    margin-bottom: 12px;
}

.wpc-cs-product-price del {
    color: var(--wpc-price-regular);
    font-weight: 400;
}

.wpc-cs-product-price ins {
    text-decoration: none;
    color: var(--wpc-price-sale);
}

/* Variaciones con pills */
.wpc-cs-variations {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.wpc-cs-variation-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wpc-cs-variation-label {
    font-size: 0.75em;
    font-weight: 600;
    color: var(--wpc-title-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpc-cs-variation-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wpc-cs-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    min-width: 36px;
    height: 34px;
    border: 1px solid var(--flv-mud-300, #b8aa9c);
    border-radius: var(--flv-radius-md, 4px);
    background: var(--flv-white, #fff);
    font-family: var(--wpc-font-ui);
    font-size: 14px;
    color: var(--wpc-title-color);
    cursor: pointer;
    transition: all var(--wpc-transition);
    user-select: none;
    box-sizing: border-box;
}

.wpc-cs-pill:hover:not(.wpc-cs-pill-disabled) {
    border-color: var(--wpc-title-color);
}

/* Pill seleccionada */
.wpc-cs-pill.wpc-cs-pill-active {
    background: var(--wpc-title-color);
    color: #fff;
    border-color: var(--wpc-title-color);
}

/* Pill sin stock */
.wpc-cs-pill.wpc-cs-pill-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
    background: #f9f9f9;
}

/* Wrapper del botón (empuja al fondo del flex) */
.wpc-cs-btn-wrapper {
    margin-top: auto;
}

/* Botón añadir al carrito */
.wpc-cs-add-to-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 16px;
    height: 44px;
    background: var(--wpc-btn-primary-bg);
    color: var(--wpc-btn-primary-color);
    border: none;
    border-radius: var(--flv-radius-md, 4px);
    font-family: var(--wpc-font-ui);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    cursor: pointer;
    transition: background var(--wpc-transition);
}

.wpc-cs-add-to-cart:hover {
    background: var(--flv-brown-800, #3b2418);
}

.wpc-cs-add-to-cart:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.wpc-cs-add-to-cart.wpc-cs-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Estado "Añadido" del botón */
.wpc-cs-add-to-cart.wpc-cs-added-state {
    background: var(--wpc-check-bg);
    color: #ffffff;
}

.wpc-cs-add-to-cart.wpc-cs-added-state:hover {
    background: #000000;
}

/* Mensaje de error de stock */
.wpc-cs-error-msg {
    display: block;
    margin: 0;
    font-size: 0.78em;
    color: #d63638;
    text-align: center;
}

/* Loading del detalle */
.wpc-cs-product-detail.wpc-cs-detail-loading {
    opacity: 0.5;
    pointer-events: none;
}

/* ==================== DESKTOP (>= 768px) ==================== */

@media (min-width: 768px) {
    .wpc-popup:not(.wpc-has-crosssells) {
        max-width: 600px;
    }

    .wpc-cs-image-col {
        padding-left: 20px;
    }

    /* Upsell items en fila */
    .wpc-upsell-item {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }

    .wpc-upsell-main {
        flex: 1;
        min-width: 0;
    }

    .wpc-upsell-image {
        width: 70px;
        height: 90px;
    }

    .wpc-upsell-btn {
        width: auto;
        margin-top: 0;
        margin-left: 15px;
        flex-shrink: 0;
        padding: 10px 20px;
    }
}

/* ==================== MOBILE (< 768px) ==================== */

@media (max-width: 767px) {
    .wpc-overlay {
        align-items: flex-end;
    }

    .wpc-popup {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 12px 12px 0 0;
        transform: translateY(100%);
    }

    /* Cross-sell layout mobile: vertical */
    .wpc-popup.wpc-has-crosssells {
        max-width: 100%;
    }

    .wpc-cs-layout {
        flex-direction: column;
        min-height: auto;
    }

    .wpc-cs-image-col {
        flex: 0 0 auto;
        max-width: 100%;
        height: 220px;
    }

    .wpc-cs-original-image {
        object-fit: contain;
    }

    .wpc-cs-detail-col {
        padding: 12px 15px;
    }

    .wpc-cs-thumb {
        flex: 0 0 calc((100% - 24px) / 5);
        max-width: calc((100% - 24px) / 5);
    }

    .wpc-cs-product-area {
        flex-direction: row;
        gap: 12px;
    }

    .wpc-cs-product-image-col {
        flex: 0 0 35%;
        max-width: 35%;
    }

    .wpc-cs-pill {
        padding: 4px 10px;
        min-width: 32px;
        height: 28px;
        font-size: 0.7em;
    }

    .wpc-cs-variation-label {
        font-size: 0.6em;
    }

    .wpc-cs-add-to-cart {
        font-size: 0.75em;
        padding: 8px 12px;
        height: 36px;
    }

    .wpc-cs-product-name {
        font-size: 0.85em;
    }

    .wpc-cs-product-price {
        font-size: 0.8em;
    }

    .wpc-complete-look-btn {
        font-size: 0.85em;
    }

    .wpc-overlay.wpc-active .wpc-popup {
        transform: translateY(0);
    }

    .wpc-header {
        padding: 15px 45px 15px 15px;
    }

    .wpc-title {
        font-size: 1em;
    }

    .wpc-added-product {
        padding: 12px 15px;
    }

    .wpc-product-image {
        width: 50px;
        height: 50px;
    }

    .wpc-check-icon {
        width: 18px;
        height: 18px;
        top: -4px;
        left: -4px;
    }

    .wpc-check-icon svg {
        width: 10px;
        height: 8px;
    }

    .wpc-upsell-item {
        padding: 12px 15px;
    }

    .wpc-upsell-image {
        width: 70px;
        height: 90px;
    }
    .wpc-upsell-btn {
        width: auto;
        margin-top: 0;
        margin-left: 15px;
        flex-shrink: 0;
        padding: 10px 20px;
        align-self: center;
    }

    .wpc-footer {
        padding: 12px 15px 20px;
        justify-content: center;
    }

    /* Como los botones del sitio en el celular: 45 px de alto y letra de 14. */
    .wpc-btn {
        min-width: 150px;
        height: 45px;
        padding: 0 16px;
    }

    .wpc-btn a,
    .wpc-btn button {
        font-size: 14px;
    }

    .wpc-complete-look-btn {
        min-height: 45px;
        padding: 0 16px;
        font-size: 14px;
    }

    /* Ocultar línea conectora en móvil */
    .wpc-upsells.wpc-has-items {
        margin-left: 0;
    }

    .wpc-upsells.wpc-has-items::before,
    .wpc-upsells.wpc-has-items::after,
    .wpc-added-product::after {
        display: none !important;
    }
}

/* Accesibilidad - Reducir movimiento */
@media (prefers-reduced-motion: reduce) {
    .wpc-overlay,
    .wpc-popup,
    .wpc-close,
    .wpc-btn,
    .wpc-upsell-btn,
    .wpc-cs-thumb,
    .wpc-cs-thumb-nav,
    .wpc-cs-add-to-cart,
    .wpc-cs-pill {
        transition: none;
    }

    .wpc-cs-thumbnails {
        scroll-behavior: auto;
    }
}
