#delivery-map-section {
    padding: 6rem 0;
    background: hsl(var(--background, 40 33% 98%));
    border-top: 1px solid hsl(var(--border, 30 20% 88%));
}

#delivery-map-section .delivery-map-container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    #delivery-map-section .delivery-map-container {
        padding: 0 1.5rem;
    }
}

#delivery-map-section .delivery-map-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

#delivery-map-section .delivery-map-header h2 {
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: hsl(var(--foreground, 25 30% 15%));
    margin-bottom: 0.75rem;
}

#delivery-map-section .delivery-map-header p {
    font-size: 1.125rem;
    color: hsl(var(--foreground, 25 30% 15%) / 0.7);
    max-width: 36rem;
    margin: 0 auto;
}

#delivery-map-section .delivery-map-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 56rem;
    margin: 0 auto;
}

@media (min-width: 900px) {
    #delivery-map-section .delivery-map-layout {
        grid-template-columns: 1.4fr 0.8fr;
        gap: 3rem;
        align-items: start;
    }
}

#delivery-map-section .delivery-map-svg-wrap {
    background: hsl(var(--card, 40 30% 96%));
    border: 1px solid hsl(var(--border, 30 20% 88%));
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 8px 24px hsl(25 30% 15% / 0.06);
    overflow: visible;
    width: 100%;
}

#delivery-map-section .delivery-map-svg-wrap svg {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: 959 / 593;
}

#delivery-map-section .delivery-map-svg-wrap .state > path {
    fill: hsl(35 18% 82%);
    stroke: #fff;
    stroke-width: 1;
    transition: fill 0.25s ease;
}

#delivery-map-section .delivery-map-svg-wrap .state > path.delivered {
    fill: hsl(22 46% 42%);
}

#delivery-map-section .delivery-map-svg-wrap .state > path.delivered:hover {
    fill: hsl(22 52% 36%);
}

#delivery-map-section .delivery-map-legend {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

#delivery-map-section .delivery-map-stat {
    background: hsl(var(--card, 40 30% 96%));
    border: 1px solid hsl(var(--border, 30 20% 88%));
    border-radius: 1rem;
    padding: 1.5rem;
}

#delivery-map-section .delivery-map-stat strong {
    display: block;
    font-family: Fraunces, Georgia, serif;
    font-size: 2.5rem;
    line-height: 1;
    color: hsl(22 46% 42%);
    margin-bottom: 0.35rem;
}

#delivery-map-section .delivery-map-stat span {
    font-size: 1rem;
    color: hsl(var(--foreground, 25 30% 15%) / 0.75);
}

#delivery-map-section .delivery-map-key {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
}

#delivery-map-section .delivery-map-key-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: hsl(var(--foreground, 25 30% 15%) / 0.8);
}

#delivery-map-section .delivery-map-swatch {
    width: 1rem;
    height: 1rem;
    border-radius: 0.2rem;
    border: 1px solid hsl(var(--border, 30 20% 88%));
}

#delivery-map-section .delivery-map-swatch.delivered {
    background: hsl(22 46% 42%);
}

#delivery-map-section .delivery-map-swatch.pending {
    background: hsl(35 18% 82%);
}

#delivery-map-section .delivery-map-states {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

#delivery-map-section .delivery-map-state-tag {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: hsl(22 46% 42% / 0.12);
    color: hsl(22 46% 32%);
    border: 1px solid hsl(22 46% 42% / 0.2);
}
