/* ==============================================================================
   🏛 Leks Bakery Style Sheet - Premium design system based on Vanilla CSS
   Author: Senior Developer & Architekt AI (15+ years experience)
   ============================================================================== */

/* --- Domyślny System Tokenów CSS (Zmienne) --- */
:root {
    /* Paleta kolorów Premium - Zgodna z Brandbookiem LEKS 2020 */
    --color-bg: #FFF8EF;          /* Ciepła złamana biel LEKS */
    --color-bg-alt: #F7EFE4;      /* Cieplejszy beżowy podkład */
    --color-primary: #003A73;     /* Błękit Pruski LEKS */
    --color-primary-light: #004D96;
    --color-accent: #C5A059;      /* Klasyczne złoto piekarnicze */
    --color-accent-light: #E0C387;
    --color-text: #003A73;        /* Błękit Pruski jako główny kolor czcionki */
    --color-text-muted: #4D749C;  /* Mętny niebieski dla czytelnych opisów pomocniczych */
    --color-white: #FFFFFF;
    --color-border: #DCE3EB;      /* Delikatny szaro-niebieski pasujący do błękitu */
    
    /* Typografia - Zgodna z Brandbookiem LEKS 2020 (Strona 32) */
    --font-sans: 'Montserrat', sans-serif; /* Tekst akapitowy i ogólny interfejs */
    --font-serif: 'Roboto', sans-serif;    /* Nagłówki i tytuły */
    
    /* Skalowanie i cienie */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(0, 58, 115, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 58, 115, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 58, 115, 0.12);
    
    /* Przejścia animacji */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Reset & Podstawowe Ustawienia --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: #FFF8EF;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Delicate fixed beige background with bread crumbs */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    background-color: #FFF8EF;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'><circle cx='20' cy='30' r='0.75' fill='%23C5A059' opacity='0.35'/><circle cx='100' cy='50' r='0.6' fill='%23003A73' opacity='0.2'/><circle cx='140' cy='120' r='0.75' fill='%23C5A059' opacity='0.3'/><circle cx='50' cy='110' r='0.5' fill='%23003A73' opacity='0.18'/><path d='M80,25 Q82,27 81,28' stroke='%23C5A059' stroke-width='0.6' fill='none' opacity='0.35'/><path d='M120,85 Q118,87 119,89' stroke='%23003A73' stroke-width='0.5' fill='none' opacity='0.22'/><circle cx='60' cy='65' r='0.8' fill='%23C5A059' opacity='0.3'/><circle cx='15' cy='135' r='0.6' fill='%23003A73' opacity='0.15'/><circle cx='110' cy='150' r='0.5' fill='%23C5A059' opacity='0.3'/></svg>");
    background-size: 160px 160px;
    background-repeat: repeat;
}

/* --- Klasy Pomocnicze & Layout --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.bg-alt {
    background-color: rgba(247, 239, 228, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Ensure sections are relative for parallax elements */
#about, #products, #features-2ab, #blog {
    position: relative;
    overflow: hidden;
}

.text-center {
    text-align: center;
}

.accent-text {
    color: var(--color-accent);
}

/* --- Przyciski (Buttons) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-white);
    border: 2px solid var(--color-accent);
}

.btn-success {
    background-color: #28a745;
    color: var(--color-white);
    border: 2px solid #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #218838;
}

.btn-accent:hover {
    background-color: var(--color-accent-light);
    border-color: var(--color-accent-light);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* --- Sekcje Header / Tytuły --- */
.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 8px;
}

.section-line {
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ==============================================================================
   HEADER & STICKY GLASS NAVIGATION
   ============================================================================== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.header-glass {
    background-color: rgba(255, 248, 239, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border) !important;
}

.header-scrolled {
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 24px 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Menu na lewą stronę, logotyp do brzegu */
    gap: 60px; /* Odstęp między logo a menu */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-scrolled .header-container {
    padding: 12px 48px; /* Pasek się zmniejsza przy skrolowaniu */
}

.logo-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-link img {
    height: 96px; /* Powiększony logotyp */
    width: auto;
    display: block;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-scrolled .logo-link img {
    height: 76px; /* Zmniejszanie logo przy skrolowaniu */
}

@media (max-width: 768px) {
    .header-container {
        justify-content: space-between; /* Przywrócenie logo po lewej, hamburger po prawej */
        padding: 14px 20px;
        gap: 0;
    }
    .header-scrolled .header-container {
        padding: 8px 20px;
    }
    .logo-link img {
        height: 64px; /* Responsywne logo na tabletach/telefonach */
    }
    .header-scrolled .logo-link img {
        height: 52px;
    }
}

@media (max-width: 480px) {
    .logo-link img {
        height: 56px;
    }
    .header-scrolled .logo-link img {
        height: 46px;
    }
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 1px;
}

.logo-subtext {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-top: -4px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* --- Premium Language Dropdown --- */
.lang-dropdown-wrapper {
    position: relative;
    display: inline-block;
    margin-left: 16px;
    border-left: 1px solid rgba(0, 58, 115, 0.15);
    padding-left: 20px;
}

.lang-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    background-color: rgba(0, 58, 115, 0.03);
    border: 1px solid rgba(0, 58, 115, 0.08);
    transition: var(--transition-fast);
}

.lang-dropdown-trigger:hover {
    background-color: rgba(197, 160, 89, 0.08);
    border-color: rgba(197, 160, 89, 0.2);
    color: var(--color-accent);
}

.flag-svg {
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    display: block;
    object-fit: cover;
}

.lang-chevron {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 58, 115, 0.1);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 6px 0;
    min-width: 160px;
    z-index: 1001;
    list-style: none;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-dropdown-wrapper:hover .lang-dropdown-menu,
.lang-dropdown-wrapper.active-open .lang-dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-dropdown-wrapper:hover .lang-chevron,
.lang-dropdown-wrapper.active-open .lang-chevron {
    transform: rotate(180deg);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-option:hover {
    background-color: rgba(197, 160, 89, 0.08);
    color: var(--color-accent);
}

.lang-option.active {
    font-weight: 700;
    background-color: rgba(0, 58, 115, 0.05);
    color: var(--color-primary);
}

.lang-text {
    white-space: nowrap;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

/* ==============================================================================
   HERO SECTION
   ============================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-align: center;
    overflow: hidden;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1509440159596-0249088772ff?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s ease-out;
}

.hero-video {
    width: 106%;
    height: 106%;
    object-fit: cover;
    transform: scale(1.1) translate(-2%, -2%);
    transition: transform 8s ease-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(62, 39, 35, 0.4), rgba(62, 39, 35, 0.75));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 24px;
    margin-top: 60px;
}

.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-accent-light);
    display: block;
    margin-bottom: 16px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
}

.mouse-icon {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-white);
    border-radius: 12px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

.scroll-text {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-white);
}

@keyframes scrollWheel {
    0% { opacity: 1; top: 8px; }
    50% { opacity: 0; top: 20px; }
    100% { opacity: 1; top: 8px; }
}

/* ==============================================================================
   O NAS & INTERAKTYWNA OŚ CZASU (GSAP TARGET)
   ============================================================================== */
.about-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
    width: 100%;
}

.about-intro-row {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    margin-bottom: 30px;
}

.about-text-content {
    text-align: left;
}

.about-text-content .lead-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-primary);
    line-height: 1.6;
    margin-bottom: 24px;
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
}

.about-text-content p {
    font-size: 1.05rem;
    font-weight: 400; /* Klasyczna grubość */
    color: var(--color-text); /* Brandowy Prussian Blue */
    margin-bottom: 20px;
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
}

.about-image-column {
    width: 100%;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible; /* Aby ramka przesunięcia nie była ucięta */
    transition: var(--transition-smooth);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    border: 2px dashed var(--color-accent);
    border-radius: var(--radius-lg);
    z-index: 1;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.about-image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    aspect-ratio: 4 / 3; /* Idealne proporcje dla zdjęcia grupowego */
    background-color: var(--color-primary);
}

.about-team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(0.15) contrast(1.05) brightness(0.8); /* Elegancko przyciemnione i lekko artystyczne wyciszenie kolorów */
    transition: var(--transition-smooth);
}

.about-image-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 3;
    pointer-events: none;
}

