/* ==========================================================
   WC Filtro Carrusel — Estilos v1.1
   ========================================================== */

.wcfc-wrapper {
    --wcfc-primary:      #0073e6;
    --wcfc-primary-dark: #005bb5;
    --wcfc-accent:       #ff4757;
    --wcfc-sale-color:   #e8231a;
    --wcfc-tab-bg:       #f0f0f0;
    --wcfc-tab-color:    #555;
    --wcfc-tab-r:        40px;
    --wcfc-card-bg:      #fff;
    --wcfc-card-radius:  16px;
    --wcfc-shadow:       0 6px 30px rgba(0,0,0,0.09);
    --wcfc-gap:          20px;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    padding: 10px 0 30px;
}

/* ==========================================================
   PESTAÑAS
   ========================================================== */
.wcfc-primary-tabs,
.wcfc-secondary-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
    padding: 0 10px;
    animation: wcfc-fade-in 0.4s ease;
}
.wcfc-secondary-tabs { margin-bottom: 20px; gap: 8px; }

.wcfc-tab {
    display: inline-flex;
    align-items: center;
    background: var(--wcfc-tab-bg);
    color: var(--wcfc-tab-color);
    border: none;
    border-radius: var(--wcfc-tab-r);
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .25s, color .25s, transform .2s, box-shadow .25s;
    white-space: nowrap;
    letter-spacing: .3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.wcfc-tab:hover { background: #e0e0e0; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,0.10); }
.wcfc-tab.active { background: var(--wcfc-primary); color: #fff; box-shadow: 0 6px 20px rgba(0,115,230,0.35); transform: translateY(-2px); }
.wcfc-tab.active:hover { background: var(--wcfc-primary-dark); }
.wcfc-secondary-tabs .wcfc-tab { padding: 7px 16px; font-size: 13px; background: #fafafa; border: 1.5px solid #e0e0e0; }
.wcfc-secondary-tabs .wcfc-tab.active { background: var(--wcfc-primary); border-color: var(--wcfc-primary); color: #fff; }

/* ==========================================================
   ÁREA CARRUSEL
   ========================================================== */
.wcfc-products-area { position: relative; padding: 0 52px; }
.wcfc-carousel-wrapper { position: relative; display: flex; align-items: center; }
.wcfc-carousel-viewport {
    overflow: hidden; flex: 1; border-radius: 8px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}
.wcfc-carousel-track {
    display: flex;
    gap: var(--wcfc-gap);
    will-change: transform;
    align-items: stretch;
}

/* ==========================================================
   TARJETA
   ========================================================== */
.wcfc-card {
    background: var(--wcfc-card-bg);
    border-radius: var(--wcfc-card-radius);
    box-shadow: var(--wcfc-shadow);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    animation: wcfc-slide-up 0.45s ease both;
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
}
.wcfc-card:hover { transform: scale(1) translateY(-7px) !important; box-shadow: 0 20px 50px rgba(0,0,0,0.16); opacity: 1 !important; }

.wcfc-card-image-wrap { position: relative; overflow: hidden; aspect-ratio: 1/1; background: #f7f8fa; }
.wcfc-card-image-wrap img {
    width: 100%; height: 100%; object-fit: contain; padding: 6px;
    transition: transform 0.55s cubic-bezier(0.16,1,0.3,1); display: block;
    image-rendering: -webkit-optimize-contrast;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}
.wcfc-card:hover .wcfc-card-image-wrap img { transform: scale(1.10); }

/* Badge */
.wcfc-badge-sale {
    position: absolute; top: 12px; left: 12px;
    background: var(--wcfc-sale-color); color: #fff;
    font-size: 11px; font-weight: 800; padding: 4px 9px;
    border-radius: 6px; letter-spacing: .6px; text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(232,35,26,0.45); z-index: 3;
}

/* Botón ojo */
.wcfc-eye-btn {
    position: absolute; top: 10px; right: 10px; z-index: 4;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.92); border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    opacity: 0; transform: translateY(-6px) scale(0.85);
    transition: opacity .3s ease, transform .3s cubic-bezier(0.16,1,0.3,1), background .2s, box-shadow .2s;
    padding: 0;
}
.wcfc-eye-btn svg { width: 17px; height: 17px; color: #333; transition: color .2s; pointer-events: none; }
.wcfc-card:hover .wcfc-eye-btn { opacity: 1; transform: translateY(0) scale(1); }
.wcfc-eye-btn:hover { background: var(--wcfc-primary) !important; box-shadow: 0 5px 18px rgba(0,115,230,0.4) !important; }
.wcfc-eye-btn:hover svg { color: #fff; }

/* Overlay Ver producto (link real) */
.wcfc-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.42) 100%);
    display: flex; align-items: flex-end; justify-content: center;
    padding-bottom: 18px; opacity: 0;
    transition: opacity .35s ease; text-decoration: none; z-index: 2;
}
.wcfc-card:hover .wcfc-card-overlay { opacity: 1; }
.wcfc-card-overlay span {
    background: #fff; color: var(--wcfc-primary);
    font-size: 12px; font-weight: 700; padding: 7px 18px;
    border-radius: 20px; letter-spacing: .5px;
    transform: translateY(8px);
    transition: transform .35s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 4px 14px rgba(0,0,0,0.20); pointer-events: none;
}
.wcfc-card:hover .wcfc-card-overlay span { transform: translateY(0); }

/* Cuerpo */
.wcfc-card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.wcfc-card-title { font-size: 13.5px; font-weight: 600; color: #1a1a2e; line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wcfc-card-title a { color: inherit; text-decoration: none; transition: color .2s; }
.wcfc-card-title a:hover { color: var(--wcfc-primary); }
.wcfc-card .star-rating, .wcfc-card-rating .star-rating { font-size: 12px; color: #f5a623; width: auto; }

/* ==========================================
   PRECIOS — Atractivos y resaltados
   ========================================== */
.wcfc-card-price,
.wcfc-card .price {
    margin: 8px 0 4px;
    line-height: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
/* Precio normal (sin oferta) */
.wcfc-card .price .amount,
.wcfc-card .price > .amount {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #0073e6 !important;
    letter-spacing: -0.5px;
}
/* Precio tachado */
.wcfc-card .price del,
.wcfc-card .price del .amount {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #b0b0b0 !important;
    text-decoration: line-through;
    letter-spacing: 0;
}
/* Precio de oferta — más grande y llamativo */
.wcfc-card .price ins,
.wcfc-card .price ins .amount {
    text-decoration: none !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    color: #e8231a !important;
    letter-spacing: -0.6px;
}
/* Línea separadora entre precio tachado y oferta */
.wcfc-card .price del + ins {
    padding-left: 2px;
}

/* Botón */
.wcfc-card .button,
.wcfc-card-btn .button {
    display: block !important; width: 100% !important; text-align: center !important;
    background: var(--wcfc-primary) !important; color: #fff !important;
    border: none !important; border-radius: 9px !important; padding: 11px 14px !important;
    font-size: 13px !important; font-weight: 700 !important; cursor: pointer !important;
    transition: background .25s, transform .2s, box-shadow .25s !important;
    text-decoration: none !important; margin-top: auto !important; letter-spacing: .4px !important;
    box-shadow: 0 4px 14px rgba(0,115,230,0.22) !important;
}
.wcfc-card .button:hover,
.wcfc-card-btn .button:hover {
    background: var(--wcfc-primary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 7px 22px rgba(0,115,230,0.38) !important;
}
.wcfc-card .added_to_cart { display: none; }

/* ==========================================================
   FLECHAS
   ========================================================== */
.wcfc-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 10; background: #fff; color: #333; border: none;
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    padding: 0; cursor: pointer;
    box-shadow: 0 4px 18px rgba(0,0,0,0.14);
    transition: background .25s, color .25s, transform .2s, box-shadow .25s;
    user-select: none; flex-shrink: 0;
}
.wcfc-arrow svg {
    display: block;
    pointer-events: none;
    flex-shrink: 0;
}
.wcfc-arrow:hover { background: var(--wcfc-primary); color: #fff; box-shadow: 0 8px 24px rgba(0,115,230,0.38); transform: translateY(-50%) scale(1.08); }
.wcfc-arrow:active { transform: translateY(-50%) scale(0.96); }
.wcfc-arrow-prev { left: 0; }
.wcfc-arrow-next { right: 0; }
.wcfc-arrow.disabled { opacity: 0.3; pointer-events: none; }

/* ==========================================================
   DOTS
   ========================================================== */
.wcfc-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.wcfc-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #ddd;
    border: none; cursor: pointer; padding: 0;
    transition: background .25s, width .3s, border-radius .3s;
}
.wcfc-dot.active { background: var(--wcfc-primary); width: 26px; border-radius: 4px; }

/* ==========================================================
   LOADING
   ========================================================== */
.wcfc-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.85); z-index: 20; border-radius: 8px; backdrop-filter: blur(4px); }
.wcfc-spinner { width: 42px; height: 42px; border: 4px solid #e0e0e0; border-top-color: var(--wcfc-primary); border-radius: 50%; animation: wcfc-spin 0.7s linear infinite; }
.wcfc-empty { text-align: center; padding: 40px 20px; color: #888; font-size: 14px; width: 100%; }
.wcfc-no-results { background: #fff3cd; border-left: 4px solid #ffc107; padding: 14px 18px; border-radius: 8px; color: #856404; font-size: 14px; }

@keyframes wcfc-spin     { to { transform: rotate(360deg); } }
@keyframes wcfc-fade-in  { from { opacity:0; } to { opacity:1; } }
@keyframes wcfc-slide-up { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }
@keyframes wcfc-popup-img-in { from { opacity:0; transform:scale(0.9); } to { opacity:1; transform:scale(1); } }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) { .wcfc-products-area { padding: 0 44px; } }
@media (max-width: 768px) {
    .wcfc-products-area { padding: 0 38px; }
    .wcfc-tab { padding: 8px 16px; font-size: 13px; }
    .wcfc-arrow { width: 36px; height: 36px; }
    .wcfc-arrow svg { width: 16px; height: 16px; }
    .wcfc-popup { grid-template-columns: 1fr; max-height: 85vh; overflow-y: auto; }
    .wcfc-popup-title { font-size: 17px; }
}
@media (max-width: 480px) {
    .wcfc-products-area { padding: 0 34px; }
    .wcfc-tab { padding: 7px 13px; font-size: 12px; }
    .wcfc-popup { border-radius: 14px; }
}

/* ==========================================================
   POPUP QUICK VIEW — v1.2 rediseño completo
   ========================================================== */

/* Eliminar estilos viejos del popup y reemplazar */
.wcfc-popup-overlay {
    position: fixed; inset: 0;
    background: rgba(10,10,20,0.72);
    z-index: 999999;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity .3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.wcfc-popup-overlay.visible { opacity: 1; }
.wcfc-popup-overlay.visible .wcfc-popup {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.wcfc-popup {
    background: #fff;
    border-radius: 22px;
    max-width: 820px;
    width: 100%;
    display: grid;
    grid-template-columns: 42% 58%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.38);
    transform: translateY(28px) scale(0.93);
    opacity: 0;
    transition: transform .4s cubic-bezier(0.16,1,0.3,1), opacity .35s ease;
    max-height: 88vh;
}

/* --- X cerrar --- */
.wcfc-popup-close {
    position: absolute; top: 16px; right: 16px; z-index: 10;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(0,0,0,0.08); border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, transform .25s;
    padding: 0; line-height: 0;
}
.wcfc-popup-close:hover { background: #ff4757; transform: rotate(90deg); }
.wcfc-popup-close:hover svg { stroke: #fff; }
.wcfc-popup-close svg { display: block; stroke: #444; pointer-events: none; transition: stroke .2s; }

/* --- Columna izquierda (imagen) --- */
.wcfc-popup-left {
    background: linear-gradient(145deg, #f0f4ff 0%, #e8edf8 100%);
    display: flex; align-items: center; justify-content: center;
    padding: 40px 28px;
    min-height: 380px;
}
.wcfc-popup-img-wrap {
    position: relative; width: 100%;
    display: flex; align-items: center; justify-content: center;
}
.wcfc-popup-img-wrap img {
    max-width: 100%; max-height: 300px;
    object-fit: contain;
    display: block;
    border-radius: 10px;
    animation: wcfc-popup-img-in .45s cubic-bezier(0.16,1,0.3,1) both;
    animation-delay: .08s;
    filter: drop-shadow(0 12px 28px rgba(0,0,0,0.14));
}
.wcfc-popup-img-wrap .wcfc-badge-sale {
    position: absolute; top: 0; left: 0;
}

/* --- Columna derecha (info) --- */
.wcfc-popup-right {
    display: flex; flex-direction: column;
    overflow-y: auto;
}
.wcfc-popup-body {
    padding: 36px 32px 32px;
    display: flex; flex-direction: column;
    gap: 14px; flex: 1;
}

.wcfc-popup-tag {
    font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--wcfc-primary);
    margin: 0; opacity: 0.75;
}

.wcfc-popup-title {
    font-size: 19px; font-weight: 700;
    color: #111827; line-height: 1.35; margin: 0;
}

/* Rating */
.wcfc-popup-rating .star-rating {
    font-size: 13px; color: #f5a623; width: auto;
}

/* Precio */
.wcfc-popup-price-box {
    background: #f7f9ff;
    border-radius: 12px;
    padding: 14px 18px;
    border-left: 4px solid var(--wcfc-primary);
}
.wcfc-popup-price-label {
    display: block;
    font-size: 11px; font-weight: 600; letter-spacing: .8px;
    text-transform: uppercase; color: #888; margin-bottom: 6px;
}
.wcfc-popup-price .price {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0;
}
.wcfc-popup-price .price .amount,
.wcfc-popup-price .price > .amount {
    font-size: 28px !important; font-weight: 900 !important;
    color: var(--wcfc-primary) !important; letter-spacing: -0.5px;
}
.wcfc-popup-price .price del,
.wcfc-popup-price .price del .amount {
    font-size: 15px !important; font-weight: 400 !important;
    color: #b5b5b5 !important; text-decoration: line-through;
}
.wcfc-popup-price .price ins,
.wcfc-popup-price .price ins .amount {
    text-decoration: none !important;
    font-size: 30px !important; font-weight: 900 !important;
    color: var(--wcfc-sale-color) !important;
}

/* Acciones */
.wcfc-popup-actions {
    margin-top: auto; padding-top: 6px;
    display: flex; flex-direction: column; gap: 10px;
}

/* Botón carrito */
.wcfc-popup-cart-btn {
    display: flex !important; align-items: center !important;
    justify-content: center !important; gap: 10px !important;
    width: 100% !important; text-align: center !important;
    background: var(--wcfc-primary) !important; color: #fff !important;
    border: none !important; border-radius: 12px !important;
    padding: 14px 20px !important;
    font-size: 14.5px !important; font-weight: 700 !important;
    cursor: pointer !important; text-decoration: none !important;
    transition: background .25s, box-shadow .25s, transform .2s !important;
    box-shadow: 0 6px 22px rgba(0,115,230,0.3) !important;
    letter-spacing: .4px !important; box-sizing: border-box !important;
}
.wcfc-popup-cart-btn:hover {
    background: var(--wcfc-primary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 28px rgba(0,115,230,0.42) !important;
}
.wcfc-popup-cart-btn svg { flex-shrink: 0; }

/* Botón ver página */
.wcfc-popup-view-btn {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; width: 100%; text-align: center;
    background: transparent; color: #555;
    border: 1.5px solid #e0e0e0; border-radius: 12px;
    padding: 12px 20px; font-size: 13.5px; font-weight: 600;
    cursor: pointer; text-decoration: none;
    transition: border-color .2s, color .2s, background .2s;
    box-sizing: border-box;
}
.wcfc-popup-view-btn:hover {
    border-color: var(--wcfc-primary);
    color: var(--wcfc-primary);
    background: #f0f6ff;
}
.wcfc-popup-view-btn svg { flex-shrink: 0; }

/* Responsive popup */
@media (max-width: 680px) {
    .wcfc-popup { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
    .wcfc-popup-left { min-height: 220px; padding: 24px; }
    .wcfc-popup-img-wrap img { max-height: 200px; }
    .wcfc-popup-body { padding: 22px 20px 26px; gap: 12px; }
    .wcfc-popup-title { font-size: 16px; }
    .wcfc-popup-price .price .amount,
    .wcfc-popup-price .price > .amount { font-size: 22px !important; }
    .wcfc-popup-price .price ins,
    .wcfc-popup-price .price ins .amount { font-size: 24px !important; }
}

/* ==========================================================
   POPUP v1.3 — clases propias wcfcp-*, colores hardcoded
   (el popup se añade a body, fuera de .wcfc-wrapper)
   ========================================================== */

.wcfc-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 10, 22, 0.75);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity .3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.wcfc-popup-overlay.visible { opacity: 1; }
.wcfc-popup-overlay.visible .wcfcp-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Modal */
.wcfcp-modal {
    background: #fff;
    border-radius: 24px;
    max-width: 840px;
    width: 100%;
    display: grid;
    grid-template-columns: 44% 56%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,.36), 0 0 0 1px rgba(255,255,255,.08);
    transform: translateY(32px) scale(0.92);
    opacity: 0;
    transition: transform .42s cubic-bezier(0.16,1,0.3,1), opacity .35s ease;
    max-height: 90vh;
}

/* Botón cerrar */
.wcfcp-close {
    position: absolute;
    top: 14px; right: 14px;
    z-index: 20;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(0,0,0,.07);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, transform .25s;
    padding: 0;
}
.wcfcp-close svg { display: block; stroke: #444; pointer-events: none; transition: stroke .2s; }
.wcfcp-close:hover { background: #e8231a; transform: rotate(90deg); }
.wcfcp-close:hover svg { stroke: #fff; }

/* ---- Columna imagen ---- */
.wcfcp-col-img {
    position: relative;
    background: linear-gradient(150deg, #eef2ff 0%, #e3eaf8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 28px;
    min-height: 380px;
}

/* Badge de oferta */
.wcfcp-badge {
    position: absolute;
    top: 16px; left: 16px;
    background: #e8231a;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 11px;
    border-radius: 8px;
    letter-spacing: .7px;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(232,35,26,.45);
    z-index: 3;
    line-height: 1.4;
}

/* Marco imagen */
.wcfcp-img-frame {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wcfcp-img-frame img {
    max-width: 100%;
    max-height: 310px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    filter: drop-shadow(0 14px 32px rgba(0,0,0,.15));
    animation: wcfc-popup-img-in .48s cubic-bezier(0.16,1,0.3,1) both .07s;
    image-rendering: -webkit-optimize-contrast;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* ---- Columna info ---- */
.wcfcp-col-info {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.wcfcp-body {
    padding: 34px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 13px;
    flex: 1;
}

.wcfcp-eyebrow {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #0073e6;
    opacity: .8;
}

.wcfcp-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    line-height: 1.38;
    margin: 0;
}

/* Rating */
.wcfcp-rating .star-rating {
    font-size: 13px;
    color: #f5a623;
    width: auto !important;
}

/* Stock */
.wcfcp-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    width: fit-content;
}
.wcfcp-stock--instock  { background: #ecfdf5; color: #16a34a; }
.wcfcp-stock--outofstock { background: #fef2f2; color: #dc2626; }

/* Caja de precio */
.wcfcp-price-box {
    background: linear-gradient(135deg, #f0f6ff 0%, #e8f0fe 100%);
    border-radius: 14px;
    padding: 16px 20px;
    border: 1.5px solid #d0e4ff;
    position: relative;
    overflow: hidden;
}
.wcfcp-price-box::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #0073e6, #005bb5);
    border-radius: 14px 0 0 14px;
}
.wcfcp-price-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 8px;
    padding-left: 4px;
}
.wcfcp-price .price {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding-left: 4px;
}
/* Precio normal */
.wcfcp-price .price .amount,
.wcfcp-price .price > .amount {
    font-size: 30px !important;
    font-weight: 900 !important;
    color: #0073e6 !important;
    letter-spacing: -1px !important;
    line-height: 1 !important;
}
/* Precio tachado */
.wcfcp-price .price del,
.wcfcp-price .price del .amount {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #9ca3af !important;
    text-decoration: line-through !important;
    line-height: 1 !important;
}
/* Precio oferta — grande y rojo */
.wcfcp-price .price ins,
.wcfcp-price .price ins .amount {
    text-decoration: none !important;
    font-size: 34px !important;
    font-weight: 900 !important;
    color: #e8231a !important;
    letter-spacing: -1px !important;
    line-height: 1 !important;
}
/* Etiqueta ahorro */
.wcfcp-price .price ins::after {
    display: none;
}

/* Descripción corta */
.wcfcp-desc {
    font-size: 13.5px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Acciones */
.wcfcp-actions {
    margin-top: auto;
    padding-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Botón añadir al carrito */
.wcfcp-btn-cart,
.wcfcp-btn-wc-wrap .button,
.wcfcp-btn-wc-wrap .add_to_cart_button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    text-align: center !important;
    background: #0073e6 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    letter-spacing: .4px !important;
    box-shadow: 0 6px 22px rgba(0,115,230,.32) !important;
    transition: background .25s, box-shadow .25s, transform .2s !important;
    line-height: 1.4 !important;
}
.wcfcp-btn-cart:hover,
.wcfcp-btn-wc-wrap .button:hover {
    background: #005bb5 !important;
    box-shadow: 0 10px 28px rgba(0,115,230,.44) !important;
    transform: translateY(-2px) !important;
    color: #fff !important;
}

/* Botón ver página */
.wcfcp-btn-page {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    background: transparent;
    color: #374151;
    border: 1.5px solid #d1d5db;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: border-color .2s, color .2s, background .2s;
}
.wcfcp-btn-page:hover {
    border-color: #0073e6;
    color: #0073e6;
    background: #f0f6ff;
}

/* Responsive popup */
@media (max-width: 680px) {
    .wcfcp-modal {
        grid-template-columns: 1fr;
        max-height: 92vh;
        overflow-y: auto;
        border-radius: 20px;
    }
    .wcfcp-col-img { min-height: 210px; padding: 22px; }
    .wcfcp-img-frame img { max-height: 190px; }
    .wcfcp-body { padding: 22px 20px 26px; gap: 11px; }
    .wcfcp-title { font-size: 16px; }
    .wcfcp-price .price .amount,
    .wcfcp-price .price > .amount { font-size: 22px !important; }
    .wcfcp-price .price ins,
    .wcfcp-price .price ins .amount { font-size: 24px !important; }
}
