/* ========================================
   INSIGNIA WISHLIST STYLES - COMPLETO
   ======================================== */

/* Container */
.wish_insignia__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}
/* Breadcrumb */
.wish_insignia__breadcrumb {
    background: #2c2c2c;
    padding: 15px 0;
    margin: 0;
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box; /* ✅ Incluye padding en el ancho total */
}

/* ✅ Si el breadcrumb está dentro de un contenedor con padding, esto lo corrige */
body {
    overflow-x: hidden; /* Oculta scroll horizontal del body */
}

* {
    box-sizing: border-box; /* Asegura que todos los elementos incluyan padding/border en su ancho */
}

.wish_insignia__breadcrumb-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    flex-wrap: wrap; /* ✅ Permite que se envuelva en pantallas pequeñas */
    overflow: hidden; /* ✅ Evita desbordamiento */
}

.wish_insignia__breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap; /* ✅ Evita que los enlaces se rompan */
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px; /* ✅ Limita el ancho de cada enlace */
}

.wish_insignia__breadcrumb a:hover {
    color: #FFC700;
}

.wish_insignia__breadcrumb i {
    font-size: 12px;
    flex-shrink: 0; /* ✅ Evita que el icono se encoja */
}

.wish_insignia__breadcrumb-separator {
    color: #666;
    margin: 0 5px;
    flex-shrink: 0; /* ✅ Evita que el separador se encoja */
}

.wish_insignia__breadcrumb-current {
    color: #FFC700;
    white-space: nowrap; /* ✅ Evita saltos de línea en el título */
    overflow: hidden;
    text-overflow: ellipsis; /* ✅ Agrega "..." si es muy largo */
    max-width: 300px; /* ✅ Limita el ancho del título actual */
}

/* ✅ Responsive para móviles */
@media (max-width: 768px) {
    .wish_insignia__breadcrumb {
        margin: 0;
        width: 100%;
        position: static;
        left: auto;
        right: auto;
        margin-left: 0;
        margin-right: 0;
    }

    .wish_insignia__breadcrumb-inner {
        padding: 0 15px;
        font-size: 12px;
        gap: 8px;
    }

    .wish_insignia__breadcrumb a {
        max-width: 150px;
    }

    .wish_insignia__breadcrumb-current {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .wish_insignia__breadcrumb-inner {
        gap: 5px;
        font-size: 11px;
    }

    .wish_insignia__breadcrumb a {
        max-width: 100px;
    }

    .wish_insignia__breadcrumb-current {
        max-width: 120px;
    }

    .wish_insignia__breadcrumb-separator {
        margin: 0 3px;
    }
}

/* Header Section */
.wish_insignia__header {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 60px;
    padding-bottom: 40px;
    position: relative;
}

.wish_insignia__header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, #FFC700, transparent);
}

.wish_insignia__header h1 {
    font-size: 56px;
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.wish_insignia__header p {
    font-size: 15px;
    color: #999;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Wishlist Collection */
.wish_insignia__collection {
    margin-bottom: 60px;
}

.wish_insignia__collection-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #FFC700;
}

.wish_insignia__collection-title h2 {
    font-size: 32px;
    font-weight: 400;
    color: #2c2c2c;
    letter-spacing: 1px;
}

.wish_insignia__collection-count {
    font-size: 14px;
    color: #888;
    margin-left: 15px;
}

.wish_insignia__collection-actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

/* Product Grid */
.wish_insignia__product-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

/* Product Card - List View */
.wish_insignia__product-card {
    background: white;
    border: 1px solid #e5e0d8;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: row;
    min-height: 180px;
}

.wish_insignia__product-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-color: #FFC700;
}

.wish_insignia__product-image {
    position: relative;
    width: 200px;
    min-width: 200px;
    overflow: hidden;
    background-color: #f8f6f3;
    flex-shrink: 0;
}

.wish_insignia__product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.wish_insignia__product-card:hover .wish_insignia__product-image img {
    transform: scale(1.05);
}

.wish_insignia__remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: white;
    border: 1px solid #e5e0d8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 12px;
}

.wish_insignia__remove-btn:hover {
    background: #d43f3a;
    color: white;
    border-color: #d43f3a;
    transform: rotate(90deg);
}

