


.instinctor-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.instinctor-wishlist-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.instinctor-wishlist-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #6b7280;
    stroke-width: 2;
    transition: all 0.2s ease-in-out;
}

.instinctor-wishlist-btn.in-wishlist svg,
.instinctor-wishlist-btn:hover svg {
    fill: #ef4444;
    stroke: #ef4444;
}

.instinctor-wishlist-btn.loading svg {
    animation: instinctor-pulse 0.6s ease-in-out infinite;
}

@keyframes instinctor-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.8); opacity: 0.5; }
}


.instinctor-wishlist-btn-full {
    position: static;
    width: auto;
    height: auto;
    border-radius: 6px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f3f4f6;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
}

.instinctor-wishlist-btn-full:hover {
    background: #e5e7eb;
}

.instinctor-wishlist-btn-full.in-wishlist {
    background: #fef2f2;
    color: #dc2626;
}


.instinctor-product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5;
}

.instinctor-product-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    color: #fff;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease-in-out;
}

.instinctor-product-badge.visible {
    opacity: 1;
    transform: translateX(0);
}

.instinctor-badge-new { background: #22863a; }
.instinctor-badge-sale { background: #dc2626; }
.instinctor-badge-low-stock { background: #f59e0b; }
.instinctor-badge-bestseller { background: #7c3aed; }
.instinctor-badge-preorder { background: #3b82f6; }
.instinctor-badge-custom { background: #6b7280; }


.instinctor-notify-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.instinctor-notify-btn:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.instinctor-notify-btn svg {
    width: 18px;
    height: 18px;
}

.instinctor-bis-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
}

.instinctor-bis-modal.active {
    display: flex;
}

.instinctor-bis-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.instinctor-bis-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: instinctor-modal-in 0.3s ease-in-out;
}

@keyframes instinctor-modal-in {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.instinctor-bis-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #6b7280;
    transition: all 0.2s ease-in-out;
}

.instinctor-bis-close:hover {
    background: #e5e7eb;
    color: #374151;
}

.instinctor-bis-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #111827;
}

.instinctor-bis-description {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 20px;
}

.instinctor-bis-form input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 12px;
}

.instinctor-bis-form input[type="email"]:focus {
    outline: none;
    border-color: #22863a;
    box-shadow: 0 0 0 3px rgba(34, 134, 58, 0.1);
}

.instinctor-bis-form button[type="submit"] {
    width: 100%;
    padding: 12px 20px;
    background: #22863a;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.instinctor-bis-form button[type="submit"]:hover {
    background: #1a6b2e;
}

.instinctor-bis-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.instinctor-bis-success {
    text-align: center;
    padding: 20px;
    color: #22863a;
    font-size: 15px;
}

.instinctor-bis-success .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    display: block;
    margin: 0 auto 12px;
}


.instinctor-buy-now-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #1d1d1f;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.instinctor-buy-now-btn:hover {
    background: #000;
}

.instinctor-buy-now-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.instinctor-buy-now-btn svg {
    width: 18px;
    height: 18px;
}


.instinctor-preorder-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.instinctor-preorder-btn:hover {
    background: #2563eb;
}

.instinctor-preorder-date {
    font-size: 12px;
    color: #6b7280;
    margin-top: 8px;
}


.instinctor-volume-discount {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 12px 0;
}

.instinctor-volume-tiers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.instinctor-volume-tier {
    display: inline-block;
    padding: 4px 10px;
    background: #dcfce7;
    border-radius: 4px;
    font-size: 12px;
    color: #166534;
}

.instinctor-volume-tier.active {
    background: #22863a;
    color: #fff;
}

.instinctor-current-discount {
    font-weight: 600;
    color: #22863a;
    font-size: 14px;
}

.instinctor-next-tier {
    font-size: 13px;
    color: #6b7280;
}


.instinctor-qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    overflow: hidden;
}

.instinctor-qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #f9fafb;
    cursor: pointer;
    font-size: 18px;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease-in-out;
}

.instinctor-qty-btn:hover {
    background: #e5e7eb;
}

.instinctor-qty-input {
    width: 50px;
    height: 36px;
    border: none;
    border-left: 1px solid #d1d5db;
    border-right: 1px solid #d1d5db;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    -moz-appearance: textfield;
}

.instinctor-qty-input::-webkit-outer-spin-button,
.instinctor-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.instinctor-membership-gate {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.instinctor-membership-gate-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: #94a3b8;
}

.instinctor-membership-gate h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px;
}

.instinctor-membership-gate p {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 20px;
}

.instinctor-membership-cta {
    display: inline-block;
    padding: 12px 24px;
    background: #22863a;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease-in-out;
}

.instinctor-membership-cta:hover {
    background: #1a6b2e;
    color: #fff;
}


.instinctor-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 12px 24px;
    background: #1f2937;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 100001;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.instinctor-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.instinctor-toast-success {
    background: #22863a;
}

.instinctor-toast-error {
    background: #dc2626;
}


.instinctor-bundle-builder {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
}

.instinctor-bundle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.instinctor-bundle-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.instinctor-bundle-savings {
    background: #dcfce7;
    color: #166534;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.instinctor-bundle-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.instinctor-bundle-product {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.instinctor-bundle-product:hover {
    border-color: #22863a;
}

.instinctor-bundle-product.selected {
    border-color: #22863a;
    background: #f0fdf4;
}

.instinctor-bundle-product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
}

.instinctor-bundle-product-name {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 4px;
}

.instinctor-bundle-product-price {
    font-size: 14px;
    font-weight: 600;
    color: #22863a;
}

.instinctor-bundle-summary {
    background: #f9fafb;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.instinctor-bundle-total {
    font-size: 14px;
    color: #6b7280;
}

.instinctor-bundle-total strong {
    font-size: 20px;
    color: #111827;
    display: block;
    margin-top: 4px;
}

.instinctor-bundle-add-btn {
    padding: 12px 24px;
    background: #22863a;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.instinctor-bundle-add-btn:hover {
    background: #1a6b2e;
}

.instinctor-bundle-add-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


@media (max-width: 640px) {
    .instinctor-wishlist-btn {
        width: 32px;
        height: 32px;
    }
    
    .instinctor-wishlist-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .instinctor-bis-content {
        padding: 24px;
    }
    
    .instinctor-bundle-products {
        grid-template-columns: repeat(2, 1fr);
    }
}
