:root {
    --font-main: 'Inter', sans-serif;
    --site-primary-color: #e53e3e;
    --site-bg-color: #f8f9fa;
    --site-card-bg-color: #ffffff;
    --site-card-radius: 20px;
    --site-img-radius: 14px;
}

body {
    font-family: var(--font-main);
    background-color: var(--site-bg-color);
    color: #2d3748;
    -webkit-font-smoothing: antialiased;
}

/* Nawigacja */
.navbar {
    backdrop-filter: blur(15px);
    background: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1.2rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 600;
    color: #4a5568 !important;
    cursor: pointer;
    padding: 0.6rem 1.2rem !important;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-left: 5px;
}

.nav-link:hover, .nav-link.active {
    color: var(--site-primary-color) !important;
    background: rgba(229, 62, 62, 0.08);
}

/* Widoki */
.view-section { display: none; padding: 50px 0; }
.view-section.active { display: block; }

/* Wspólna karta (Kafelki) */
.base-card {
    border: none;
    border-radius: var(--site-card-radius);
    background: var(--site-card-bg-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    height: 100%;
    padding: 12px;
    display: flex;
    flex-direction: column;
}

.base-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card-img-wrapper {
    width: 100%;
    height: 180px;
    border-radius: var(--site-img-radius);
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
}

.card-img-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body-content {
    padding: 8px 10px 12px;
    flex-grow: 1;
}

.badge-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(229, 62, 62, 0.1);
    color: var(--site-primary-color);
    border-radius: 6px;
    padding: 4px 8px;
    font-weight: 700;
    margin-bottom: 10px;
    display: inline-block;
}

/* Drzewko kategorii */
.sidebar-filters {
    background: white;
    border-radius: var(--site-card-radius);
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.category-tree {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}
.category-tree ul {
    list-style: none;
    padding-left: 22px;
    display: none;
    border-left: 1px dashed #e2e8f0;
    margin-top: 5px;
}
.category-tree li {
    margin: 10px 0;
    cursor: pointer;
    font-size: 0.95rem;
    color: #4a5568;
    transition: color 0.2s;
}
.category-tree .has-children > span::before {
/* 
    content: "\f0da";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
*/
    margin-right: 10px;
    transition: transform 0.2s;
    display: inline-block;
    color: #cbd5e0;
}
.category-tree .has-children.open > span::before {
    transform: rotate(90deg);
    color: var(--site-primary-color);
}
.category-tree .has-children.open > ul {
    display: block;
}
.category-item:hover { color: var(--site-primary-color); }
.category-item.active { color: var(--site-primary-color); }

/* Przyciski */
.btn-action {
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 20px;
    transition: 0.3s;
    border: 2px solid transparent;
}
.btn-primary-custom {
    background-color: var(--site-primary-color);
    color: white;
}
.btn-primary-custom:hover {
    background-color: transparent;
    color: var(--site-primary-color);
    border-color: var(--site-primary-color);
}

/* Widok profilu firmy */
.company-header-card {
    background: white;
    border-radius: var(--site-card-radius);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    margin: 50px 0;
}

.company-header-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--site-img-radius);
}
