/* V3 Isolated Styles */
.cmp-v3-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    font-family: 'Segoe UI', sans-serif !important;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .cmp-v3-container {
        grid-template-columns: 1fr;
    }
}

/* Sidebar */
.cmp-v3-sidebar {
    background: transparent;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #ccc;
    font-family: inherit;
    /* Heredar fuente del tema */
}

/* Formato de Reseña, Sesión y Valor en Catalogo */
.cmp-v3-card-meta-row--block {
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.cmp-v3-card-meta-row--block .cmp-v3-card-meta-label {
    width: 100%;
    text-align: center;
}
.cmp-v3-next-date {
    font-weight: 600;
    display: block;
    text-align: center;
}

/* Títulos: Máximo 600 weight, 13px */
.cmp-v3-filters-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #111;
}

.cmp-v3-filter-group {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.cmp-v3-filter-group:last-child {
    border-bottom: none;
}

.cmp-v3-filter-group h3 {
    font-size: 13px;
    /* Solicitado */
    font-weight: 600;
    /* Solicitado max 600 */
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Pills (Toggle Buttons) */
.cmp-v3-pills {
    display: flex;
    gap: 8px;
}

.cmp-v3-pill {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    /* Solicitado */
    font-weight: 500;
    transition: all 0.2s;
}

.cmp-v3-pill:hover {
    border-color: #a0a0a0 !important;
    background: #a0a0a0 !important;
    color: #fff !important;
}

.cmp-v3-pill.active {
    background: #000000!important;
    color: #fff !important;
    border-color: #000000!important;
}

/* Checkboxes - Sin Scroll, Lista completa */
.cmp-v3-checkboxes {
    /* max-height removido para mostrar todo el listado */
    overflow-y: visible;
    padding-right: 0;
}

.cmp-v3-checkboxes::-webkit-scrollbar {
    width: 6px;
}

.cmp-v3-checkboxes::-webkit-scrollbar-thumb {
    background-color: #000000;
    border-radius: 3px;
}

.cmp-v3-checkboxes label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    /* Reducido de 8px a 4px */
    font-size: 13px;
    color: #444;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1.2;
    /* Reducido de 1.4 */
}

.cmp-v3-checkboxes label:hover {
    color: #000;
}

.cmp-v3-checkboxes input[type="checkbox"] {
    /* Tamaño consistente */
    width: 16px;
    height: 16px;
    min-width: 16px;
    /* Evitar que se aplasten */
    border: 1px solid #ccc;
    border-radius: 3px;
    accent-color: #000;
    margin: 0;
    cursor: pointer;
}

/* Slider de Precio */
.cmp-v3-price-slider {
    padding: 0 2px;
}

.cmp-v3-range {
    width: 100% !important;
    margin-bottom: 8px !important;
    accent-color: #000000!important;
    cursor: pointer !important;
    height: 4px !important;
    -webkit-appearance: auto !important;
    appearance: auto !important;
    pointer-events: auto !important;
    display: block !important;
}

.cmp-v3-price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    /* Solicitado */
    color: #555;
    font-weight: 500;
}

/* Grid */
.cmp-v3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Columnas Fijo */
    gap: 30px;
}

@media (max-width: 1024px) {
    .cmp-v3-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cmp-v3-grid {
        grid-template-columns: 1fr;
    }
}

/* Card */
.cmp-v3-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.cmp-v3-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: #000000;
}

/* Avatar: Círculo con borde */
.cmp-v3-avatar {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin-bottom: 15px;
    border: 2px solid #000000!important;
    box-shadow: none !important;
    display: block;

    /* Placeholder mientras carga */
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: cmp-shimmer 1.5s infinite;
}

@keyframes cmp-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.cmp-v3-name {
    font-size: 16px;
    font-weight: 600;
    margin: 5px 0;
    color: #111;
    line-height: 1.2;
    min-height: 10px;
    /* Alineación */
    display: flex;
    align-items: center;
    justify-content: center;
}

.cmp-v3-title {
    font-size: 12px;
    /* Solicitado */
    color: #000000;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 15px;
    min-height: 18px;
}

/* Bio: 12px, justificado */
.cmp-v3-bio {
    font-size: 12px;
    text-align: justify;
    color: #555;
    margin-bottom: 15px;
    flex-grow: 1;
    /* Empujar botón abajo */
}

/* Ocultar specs si quedaron en el HTML o eliminarlas */
.cmp-v3-specs {
    display: none;
}

