/* File: assets/css/custom_fonts.css */

/* --- 1. Fonts (Using Google CDN to fix 404 errors) --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Apply the font globally */
body {
    font-family: 'Poppins', sans-serif;
}

/* --- 2. Lazy Loading Styles --- */
img.lazy {
    filter: blur(10px);
    transition: filter 0.7s ease-in-out, transform 0.5s ease-in-out;
    background-color: #e0e0e0;
    width: 100%;
    height: auto;
    display: block;
}

/* --- 3. Sticky Action Footer for Product Page --- */
#sticky-action-footer {
    position: fixed;
    bottom: 56px; 
    left: 0;
    right: 0;
    background-color: white;
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.05); 
    z-index: 40; 
    transition: transform 0.3s ease-in-out;
    transform: translateY(0);
}

#sticky-action-footer.hidden {
    transform: translateY(200%);
}