.about-image-badge {
    background-color: rgba(0, 58, 115, 0.9); /* Translucentny granat */
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid var(--color-accent);
    box-shadow: 0 4px 12px rgba(0, 58, 115, 0.2);
    backdrop-filter: blur(4px);
}

/* Interakcja na hover */
.about-image-wrapper:hover::before {
    transform: translate(-8px, -8px);
    border-color: var(--color-primary);
}

.about-image-wrapper:hover .about-team-img {
    filter: grayscale(0) contrast(1.02) brightness(1.02); /* Ożywienie kolorów i jasności po najechaniu */
    transform: scale(1.04);
}

/* Responsywność dla wdrożonego zdjęcia o nas */
@media (max-width: 992px) {
    .about-intro-row {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-text-content {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .about-image-column {
        max-width: 550px;
        margin: 0 auto;
        padding-right: 15px;
        padding-bottom: 15px;
    }
}

#timeline-section .container {
    max-width: 1440px;
}

.about-interactive-timeline {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 40px 0;
    position: relative;
    overflow: visible; /* Aby glow aktywnego przycisku nie był przycięty */
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* Kontener wędrującej maskotki Kłos nad osią czasu */
.timeline-mascot-container {
    position: absolute;
    bottom: 100%;
    margin-bottom: 60px; /* Wyciągnięcie maskotki ponad cyfry cyfr rocznika (1989, 1998, itd.) */
    left: 0;
    width: 120px;
    height: 130px;
    z-index: 10;
    transform: translateX(-50%);
    transform-origin: bottom center;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.timeline-mascot-img {
    width: 100%;
    max-height: 130px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 58, 115, 0.12));
}

.timeline-section-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.timeline-section-subtitle {
    font-size: 1.05rem;
    font-weight: 400; /* Klasyczna grubość */
    color: var(--color-text); /* Brandowy Prussian Blue */
    margin-bottom: 20px;
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
}

.timeline-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 210px 0 300px; /* Bezpieczny odstęp od nagłówka dla maskotki wędrującej nad cyframi */
    width: 100%;
    padding: 0 40px;
}

.timeline-navigation::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 40px; /* Linia postępu zaczyna się idealnie na pierwszej kropce (1989) */
    right: 40px; /* i kończy na ostatniej kropce (2026) */
    height: 4px; /* Grubsza, bardziej premium linia */
    background: linear-gradient(to right, var(--color-primary) var(--timeline-progress, 0%), var(--color-accent-light) var(--timeline-progress, 0%));
    transform: translateY(-50%);
    z-index: 1;
    transition: background 0.4s ease;
}

.timeline-year-btn {
    position: relative;
    z-index: 2;
    background-color: #EBF2FA; /* Delikatne niebiesko-kremowe wnętrze */
    border: 3px solid var(--color-primary); /* Granatowa obwódka */
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0; /* Ukrycie domyślnego tekstu przycisku */
    color: transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
    box-shadow: 0 0 10px rgba(0, 58, 115, 0.1);
}

.timeline-year-btn:hover {
    transform: scale(1.2);
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(0, 58, 115, 0.25);
}

