/* ==============================================
   VACUUM COMPARATOR SHORTCODES - ESTILOS V2.0
   ============================================== */

.vc-shortcode-wrapper {
    margin: 40px 0;
    padding: 0;
}

.vc-header {
    margin-bottom: 30px;
    text-align: center;
}

.vc-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.vc-icon {
    font-size: 2.5rem;
}

.vc-trending-icon {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.vc-subtitle {
    font-size: 1rem;
    color: #718096;
    margin: 0;
}

/* GRID LAYOUTS */
.vc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.vc-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.vc-grid-small {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

/* MINIATURAS DE ROBOTS */
.vc-robot-thumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px;
    background: #f7fafc;
    border-radius: 8px;
    min-height: 80px;
}

.vc-robot-thumbs img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 6px;
    background: white;
    padding: 4px;
}

.vc-robot-thumbs-small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
}

.vc-robot-thumbs-small img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
    background: #f7fafc;
    padding: 2px;
}

.vc-vs-small {
    font-size: 0.625rem;
    font-weight: 700;
    color: #667eea;
    padding: 0 4px;
}

.vc-list-thumbs {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.vc-list-thumbs img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    background: #f7fafc;
    padding: 2px;
}

.vc-timeline-thumbs {
    display: flex;
    gap: 4px;
    margin-top: 6px;
}

.vc-timeline-thumbs img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 4px;
    background: #f7fafc;
    padding: 2px;
}

.vc-table-thumbs {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.vc-table-thumbs img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 4px;
    background: #f7fafc;
    padding: 2px;
}

.vc-table-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

/* CARDS */
.vc-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.vc-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.vc-card-rank {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 2;
}

.vc-card-body {
    position: relative;
    z-index: 1;
}

.vc-comparison-brands {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.vc-brand-mini {
    background: #f7fafc;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4a5568;
}

.vc-brand-mini img {
    height: 16px;
    width: auto;
    object-fit: contain;
}

.vc-comparison-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    line-height: 1.4;
}

.vc-comparison-title-small {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    line-height: 1.4;
}

.vc-card-arrow {
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 1.5rem;
    color: #cbd5e0;
    transition: all 0.3s ease;
}

.vc-card:hover .vc-card-arrow {
    color: #667eea;
    transform: translateX(4px);
}

/* LIST ITEMS */
.vc-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vc-list-item {
    background: white;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.vc-list-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateX(4px);
}

.vc-list-rank {
    background: #f7fafc;
    color: #4a5568;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.vc-trending-rank {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: white;
}

.vc-list-content {
    flex: 1;
    min-width: 0;
}

.vc-list-content h3,
.vc-list-content h4 {
    font-size: 0.938rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    line-height: 1.4;
}

.vc-list-arrow {
    color: #cbd5e0;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.vc-list-item:hover .vc-list-arrow {
    color: #667eea;
    transform: translateX(4px);
}

/* BRAND HEADER */
.vc-header-brand {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    justify-content: flex-start;
}

.vc-header-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* BRAND BATTLE */
.vc-battle-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 12px;
    flex-wrap: wrap;
}

.vc-battle-brand img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.vc-battle-brand h3 {
    font-size: 1.5rem;
    margin: 0;
    color: #2d3748;
}

.vc-battle-vs {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    flex-shrink: 0;
}

.vc-battle-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 30px 0;
}