.wish_insignia__product-info {
    padding: 25px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.wish_insignia__product-category {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FFC700;
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
}

.wish_insignia__product-name {
    font-size: 22px;
    color: #2c2c2c;
    margin-bottom: 10px;
    font-weight: 400;
    line-height: 1.3;
}

.wish_insignia__product-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.wish_insignia__product-name a:hover {
    color: #FFC700;
}

.wish_insignia__product-price {
    font-size: 24px;
    color: #2c2c2c;
    font-weight: 600;
    margin-bottom: 20px;
}

.wish_insignia__product-price .wish_insignia__old-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
    margin-left: 12px;
    font-weight: 400;
}

/* Action Buttons */
.wish_insignia__product-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.wish_insignia__btn {
    padding: 12px 28px;
    text-align: center;
    text-decoration: none;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
}

.wish_insignia__btn--primary {
    background: #2c2c2c;
    color: white;
    border-color: #2c2c2c;
}

.wish_insignia__btn--primary:hover {
    background: #FFC700;
    border-color: #FFC700;
}

.wish_insignia__btn--secondary {
    background: white;
    color: #2c2c2c;
    border-color: #e5e0d8;
}

.wish_insignia__btn--secondary:hover {
    background: #f8f6f3;
    border-color: #FFC700;
    color: #FFC700;
}

.wish_insignia__btn--icon {
    padding: 10px 14px !important;
    font-size: 16px !important;
    min-width: auto !important;
}

.wish_insignia__btn--danger {
    background-color: #ef4444 !important;
    color: white !important;
    border-color: #ef4444 !important;
}

.wish_insignia__btn--danger:hover {
    background-color: #dc2626 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Action Bar */
.wish_insignia__action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    margin-top: 60px;
    position: relative;
}

.wish_insignia__action-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, #e5e0d8, transparent);
}

.wish_insignia__action-link {
    text-decoration: none;
    color: #2c2c2c;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    font-weight: 500;
    padding: 12px 24px;
    border: 1px solid transparent;
}

.wish_insignia__action-link:hover {
    color: #FFC700;
    border-color: #FFC700;
}

.wish_insignia__action-link--danger {
    color: #ef4444 !important;
    border: 1px solid transparent !important;
    background: none !important;
    cursor: pointer !important;
}

.wish_insignia__action-link--danger:hover {
    color: #dc2626 !important;
    border-color: #dc2626 !important;
}

/* Empty State */
.wish_insignia__empty {
    text-align: center;
    padding: 100px 20px;
    background: white;
    border: 2px dashed #e5e0d8;
    border-radius: 4px;
}

.wish_insignia__empty i {
    font-size: 50px;
    color: #FFC700;
    opacity: 0.3;
}

.wish_insignia__btn--primary:hover i {
    color: black;
}

.wish_insignia__empty h3 {
    font-size: 26px;
    color: #2c2c2c;
    margin-bottom: 12px;
    font-weight: 400;
}

.wish_insignia__empty p {
    color: #999;
    margin-bottom: 30px;
    font-size: 14px;
}

/* Empty State for entire wishlist */
.wish_insignia__empty-all {
    text-align: center;
}

.wish_insignia__empty-all i {
    font-size: 50px;
    color: #FFC700;
    opacity: 0.3;
}

.wish_insignia__empty-all h2 {
    font-size: 36px;
    color: #2c2c2c;
    margin-bottom: 15px;
    font-weight: 400;
}

.wish_insignia__empty-all p {
    color: #999;
    margin-bottom: 40px;
    font-size: 16px;
}

.wish_insignia__empty-all .wish_insignia__btn {
    display: inline-flex;
    margin: 0 auto;
}

/* ========================================
   WISHLIST NOTIFICATIONS
   ======================================== */

.wishlist-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.wishlist-notification.show {
    transform: translateX(0);
}

.wishlist-notification.success {
    border-left: 4px solid #10b981;
}

.wishlist-notification.error {
    border-left: 4px solid #ef4444;
}

.wishlist-notification.warning {
    border-left: 4px solid #f59e0b;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.wishlist-notification.success .notification-icon {
    background: #10b981;
    color: white;
}

.wishlist-notification.error .notification-icon {
    background: #ef4444;
    color: white;
}

.wishlist-notification.warning .notification-icon {
    background: #f59e0b;
    color: white;
}

.notification-message {
    color: #1f2937;
    font-size: 14px;
    font-weight: 500;
}

/* ========================================
   WISHLIST MODALS
   ======================================== */

.wishlist-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.wishlist-modal-overlay.show {
    display: flex !important;
    opacity: 1;
}