.timeline-year-btn::before {
    content: attr(data-year);
    position: absolute;
    bottom: 32px; /* Pozycja nad kropką */
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: #E25C05; /* Pomarańczowy/chlebowy brąz dla nieaktywnych lat */
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.timeline-year-btn.active {
    width: 32px;
    height: 32px;
    background-color: var(--color-primary); /* Ciemny środek */
    border: 5px solid #BDD5EE; /* Jasnoniebieski pierścień wokół */
    outline: 2px solid var(--color-primary); /* Granatowa obwódka */
    box-shadow: 0 0 0 10px rgba(189, 213, 238, 0.4), 0 0 20px rgba(0, 58, 115, 0.35); /* Piękna aura świecenia */
    transform: scale(1.1);
}

.timeline-year-btn.active::before {
    color: var(--color-primary); /* Aktywny rok na granatowo */
    font-size: 1.1rem; /* Lekko powiększony dla akcentu */
    font-weight: 800;
}

/* Pływająca, świecąca karta opisu roku (Zoptymalizowana pod osi czasu) */
.timeline-content-card {
    position: absolute;
    top: 50px; /* Pozycja pod kropkami */
    left: 0; /* Dynamicznie ustawiane przez JS */
    transform: translate(-50%, 15px);
    width: 460px; /* Zwiększona szerokość, aby cały nagłówek był w jednej linii bez łamania słów */
    padding: 24px 28px;
    border-radius: var(--radius-md);
    background-color: rgba(255, 248, 239, 0.98) !important; /* Ciepłe, kremowe tło */
    border: 2.5px solid var(--color-accent) !important; /* Złota ramka nadająca premium look */
    box-shadow: 0 10px 30px rgba(0, 58, 115, 0.15), 0 0 25px rgba(197, 160, 89, 0.3) !important; /* Złoty efekt glow */
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, transform 0.35s ease, left 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.timeline-content-card.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* Dekoracyjna strzałka skierowana w górę (do aktywnej kropki) */
.timeline-content-card::after {
    content: '';
    position: absolute;
    top: -10px; /* Pozycja na górze */
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 10px 10px; /* Trójkąt skierowany w górę */
    border-style: solid;
    border-color: transparent transparent var(--color-accent);
    display: block;
    width: 0;
}

.timeline-content-card::before {
    content: '';
    position: absolute;
    top: -7px; /* Pozycja na górze */
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 8px 8px; /* Trójkąt skierowany w górę */
    border-style: solid;
    border-color: transparent transparent rgba(255, 248, 239, 0.98);
    z-index: 11;
    display: block;
    width: 0;
}

.timeline-card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.timeline-card-desc {
    font-size: 0.95rem;
    font-weight: 400; /* Klasyczna grubość */
    color: var(--color-text); /* Brandowy Prussian Blue */
    line-height: 1.5;
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
}

/* Responsywność dla osi czasu w timeline */
@media (max-width: 992px) {
    .timeline-navigation {
        margin: 140px 0 280px;
        padding: 0 20px;
    }

    .timeline-mascot-container {
        width: 90px;
        height: 100px;
        margin-bottom: 8px;
        position: relative; /* Wracamy do normalnego przepływu na mobile */
        left: auto;
        top: auto;
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
    
    .timeline-mascot-img {
        max-height: 100px;
        max-width: 160px; /* Delikatnie mniejszy rozmiar na telefonach */
    }

    .timeline-navigation {
        justify-content: flex-start;
        gap: 80px;
        overflow-x: auto;
        overflow-y: visible;
        height: 360px; /* Kompaktowa wysokość dla osi czasu */
        padding: 60px 180px 280px; /* Przeniesiona przestrzeń pod oś dla kafelka */
        scrollbar-width: none; /* Ukrycie suwaka dla Firefox */
        margin-top: 40px;
        margin-bottom: 20px;
        width: 100%;
        position: relative;
    }
    
    .timeline-navigation::-webkit-scrollbar {
        display: none; /* Ukrycie suwaka dla Chrome/Safari */
    }
    
    .timeline-navigation::before {
        width: 800px; /* Sztywna szerokość linii postępu, aby rozciągała się poza ekran */
        min-width: 800px;
        left: 180px; /* Dopasowane do padding-left */
        right: auto;
    }
    
    .timeline-year-btn {
        flex-shrink: 0; /* Zapobiega ściskaniu przycisków na komórce */
    }
    
    .timeline-content-card {
        width: 280px; /* Węższa karta na telefony */
        padding: 18px;
        top: 50px;
        transform: translate(-50%, 15px);
    }
    
    .timeline-content-card.active {
        transform: translate(-50%, 0);
    }
}

/* ==============================================================================
   OFERTA & PRODUKTY (DYNAMICS GRID)
   ============================================================================== */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.product-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.product-image-placeholder {
    height: 200px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    display: block;
    margin-bottom: 8px;
}

.product-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.product-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.product-card .btn,
.product-card .open-spec-btn {
    margin-top: auto;
}

.category-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #EFEBE4;
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.08), 0 1px 8px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 115, 85, 0.12), 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: var(--color-accent);
}

.category-card .image-container {
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    width: 100%;
}

.category-card:hover .image-container {
    transform: scale(1.05);
}

.category-card .product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-card .product-desc {
    margin-bottom: 24px;
    flex-grow: 1;
}

.category-card .btn {
    align-self: flex-start;
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 2px solid var(--color-primary);
    transition: var(--transition-fast);
}

.category-card .btn:hover {
    background-color: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.2);
}




/* ==============================================================================
   PREZENTACJA CECH 2AB (CZYSTE ELEGANCKE CSS)
   ============================================================================== */
.logo-2ab-header-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    width: 100%;
}

.logo-2ab-header {
    height: 72px; /* zjawiskowa wielkość brandowa */
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 58, 115, 0.08));
    transition: var(--transition-smooth);
}

.logo-2ab-header:hover {
    transform: scale(1.04);
    filter: drop-shadow(0 8px 24px rgba(197, 160, 89, 0.18));
}

.features-presentation {
    position: relative;
    max-width: 1000px;
    margin: 60px auto;
    min-height: 520px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.features-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.features-main-image {
    display: block;
    max-width: 100%;
    height: auto;
    z-index: -10;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: transparent !important;
}

/* Design Etykiet (Premium - Złocisty beż #E5C5A1 & Sonar Effect) */
.feature-label-card {
    background: #E5C5A1; /* Złocisty beż z brandbooka */
    border: 1px solid rgba(0, 55, 110, 0.15);
    border-radius: 30px;
    padding: 12px 24px;
    box-shadow: 0 4px 15px rgba(229, 197, 161, 0.4);
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    flex-direction: column;
    position: absolute;
}

/* Sprzętowo akcelerowana mikrointerakcja tła (Sonar Effect) */
.feature-label-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #E5C5A1;
    border-radius: 30px;
    z-index: -1;
    pointer-events: none;
    transform: scale(1);
    opacity: 0.6;
    will-change: transform, opacity;
    animation: sonarPulse 2s cubic-bezier(0.25, 0, 0, 1) infinite;
}

@keyframes sonarPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.15);
        opacity: 0;
    }
}

.feature-label-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Dot i tytuł w kolorze głębokiego granatu #00376E */
.feature-dot {
    width: 8px;
    height: 8px;
    background-color: #00376E; /* Głęboki granat */
    border-radius: 50%;
    display: inline-block;
}