/* MATRIX */
.vc-matrix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.vc-matrix-brand {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vc-matrix-brand:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.vc-matrix-brand.vc-selected {
    border-color: #667eea;
    background: linear-gradient(135deg, #f7fafc 0%, #e6f3ff 100%);
}

.vc-matrix-brand img {
    height: 40px;
    width: auto;
    object-fit: contain;
    margin-bottom: 8px;
}

.vc-matrix-brand-text {
    font-weight: 600;
    color: #2d3748;
}

.vc-matrix-count {
    display: block;
    font-size: 0.75rem;
    color: #718096;
    margin-top: 4px;
}

/* TIMELINE */
.vc-timeline {
    position: relative;
    padding-left: 30px;
}

.vc-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #667eea 0%, transparent 100%);
}

.vc-timeline-item {
    position: relative;
    padding: 16px 0 16px 20px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.vc-timeline-item:hover {
    padding-left: 25px;
}

.vc-timeline-dot {
    position: absolute;
    left: 0;
    top: 20px;
    width: 16px;
    height: 16px;
    background: white;
    border: 3px solid #667eea;
    border-radius: 50%;
}

.vc-timeline-content h3 {
    font-size: 0.938rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

/* TAG CLOUD */
.vc-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 20px;
}

.vc-cloud-tag {
    display: inline-block;
    padding: 8px 16px;
    background: white;
    border-radius: 20px;
    text-decoration: none;
    color: #2d3748;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    font-weight: 500;
}

.vc-cloud-tag:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* TABLE */
.vc-table-responsive {
    overflow-x: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

.vc-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.vc-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.vc-table td {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.vc-table tbody tr:hover {
    background: #f7fafc;
}

.vc-table-rank {
    font-weight: 700;
    color: #667eea;
}

.vc-table-brands {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.vc-table-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.vc-table-btn {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.vc-table-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* WIDGET */
.vc-widget {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.vc-widget-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.vc-widget-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vc-widget-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    color: #2d3748;
    transition: all 0.3s ease;
}

.vc-widget-item:hover {
    background: #f7fafc;
}

.vc-widget-text {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vc-widget-arrow {
    color: #cbd5e0;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.vc-widget-item:hover .vc-widget-arrow {
    color: #667eea;
    transform: translateX(4px);
}

/* SHOWCASE */
.vc-showcase-hero {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    margin-bottom: 30px;
}

.vc-showcase-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.vc-showcase-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.vc-showcase-section {
    margin-bottom: 40px;
}

.vc-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.vc-card-model {
    text-align: center;
}

.vc-model-thumb {
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
}

.vc-model-thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.vc-card-model h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

/* BRANDS LOGOS */
.vc-brands-logos {
    padding: 30px 0;
}

.vc-brands-title {
    text-align: center;
    font-size: 0.875rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.vc-brands-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.vc-brands-carousel .vc-brands-container {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 10px 0;
}

.vc-brand-logo-item {
    flex-shrink: 0;
    padding: 15px 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.vc-brand-logo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.vc-brand-logo-item img {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: block;
}

.vc-brand-text {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.938rem;
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    .vc-title {
        font-size: 1.5rem;
        gap: 8px;
    }

    .vc-icon {
        font-size: 1.75rem;
    }

    .vc-subtitle {
        font-size: 0.875rem;
    }

    .vc-grid,
    .vc-grid-compact {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .vc-grid-small {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .vc-card {
        padding: 16px;
    }

    .vc-card-rank {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
        top: 10px;
        right: 10px;
    }

    .vc-robot-thumbs {
        padding: 8px;
        min-height: 60px;
    }

    .vc-robot-thumbs img {
        width: 50px;
        height: 50px;
    }

    .vc-robot-thumbs-small img {
        width: 35px;
        height: 35px;
    }

    .vc-list-item {
        padding: 12px;
        gap: 8px;
    }

    .vc-list-rank {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .vc-list-thumbs img {
        width: 35px;
        height: 35px;
    }

    .vc-list-content h3 {
        font-size: 0.875rem;
    }

    .vc-list-arrow {
        font-size: 1.25rem;
    }

    .vc-comparison-title {
        font-size: 0.875rem;
    }

    .vc-battle-header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .vc-battle-vs {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .vc-battle-brand img {
        height: 40px;
    }

    .vc-matrix-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 12px;
    }

    .vc-matrix-brand {
        padding: 12px;
    }

    .vc-matrix-brand img {
        height: 30px;
    }

    .vc-header-brand {
        flex-direction: column;
        text-align: center;
    }

    .vc-header-logo {
        height: 50px;
    }

    .vc-table {
        font-size: 0.813rem;
    }

    .vc-table th,
    .vc-table td {
        padding: 8px;
    }

    .vc-table-thumbs {
        display: none;
    }

    .vc-showcase-hero {
        padding: 30px 20px;
    }

    .vc-showcase-title {
        font-size: 1.5rem;
    }

    .vc-showcase-logo {
        height: 60px;
    }

    .vc-timeline {
        padding-left: 20px;
    }

    .vc-timeline-thumbs {
        flex-wrap: wrap;
    }

    .vc-brands-container {
        gap: 15px;
    }

    .vc-brand-logo-item {
        padding: 10px 15px;
    }

    .vc-brand-logo-item img {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .vc-shortcode-wrapper {
        margin: 30px 0;
    }

    .vc-title {
        font-size: 1.25rem;
    }

    .vc-grid-small {
        grid-template-columns: 1fr;
    }

    .vc-robot-thumbs img {
        width: 45px;
        height: 45px;
    }

    .vc-battle-title {
        font-size: 1.25rem;
    }

    .vc-comparison-brands {
        justify-content: center;
    }
}