.wishlist-modal {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease;
    overflow: hidden;
    position: relative;
    z-index: 10001;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.wishlist-modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.wishlist-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wishlist-modal-header h3 i {
    color: black;
}

.wishlist-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s;
}

.wishlist-modal-close:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.wishlist-modal-body {
    padding: 28px;
}

.wishlist-modal-body label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.wishlist-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s;
    box-sizing: border-box;
}

.wishlist-input:focus {
    outline: none;
    border-color: #FFC700;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.wishlist-input-hint {
    margin: 8px 0 0 0;
    font-size: 12px;
    color: #6b7280;
}

.wishlist-modal-warning-text {
    font-size: 16px;
    color: #374151;
    margin: 0 0 12px 0;
    line-height: 1.6;
}

.wishlist-modal-warning-text strong {
    color: #ef4444;
}

.wishlist-modal-info-text {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 16px 0;
}

.wishlist-modal-alert {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #991b1b;
    margin: 0;
}

.wishlist-modal-alert i {
    color: #dc2626;
    font-size: 16px;
}

.wishlist-modal-product-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 16px;
}

.wishlist-modal-product-preview img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
}

.wishlist-modal-footer {
    padding: 20px 28px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: #f9fafb;
}

.wishlist-modal-footer .wish_insignia__btn {
    padding: 12px 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wishlist-modal-footer .wish_insignia__btn--secondary {
    background: white !important;
    color: #374151 !important;
    border: 2px solid #e5e7eb !important;
}

.wishlist-modal-footer .wish_insignia__btn--secondary:hover {
    background: #f3f4f6 !important;
    border-color: #d1d5db !important;
}

.wishlist-modal-footer .wish_insignia__btn--primary {
    background: #000000 !important;
    color: white !important;
    border: none !important;
}

.wishlist-modal-footer .wish_insignia__btn--primary:hover {
    background: #676e00 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.wishlist-modal-footer .wish_insignia__btn--danger {
    background: #dc2626 !important;
    color: white !important;
    border: none !important;
}

.wishlist-modal-footer .wish_insignia__btn--danger:hover {
    background: #b91c1c !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.wishlist-modal-danger .wishlist-modal-header {
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.wishlist-modal-danger .wishlist-modal-header h3 {
    color: #dc2626;
}

/* Animación pulse */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .wish_insignia__header h1 {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .wish_insignia__header p {
        font-size: 13px;
    }

    .wish_insignia__product-card {
        flex-direction: column;
        min-height: auto;
    }

    .wish_insignia__product-image {
        width: 100%;
        min-width: 100%;
        padding-top: 75%;
        position: relative;
    }

    .wish_insignia__product-info {
        padding: 20px;
    }

    .wish_insignia__collection-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .wish_insignia__collection-actions {
        width: 100%;
        justify-content: flex-end;
        margin-left: 0;
    }

    .wish_insignia__action-bar {
        flex-direction: column;
        gap: 15px;
        padding: 30px 0;
    }

    .wish_insignia__action-link {
        width: 100%;
        justify-content: center;
    }

    .wish_insignia__product-actions {
        flex-direction: column;
    }

    .wish_insignia__btn {
        width: 100%;
    }

    .wish_insignia__container {
        padding: 20px 15px;
    }

    .wish_insignia__breadcrumb-inner {
        padding: 0 15px;
    }

    .wishlist-notification {
        right: 10px;
        left: 10px;
        top: 10px;
    }

    .wishlist-modal {
        max-width: 95%;
        margin: 20px;
    }
    
    .wishlist-modal-header {
        padding: 20px;
    }
    
    .wishlist-modal-body {
        padding: 20px;
    }
    
    .wishlist-modal-footer {
        padding: 16px 20px;
        flex-direction: column-reverse;
    }
    
    .wishlist-modal-footer .wish_insignia__btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .wish_insignia__header h1 {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .wish_insignia__header p {
        font-size: 12px;
    }

    .wish_insignia__collection-title h2 {
        font-size: 24px;
    }

    .wish_insignia__product-name {
        font-size: 18px;
    }

    .wish_insignia__product-price {
        font-size: 20px;
    }

    .wish_insignia__product-price .wish_insignia__old-price {
        font-size: 16px;
    }

    .wish_insignia__btn {
        font-size: 11px;
        padding: 10px 20px;
    }

    .wish_insignia__action-link {
        font-size: 11px;
        padding: 10px 15px;
    }

    .wish_insignia__product-info {
        padding: 15px;
    }

    .wish_insignia__remove-btn {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }
}


/* Botón simple agregar a favoritos */
.btn-add-to-wishlist {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: white;
    border: 2px solid #FFC700;
    color: #2c2c2c;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-add-to-wishlist:hover {
    background: #FFC700;
    color: white;
}

.btn-add-to-wishlist.active {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.btn-add-to-wishlist.active i {
    animation: heartBeat 0.5s ease;
}

.btn-add-to-wishlist i {
    font-size: 18px;
}

/* Animación de corazón */
@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1.1); }
}

/* Dropdown para elegir lista *//* ===== FIX: DROPDOWN Z-INDEX ===== */

/* Dropdown container debe tener position relative */
.wishlist-dropdown-container {
    position: relative;
    display: inline-block;
    z-index: 100; /* ✅ Añadido */
}

.btn-add-to-wishlist-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: white;
    border: 2px solid #FFC700;
    color: #2c2c2c;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative; /* ✅ Añadido */
    z-index: 101; /* ✅ Añadido */
}