.feature-title {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: #00376E; /* Głęboki granat */
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* Tooltip chmurka CSS-only z dopasowaniem do #00376E */
.feature-tooltip-bubble {
    position: absolute;
    background: #F8ECD9; /* Ciepłe beżowe pudełko */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 55, 110, 0.15);
    box-shadow: 0 10px 30px rgba(0, 55, 110, 0.12);
    border-radius: var(--radius-md);
    padding: 16px;
    width: 280px;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-tooltip-bubble p {
    font-size: 0.88rem;
    color: #00376E; /* Głęboki granat */
    line-height: 1.45;
    margin: 0;
}

/* Hover Interaction */
.feature-label-card:hover {
    transform: translateY(-5px);
    background: #D9B792; /* Cieplejszy odcień przy najechaniu */
    box-shadow: 0 8px 25px rgba(0, 55, 110, 0.15);
    border-color: #00376E;
}

.feature-label-card:hover .feature-tooltip-bubble {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 10px); /* Płynne wysunięcie w dół */
}

/* Desktop positions (>992px) - Spaced out B2B editorial presentation */
@media (min-width: 992px) {
    /* Linie łączące (Delikatne linie pomocnicze) */
    .feature-line {
        position: absolute;
        height: 1px;
        background: linear-gradient(to right, var(--color-accent) 0%, rgba(197, 160, 89, 0.15) 100%);
        opacity: 0.7;
        pointer-events: none;
        z-index: -2;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .feature-line::after {
        content: '';
        position: absolute;
        width: 6px;
        height: 6px;
        background-color: var(--color-accent);
        border-radius: 50%;
        top: -2.5px;
        box-shadow: 0 0 8px var(--color-accent);
    }

    /* Lewa góra */
    .fl-top-left {
        top: 15%;
        left: -15%; /* Shift further left to create a gap */
    }
    .fl-top-left .feature-line {
        top: 50%;
        left: 100%;
        width: 180px; /* Adjusted length to point to the bun */
        transform: rotate(15deg);
        transform-origin: left center;
    }
    .fl-top-left .feature-line::after {
        right: 0;
    }
    .fl-top-left .feature-tooltip-bubble {
        top: 120%; /* Otwieranie pod boxem */
        bottom: auto;
        left: 50%;
        transform: translate(-50%, 0);
    }
    .fl-top-left .feature-tooltip-bubble::after {
        content: '';
        position: absolute;
        bottom: 100%; /* Strzałka u góry tooltipa */
        top: auto;
        left: 50%;
        transform: translateX(-50%);
        border-width: 8px;
        border-style: solid;
        border-color: transparent transparent #F8ECD9 transparent; /* Skierowana w górę */
    }

    /* Prawa góra */
    .fl-top-right {
        top: 20%;
        right: -15%; /* Shift further right to create a gap */
    }
    .fl-top-right .feature-line {
        top: 50%;
        right: 100%;
        width: 180px; /* Adjusted length to point to the bun */
        transform: rotate(-14deg);
        transform-origin: right center;
        background: linear-gradient(to left, var(--color-accent) 0%, rgba(197, 160, 89, 0.15) 100%);
    }
    .fl-top-right .feature-line::after {
        left: 0;
    }
    .fl-top-right .feature-tooltip-bubble {
        top: 120%; /* Otwieranie pod boxem */
        bottom: auto;
        left: 50%;
        transform: translate(-50%, 0);
    }
    .fl-top-right .feature-tooltip-bubble::after {
        content: '';
        position: absolute;
        bottom: 100%; /* Strzałka u góry tooltipa */
        top: auto;
        left: 50%;
        transform: translateX(-50%);
        border-width: 8px;
        border-style: solid;
        border-color: transparent transparent #F8ECD9 transparent; /* Skierowana w górę */
    }

    /* Lewy dół */
    .fl-bottom-left {
        bottom: 22%;
        left: -8%; /* Shifting outward further left */
    }
    .fl-bottom-left .feature-line {
        top: 50%;
        left: 100%;
        width: 155px; /* Adjusted length to touch the new bun */
        transform: rotate(-8deg);
        transform-origin: left center;
    }
    .fl-bottom-left .feature-line::after {
        right: 0;
    }
    .fl-bottom-left .feature-tooltip-bubble {
        top: 120%; /* Otwieranie pod boxem */
        bottom: auto;
        left: 50%;
        transform: translate(-50%, 0);
    }
    .fl-bottom-left .feature-tooltip-bubble::after {
        content: '';
        position: absolute;
        bottom: 100%; /* Strzałka u góry tooltipa */
        top: auto;
        left: 50%;
        transform: translateX(-50%);
        border-width: 8px;
        border-style: solid;
        border-color: transparent transparent #F8ECD9 transparent; /* Skierowana w górę */
    }

    /* Prawy dół */
    .fl-bottom-right {
        bottom: 18%;
        right: -8%; /* Shifting outward further right */
    }
    .fl-bottom-right .feature-line {
        top: 50%;
        right: 100%;
        width: 165px; /* Adjusted length to touch the new bun */
        transform: rotate(22deg);
        transform-origin: right center;
        background: linear-gradient(to left, var(--color-accent) 0%, rgba(197, 160, 89, 0.15) 100%);
    }
    .fl-bottom-right .feature-line::after {
        left: 0;
    }
    .fl-bottom-right .feature-tooltip-bubble {
        top: 120%; /* Otwieranie pod boxem */
        bottom: auto;
        left: 50%;
        transform: translate(-50%, 0);
    }
    .fl-bottom-right .feature-tooltip-bubble::after {
        content: '';
        position: absolute;
        bottom: 100%; /* Strzałka u góry tooltipa */
        top: auto;
        left: 50%;
        transform: translateX(-50%);
        border-width: 8px;
        border-style: solid;
        border-color: transparent transparent #F8ECD9 transparent; /* Skierowana w górę */
    }
}

/* Mobile view (<992px) */
@media (max-width: 991px) {
    .features-presentation {
        margin: 20px auto;
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .features-main-image {
        max-width: 90%;
        margin: 0 auto;
    }
    
    /* Wyłączenie absolutnego pozycjonowania i konwersja do czytelnej formy mobilnej */
    .feature-label-card {
        position: static;
        display: flex;
        flex-direction: column;
        background: #E5C5A1; /* Złocisty beż */
        border-radius: var(--radius-md);
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 55, 110, 0.05);
        width: 100%;
        cursor: default;
    }
    
    .feature-label-card::before {
        display: none !important; /* Wyłączenie sonaru na mobilkach */
    }
    
    .feature-label-card:hover {
        transform: none;
        background: #E5C5A1;
        box-shadow: 0 4px 10px rgba(0, 55, 110, 0.05);
        border-color: rgba(0, 55, 110, 0.15);
    }
    
    .feature-label-header {
        margin-bottom: 8px;
    }
    
    .feature-title {
        white-space: normal;
        font-size: 1.05rem;
    }
    
    .feature-tooltip-bubble {
        position: static;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        width: 100%;
        transform: none !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    
    .feature-tooltip-bubble p {
        color: #00376E;
        font-size: 0.92rem;
        opacity: 0.85;
    }
    
    .feature-tooltip-bubble::after {
        display: none !important;
    }
}

/* --- Nowoczesny Baner Informacyjny 2AB Online (CTA) --- */
.features-2ab-cta {
    margin-top: 55px;
    padding: 40px 60px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.08) 0%, rgba(197, 160, 89, 0.22) 100%);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
    box-shadow: var(--shadow-sm); /* Unifikacja: startowy cień taki sam jak u kart produktów */
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.features-2ab-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

.features-2ab-cta:hover {
    transform: translateY(-8px); /* Unifikacja z hoverem kart produktów/kariery */
    box-shadow: var(--shadow-md); /* Unifikacja z hoverem kart produktów/kariery */
    border-color: var(--color-accent); /* Unifikacja z hoverem kart produktów/kariery */
}

.features-2ab-cta .cta-content {
    width: 100%;
    max-width: 800px;
}

.features-2ab-cta .cta-title {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.features-2ab-cta .cta-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin: 0;
}

.features-2ab-cta .cta-action {
    display: flex;
    justify-content: center;
    width: 100%;
}

.features-2ab-cta .cta-action .btn {
    min-width: 200px;
    background-color: var(--color-accent); /* Klasyczne złoto piekarnicze z brandbooka */
    color: var(--color-white) !important;
    border: 2px solid var(--color-accent);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.25);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.features-2ab-cta .cta-action .btn:hover {
    background-color: var(--color-accent-light); /* Podświetlenie na jasne złoto */
    border-color: var(--color-accent-light);
    color: var(--color-primary) !important; /* Tekst w kolorze głębokiego granatu */
    transform: translateY(-4px); /* Efekt uniesienia (wyniesienie o 4px) */
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.45);
}

/* Responsywność dla baneru CTA */
@media (max-width: 768px) {
    .features-2ab-cta {
        padding: 30px 24px;
        gap: 20px;
        margin-top: 40px;
    }
    
    .features-2ab-cta .cta-action .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ==============================================================================
   SWIPER CAROUSEL OVERRIDES & STYLES (BLOG, KARIERA, PARTNERZY)
   ============================================================================== */
.swiper {
    width: 100%;
    padding-bottom: 50px !important; /* Space for pagination */
}

.blog-swiper .swiper-slide,
.career-swiper .swiper-slide {
    display: flex;
    height: auto;
}

.blog-swiper,
.career-swiper {
    width: calc(100% - 100px);
    margin: 0 auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.blog-slider-wrapper .blog-prev,
.career-slider-wrapper .career-prev {
    left: 0;
}

.blog-slider-wrapper .blog-next,
.career-slider-wrapper .career-next {
    right: 0;
}

.blog-prev, .blog-next,
.career-prev, .career-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

@media (max-width: 768px) {
    .blog-swiper,
    .career-swiper {
        width: calc(100% - 80px);
    }
}

@media (max-width: 576px) {
    .blog-swiper,
    .career-swiper {
        width: calc(100% - 60px);
    }
    .blog-slider-wrapper .blog-prev,
    .career-slider-wrapper .career-prev {
        left: -5px;
    }
    .blog-slider-wrapper .blog-next,
    .career-slider-wrapper .career-next {
        right: -5px;
    }
    .swiper-button-next, .swiper-button-prev {
        width: 36px !important;
        height: 36px !important;
    }
    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 14px !important;
    }
}

.swiper-pagination-bullet {
    background-color: var(--color-border) !important;
    opacity: 1 !important;
    width: 10px !important;
    height: 10px !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: var(--color-accent) !important;
    width: 24px !important;
    border-radius: 5px !important;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--color-accent) !important;
    background: var(--color-white);
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: bold;
}

/* Blog Card */
.blog-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.blog-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 320px;
    background: transparent;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--color-accent);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
}

