@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;800&display=swap');

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #fafaf9;
    color: #1c1917;
    scroll-behavior: smooth;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(120, 53, 15, 0.05);
}

.category-card {
    transition: all 0.4s ease;
    cursor: pointer;
    background-color: white;
    border: 1px solid #f5f5f4;
    color: #57534e;
}
.category-card:hover, .category-card.active {
    transform: translateY(-5px);
    background-color: #78350f;
    color: white;
}

.product-card {
    background-color: white;
    border: 1px solid #f5f5f4;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -15px rgba(120, 53, 15, 0.15);
}

.admin-panel {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    z-index: 100;
    align-items: center;
    justify-content: center;
}
.admin-panel.active { display: flex; }

.wood-gradient {
    background: linear-gradient(135deg, #78350f 0%, #451a03 100%);
}

.admin-only { display: none !important; }
body.admin-mode .admin-only { display: flex !important; }

#toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1c1917;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    z-index: 1000;
    transition: transform 0.3s ease;
}
#toast.show { transform: translateX(-50%) translateY(0); }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.wave-text { white-space: nowrap; }
.wave-text span {
    display: inline-block;
    animation: wave 2.5s ease-in-out infinite;
    animation-delay: calc(0.1s * var(--i));
}

@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); color: #78350f; }
}

.bg-blob {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.15) 0%, rgba(251, 146, 60, 0) 70%);
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
    animation: moveBlob 15s infinite alternate ease-in-out;
}

@keyframes moveBlob {
    0% { transform: translate(-10%, -10%) scale(1); }
    50% { transform: translate(20%, 15%) scale(1.2); }
    100% { transform: translate(-5%, 25%) scale(0.9); }
}

#chat-window { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); transform-origin: bottom right; }
#chat-window.closed { opacity: 0; transform: scale(0.9) translateY(20px); pointer-events: none; }
#chat-window.open { opacity: 1; transform: scale(1) translateY(0); pointer-events: auto; }

.variant-btn { border: 1px solid #e7e5e4; background: white; color: #44403c; transition: all 0.2s; }
.variant-btn:hover { border-color: #f97316; color: #f97316; }
.variant-btn.selected { border-color: #f97316; background-color: #fff7ed; color: #ea580c; font-weight: bold; }
.variant-btn.disabled { opacity: 0.5; cursor: not-allowed; background: #f5f5f4; border-color: #e7e5e4; color: #a8a29e; }