/* AC Stations Page Specific Styles */
.ac-hero {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(45, 45, 45, 0.8) 100%), url("/img/stacje_ac/stacje_ac_tlo.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.ac-hero__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.ac-hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.ac-hero__subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: #00b1cf;
    opacity: 0.9;
}

.ac-hero__description {
    font-size: 1.25rem;
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Main Content Layout */
.ac-main {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.ac-content {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 2px solid #e0e0e0;
}

/* Product Grid */
.ac-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.ac-product {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    height: 100%;
}

.ac-product:hover {
    border-color: #00b1cf;
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 177, 207, 0.15);
}

.ac-product__image {
    width: 100%;
    height: 200px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.ac-product__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.ac-product__manufacturer {
    color: #00b1cf;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.ac-product__name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #303a4d;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.ac-product__specs-wrapper {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.ac-product__power {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.ac-product__button {
    background: #00b1cf;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto;
    text-align: center;
}

.ac-product:hover .ac-product__button {
    background: #0097ad;
}

.ac-product__unavailable-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4d4f;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

/* Filter Sidebar */
.ac-filters {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.ac-filters__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #303a4d;
    margin: 0 0 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ac-filters__toggle {
    display: none;
    background: #00b1cf;
    color: #fff;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ac-filter-group {
    margin-bottom: 2rem;
}

.ac-filter-group:last-child {
    margin-bottom: 0;
}

.ac-filter-group__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #303a4d;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ac-filter-option {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.ac-filter-option:last-child {
    margin-bottom: 0;
}

.ac-filter-option input[type="checkbox"] {
    margin-right: 0.75rem;
    width: 18px;
    height: 18px;
    accent-color: #00b1cf;
    cursor: pointer;
}

.ac-filter-option label {
    color: #555;
    cursor: pointer;
    font-size: 0.95rem;
}

/* Results Counter */
.ac-results {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.ac-results__count {
    font-size: 1.1rem;
    font-weight: 600;
    color: #303a4d;
}

.ac-results__count span {
    color: #00b1cf;
}

.ac-results__clear {
    background: none;
    border: none;
    color: #00b1cf;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.95rem;
}

.ac-results__clear:hover {
    color: #0097ad;
}

/* Responsive */
@media (max-width: 1200px) {
    .ac-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ac-filters {
        position: static;
        order: -1;
    }
}

@media (max-width: 992px) {
    .ac-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ac-hero {
        background-attachment: scroll;
        padding: 120px 0 60px;
    }

    .ac-hero__title {
        font-size: 2.5rem;
    }

    .ac-hero__subtitle {
        font-size: 1.25rem;
    }

    .ac-grid {
        grid-template-columns: 1fr;
    }

    .ac-filters__toggle {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .ac-filters__content {
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        opacity: 0;
    }

    .ac-filters__content.expanded {
        max-height: 2000px;
        opacity: 1;
        margin-top: 1.5rem;
    }
}