/**
 * Elsafwa Trading Est. - BATER Collection Stylesheet
 * ===================================================
 * Scoped styles for the BATER brand page (/brands/bater).
 * Clean, professional industrial theme for traction batteries.
 * Hero banner rendered naturally with ZERO overlays, tints, or filters.
 */

/* Scoped Container */
.bater-collection {
    width: 100%;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #0f172a;
}

/* 1. Hero Banner Component (Natural Image Display) */
.bater-hero-section {
    position: relative;
    width: 100%;
    margin-bottom: 36px;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.bater-hero-img-wrap {
    width: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bater-hero-img-wrap img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    /* Natural image rules: zero overlays, tints, blurs, glow, or CSS filters */
}

.bater-hero-content {
    padding: 28px 36px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.bater-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.bater-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 8px;
}

.bater-hero-subtitle {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 20px;
    max-width: 750px;
}

.bater-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2563eb;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    width: fit-content;
}

.bater-hero-cta:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(29, 78, 216, 0.3);
}

/* 2. Applications Cards Section */
.bater-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 36px 0 20px 0;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.bater-apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.bater-app-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.bater-app-card:hover {
    transform: translateY(-3px);
    border-color: #2563eb;
}

.bater-app-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.bater-app-name {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

/* 3. Product Overview Section */
.bater-overview-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.bater-overview-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 36px;
    align-items: start;
}

.bater-img-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.bater-img-box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.bater-img-caption {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    margin-top: 10px;
}

.bater-overview-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.bater-category-tag {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    font-weight: 800;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.bater-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 24px;
}

.bater-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bater-meta-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px;
}

.bater-meta-box h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.bater-meta-box ul {
    padding-left: 18px;
    font-size: 13px;
    color: #475569;
}

.bater-meta-box ul li {
    margin-bottom: 6px;
}

/* 4 & 5. Cell & Spec Overview Sections */
.bater-cells-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 32px;
    align-items: center;
}

.bater-cell-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 16px;
}

.bater-cell-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 6px;
}

.bater-cell-card p {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
}

/* 6. Technical Specifications Table */
.bater-table-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.bater-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bater-filter-tab {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.bater-filter-tab:hover, .bater-filter-tab.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.bater-search-box {
    padding: 8px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13px;
    min-width: 240px;
    outline: none;
}

.bater-table-responsive {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
}

.bater-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.bater-spec-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 14px;
    border-bottom: 2px solid #e2e8f0;

}

.bater-spec-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #e2e8f0;
    color: #0f172a;
}

.bater-spec-table tbody tr:hover {
    background: #f8fafc;
}

.bater-badge-4pole {
    background: #fef3c7;
    color: #b45309;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-left: 4px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .bater-overview-grid, .bater-cells-grid {
        grid-template-columns: 1fr;
    }
    .bater-apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bater-meta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .bater-apps-grid {
        grid-template-columns: 1fr;
    }
    .bater-hero-content {
        padding: 20px;
    }
    .bater-hero-title {
        font-size: 24px;
    }
}


/* Scoped Image Sizing Corrections (BATER-02.1) */
.bater-product-image-wrap {
    width: 100%;
    text-align: center;
}

.bater-product-image {
    width: min(100%, 440px);
    max-height: 480px;
    height: auto;
    object-fit: contain;
    margin-inline: auto;
    display: block;
}

.bater-spec-image-wrap {
    width: 100%;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
}

.bater-spec-image {
    width: min(100%, 320px);
    max-width: 320px;
    max-height: 290px;
    height: auto;
    object-fit: contain;
    margin-inline: auto;
    display: block;
}