.blog-content h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 12px;
    font-family: var(--font-serif);
}

.blog-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-read-more {
    font-weight: 600;
    color: var(--color-primary);
    transition: color 0.3s ease;
    align-self: flex-start;
    text-decoration: none;
}

.blog-read-more:hover {
    color: #e54608;
}

/* ==============================================================================
   CAREER SECTION - MODERN CSS GRID LAYOUT
   ============================================================================== */
.career-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
}

.career-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    height: 100%;
}

.career-card:hover {
    border-color: #e54608;
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.card-image-placeholder {
    height: 180px;
    background-color: #FAF5ED; /* Bardzo jasny beż */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    border-bottom: 1px solid rgba(0, 58, 115, 0.05);
}

.card-image-placeholder .placeholder-icon {
    font-size: 3.5rem;
    transition: transform 0.5s ease;
}

.career-card:hover .card-image-placeholder .placeholder-icon {
    transform: scale(1.15) rotate(5deg);
}

.card-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.career-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.career-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.career-body h3 {
    font-family: var(--font-serif);
    color: var(--color-primary); /* Głęboki granat */
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.career-body p {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}

.career-location {
    font-size: 0.85rem;
    font-weight: 700;
    color: #A67C52; /* Ciemny, ciepły beż z brandbooka */
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center; /* Wycentrowanie miasta */
}

.career-card .btn {
    width: 100%;
    color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

.career-card .btn:hover {
    background-color: var(--color-primary) !important;
    color: var(--color-white) !important;
}

/* Responsywność dla siatki kariery */
@media (max-width: 1200px) {
    .career-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .career-grid {
        grid-template-columns: 1fr;
    }
}
/* ==============================================================================
   PARTNERS SECTION (MODERN B2B DESIGN SYSTEM)
   ============================================================================== */
.partners-section {
    background-color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.partners-intro {
    max-width: 700px;
    margin: -30px auto 50px;
    font-size: 1.05rem; /* Klasyczna wielkość reszty tekstów */
    font-weight: 400; /* Klasyczna grubość */
    color: var(--color-text); /* Ten sam brandowy Prussian Blue */
    line-height: 1.65;
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px 60px;
    margin-top: 20px;
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: calc(20% - 48px);
    min-width: 160px;
    max-width: 220px;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.partner-logo-wrapper {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 10px;
    transition: var(--transition-fast);
    position: relative;
}

.partner-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply; /* Dynamically hides white backgrounds on warm beige page background */
    filter: grayscale(1) opacity(0.5); /* Neutral grey look for modern aesthetic */
    transition: var(--transition-smooth);
    transform: translate3d(0, 0, 0);
}

.partner-name {
    margin-top: 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

/* Hover effects for premium feeling */
.partner-card:hover {
    transform: translateY(-5px);
}

.partner-card:hover .partner-logo-img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.08);
}

.partner-card:hover .partner-name {
    opacity: 0.9;
    color: var(--color-primary);
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .partners-grid {
        gap: 30px 40px;
    }
    .partner-card {
        width: calc(33.33% - 27px);
        min-width: 150px;
    }
    .partner-logo-wrapper {
        height: 100px;
    }
    .partner-name {
        opacity: 0.7;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .partners-intro {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .partners-grid {
        gap: 20px 30px;
    }
    .partner-card {
        width: calc(50% - 15px);
        min-width: 130px;
    }
    .partner-logo-wrapper {
        height: 80px;
    }
}

/* ==============================================================================
   KONTAKT & MODERN FORM
   ============================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-info-panel {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-info-panel h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: var(--color-accent-light);
}

.contact-info-panel p {
    margin-bottom: 18px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-form-panel {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.modern-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.modern-form .form-group {
    margin-bottom: 20px;
}

.modern-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.modern-form input:not([type="radio"]):not([type="checkbox"]), 
.modern-form select, 
.modern-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.modern-form input:not([type="radio"]):not([type="checkbox"]):focus, 
.modern-form select:focus, 
.modern-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

/* ==============================================================================
   MINIMALIST FOOTER
   ============================================================================== */
.footer-minimalist {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 24px 0;
    border-top: 3px solid var(--color-accent);
}

.footer-container-minimal {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-self: start;
}

.footer-logo-white {
    height: 80px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: var(--transition-fast);
}

.footer-logo-white:hover {
    opacity: 1;
    transform: scale(1.03);
}

.footer-nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
    transition: var(--transition-fast);
    position: relative;
}

.footer-nav a:hover {
    color: var(--color-accent-light);
    opacity: 1;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent-light);
    transition: var(--transition-fast);
}

.footer-nav a:hover::after {
    width: 100%;
}

.footer-social-copyright {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    justify-self: end;
}

.footer-social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    color: var(--color-white);
    opacity: 0.75;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    color: var(--color-accent-light);
    opacity: 1;
    border-color: var(--color-accent-light);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.2);
}

.footer-copyright {
    font-size: 0.85rem !important;
    opacity: 0.65;
    margin: 0;
    letter-spacing: 0.5px;
}

.footer-bottom-bar {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 992px) {
    .footer-container-minimal {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    .footer-brand, .footer-nav, .footer-social-copyright {
        justify-self: center !important;
        align-items: center !important;
    }
    .footer-nav ul {
        justify-content: center;
    }
    .footer-social-copyright {
        align-items: center;
    }
}

/* ==============================================================================
   PRIVACY MODAL STYLE (RODO)
   ============================================================================== */
.privacy-modal-card {
    max-width: 800px !important;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.privacy-modal-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.privacy-text-content {
    overflow-y: auto;
    padding-right: 16px;
    margin-top: 20px;
    color: var(--color-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    text-align: left;
}

/* Custom Scrollbar for Legal Text */
.privacy-text-content::-webkit-scrollbar {
    width: 6px;
}

.privacy-text-content::-webkit-scrollbar-track {
    background: rgba(0, 58, 115, 0.05);
    border-radius: 3px;
}

.privacy-text-content::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 3px;
}

.privacy-text-content::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-light);
}

.privacy-text-content h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--color-primary);
    margin: 28px 0 16px;
    border-bottom: 2px solid rgba(197, 160, 89, 0.2);
    padding-bottom: 6px;
}