/* Botón "Teal Outline" - Small & Bottom */
body .cmp-v3-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;

    background: #000000 !important;
    border: 1px solid #000000 !important;
    color: #ffffff !important;

    padding: 5px 15px !important;
    /* Menos padding */
    border-radius: 6px !important;
    font-size: 11px !important;
    /* Más pequeño */
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    margin-top: auto;
    /* Siempre abajo */
}

body .cmp-v3-btn:hover {
    background: #a0a0a0 !important;
    border-color: #a0a0a0 !important;
    color: #fff !important;
}

/* Botón Ver Perfil — clase propia para evitar que el tema inyecte flechas */
body .cmp-v3-profile-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    background: #a0a0a0 !important;
    border: none !important;
    color: #fff !important;
    padding: 7px 18px !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    margin-top: auto !important;
}

body .cmp-v3-profile-btn::before,
body .cmp-v3-profile-btn::after {
    content: none !important;
    display: none !important;
}

body .cmp-v3-profile-btn:hover {
    background: #7aaa0f !important;
    color: #fff !important;
}


/* Matar flechas inyectadas por el tema en TODOS los botones del catálogo */
body .cmp-v3-btn::before,
body .cmp-v3-btn::after,
body .cmp-v3-page-btn::before,
body .cmp-v3-page-btn::after {
    content: none !important;
    display: none !important;
}


/* Paginación */
.cmp-v3-pagination {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Botones de paginación: mismo estilo que cmp-v3-btn */
body .cmp-v3-page-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    background: rgba(0, 0, 0, 0.06) !important;
    border: 1px solid #000000!important;
    color: #000000!important;
    padding: 6px 18px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

body .cmp-v3-page-btn:hover:not(:disabled) {
    background: #a0a0a0 !important;
    border-color: #a0a0a0 !important;
    color: #fff !important;
}

body .cmp-v3-page-btn:disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

#cmp-v3-page-info {
    font-size: 13px;
    color: #555;
    font-weight: 600;
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

/* ---- Slider de Precio Personalizado ---- */
.cmp-v3-price-wrap {
    padding: 4px 0 0;
}

.cmp-v3-price-value-display {
    text-align: center;
    margin-bottom: 14px;
}

.cmp-v3-price-value-display span {
    display: inline-block;
    background: #000000;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
}

.cmp-v3-slider-track-wrap {
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
}

.cmp-v3-slider-track {
    position: absolute;
    left: 0;
    right: 0;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    pointer-events: none;
}

.cmp-v3-slider-fill {
    background: #000000;
    height: 100%;
    border-radius: 3px;
    width: 100%;
    transition: width 0.1s;
}

.cmp-v3-price-disclaimer {
    color: #666;
    font-size: 12px !important;
    margin-top: 5px;
    text-align: left;
    width: 100%;
    font-style: italic;
}

.cmp-v3-slider-track-wrap input[type="range"].cmp-v3-range {
    position: relative;
    width: 100% !important;
    height: 20px !important;
    background: transparent !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 2;
    accent-color: transparent !important;
}

.cmp-v3-slider-track-wrap input[type="range"].cmp-v3-range::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background: #000000!important;
    border: 2px solid #fff !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.20) !important;
    cursor: pointer !important;
}

.cmp-v3-slider-track-wrap input[type="range"].cmp-v3-range::-moz-range-thumb {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background: #000000!important;
    border: 2px solid #fff !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.20) !important;
    cursor: pointer !important;
}

.cmp-v3-slider-track-wrap input[type="range"].cmp-v3-range::-webkit-slider-runnable-track {
    background: transparent !important;
    height: 6px !important;
}

.cmp-v3-slider-track-wrap input[type="range"].cmp-v3-range::-moz-range-track {
    background: transparent !important;
    height: 6px !important;
}

.cmp-v3-price-ticks {
    display: none;
}


/* ---- Perfil V3: Mockup Implementation ---- */

/* CSS Hardening / Reset for Mockup Wrapper */
.cmp-v3-mockup-wrapper {
    all: unset;
    /* Kill inherited theme styles if possible (careful support) - better use specific resets */
    display: block;
    background: transparent;
    /* Pale Blue Background */
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.5;
    padding: 40px 20px;
    box-sizing: border-box;
    /* CRITICAL */
    width: 100%;
}

.cmp-v3-mockup-wrapper * {
    box-sizing: border-box;
    /* CRITICAL for grid/padding logic */
}

/* Ensure images don't overflow */
.cmp-v3-mockup-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
}

.cmp-v3-mockup-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    /* Ensure it takes space */
}

