<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/**
 * NStore Floating Cart Styles
 */

/* Floating Cart Icon */
#ntheme-floating-cart {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#ntheme-floating-cart:hover {
    transform: scale(1.05);
}

/* Cart Modal */
#ntheme-cart-modal {
    transition: visibility 0.3s ease;
}

#ntheme-cart-modal.hidden {
    visibility: hidden;
}

/* Drawer content positioning - respects the cart position setting */
.drawer-content[data-position="left"] {
    left: 0;
    right: auto;
    transform: translateX(-100%);
}

.drawer-content[data-position="right"] {
    right: 0;
    left: auto;
    transform: translateX(100%);
}

/* Loading spinner overlay */
.modal-spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.modal-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid var(--primary-color);
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Toast notification */
#toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999; /* Increased z-index to ensure visibility */
    max-width: 300px;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    height: auto; /* Ensure height is determined by content */
    display: inline-block; /* Prevent full-width behavior */
    animation: fadeInDown 0.5s forwards;
}

 
/* Cart item quantity controls */
.quantity-increase, 
.quantity-decrease {
    cursor: pointer;
    user-select: none;
}

/* Disabled state for buttons */
button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .dark .modal-spinner-overlay {
        background-color: rgba(17, 24, 39, 0.8);
    }
    
    .dark .modal-spinner {
        border-color: rgba(255, 255, 255, 0.1);
        border-top-color: var(--primary-color);
    }
}

/* Cart loading state */
body.cart-loading {
    cursor: progress;
}

/* Ensure cart count is properly sized and positioned */
.cart-count-float {
    min-width: 1.5rem;
    min-height: 1.5rem;
}

/* Button spinner styles */
.button-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.button-spinner svg {
    display: inline-block;
    margin: 0 auto;
}

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

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Show class for toast notifications */
#toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}
</pre></body></html>