.btn-add-to-wishlist-dropdown:hover {
    background: #FFC700;
    color: white;
}

/* ✅ FIX PRINCIPAL: z-index alto para el dropdown */
.wishlist-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: white;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    z-index: 9999; /* ✅ Cambiado de 1000 a 9999 */
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s;
}

.wishlist-dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    z-index: 9999; /* ✅ Mantener alto cuando está visible */
}

.wishlist-dropdown-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e0d8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    color: #2c2c2c;
    position: relative;
    z-index: 10000; /* ✅ Header aún más alto */
}

.wishlist-dropdown-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.wishlist-dropdown-close:hover {
    background: #f0f0f0;
    color: #2c2c2c;
}

.wishlist-dropdown-lists {
    max-height: 300px;
    overflow-y: auto;
    position: relative;
    z-index: 9998; /* ✅ Añadido */
}

.wishlist-dropdown-loading {
    padding: 40px 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.wishlist-dropdown-loading i {
    margin-bottom: 10px;
    font-size: 24px;
    display: block;
}

.wishlist-list-item {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 9997; /* ✅ Añadido */
}

.wishlist-list-item:hover {
    background: #f8f6f3;
}

.wishlist-list-item:last-child {
    border-bottom: none;
}

.wishlist-list-name {
    font-size: 14px;
    color: #2c2c2c;
    font-weight: 500;
}

.wishlist-list-count {
    font-size: 12px;
    color: #999;
}

.wishlist-list-item.added {
    background: #f0fdf4;
}

.wishlist-list-item.added .wishlist-list-name {
    color: #10b981;
}

.wishlist-list-item.added::after {
    content: '✓';
    color: #10b981;
    font-weight: bold;
}

.wishlist-dropdown-footer {
    padding: 12px 20px;
    border-top: 1px solid #e5e0d8;
    position: relative;
    z-index: 9998; /* ✅ Añadido */
}

.wishlist-create-new-btn {
    width: 100%;
    padding: 10px;
    background: #2c2c2c;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.wishlist-create-new-btn:hover {
    background: #FFC700;
}

/* ✅ FIX: Asegurar que los productos no tengan z-index muy alto */
.product-card {
    position: relative;
}

.products-grid {
    position: relative;
    z-index: 1; /* ✅ Grid también bajo */
}

/* ✅ FIX: Responsive - Ajustar posición en móviles */
@media (max-width: 768px) {
    .wishlist-dropdown-menu {
        left: auto;
        right: 0;
        max-width: 90vw;
        z-index: 9999; /* ✅ Mantener alto en móvil */
    }
    
    .wishlist-dropdown-container {
        z-index: 200; /* ✅ Aún más alto en móvil */
    }
}
/* ===== CONTENEDOR DE BOTONES WISHLIST ===== */
.wishlist-buttons-container {
    display: block;
    width: 100%;
}

/* Botón simple agregar a favoritos - Actualizado */
.btn-add-to-wishlist {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: white;
    border: 2px solid #FFC700;
    color: #2c2c2c;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    justify-content: center;
}

.btn-add-to-wishlist:hover {
    background: #FFC700;
    color: white;
}

.btn-add-to-wishlist.active {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.btn-add-to-wishlist.active i {
    animation: heartBeat 0.5s ease;
}

.btn-add-to-wishlist i {
    font-size: 18px;
}

/* Dropdown container también full width */
.wishlist-dropdown-container {
    width: 100%;
}

.btn-add-to-wishlist-dropdown {
    width: 100%;
    justify-content: center;
}