/* 1. HEADER CARD */
.cmp-v3-header-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    /* Slightly squarish as per mockup */
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.cmp-v3-header-cols {
    display: grid;
    grid-template-columns: 160px 1fr 220px;
    /* Avatar - Info - Actions */
    gap: 30px;
    align-items: center;
}

.cmp-v3-header-avatar img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    /* Slightly rounded corners, not circle */
    border: 1px solid #ddd;
}

.cmp-v3-header-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cmp-v3-header-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.cmp-v3-badge-green {
    background: #a0a0a0;
    /* Lime */
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    text-transform: uppercase;
}

.cmp-v3-badge-teal {
    background: #000000;
    color: #000000;
    border: 1px solid #000000;
    background: #fff;
    /* Outline style based on mockup variations? Or filled? Let's go filled for contrast */
    background: #000000;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    text-transform: uppercase;
}

.cmp-v3-header-name {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.cmp-v3-header-title {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    border-bottom: 2px solid #a0a0a0;
    /* Lime underline */
    display: inline-block;
    padding-bottom: 3px;
}

.cmp-v3-header-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #555;
    flex-wrap: wrap;
}

.cmp-v3-meta-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cmp-v3-meta-row .dashicons {
    color: #000000;
    /* Teal icons */
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Header Right: Actions/Stats */
.cmp-v3-header-actions {
    min-width: 220px;
    border-left: 1px solid #eee;
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cmp-v3-btn-edit {
    display: inline-block;
    background: #333;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    padding: 8px 15px;
    border-radius: 4px;
    text-align: center;
    text-transform: uppercase;
}

.cmp-v3-btn-edit:hover {
    background: #555;
    color: #fff;
}

.cmp-v3-top-sessions {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
}

.cmp-v3-top-label {
    font-size: 11px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cmp-v3-top-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 11px;
    color: #666;
}

.cmp-v3-top-list li {
    margin-bottom: 5px;
    padding-left: 10px;
    position: relative;
}

.cmp-v3-top-list li::before {
    content: "•";
    color: #a0a0a0;
    position: absolute;
    left: 0;
}


/* 2. MAIN GRID (Left Content + Right Sidebar) */
.cmp-v3-mockup-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* 66% - 33% */
    gap: 30px;
    align-items: start;
}

/* Left Column */
.cmp-v3-left-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Right Column */
.cmp-v3-right-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}


/* Common Card Box */
.cmp-v3-card-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    /* margin-bottom: 30px; -> handled by gap */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.cmp-v3-box-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Little green bar check trick or similar if needed, for now using pipe */
.cmp-v3-box-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 16px;
    background: #a0a0a0;
    /* Lime bar */
    border-radius: 2px;
}

.cmp-v3-box-title.highlight {
    /* Special highlight logic if any? */
}


/* Video Wrapper */
.cmp-v3-video-embed {
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}

.cmp-v3-video-embed iframe,
.cmp-v3-video-embed video {
    width: 100%;
    height: 100%;
    display: block;
}


/* Bio Content */
.cmp-v3-bio-content {
    font-size: 13px;
    color: #444;
    text-align: justify;
    line-height: 1.6;
}

.cmp-v3-bio-content p {
    margin-bottom: 15px;
}


/* Tables (Languages / Availability) */
.cmp-v3-table-wrap {
    overflow-x: auto;
}

.cmp-v3-nav-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.cmp-v3-nav-table th {
    text-align: left;
    color: #000000;
    font-weight: 700;
    padding: 8px 0;
    border-bottom: 2px solid #f0f0f0;
}

.cmp-v3-nav-table td {
    padding: 8px 0;
    border-bottom: 1px solid #f9f9f9;
    color: #555;
    vertical-align: top;
}

.cmp-v3-nav-table tr:last-child td {
    border-bottom: none;
}


/* Certifications */
.cmp-v3-cert-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cmp-v3-cert-gallery img {
    height: 60px;
    width: auto;
    border: 1px solid #eee;
    padding: 2px;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}

