:root {
    --primary: #20b2aa;
    /* Teal original */
    --primary-dark: #1a9a94;
    --accent: #ff6b6b;
    --bg-main: #f5f5dc;
    /* Creme original */
    --bg-sidebar: #f0f8f0;
    /* Verde claro original */
    --text-main: #2d2d2d;
    --text-muted: #666;
    --radius-lg: 10px;
    --radius-md: 5px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Sidebar Estilo Original */
.sidebar-premium {
    width: 280px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: var(--bg-sidebar);
    border-right: 2px solid var(--primary);
    padding: 30px 20px;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    cursor: pointer;
}

.category-item:hover {
    background-color: #e0f0e0;
    color: var(--primary);
    transform: translateX(5px);
}

.category-item.active {
    background-color: var(--primary);
    color: white;
}

/* Main Content Original */
.main-content {
    margin-left: 280px;
    padding: 40px;
    min-height: 100vh;
}

.welcome-section {
    text-align: center;
    padding: 20px 0 40px 0;
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 2px;
}

/* Item Cards Estilo Original */
.item-card-premium {
    background-color: #fafafa;
    border: 2px solid var(--primary);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.item-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(32, 178, 170, 0.2);
}

.item-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.item-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-content {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.item-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 15px;
}

.item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: auto;
}

/* Placeholder Original */
.item-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--bg-sidebar) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.item-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* Mobile Adjustments */
@media (max-width: 991.98px) {
    .sidebar-premium {
        transform: translateX(-100%);
    }

    .sidebar-premium.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 20px 15px;
    }

    .welcome-title {
        font-size: 1.8rem;
    }
}

.mobile-header {
    display: none;
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 15px;
    background: var(--primary);
    color: white;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 991.98px) {
    .mobile-header {
        display: flex;
    }
}

/* HTMX Transitions */
.animate-fade-up {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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