/* VC Add Logo - Estilos botón + tooltip */

.vc-addlogo-wrapper {
    position: relative;
    display: inline-block;
    margin-top: 10px;
    width: 100%;
}

/* Botón principal */
.vc-addlogo-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid #333;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.vc-addlogo-btn:hover:not(.vc-addlogo-disabled) {
    background: #333;
    color: #fff;
}

.vc-addlogo-btn i {
    margin-right: 6px;
}

/* Estado: deshabilitado (ya en carrito) */
.vc-addlogo-btn.vc-addlogo-disabled {
    background: #e8f5e9;
    border-color: #4caf50;
    color: #2e7d32;
    cursor: default;
    opacity: 0.85;
}

/* Estado: cargando */
.vc-addlogo-btn.vc-addlogo-loading {
    opacity: 0.6;
    cursor: wait;
}

.vc-addlogo-btn.vc-addlogo-loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    border: 2px solid #999;
    border-top-color: transparent;
    border-radius: 50%;
    animation: vc-addlogo-spin 0.6s linear infinite;
    vertical-align: middle;
}

@keyframes vc-addlogo-spin {
    to { transform: rotate(360deg); }
}

/* Flash de confirmación */
.vc-addlogo-flash .vc-addlogo-btn {
    animation: vc-addlogo-pulse 0.4s ease;
}

@keyframes vc-addlogo-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

/* Tooltip */
.vc-addlogo-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 100;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.vc-addlogo-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
}

.vc-addlogo-wrapper:hover .vc-addlogo-tooltip {
    visibility: visible;
    opacity: 1;
}

/* ───────── WISHLIST CORAZÓN ───────── */

.vc-wishlist-heart {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    padding: 0 !important;
    border: 1px solid #3d6b67 !important;
    background: #fff !important;
    color: #c0392b !important;
    font-size: 0 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    vertical-align: middle;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vc-wishlist-heart:hover {
    background: #3d6b67 !important;
    border-color: #3d6b67 !important;
    color: #fff !important;
}

.vc-wishlist-heart .vc-heart-icon {
    display: block;
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.vc-wishlist-heart:hover .vc-heart-icon {
    transform: scale(1.15);
    transition: transform 0.2s ease;
}
