.battery-repair-page { background: var(--ink); }

.battery-hero-visual::before {
    content: "";
    position: absolute;
    z-index: 1;
    width: min(82%, 520px);
    height: 210px;
    border-radius: 50%;
    background: rgba(255, 59, 10, .08);
    filter: blur(48px);
}

/* ---- Battery diagnostic hero visual (reuses the iPad shell frame) ---- */
.battery-gauge-shell { width: min(66%, 330px); }

.battery-gauge-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}
.battery-gauge-icon svg { width: 30px; height: 16px; flex: 0 0 30px; fill: none; stroke: var(--orange); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.battery-gauge-fill {
    position: relative;
    height: 10px;
    margin-top: 22px;
    overflow: hidden;
    border-radius: 99px;
    background: #14213c;
}
.battery-gauge-fill > span {
    display: block;
    width: 96%;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--orange), var(--orange-bright));
    box-shadow: 0 0 16px rgba(255, 59, 10, .55);
    animation: battery-fill-pulse 3.2s ease-in-out infinite;
}

@keyframes battery-fill-pulse {
    0%, 100% { width: 96%; }
    50% { width: 88%; }
}

.battery-gauge-readings { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 22px; }
.battery-gauge-readings div { padding: 12px; border: 1px solid #23324d; border-radius: 11px; background: var(--panel-light); }
.battery-gauge-readings span { display: block; color: #8995a8; font-size: .58rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.battery-gauge-readings strong { display: block; margin-top: 5px; color: #fff; font-size: .88rem; font-weight: 780; }

.battery-pricing,
.battery-signs,
.battery-coverage { padding-top: 108px; }

.battery-why-list { margin-top: 42px; }

/* ---- Battery replacement pricing cards ---- */
.battery-pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 44px; }

.battery-pricing-card {
    display: flex;
    min-height: 300px;
    flex-direction: column;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 20px;
    background: var(--panel-light);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .16);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.battery-pricing-head { display: flex; align-items: center; gap: 16px; }
.battery-pricing-card .icon-badge { flex-shrink: 0; }
.battery-pricing-card h3 { margin: 0; font-size: 1.28rem; font-weight: 780; letter-spacing: -.03em; }
.battery-pricing-card > p { margin: 16px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }

.battery-pricing-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.battery-pricing-price { color: var(--orange); font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; }
.battery-pricing-time { padding: 6px 12px; border: 1px solid #2b3a55; border-radius: 99px; background: #0b1931; color: #aeb8c9; font-size: .68rem; font-weight: 680; }

.battery-pricing-card ul { display: grid; gap: 9px; margin: 18px 0 24px; padding: 0; color: #cbd1dc; font-size: .78rem; list-style: none; }
.battery-pricing-card li { display: flex; gap: 9px; }
.battery-pricing-card li::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; margin-top: .38em; border: 1px solid var(--orange); border-radius: 50%; }

.battery-pricing-card > a.iphone-card-link { margin-top: auto; }

/* ---- Signs your device needs a battery replacement ---- */
.battery-signs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 28px;
    margin-top: 44px;
    padding: clamp(30px, 4vw, 44px);
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 22px;
    background: var(--panel);
    box-shadow: var(--shadow);
}
.battery-sign-item { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.battery-signs-grid .battery-sign-item:nth-last-child(-n+1),
.battery-signs-grid .battery-sign-item:nth-last-child(2) { border-bottom: 0; }
.battery-sign-item svg { width: 22px; height: 22px; flex: 0 0 22px; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.battery-sign-item p { margin: 0; color: #d2d7e0; font-size: .88rem; font-weight: 620; line-height: 1.55; }

/* ---- Coverage / devices strip ---- */
.battery-coverage-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 44px;
}
.battery-coverage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 26px 18px;
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 18px;
    background: var(--panel-light);
    text-align: center;
}
.battery-coverage-item strong { font-size: .88rem; font-weight: 750; letter-spacing: -.01em; }
.battery-coverage-item span { color: var(--muted); font-size: .72rem; }

@media (hover: hover) and (pointer: fine) {
    .battery-pricing-card:hover {
        transform: translateY(-3px);
        border-color: rgba(255, 59, 10, .38);
        box-shadow: 0 14px 28px rgba(0, 0, 0, .16), 0 0 0 1px rgba(255, 59, 10, .1);
    }
}

@media (max-width: 860px) {
    .battery-pricing-grid { grid-template-columns: 1fr; }
    .battery-signs-grid { grid-template-columns: 1fr; }
    .battery-coverage-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
    .battery-pricing,
    .battery-signs,
    .battery-coverage { padding-top: 76px; }
    .battery-pricing-grid { gap: 14px; margin-top: 30px; }
    .battery-pricing-card { min-height: auto; padding: 24px; }
    .battery-signs-grid { gap: 4px; margin-top: 30px; padding: 24px 22px; }
    .battery-sign-item { gap: 12px; padding: 13px 0; }
    .battery-sign-item p { font-size: .82rem; }
    .battery-coverage-list { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
}