/* Systems/Products responsive & adaptive */
@media (max-width: 1200px) {
    .systems-section .section-header { gap: 16px; }
    .systems-section .section-header .section-title { font-size: 42px; }

    .component-list { gap: 20px; }
    .obtional-components { gap: 20px; }
}

@media (max-width: 992px) {
    .systems-section .section-header { flex-direction: row; justify-content: space-between; align-items: center; width: 100%;}
    .systems-section .section-header .section-title { font-size: 38px; }

    .obtional-components { flex-direction: column; }
    .obtional-components .filter-box { max-width: 100%; width: 100%; }

    .obtional-components .component-list { grid-template-columns: repeat(2, 1fr); }

    .component-info { margin-top: 28px; padding: 0 14px 10px 14px; }
    .component-info .component-title { font-size: 22px; }
    

}

@media (max-width: 768px) {
    .systems-section .section-header .section-title { font-size: 32px; }

    .obtional-components .component-list { grid-template-columns: repeat(2, 1fr); gap: 18px; }

    .component-thumb { aspect-ratio: 4 / 3; }

    .component-info .component-title { font-size: 20px; }
}

@media (max-width: 576px) {
    .systems-section .section-header .section-title { font-size: 28px; }

    .obtional-components .component-list { grid-template-columns: 1fr; gap: 16px; margin: 0 0 80px; }

    .component-info { margin-top: 20px; padding: 0 12px 8px 12px; }
    .component-info .component-title { font-size: 18px; width: 82%; }

    .filter-box ul { max-height: none; }
}

@media (max-width: 400px) {
    .systems-section .section-header .section-title { font-size: 26px; }

    .hero-section-component::after {
        border-radius:  25px 25px 0px 0px;
    }

    .footer-side::after {
        border-radius: 0px 0px 25px 25px;
    }

    .component-info .component-title { font-size: 17px; }
} 

/* Filter drawer styles */
@media (max-width: 992px) {
    .filter-actions { display: flex; justify-content: flex-end; margin-bottom: 12px; }
    .filter-toggle {
        appearance: none;
        border: none;
        background: var(--primary);
        color: var(--white);
        padding: 10px 14px;
        border-radius: 25px;
        font-weight: 600;
        cursor: pointer;
    }

    .filter-panel {
        position: fixed;
        left: 0; right: 0; bottom: 0;
        background: var(--background);
        border-radius: 25px 25px 0 0;
        box-shadow: 0 -8px 30px rgba(0,0,0,0.15);
        transform: translateY(100%);
        transition: transform 0.3s ease;
        z-index: 1001;
        padding: 16px;
        max-height: 75vh;
        overflow-y: auto;
    }
    .filter-panel.active { transform: translateY(0); }

    .filter-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
    .filter-header h4 { margin: 0; font-size: 18px; }
    .filter-close {
        border: 1px solid #c1c3ca;
        background: transparent;
        border-radius: 999px;
        width: 36px; height: 36px;
        font-size: 20px;
        line-height: 1;
        cursor: pointer;
    }

    .filter-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.25);
        z-index: 1000;
        display: none;
    }
    .filter-backdrop.active { display: block; }
}

@media (min-width: 993px) {
    .filter-actions { display: none; }
    .filter-header { display: none; }
    .filter-panel { display: contents; position: static; transform: none; box-shadow: none; padding: 0; border-radius: 0; max-height: none; overflow: visible; }
    .filter-backdrop { display: none !important; }
} 