.cmp-v3-cert-gallery img:hover {
    transform: scale(1.5);
    z-index: 10;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


/* Social Buttons */
.cmp-v3-btn-linkedin-block {
    display: block;
    background: #0077b5;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.2s;
}

.cmp-v3-btn-linkedin-block:hover {
    background: #005582;
    color: #fff;
}


/* 4. FOOTER SESSIONS */
.cmp-v3-footer-sessions {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    /* margin-bottom: 30px; -> handled by gap */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.cmp-v3-sessions-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.cmp-v3-sessions-table th {
    background: #f9f9f9;
    padding: 12px;
    text-align: left;
    font-weight: 700;
    color: #555;
}

.cmp-v3-sessions-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    color: #333;
}

.cmp-v3-sessions-table tr:last-child td {
    border-bottom: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .cmp-v3-header-cols {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .cmp-v3-header-info {
        align-items: center;
    }

    .cmp-v3-header-meta {
        justify-content: center;
    }

    .cmp-v3-header-actions {
        border-left: none;
        border-top: 1px solid #eee;
        padding-left: 0;
        padding-top: 20px;
        width: 100%;
    }

    .cmp-v3-mockup-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Perfil Individual V3 (Premium Redesign) ---- */
.cmp-v3-profile-wrapper {
    background: #fdfdfd;
    min-height: 600px;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* 1. Hero Header */
.cmp-v3-hero {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 40px 0;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* --- Profile View V3 (Detailed) --- */
.cmp-v3-profile-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-top: 30px;
}

.cmp-v3-profile-main {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
}

.cmp-v3-section {
    margin-bottom: 40px;
}

.cmp-v3-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.cmp-v3-text-content {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

/* Details Grid */
.cmp-v3-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cmp-v3-detail-item {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
}

.cmp-v3-detail-item.full-width {
    grid-column: 1 / -1;
}

.cmp-v3-detail-item strong {
    display: block;
    color: #000000;
    margin-bottom: 5px;
}

/* Tags */
.cmp-v3-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cmp-v3-tag,
.cmp-v3-tag-blue {
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.cmp-v3-tag {
    background: #eee;
    color: #555;
}

.cmp-v3-tag-blue {
    background: #f0f0f0;
    color: #000000;
}

/* Gallery */
.cmp-v3-gallery {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Sidebar */
.cmp-v3-contact-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    position: sticky;
    top: 20px;
}

.cmp-v3-price-display {
    margin-bottom: 20px;
}

.cmp-v3-price-display .amount {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #333;
}

.cmp-v3-btn-block {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
}

.cmp-v3-btn-block.primary {
    background: #000000;
    color: #fff;
}

.cmp-v3-btn-block.outline {
    border: 2px solid #000000;
    color: #000000;
}

.cmp-v3-social-box {
    margin-top: 20px;
}

.cmp-v3-social-link {
    display: block;
    padding: 10px;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.cmp-v3-social-link:hover {
    color: #000000;
}

@media (max-width: 768px) {
    .cmp-v3-profile-grid {
        grid-template-columns: 1fr;
    }

    .cmp-v3-details-grid {
        grid-template-columns: 1fr;
    }
}

/* Avatar Hero */
.cmp-v3-hero-avatar {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Info Hero */
.cmp-v3-hero-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cmp-v3-hero-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.cmp-v3-hero-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 5px 0;
    line-height: 1.1;
}

.cmp-v3-hero-title {
    font-size: 1.1rem;
    color: #000000;
    /* Teal */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 15px 0;
}

.cmp-v3-hero-meta {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
    color: #666;
}

.cmp-v3-hero-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cmp-v3-hero-meta .dashicons {
    color: #a0a0a0;
    /* Lime */
}

/* Actions Hero */
.cmp-v3-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

/* 2. Main Layout (Grid) */
.cmp-v3-profile-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* 66% - 33% */
    gap: 40px;
}

/* Left Column Content */
.cmp-v3-section {
    margin-bottom: 50px;
}

.cmp-v3-section-title {
    font-size: 1.4rem;
    color: #222;
    font-weight: 700;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid #a0a0a0;
    /* Lime Accent */
    display: flex;
    align-items: center;
}

/* Video: Cinema Style */
.cmp-v3-video-cinema {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Bio Text */
.cmp-v3-bio-text {
    font-size: 1.05rem;
    color: #444;
    text-align: justify;
    line-height: 1.8;
}

.cmp-v3-bio-text p {
    margin-bottom: 1.5em;
}

/* Certs Grid */
.cmp-v3-certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
}

.cmp-v3-cert-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.cmp-v3-cert-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Right Column Sidebar */
.cmp-v3-sidebar-stack {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.cmp-v3-card-floating {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
}

.cmp-v3-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* Language Table Clean */
.cmp-v3-table-clean {
    width: 100%;
    border-collapse: collapse;
}

.cmp-v3-table-clean td {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.95rem;
}

.cmp-v3-table-clean tr:last-child td {
    border-bottom: none;
}

.cmp-v3-table-clean strong {
    color: #222;
}

.cmp-v3-table-clean span {
    color: #777;
    float: right;
}

/* Detail Rows */
.cmp-v3-detail-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #555;
}

.cmp-v3-detail-row .dashicons {
    color: #000000;
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Buttons */
.cmp-v3-btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
    cursor: pointer;
}

.cmp-v3-btn-primary {
    background: #333;
    color: #fff;
    border: none;
}

.cmp-v3-btn-primary:hover {
    background: #000;
    color: #fff;
}

.cmp-v3-btn-subtle {
    background: #fff;
    color: #000000;
    border: 1px solid #000000;
}

.cmp-v3-btn-subtle:hover {
    background: #f0f0f0;
}

.cmp-v3-btn-linkedin-full {
    width: 100%;
    background: #0077b5;
    color: #fff;
    border: none;
    margin-top: 10px;
}

.cmp-v3-btn-linkedin-full:hover {
    background: #005582;
    color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .cmp-v3-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .cmp-v3-hero-info {
        align-items: center;
    }

    .cmp-v3-hero-actions {
        align-items: center;
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }

    .cmp-v3-profile-layout {
        grid-template-columns: 1fr;
    }

    .cmp-v3-hero-meta {
        flex-direction: column;
        gap: 8px;
    }
}

/* Badges */
.cmp-v3-badge {
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    display: inline-block;
    letter-spacing: 0.5px;
}

.cmp-v3-badge-coach {
    background-color: #a0a0a0;
}

.cmp-v3-badge-asesor {
    background-color: #000000;
}

/* Video Wrapper (16:9 Responsive) */
.cmp-v3-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.cmp-v3-video-wrapper iframe,
.cmp-v3-video-wrapper object,
.cmp-v3-video-wrapper embed,
.cmp-v3-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Profile Action Buttons - kill theme arrows */
.cmp-v3-btn-action::before,
.cmp-v3-btn-action::after {
    content: none !important;
    display: none !important;
}

/* Table overrides for Fluent Forms HTML */
.cmp-v3-languages-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.cmp-v3-languages-table-wrap th,
.cmp-v3-languages-table-wrap td {
    padding: 6px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.cmp-v3-languages-table-wrap th {
    color: #000000;
    font-weight: 600;
}

/* Profile Preloader */
/* Profile Preloader */
#cmp-v3-profile-preloader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Solid overlay to hide layout shifts completely */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    background: #ffffff;
    /* Solid White as requested */
}

.cmp-v3-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid #000000;
    border-radius: 50%;
    animation: cmp-spin 1s linear infinite;
}

@keyframes cmp-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Fix Backgrounds */
.cmp-v3-profile-wrapper,
.cmp-v3-mockup-wrapper {
    background: #fff !important;
    /* Force White */
}

/* Certificate Modal */
#cmp-v3-cert-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.cmp-v3-modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    animation: cmp-zoom 0.3s;
}

@keyframes cmp-zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.cmp-v3-close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.cmp-v3-close-modal:hover,
.cmp-v3-close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


/* ============================================================
   PROFILE VIEW V3 - Estilos limpios (prefijo cmpv3-)
   ============================================================ */

/* Reset base del wrapper */
.cmp-v3-profile-wrapper {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #f4f7f8;
    min-height: 500px;
}
.cmp-v3-profile-wrapper * {
    box-sizing: border-box;
}
.cmp-v3-profile-wrapper img {
    max-width: 100%;
    height: auto;
}

/* --- HERO --- */
.cmpv3-hero {
    background: #fff;
    border-bottom: 3px solid #a0a0a0;
    padding: 40px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.cmpv3-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 160px 1fr auto;
    gap: 30px;
    align-items: center;
}
@media (max-width: 768px) {
    .cmpv3-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    .cmpv3-hero-actions {
        align-items: center !important;
        width: 100%;
    }
}

/* Avatar */
.cmpv3-hero-avatar-wrap {
    flex-shrink: 0;
    background: transparent;
}
.cmpv3-hero-avatar {
    width: 150px;
    height: 150px;
    border-radius: 4px;
    object-fit: cover;
    border: 3px solid #000000;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    display: block;
    background: transparent;
}
.cmpv3-avatar-placeholder {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cmpv3-avatar-placeholder .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: #000000;
}

/* Hero Info */
.cmpv3-hero-badges { margin-bottom: 10px; }
.cmpv3-hero-name {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    line-height: 1.2;
}
.cmpv3-hero-title {
    font-size: 1rem;
    color: #000000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    border-bottom: 2px solid #a0a0a0;
    display: inline-block;
    padding-bottom: 3px;
}
.cmpv3-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #666;
    margin-bottom: 14px;
}
.cmpv3-hero-meta .dashicons {
    color: #a0a0a0;
    font-size: 15px;
    width: 15px;
    height: 15px;
    vertical-align: middle;
}
.cmpv3-hero-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

/* Hero Actions */
.cmpv3-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    min-width: 160px;
}
/* Botones del hero: mismo tamaño y padding reducido */
.cmpv3-hero-actions .cmp-v3-btn-action {
    width: 100%;
    padding: 7px 14px;
    font-size: 0.82rem;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
}
.cmpv3-hero-actions .cmpv3-btn-linkedin {
    width: 100%;
    padding: 7px 14px;
    font-size: 0.82rem;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}
.cmpv3-price-badge {
    background: #f5f5f5;
    border: 1px solid #a0a0a0;
    border-radius: 8px;
    padding: 10px 16px;
    text-align: center;
    width: 100%;
}
.cmpv3-price-badge small {
    display: block;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
}
.cmpv3-price-badge strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: #333;
    line-height: 1.1;
}
.cmpv3-btn-linkedin {
    background: #0077b5 !important;
    border-color: #0077b5 !important;
    color: #fff !important;
}
.cmpv3-btn-linkedin:hover {
    background: #005582 !important;
    border-color: #005582 !important;
    color: #fff !important;
}

/* --- CUERPO --- */
.cmpv3-body {
    padding: 40px 20px 60px;
    background: #f4f7f8;
}
.cmpv3-body-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
}
@media (max-width: 900px) {
    .cmpv3-body-inner {
        grid-template-columns: 1fr;
    }
}