.privacy-text-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 20px 0 10px;
}

.privacy-text-content p {
    margin-bottom: 14px;
    opacity: 0.9;
}

.privacy-text-content ol, 
.privacy-text-content ul {
    margin-bottom: 18px;
    padding-left: 20px;
}

.privacy-text-content li {
    margin-bottom: 8px;
    opacity: 0.9;
}

.privacy-text-content li strong {
    font-weight: 600;
}

.privacy-text-content a {
    color: var(--color-accent);
    text-decoration: underline;
    transition: var(--transition-fast);
}

.privacy-text-content a:hover {
    color: var(--color-primary-light);
}

.privacy-modal-update {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 30px;
    border-top: 1px dashed var(--color-border);
    padding-top: 15px;
}

@media (max-width: 768px) {
    .privacy-modal-body {
        padding: 24px;
    }
    .privacy-text-content {
        padding-right: 8px;
    }
}

/* ==============================================================================
   MODAL ARTYKUŁÓW BLOGOWYCH - DUŻE WYGODNE OKNO CZYTANIA
   ============================================================================== */
.blog-modal-card {
    max-width: 1100px !important;
    width: 95%;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.32);
}

.blog-modal-header {
    width: 100%;
    position: relative;
}

.blog-modal-img-wrapper {
    width: 100%;
    height: 320px;
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg-alt);
}

.blog-modal-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blog-modal-img-wrapper .modal-badge {
    position: absolute;
    bottom: 20px;
    left: 32px;
    background: rgba(0, 58, 115, 0.92);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.blog-modal-body {
    padding: 32px 48px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-grow: 1;
}

.blog-modal-meta {
    font-size: 0.9rem;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.blog-modal-bullet {
    opacity: 0.5;
}

.blog-modal-title {
    font-family: var(--font-serif);
    font-size: 2.1rem;
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 16px;
}

.blog-text-content {
    overflow-y: auto;
    padding-right: 16px;
    margin-top: 10px;
    color: #2D3748;
    font-size: 1.08rem;
    line-height: 1.8;
    max-height: 52vh;
}

.blog-text-content::-webkit-scrollbar {
    width: 8px;
}

.blog-text-content::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 4px;
}

.blog-text-content::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 4px;
}

.blog-text-content p {
    margin-bottom: 18px;
    color: #4A5568;
}

.blog-text-content h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--color-primary);
    margin: 26px 0 12px;
    border-bottom: 2px solid rgba(197, 160, 89, 0.35);
    padding-bottom: 6px;
}

.blog-text-content blockquote {
    margin: 24px 0;
    padding: 18px 24px;
    background-color: #F7FAFC;
    border-left: 5px solid var(--color-accent);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--color-primary);
}

/* ==============================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ============================================================================== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .btn, .btn-sm, .filter-btn {
        min-height: 44px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-lead {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .modern-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Hamburger Menu Trigger */
    .hamburger {
        display: block;
        z-index: 1100;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--color-white);
        box-shadow: var(--shadow-lg);
        z-index: 1050;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .nav-link {
        font-size: 1.3rem;
    }
    
    .lang-dropdown-wrapper {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        border-top: 1px solid rgba(0, 58, 115, 0.1);
        padding-top: 25px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 10px;
    }
    
    .lang-dropdown-trigger {
        width: 100%;
        max-width: 180px;
        justify-content: center;
    }
    
    .lang-dropdown-menu {
        position: static;
        margin-top: 10px;
        width: 100%;
        max-width: 180px;
        box-shadow: none;
        border: 1px solid rgba(0, 58, 115, 0.08);
        background-color: rgba(0, 58, 115, 0.02);
        opacity: 0;
        height: 0;
        overflow: hidden;
        pointer-events: none;
        padding: 0;
        transform: none;
        transition: height 0.3s ease, opacity 0.3s ease;
    }
    
    .lang-dropdown-wrapper.active-open .lang-dropdown-menu {
        opacity: 1;
        height: auto;
        padding: 6px 0;
        pointer-events: auto;
    }
}

/* ==============================================================================
   DYNAMIC B2B MODAL (GLASS BACKDROP & PREMIUM CARD)
   ============================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none; /* Uruchamiane przez JS */
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-backdrop.active {
    display: flex;
    opacity: 1;
}

.modal-card {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 820px;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.modal-backdrop.active .modal-card {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.modal-close-btn:hover {
    color: var(--color-primary);
    transform: scale(1.05);
}

.modal-body-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 0;
}

.modal-image-col {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.modal-image-col img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    min-height: 340px;
    max-height: 440px;
}

.overview-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(44, 30, 22, 0.85);
    color: #ffffff;
    font-size: 0.65rem !important;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    z-index: 5;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    pointer-events: none;
}

/* Delivery State Badges (Świeże / Mrożone) */
.delivery-badges-container {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    z-index: 5;
}

.modal-delivery-badges-container {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    z-index: 10;
}

.delivery-badge {
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 12px !important;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
    line-height: 1;
    pointer-events: none;
}

