/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.section-header--centered {
    text-align: center;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    color: var(--color-gray-900);
    margin: 0 0 0.75rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-title-bar {
    height: 0.25rem;
    width: 5rem;
    background: var(--color-primary);
    margin-bottom: 1rem;
}

.section-header--centered .section-title-bar {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    color: var(--color-gray-600);
    font-weight: 500;
    max-width: 42rem;
    margin: 0;
}

.section-header--centered .section-subtitle {
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: var(--color-white);
    border: 2px solid var(--color-gray-200);
    padding: 2rem;
    transition: border-color 0.2s;
}

.feature-card:hover {
    border-color: var(--color-primary);
}

.feature-icon-wrapper {
    display: inline-block;
    padding: 1rem;
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    margin-bottom: 1.5rem;
    transition: background 0.2s;
}

.feature-card:hover .feature-icon-wrapper {
    background: #fef2f2;
}

.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--color-primary);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-gray-900);
    margin: 0 0 0.75rem;
}

.feature-description {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Product Grid */
.products-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-gray-300);
}

@media (min-width: 1024px) {
    .products-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.products-title {
    font-size: 1.875rem;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    color: var(--color-gray-900);
    margin: 0;
}

.products-subtitle {
    color: var(--color-gray-600);
    font-weight: 500;
    margin: 0.5rem 0 0;
}

.product-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid var(--color-gray-300);
    background: var(--color-white);
    color: var(--color-gray-600);
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: var(--color-gray-900);
}

.filter-btn--active {
    background: var(--color-gray-900);
    border-color: var(--color-gray-900);
    color: var(--color-white);
}

.products-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Product Card */
.product-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.product-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.product-card__header {
    padding: 1rem;
    border-bottom: 1px solid var(--color-gray-200);
    background: var(--color-gray-50);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-card__sku {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-gray-500);
}

.product-card__type {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    background: var(--color-gray-200);
    color: var(--color-gray-800);
}

.product-card__type--agm {
    background: var(--color-blue-100);
    color: var(--color-blue-800);
}

.product-card__body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card__content {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-card__image-wrapper {
    width: 33%;
    flex-shrink: 0;
    background: var(--color-gray-200);
    border: 1px solid var(--color-gray-300);
    padding: 0.5rem;
}

.product-card__image {
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

.product-card__info {
    flex: 1;
    min-width: 0;
}

.product-card__name {
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-gray-900);
    line-height: 1.2;
    margin: 0 0 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card__app {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-gray-500);
    margin-bottom: 0.25rem;
}

.product-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-card__feature {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--color-gray-600);
    margin-bottom: 0.25rem;
}

.product-card__feature::before {
    content: '';
    width: 0.25rem;
    height: 0.25rem;
    background: var(--color-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.product-card__specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--color-gray-200);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.product-card__spec-label {
    padding: 0.5rem;
    background: var(--color-gray-50);
    font-weight: 700;
    color: var(--color-gray-600);
    border-right: 1px solid var(--color-gray-200);
    border-bottom: 1px solid var(--color-gray-200);
}

.product-card__spec-value {
    padding: 0.5rem;
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--color-gray-900);
    border-bottom: 1px solid var(--color-gray-200);
}

.product-card__add-btn {
    margin-top: auto;
}