/* CSS Variables */
:root {
    --brew-orange: #EF6C00;
    --brew-amber: #FFB300;
    --brew-espresso: #2D1B0D;
    --brew-cream: #FAFAF5;
    --brew-forest: #2E7D32;
    --brew-cocoa: #3E2723;
    --splash-latte: #F3E5D8;
    --splash-amber: #FFF4E0;
    --splash-green: #E8F5E9;
}

/* Hide Scrollbar */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Brew Pattern Background */
.brew-pattern {
    background-color: var(--brew-cream);
    background-image: radial-gradient(#E8E5D8 0.5px, transparent 0.5px);
    background-size: 24px 24px;
}

/* Glass Search Effect */
.glass-search {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Line Art Decorations */
.line-art {
    color: rgba(62, 39, 35, 0.08);
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

/* Bento Card Interactions */
.bento-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    cursor: pointer;
}

.bento-card:active {
    transform: scale(0.97);
}

/* Product Card */
.product-card {
    z-index: 10;
}

/* Floating Cup Animation */
.floating-cup {
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.5));
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(45deg);
    }

    50% {
        transform: translateY(-20px) rotate(48deg);
    }

    100% {
        transform: translateY(0px) rotate(45deg);
    }
}

/* Bean Particle Animation */
.bean-particle {
    position: absolute;
    animation: explode 20s infinite linear;
}

@keyframes explode {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translate(var(--x), var(--y)) rotate(720deg);
        opacity: 0;
    }
}

/* Steam Particle Animation */
.steam-particle {
    position: absolute;
    filter: blur(8px);
    opacity: 0.6;
    animation: steam 4s infinite ease-out;
}

@keyframes steam {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) scale(2);
        opacity: 0;
    }
}

/* Body Minimum Height */
body {
    min-height: 100vh;
    min-height: 100dvh;
}

/* Filter Button States */
.filter-btn {
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: var(--brew-espresso);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(45, 27, 13, 0.2);
}

.filter-btn:not(.active):hover {
    background-color: #f5f5f4;
    transform: translateY(-1px);
}

/* Product Card Hover Effects */
.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

/* Cart Button Pulse */
@keyframes pulse-cart {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.cart-pulse {
    animation: pulse-cart 0.3s ease-in-out;
}