﻿
.appliance-page {
    --ap-green: #075b43;
    --ap-green-dark: #003f30;
    --ap-green-light: #e6f5ec;
    --ap-mint: #59f19a;
    --ap-ink: #101c3a;
    --ap-muted: #56647b;
    --ap-border: #e0ebe5;
    color: var(--ap-ink);
    background: #f7faf8;
    font-family: Arial, Helvetica, sans-serif;
}

    .appliance-page *,
    .appliance-page *::before,
    .appliance-page *::after {
        box-sizing: border-box;
    }

.appliance-container {
    width: min(1500px, calc(100% - 36px));
    margin-inline: auto;
}

.appliance-hero {
    color: #fff;
    background: linear-gradient(90deg, rgba(1, 18, 15, .98) 0%, rgba(1, 18, 15, .86) 52%, rgba(1, 18, 15, .12) 100%), url("../images/appliance-hero.jpg") center / cover no-repeat, #081d18;
    min-height: 280px;
    display: flex;
    align-items: center;
}

.appliance-hero-content {
    width: min(1500px, calc(100% - 64px));
    margin: 0 auto;
    padding: 36px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    align-items: center;
    gap: 28px;
}

.appliance-eyebrow {
    display: block;
    color: var(--ap-green);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .06em;
    margin-bottom: 8px;
}

.appliance-hero .appliance-eyebrow {
    color: #fff;
    font-size: clamp(16px, 2vw, 25px);
}

.appliance-hero h1 {
    margin: 0;
    font-size: clamp(40px, 5.6vw, 76px);
    line-height: .98;
    letter-spacing: -.035em;
    font-weight: 900;
}

    .appliance-hero h1 span {
        color: var(--ap-mint);
    }

.appliance-hero-subtitle {
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 700;
    line-height: 1.35;
    margin: 12px 0 18px;
}

.appliance-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

    .appliance-hero-features span {
        font-size: 15px;
        font-weight: 600;
    }

        .appliance-hero-features span::first-letter {
            color: var(--ap-mint);
        }

.appliance-hero-image {
    min-height: 205px;
}

.appliance-main-section {
    padding: 18px 0 45px;
}

.appliance-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(360px, .95fr);
    gap: 16px;
    align-items: start;
}

.appliance-map-card,
.appliance-panel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ap-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(12, 59, 40, .06);
}

.appliance-map-heading {
    min-height: 54px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    background: linear-gradient(100deg, #004431, #087655);
}

    .appliance-map-heading h2 {
        margin: 0;
        font-size: clamp(16px, 1.7vw, 23px);
        line-height: 1.25;
    }

.appliance-map-pin {
    font-size: 24px;
    color: #a8ffcf;
}

#appliance-map {
    width: 100%;
    height: clamp(440px, 57vw, 700px);
    min-height: 420px;
    background: #e5eee8;
    z-index: 1;
}

.appliance-map-loading {
    padding: 20px;
    color: var(--ap-muted);
}

.appliance-map-legend {
    display: grid;
    gap: 9px;
    padding: 15px 18px;
    border-top: 1px solid var(--ap-border);
    font-size: 13px;
}

    .appliance-map-legend strong {
        font-size: 15px;
        margin-bottom: 2px;
    }

    .appliance-map-legend span {
        display: flex;
        align-items: center;
        gap: 9px;
    }

.legend-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    display: inline-block;
    flex: 0 0 13px;
}

.legend-green {
    background: #16803b;
}

.legend-yellow {
    background: #d6bf00;
}

.legend-orange {
    background: #f47712;
}

.legend-red {
    background: #e51b23;
}

.appliance-map-disclaimer,
.appliance-parts-note,
.appliance-small-print {
    color: var(--ap-muted);
    font-size: 12px;
    line-height: 1.6;
}

.appliance-map-disclaimer {
    padding: 0 18px 14px;
    margin: 0;
}

.appliance-sidebar {
    display: grid;
    gap: 15px;
}

.appliance-panel {
    padding: 18px;
    background: linear-gradient(145deg, #f0faf4, #fff);
}

    .appliance-panel h2 {
        font-size: clamp(20px, 2vw, 27px);
        margin: 0 0 15px;
        line-height: 1.2;
    }

.appliance-process-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 12px;
    align-items: start;
    padding: 13px 0;
    border-bottom: 1px solid #dce9e0;
}

    .appliance-process-item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

.appliance-step {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #087c58, #004632);
    color: #fff;
    font-size: 25px;
    font-weight: 900;
}

.appliance-process-copy h3 {
    margin: 2px 0 5px;
    font-size: 17px;
}

.appliance-process-copy p {
    margin: 0;
    color: #344157;
    font-size: 14px;
    line-height: 1.5;
}

.appliance-process-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #d9f5e4;
    font-size: 25px;
}

.appliance-warning {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 18px;
    border-radius: 12px;
    background: #fff0f0;
    border: 1px solid #f7d6d6;
}

.appliance-warning-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e61f32;
    color: white;
    font-size: 30px;
    font-weight: 900;
}

.appliance-warning h2 {
    color: #d71928;
    margin: 0 0 6px;
    font-size: 18px;
}

.appliance-warning p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.appliance-repair-prices h2 {
    display: flex;
    gap: 9px;
    align-items: center;
}

    .appliance-repair-prices h2 span:last-child {
        font-size: .75em;
        font-weight: 500;
    }

.appliance-heading-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #087353;
    color: #fff;
}

.appliance-price-table {
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e4eee7;
}