/* Columna principal */
.cmpv3-main-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Sección */
.cmpv3-section {
    background: #fff;
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #e0e0e0;
}
.cmpv3-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}
.cmpv3-section-title .dashicons {
    color: #000000;
    font-size: 18px;
    width: 18px;
    height: 18px;
}
.cmpv3-section-bar {
    display: inline-block;
    width: 4px;
    height: 18px;
    background: #a0a0a0;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Bio */
.cmpv3-bio-text {
    font-size: 13px;
    color: #444;
    line-height: 1.8;
    text-align: justify;
}
.cmpv3-bio-text p {
    margin-top: 0;
    margin-bottom: 1.4em;
    font-size: 13px;
    text-align: justify;
    line-height: 1.8;
}
.cmpv3-bio-text p:first-child { margin-top: 0; }
.cmpv3-bio-text p:last-child { margin-bottom: 0; }

/* Video */
.cmpv3-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}
.cmpv3-video-wrap iframe,
.cmpv3-video-wrap video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* Certificaciones */
.cmpv3-certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
}
.cmpv3-cert-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cmpv3-cert-thumb:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* Sesiones */
.cmpv3-sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.cmpv3-session-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 18px;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cmpv3-session-title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
}
.cmpv3-session-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
}
.cmpv3-session-price {
    color: #000000;
    font-weight: 700;
    font-size: 14px;
}
.cmpv3-session-date {
    color: #888;
    display: flex;
    align-items: center;
    gap: 4px;
}
.cmpv3-session-date .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}
.cmpv3-session-btn {
    display: inline-block;
    margin-top: auto;
    background: rgba(0,0,0,0.06);
    border: 1px solid #000000;
    color: #000000;
    padding: 6px 14px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
}
.cmpv3-session-btn:hover {
    background: #000000;
    color: #fff;
}
.cmpv3-empty-msg {
    color: #888;
    font-size: 14px;
    font-style: italic;
    text-align: center;
    padding: 20px 0;
}