.delivery-badge-fresh {
    background-color: #2E7D32 !important;
    color: #ffffff !important;
}

.delivery-badge-frozen {
    background-color: #0277BD !important;
    color: #ffffff !important;
}

.modal-content-col {
    padding: 36px 36px 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    display: inline-block;
    margin-bottom: 8px;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.modal-divider {
    width: 100%;
    height: 1px;
    background-color: var(--color-border);
    margin: 16px 0;
}

.modal-spec-list {
    list-style: none;
    margin-bottom: 12px;
}

.modal-spec-list li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--color-border);
}

.modal-spec-list li:last-child {
    border-bottom: none;
}

.spec-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.spec-val {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    text-align: left;
}

.modal-product-desc {
    margin-top: 12px;
    margin-bottom: 36px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
}

.modal-actions .btn {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .modal-card {
        max-width: 92%;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-body-layout {
        grid-template-columns: 1fr;
    }
    
    .modal-image-col img {
        height: 220px;
        min-height: auto;
    }
    
    .modal-content-col {
        padding: 24px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

.product-image-placeholder {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: #ffffff !important;
}

#products {
    background-color: #FBF9F5;
    position: relative;
    overflow: hidden;
}

.parallax-wheat {
    position: absolute;
    z-index: 0;
    opacity: 0.12;
    pointer-events: none;
    width: 300px;
    max-width: 50%;
    will-change: transform, filter;
    transform: translate3d(0, 0, 0);
    filter: blur(2px);
}

#wheat-1 {
    top: 50px;
    left: -80px;
}

#wheat-2 {
    bottom: 50px;
    right: -80px;
}

#wheat-about {
    top: 150px;
    right: -80px;
    width: 250px;
    transform: rotate(-25deg);
}

#wheat-2ab {
    bottom: 100px;
    left: -100px;
    width: 350px;
    transform: rotate(45deg);
}

#wheat-blog {
    top: 100px;
    right: -80px;
    width: 280px;
    transform: rotate(-15deg);
}

#wheat-career {
    top: 80px;
    left: -80px;
    width: 280px;
    transform: rotate(35deg);
}

#wheat-contact {
    bottom: 120px;
    right: -100px;
    width: 320px;
    transform: rotate(-45deg);
}

#products .container {
    position: relative;
    z-index: 1;
}

/* --- Sekcja Baneru Zespołu (Poznajmy się) --- */
.team-banner-section {
    background-color: var(--color-primary); /* Głęboki, elegancki brandowy granat */
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.team-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 50%, rgba(197, 160, 89, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.team-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.team-banner-text-col {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.team-banner-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.team-banner-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 30px;
}

.team-banner-btn {
    background-color: transparent !important;
    border: 2px solid var(--color-accent) !important;
    color: var(--color-accent) !important;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.team-banner-btn:hover {
    background-color: var(--color-accent) !important;
    color: var(--color-primary) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.45) !important;
}

.team-banner-image-col {
    width: 420px;
    height: 320px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Stylowy kolaż zdjęć nakładających się na siebie */
.team-banner-collage {
    position: relative;
    width: 100%;
    height: 100%;
}

.collage-item {
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: var(--radius-sm);
    border: 3px solid var(--color-accent);
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), z-index 0.3s ease;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collage-item.item-1 {
    top: 10px;
    left: 20px;
    z-index: 1;
    transform: rotate(-6deg);
}

.collage-item.item-2 {
    bottom: 10px;
    left: 130px;
    z-index: 3;
    transform: scale(1.05); /* Środkowa fotka lekko powiększona */
}

.collage-item.item-3 {
    top: 20px;
    right: 20px;
    z-index: 2;
    transform: rotate(8deg);
}

.collage-item:hover {
    z-index: 10;
    transform: scale(1.15) rotate(0deg) !important;
    border-color: #e25c05;
}

@media (max-width: 991px) {
    .team-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .team-banner-text-col {
        text-align: center;
    }
    
    .team-banner-image-col {
        width: 100%;
        max-width: 420px;
        height: 280px;
        margin: 0 auto;
    }
    
    .collage-item {
        width: 140px;
        height: 140px;
    }
    
    .collage-item.item-1 {
        left: 10px;
    }
    
    .collage-item.item-2 {
        left: 50%;
        transform: translateX(-50%) scale(1.05);
    }
    
    .collage-item.item-3 {
        right: 10px;
    }
    
    .collage-item:hover {
        transform: scale(1.15) rotate(0deg) !important;
    }
}

/* ==============================================================================
   🛒 B2C SHOP STYLES - Premium layout and cart interaction
   ============================================================================== */

/* Shop Hero & Layout */
.shop-hero-section {
    padding: 60px 0 20px;
    background: radial-gradient(circle at 50% 50%, rgba(197, 160, 89, 0.05) 0%, transparent 80%);
}

.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.shop-product-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.shop-product-card.animation-done {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent-light);
}

.shop-product-card .product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 24px;
}

.shop-product-card .product-category {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.shop-product-card .product-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
    min-height: 52px;
    display: flex;
    align-items: flex-start;
    line-height: 1.3;
}

.shop-product-card .product-desc {
    flex-grow: 1;
    text-align: justify;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.shop-card-footer {
    border-top: 1px dashed var(--color-border);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    width: 100%;
}

.shop-product-price {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    width: 100%;
    display: block;
}

.shop-card-footer .add-to-cart-btn {
    width: 100%;
    margin-top: 0;
    border: 2px solid var(--color-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-card-footer .add-to-cart-btn:hover {
    background-color: transparent !important;
    color: var(--color-accent) !important;
    border-color: var(--color-accent);
}

/* Cart Button in Nav Header */
.cart-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-btn {
    background: transparent;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    position: relative;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-scrolled .cart-btn {
    background: rgba(0, 58, 115, 0.05);
}

.cart-btn:hover {
    background: rgba(197, 160, 89, 0.15);
    color: var(--color-accent);
    transform: scale(1.05);
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-size: 0.72rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: var(--shadow-sm);
}

/* Sliding Cart Drawer */
.cart-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2500;
    display: none;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-drawer-backdrop.active {
    display: flex;
    opacity: 1;
}

.cart-drawer-card {
    background-color: var(--color-bg);
    border-left: 1px solid var(--color-border);
    width: 100%;
    max-width: 420px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.cart-drawer-header {
    padding: 24px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--color-primary);
}

.cart-close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text-muted);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.cart-close-btn:hover {
    color: var(--color-primary);
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-empty-state {
    text-align: center;
    margin-top: 60px;
    color: var(--color-text-muted);
}

.qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-primary);
    cursor: pointer;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.qty-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.remove-item-btn {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--color-text-muted);
    cursor: pointer;
    margin-left: 8px;
    transition: var(--transition-fast);
}

.remove-item-btn:hover {
    color: #cc0000;
}

.cart-drawer-footer {
    padding: 24px;
    border-top: 1px solid var(--color-border);
    background-color: var(--color-bg-alt);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
}

/* Checkout Section & Form Layout */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
    margin-top: 30px;
}

.checkout-form-panel {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.checkout-summary-panel {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 120px;
}

.summary-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.summary-divider {
    height: 1px;
    background-color: var(--color-border);
    margin: 15px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.total-row {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 15px;
}

/* Custom Styled Radio Cards for Delivery & Payment */
.custom-radio-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 10px;
}

.radio-card {
    border: 2px solid var(--color-border);
    padding: 20px;
    border-radius: var(--radius-md);
    display: block;
    cursor: pointer;
    transition: var(--transition-smooth);
    background-color: var(--color-white);
    position: relative;
}

.radio-card input[type="radio"] {
    position: absolute;
    top: 22px;
    right: 20px;
    width: 18px;
    height: 18px;
    accent-color: var(--color-accent);
    cursor: pointer;
    margin: 0;
}

.radio-card.active {
    border-color: var(--color-accent);
    background-color: rgba(197, 160, 89, 0.03);
    box-shadow: var(--shadow-sm);
}

.radio-card-title {
    display: block;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.radio-card-desc {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Success Modal Styles */
.success-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: rgba(197, 160, 89, 0.08);
}

/* RWD for Shop */
@media (max-width: 1200px) {
    .shop-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .shop-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    .checkout-summary-panel {
        position: static;
    }
}

@media (max-width: 576px) {
    .shop-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .checkout-form-panel, .checkout-summary-panel {
        padding: 24px;
    }
}

/* ==============================================================================
   NOWA SEKCJA CERTYFIKATÓW i NORM JAKOŚCI (B2B)
   ============================================================================== */
.about-certificates-container {
    width: 100%;
    margin-top: 40px;
    z-index: 5;
    position: relative;
}

/* Stylizacja Banera Certyfikatów */
.certificates-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 30px 40px;
    box-shadow: var(--shadow-md), 0 8px 30px rgba(0, 58, 115, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.2);
    position: relative;
    overflow: hidden;
}

/* Dekoracyjne kłosy / elementy w tle banera */
.certificates-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.certificates-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.certificates-banner-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.certificates-badge {
    display: inline-block;
    background-color: rgba(197, 160, 89, 0.15);
    border: 1px solid var(--color-accent);
    color: var(--color-accent-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.certificates-banner-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.certificates-banner-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto;
    max-width: 800px;
    line-height: 1.6;
    text-align: justify;
    text-align-last: center;
}

.certs-toggle-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 30px;
    background-color: var(--color-accent);
    border: 2px solid var(--color-accent);
    color: var(--color-primary);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
    transition: var(--transition-fast);
}

.certs-toggle-btn:hover {
    background-color: var(--color-accent-light);
    border-color: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.45);
    color: var(--color-primary);
}

.certs-toggle-btn:active {
    transform: translateY(0);
}

.certs-toggle-btn .toggle-icon {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.certs-toggle-btn.active .toggle-icon {
    transform: rotate(180deg);
}

/* Siatka Certyfikatów (Kafelki) */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, margin-top 0.5s ease;
}

.certificates-grid.active {
    max-height: 1200px; /* Bezpieczna maksymalna wysokość */
    opacity: 1;
    margin-top: 30px;
    overflow: visible; /* Umożliwia hover shadow bez obcinania */
}

/* Kafelek Certyfikatu (Premium Glassmorphic-Warm Look) */
.cert-card {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--color-accent);
    opacity: 0.7;
    transition: var(--transition-fast);
}

.cert-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent-light);
    box-shadow: 0 12px 30px rgba(197, 160, 89, 0.15), 0 4px 10px rgba(0, 58, 115, 0.05);
    background-color: rgba(255, 255, 255, 0.95);
}

