/* MemoryForge - Custom Styles */

/* Smooth page transitions */
.htmx-settling {
    opacity: 0;
}
.htmx-swapping {
    opacity: 0;
    transition: opacity 200ms ease-out;
}
body {
    transition: opacity 200ms ease-in;
}

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FAF8F5;
}
::-webkit-scrollbar-thumb {
    background: #BFA56A;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #A89050;
}

/* Focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(191, 165, 106, 0.3);
    border-color: #BFA56A;
}

/* Radio button accent */
input[type="radio"] {
    accent-color: #BFA56A;
}

/* Image hover zoom */
.product-image-zoom:hover img {
    transform: scale(1.05);
}