/* --- SIDEBAR --- */
.cmpv3-side-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
}
.cmpv3-side-card {
    background: #fff;
    border-radius: 10px;
    padding: 18px 22px 22px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #e0e0e0;
}
.cmpv3-side-card-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}
.cmpv3-side-card-title .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Precio en sidebar */
.cmpv3-contact-price {
    text-align: center;
    margin-bottom: 16px;
    padding: 14px;
    background: #f5f5f5;
    border-radius: 8px;
    border: 1px solid #d4edda;
}
.cmpv3-price-from {
    display: block;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
}
.cmpv3-price-amount {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
}
.cmpv3-price-currency {
    font-size: 11px;
    color: #888;
}

/* Botones del sidebar */
.cmpv3-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 16px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-sizing: border-box;
    min-height: 40px;
}
.cmpv3-contact-btn:last-child { margin-bottom: 0; }
.cmpv3-contact-btn.primary {
    background: #000000;
    color: #fff;
    border: none;
}
.cmpv3-contact-btn.primary:hover {
    background: #62665c;
    color: #fff;
}
.cmpv3-contact-btn.linkedin {
    background: #0077b5;
    color: #fff;
    border: none;
}
.cmpv3-contact-btn.linkedin:hover {
    background: #005d8f;
    color: #fff;
}
.cmpv3-contact-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Tabla de detalles sidebar */
.cmpv3-detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.cmpv3-detail-table td {
    padding: 8px 4px;
    border-bottom: 1px solid #f5f5f5;
    color: #555;
    vertical-align: top;
}
.cmpv3-detail-table tr:last-child td { border-bottom: none; }
.cmpv3-detail-table strong { color: #222; }
.cmpv3-td-right {
    text-align: right;
    color: #777;
}

/* Variante con padding interno y íconos para Detalles del perfil */
.cmpv3-detail-table-padded td {
    padding: 9px 8px;
}
/* Primera celda: separación del borde izquierdo */
.cmpv3-detail-table-padded .cmpv3-dt-label {
    padding-left: 0;
}
/* Última fila: padding inferior para no cortarse */
.cmpv3-detail-table-padded tr:last-child td {
    padding-bottom: 4px;
    border-bottom: none;
}
.cmpv3-dt-label {
    color: #666;
    font-size: 12px;
    white-space: nowrap;
    width: 45%;
}
.cmpv3-dt-label .dashicons {
    color: #000000;
    font-size: 14px;
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 4px;
}
.cmpv3-dt-value {
    color: #222;
    font-weight: 600;
    font-size: 13px;
    text-align: right;
}

/* Disponibilidad */
.cmpv3-avail-label {
    font-size: 11px;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.cmpv3-avail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

/* Modal de certificados */
#cmpv3-cert-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.88);
    align-items: center;
    justify-content: center;
}
#cmpv3-modal-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    animation: cmpV3ZoomIn 0.25s ease;
}
@keyframes cmpV3ZoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}
.cmpv3-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
    font-weight: 300;
}
.cmpv3-modal-close:hover { opacity: 1; }

