:root {
    --iara-blue: #0349D6;
    --iara-green: #4AC900;
    --iara-green-hover: #269168;
    --iara-dark: #06132a;
    --iara-deeper: #0A192F;
    --iara-yellow: #EFE300;
    --iara-dark-blue: #0A192F;
    --iara-light-bg: #F8FAFC;
    --muted: #6c757d;
    --ink: #dbe4ee;
    --divider: rgba(255, 255, 255, .15);
    --primary-color: #2eaf7d;
    --primary-hover: #269168;
    --primary-hover-color: #269168;
    --primary-light-bg: #eaf7f2;
    --bg: #f8f9fa;
    --border: #e9ecef;
    --border-color: #e9ecef;
    --light: #F8FAFC;
    --text: #212529;
    --text-color: #212529;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --sidebar-w: 300px;
    --sidebar-width: 280px;
}

body {
    font-family: "Montserrat", sans-serif;
    background: url("/assets/images/IARA_Backgrounds_4.png") no-repeat center center fixed;
    min-height: 100vh;    
}

/* ===== NAVBAR (mantido) ===== */
.app-header {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: .75rem 1rem
}

.navbar-brand img {
    height: 60px;
    width: auto
}

.navbar-nav {
    gap: .85rem
}

.nav-link {
    padding: .5rem .9rem !important;
    border-radius: .5rem;
    color: #6c757d;
    font-weight: 500
}

.nav-link:hover,
.nav-link.active {
    background: #0349d6;
    color: var(--iara-light-bg) !important
}

.mobile-actions {
    gap: .5rem;
}

/* Layout */
.hub-wrapper {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.filters {
    width: var(--sidebar-w);
    flex-shrink: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    height: fit-content;
    position: sticky;
    top: 1rem;
}

.content {
    flex: 1;
}

.filter-title {
    font-size: .85rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .5rem;
}

/* Cards */
.product-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-thumb {
    position: relative;
    display: block;
    width: 100%;
    height: 210px;
    background: #eee;
    overflow: hidden;
}

.product-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    flex: 1;
}

.product-title {
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

.product-desc {
    color: var(--muted);
    font-size: .9rem;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.price {
    font-weight: 700;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

/* Paginação bonita */
.pagination {
    --bs-pagination-border-radius: .75rem;
}

.pagination .page-item+.page-item .page-link {
    margin-left: .35rem;
}

.pagination .page-link {
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    border-radius: .75rem !important;
    min-width: 2.4rem;
    text-align: center;
    padding: .55rem .8rem;
    font-weight: 600;
    transition: all .15s ease-in-out;
}

.pagination .page-link:hover {
    color: var(--primary-hover);
    border-color: var(--primary-color);
    background: #eaf7f2;
    transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
    color: #fff;
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 6px 16px rgba(46, 175, 125, .25);
}

.pagination .page-item.disabled .page-link {
    color: #adb5bd;
    background: #fff;
    border-color: var(--border);
    opacity: .7;
}

@media (max-width: 991.98px) {
    .hub-wrapper {
        flex-direction: column;
        padding: .75rem
    }

    .filters {
        display: none
    }

    .filters-mobile .offcanvas-body {
        padding: 1rem
    }

    .product-thumb {
        height: 160px;
    }

    .navbar-brand img {
        height: 38px;
    }

    .pagination .page-link {
        min-width: 2.1rem;
        padding: .45rem .7rem;
    }
}