/* ==========================================
   QUICK VIEW MODAL STYLES
   ========================================== */

   /* Alpine.js fallback styles */


/* Ensure x-cloak works */
[x-cloak] { 
    display: none !important; 
}

/* Quick View Modal Base */
#quickViewModal {
    z-index: 9999;
}

/* Quick View Modal Animations */
#quickViewModal .bg-opacity-75 {
    transition: opacity 300ms ease-in-out;
    opacity: 0;
}

#quickViewModal .bg-opacity-75.opacity-100 {
    opacity: 1;
}

#quickViewModal .max-w-4xl {
    transition: all 300ms ease-in-out;
    transform: scale(0.95);
    opacity: 0;
}

#quickViewModal .max-w-4xl.scale-100 {
    transform: scale(1);
    opacity: 1;
}

/* Smooth image transitions */
#qv-main-image {
    transition: opacity 200ms ease-in-out;
}

/* Custom scrollbar for modal */
#quickViewContent {
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

#quickViewContent::-webkit-scrollbar {
    width: 8px;
}

#quickViewContent::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#quickViewContent::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

#quickViewContent::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Quick View Button Effects */
.quick-view-btn {
    transition: all 200ms ease-in-out;
}

.quick-view-btn:hover {
    transform: translateY(-2px);
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Toast Notifications - Compact and discreet */
.toast-notification {
    position: fixed;
    bottom: 16px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 12px 16px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
    max-width: 280px;
    min-width: 220px;
    font-size: 13px;
    line-height: 1.3;
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-notification.info {
    background: #3b82f6;
}

.toast-notification.warning {
    background: #f59e0b;
}

.toast-notification.error {
    background: #ef4444;
}

.toast-notification a {
    font-weight: 600;
    text-decoration: underline;
}

/* Mobile optimization - compact and discreet in bottom-right */
@media (max-width: 768px) {
    .toast-notification {
        bottom: 12px;
        right: 12px;
        left: auto;
        max-width: 200px;
        min-width: 160px;
        padding: 8px 12px;
        font-size: 11px;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
}

/* Compare icon pulse animation */
.comparison-count {
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ========================================
   BREADCRUMBS (Global)
   ======================================== */
.breadcrumb {
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    color: #64748b;
}

.breadcrumb-item a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #94a3b8;
    margin: 0 0.25rem;
}

.breadcrumb-item.active {
    color: #1e293b;
    font-weight: 500;
}

/* ==========================================
   SCROLLBAR HIDE UTILITY
   ========================================== */

/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.scrollbar-hide {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}