/* Kill flechas del tema en botones del perfil */
.cmpv3-contact-btn::before,
.cmpv3-contact-btn::after,
.cmpv3-session-btn::before,
.cmpv3-session-btn::after,
.cmpv3-btn-linkedin::before,
.cmpv3-btn-linkedin::after {
    content: none !important;
    display: none !important;
}

/* ---- Foto en Tarjetas del Catálogo ---- */
.cmp-v3-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid #000000;
    display: block;
    flex-shrink: 0;
}

/* Placeholder cuando no hay foto */
.cmp-v3-photo-placeholder {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #000000;
}

.cmp-v3-photo-placeholder .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    line-height: 1;
}

/* ===== TABLA DE IDIOMAS ===== */
.cmpv3-langs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 0;
}

.cmpv3-langs-table thead tr {
    background: #f9f9f9;
    border-bottom: 2px solid #e0e0e0;
}

.cmpv3-langs-table thead th {
    padding: 4px 10px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000000;
    letter-spacing: 0.5px;
}

.cmpv3-langs-table tbody tr {
    border-bottom: 1px solid #f3f3f3;
    transition: background 0.15s;
}

.cmpv3-langs-table tbody tr:last-child {
    border-bottom: none;
}

.cmpv3-langs-table tbody tr:hover {
    background: #fafefe;
}

.cmpv3-langs-table tbody td {
    padding: 4px 10px;
    vertical-align: middle;
}

.cmpv3-lang-name {
    font-weight: 600;
    color: #333;
    font-size: 13px;
}

.cmpv3-lang-badge {
    display: inline-block;
    background: #f0f0f0;
    color: #000000;
    border: 1px solid #d0d0d0;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    white-space: nowrap;
}

.cmpv3-lang-badge-empty {
    background: transparent;
    border-color: transparent;
    color: #bbb;
}

/* ===== DISPONIBILIDAD ===== */
.cmpv3-avail-section {
    margin-bottom: 14px;
}

.cmpv3-avail-section:last-child {
    margin-bottom: 0;
}

.cmpv3-avail-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000000;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid #f0f0f0;
}

.cmpv3-avail-label .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.cmpv3-avail-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cmpv3-avail-chip {
    display: inline-flex;
    align-items: center;
    background: #f5f5f5;
    color: #333;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    white-space: nowrap;
}