.cert-card:hover::before {
    width: 6px;
    opacity: 1;
}

/* Ikona certyfikatu */
.cert-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}

.cert-icon {
    width: 42px;
    height: 42px;
    color: var(--color-primary);
    stroke-width: 1.5px;
    background-color: rgba(0, 58, 115, 0.06);
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.cert-card:hover .cert-icon {
    color: var(--color-accent);
    background-color: rgba(197, 160, 89, 0.1);
}

.cert-badge-type {
    background-color: var(--color-bg-alt);
    color: var(--color-primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(0, 58, 115, 0.1);
}

.cert-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.cert-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.cert-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 20px;
    color: var(--color-primary);
    border-color: var(--color-primary);
    transition: var(--transition-fast);
    text-decoration: none;
    margin-top: auto;
}

.cert-link:hover {
    background-color: var(--color-primary);
    color: var(--color-white) !important;
}

/* Responsywność */
@media (max-width: 992px) {
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .certificates-banner-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .certificates-banner {
        padding: 24px;
    }
    
    .certificates-banner-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }
    
    .certificates-banner-text {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .certs-toggle-btn {
        justify-content: center;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .certificates-grid.active {
        max-height: 2500px; /* Większy limit wysokości dla widoku jednokolumnowego */
    }
    
    .cert-card {
        padding: 24px 20px;
    }
}

/* ==============================================================================
   PRODUKTY - LINK NA GŁÓWNEJ I PASEK FILTROWANIA/SORTOWANIA
   ============================================================================== */
.section-title-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
    display: inline-block;
}

.section-title-link:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.products-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--color-border, #e0d7cd);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 180px;
    min-width: 160px;
}

.filter-group-search {
    flex: 2 1 240px;
    min-width: 220px;
}

.filter-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted, #7a6e65);
}

.filter-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-input-wrapper .search-icon {
    position: absolute;
    left: 12px;
    color: var(--color-text-muted, #7a6e65);
    pointer-events: none;
}

.filter-input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1px solid var(--color-border, #e0d7cd);
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    background-color: #ffffff;
    color: var(--color-text, #2c1e16);
    transition: var(--transition-fast);
}

.filter-input:focus {
    outline: none;
    border-color: var(--color-accent, #c9933b);
    box-shadow: 0 0 0 3px rgba(201, 147, 59, 0.15);
}

.filter-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border, #e0d7cd);
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    background-color: #ffffff;
    color: var(--color-text, #2c1e16);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-select:focus {
    outline: none;
    border-color: var(--color-accent, #c9933b);
    box-shadow: 0 0 0 3px rgba(201, 147, 59, 0.15);
}

.filter-stats {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    padding-bottom: 8px;
}

.filter-count-badge {
    display: inline-block;
    background-color: var(--color-primary, #4a2c11);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .products-filter-bar {
        padding: 16px;
        gap: 12px;
    }
    
    .filter-group {
        flex: 1 1 100%;
    }
    
    .filter-stats {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }
}