.appliance-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-bottom: 1px solid #e4eee7;
    font-size: clamp(17px, 1.7vw, 24px);
}

    .appliance-price-row:last-child {
        border-bottom: 0;
    }

    .appliance-price-row strong:last-child {
        color: #075b43;
        white-space: nowrap;
    }

.appliance-time-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-top: 14px;
}

    .appliance-time-note > span {
        font-size: 28px;
        color: #075b43;
    }

    .appliance-time-note p {
        margin: 0;
        font-size: 14px;
        line-height: 1.55;
    }

.appliance-parts-note {
    margin: 10px 0 0;
}

.appliance-town-section {
    margin-top: 38px;
}

.appliance-section-title {
    margin-bottom: 20px;
}

    .appliance-section-title h2 {
        margin: 0 0 8px;
        font-size: clamp(24px, 3vw, 34px);
    }

    .appliance-section-title p {
        color: var(--ap-muted);
        margin: 0;
        line-height: 1.6;
    }

.appliance-town-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.appliance-town-card {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--ap-border);
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(12, 59, 40, .035);
}

    .appliance-town-card strong {
        display: block;
        margin-bottom: 4px;
    }

    .appliance-town-card small {
        color: var(--ap-muted);
        font-size: 11px;
    }

.appliance-town-price {
    color: var(--ap-green);
    white-space: nowrap;
    font-size: 15px;
    font-weight: 900;
}

.appliance-benefits {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.appliance-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 105px;
    padding: 16px;
    border: 1px solid var(--ap-border);
    border-radius: 11px;
    background: #fff;
}

    .appliance-benefit > span {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: #075b43;
        color: #fff;
        font-size: 23px;
    }

    .appliance-benefit h3 {
        font-size: 15px;
        margin: 0 0 6px;
    }

    .appliance-benefit p {
        font-size: 12px;
        color: var(--ap-muted);
        line-height: 1.5;
        margin: 0;
    }

.appliance-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 25px;
    padding: 26px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(115deg, #003f30, #087655);
}

    .appliance-callout .appliance-eyebrow {
        color: #9dffca;
    }

    .appliance-callout h2 {
        margin: 0 0 8px;
        font-size: clamp(23px, 3vw, 32px);
    }

    .appliance-callout p {
        margin: 0;
        color: #e4f5ec;
        line-height: 1.6;
    }

.appliance-call-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 15px 20px;
    color: #fff;
    background: #003f30;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 9px;
    font-weight: 800;
    text-decoration: none;
}

    .appliance-call-button:hover {
        background: #022e24;
    }

.appliance-map-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

    .appliance-map-marker .marker-pin {
        width: 27px;
        height: 27px;
        display: grid;
        place-items: center;
        border: 3px solid #fff;
        border-radius: 50% 50% 50% 0;
        transform: rotate(-45deg);
        box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
    }

        .appliance-map-marker .marker-pin span {
            transform: rotate(45deg);
            color: #fff;
            font-size: 12px;
            font-weight: 900;
        }

    .appliance-map-marker .marker-label {
        padding: 3px 7px;
        border: 2px solid #fff;
        border-radius: 6px;
        color: #fff;
        font-size: 12px;
        font-weight: 900;
        white-space: nowrap;
        box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
    }

    .appliance-map-marker .marker-green {
        background: #16803b;
    }

    .appliance-map-marker .marker-yellow {
        background: #d6bf00;
        color: #142015;
    }

    .appliance-map-marker .marker-orange {
        background: #f47712;
    }

    .appliance-map-marker .marker-red {
        background: #e51b23;
    }

    .appliance-map-marker .marker-pin.marker-yellow span {
        color: #142015;
    }

.leaflet-popup-content-wrapper {
    border-radius: 10px;
}

.appliance-popup {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

    .appliance-popup strong {
        color: #075b43;
        font-size: 15px;
    }

.appliance-popup-price {
    font-weight: 900;
    font-size: 19px;
}

.appliance-popup a {
    color: #075b43;
    font-weight: 800;
}

@media (max-width: 1050px) {
    .appliance-main-grid {
        grid-template-columns: 1fr;
    }

    #appliance-map {
        height: 550px;
    }

    .appliance-town-grid,
    .appliance-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .appliance-hero-content {
        grid-template-columns: 1fr;
    }

    .appliance-hero-image {
        display: none;
    }
}

@media (max-width: 600px) {
    .appliance-container {
        width: calc(100% - 20px);
    }

    .appliance-hero-content {
        width: calc(100% - 32px);
        padding: 30px 0;
    }

    .appliance-hero {
        min-height: auto;
    }

        .appliance-hero h1 {
            font-size: clamp(36px, 11vw, 54px);
        }

    .appliance-hero-features {
        gap: 10px;
    }

        .appliance-hero-features span {
            font-size: 13px;
        }

    #appliance-map {
        height: 440px;
        min-height: 380px;
    }

    .appliance-map-heading {
        padding: 12px;
    }

        .appliance-map-heading h2 {
            font-size: 15px;
        }

    .appliance-process-item {
        grid-template-columns: 40px minmax(0, 1fr) 38px;
        gap: 9px;
    }

    .appliance-step {
        width: 38px;
        height: 38px;
        font-size: 21px;
    }

    .appliance-process-icon {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .appliance-town-grid,
    .appliance-benefits {
        grid-template-columns: 1fr;
    }

    .appliance-callout {
        align-items: stretch;
        flex-direction: column;
        padding: 20px;
    }

    .appliance-call-button {
        width: 100%;
    }

    .appliance-price-row {
        font-size: 18px;
    }
}