.cmpv3-avail-chip-hour {
    background: #fff8e6;
    border-color: #ffe0a0;
    color: #7a5800;
}

/* ===== SESIONES HORIZONTAL LAYOUT ===== */
.cmpv3-sessions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.cmpv3-session-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    transition: box-shadow 0.2s, border-color 0.2s;
    min-height: 120px;
}

.cmpv3-session-row:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #000000;
}

/* Foto de la sesión */
.cmpv3-session-thumb {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #e0e0e0;
}

.cmpv3-session-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cmpv3-session-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    color: #000000;
}

.cmpv3-session-thumb-placeholder .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
}

/* Información de la sesión */
.cmpv3-session-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cmpv3-session-title {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cmpv3-session-details {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.cmpv3-session-date-info,
.cmpv3-session-price-info {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    white-space: nowrap;
}

.cmpv3-session-date-info {
    color: #555;
}

.cmpv3-session-date-info.cmpv3-no-dates {
    color: #999;
    font-style: italic;
}

.cmpv3-session-date-info .dashicons {
    color: #000000;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.cmpv3-session-date-info.cmpv3-no-dates .dashicons {
    color: #999;
}

.cmpv3-session-price-info {
    color: #000000;
    font-weight: 700;
}

.cmpv3-session-price-info .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Botón de acción */
.cmpv3-session-action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.cmpv3-session-btn {
    display: inline-block;
    background: rgba(0,0,0,0.06);
    border: 1px solid #000000;
    color: #000000;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    line-height: 1.2;
}

.cmpv3-session-btn:hover {
    background: #000000;
    color: #fff;
}

/* Paginación de sesiones */
.cmpv3-sessions-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.cmpv3-page-btn {
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #222;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.cmpv3-page-btn:hover:not(:disabled) {
    background: #f5f5f5;
    border-color: #000000;
}

.cmpv3-page-btn.active {
    background: #000000;
    color: #fff;
    border-color: #000000;
}

.cmpv3-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .cmpv3-session-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .cmpv3-session-thumb {
        width: 100%;
        height: 180px;
    }

    .cmpv3-session-action {
        width: 100%;
    }

    .cmpv3-session-btn {
        width: 100%;
        text-align: center;
    }

    .cmpv3-session-details {
        flex-direction: column;
        gap: 8px;
    }
}
/* ===== CMP Catalog V3: card meta overrides ===== */
#cmp-v3-grid .cmp-v3-card .cmp-v3-card-stars{
  color: #F5C518 !important;
  font-size: 18px !important; /* subí a 18 para que se note */
  line-height: 1 !important;
  letter-spacing: 1px;
}

/* espacio arriba del bloque meta y abajo para separar del botón */
#cmp-v3-grid .cmp-v3-card .cmp-v3-card-meta{
  margin-top: 2px !important; /* 14px */
  margin-bottom: 12px !important; /* 16px */
}

/* empujar el botón hacia abajo y reservar aire */
#cmp-v3-grid .cmp-v3-card a.cmp-v3-btn{
  margin-top: 4px !important; /* espacio real arriba 12px */
  margin-bottom: 0 !important;
  align-self: center;
}
}
/* ===== RESEÑAS EN PERFIL ===== */
.cmpv3-resenas-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cmpv3-resena-item {
    background: #fff;
    border: 1px solid #e2e6ea;
    border-radius: 10px;
    padding: 18px 20px;
}

.cmpv3-resena-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.cmpv3-resena-autor {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cmpv3-resena-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.cmpv3-resena-nombre {
    font-size: 14px;
    font-weight: 600;
    color: #111;
}

.cmpv3-resena-sesion {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.cmpv3-resena-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.cmpv3-resena-stars {
    font-size: 16px;
    line-height: 1;
}

.cmpv3-star-full  { color: #f59e0b; }
.cmpv3-star-empty { color: #d1d5db; }

.cmpv3-resena-fecha {
    font-size: 11px;
    color: #9ca3af;
}

.cmpv3-resena-recomienda {
    font-size: 11px;
    font-weight: 600;
    color: #16a34a;
}

.cmpv3-resena-recomienda.cmpv3-no-recomienda {
    color: #dc2626;
}

.cmpv3-resena-comment {
    font-size: 13px;
    color: #374151;
    line-height: 1.6;
    padding-top: 10px;
    border-top: 1px solid #f3f4f6;
    font-style: italic;
}

@media (max-width: 600px) {
    .cmpv3-resena-header {
        flex-direction: column;
    }
    .cmpv3-resena-meta {
        align-items: flex-start;
    }
}
