/*
 Theme Name:   Newness Child
 Description:  Team Newness
 Author:       Newness
 Author URI:   http://newness.net
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Custom Styles from Prototype */
body {
    font-family: 'Inter', sans-serif;
    background-color: #FFFFFF;
}

/* Custom primary color */
.bg-primary { background-color: rgb(28, 97, 231); }
.text-primary { color: rgb(28, 97, 231); }
.border-primary { border-color: rgb(28, 97, 231); }

/* Transitions for popups and sliders */
.popup-overlay, .cart-slider {
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.cart-slider > .slider-content, .search-popup > .popup-content {
    transition: transform 0.3s ease-in-out;
}

/* Hide scrollbar when a popup is open */
.overflow-hidden {
    overflow: hidden;
}

/* Cart item swipe animation */
.cart-item-content {
    transition: transform 0.2s ease-out;
}

.hint-slide {
    animation: hint-slide 0.8s ease-in-out 0.5s;
}

@keyframes hint-slide {
    0% { transform: translateX(0); }
    30% { transform: translateX(-40px); }
    60% { transform: translateX(-40px); }
    100% { transform: translateX(0); }
}