/* ── Where we deliver ───────────────────────────────────────
   Figma: desktop 3093:120496 — the areas beside the map, the
   Locations & operations card over the map's corner. Tablet and
   mobile (3093:120817): the map, the card under it, the words.
   ─────────────────────────────────────────────────────────── */

.where-deliver {
    padding: var(--pad-y) var(--pad-x);
}

.where-deliver__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: var(--site-max-w);
    margin: 0 auto;
}

.where-deliver__text {
    display: flex;
    flex: 0 1 574px;
    flex-direction: column;
    gap: 20px;
    line-height: 20.8px;
}

.where-deliver__title {
    font-family: var(--font-heading);
    font-size: 45px;
    font-weight: 600;
    line-height: 48px;
}

.where-deliver__areas {
    display: flex;
    flex-direction: column;
    gap: 18px;
    list-style: none;
}

.where-deliver__areas li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.where-deliver__areas svg {
    flex: none;
}

.where-deliver__areas strong {
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-heading);
   font-weight: 600;
    line-height: 25px;
    font-size: 20px;
}

/* The map: the picture (radius, label and pin drawn in) covers the box */
.where-deliver__visual {
    position: relative;
    flex: 0 1 664px;
}

.where-deliver__map {
   position: relative;
    overflow: hidden;
    border-radius: 3px;
    background: #d7dde4;
    box-shadow: 0 0 12px rgb(0 0 0 / 0.12);
    object-position: top;
    object-fit: cover;
}

.where-deliver__map img {
    object-fit: cover;
    object-position: bottom;
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
} 

/* Locations & operations: over the map's bottom-right corner on desktop */
.where-deliver__card {
    position: absolute;
    right: 24px;
    bottom: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    width: 228px;
    min-height: 271px;
    padding: 14px 16px;
    border-radius: 10px;
    background: var(--color-secondary);
    box-shadow: 0 4px 16px rgb(0 0 0 / 0.2);
    color: var(--color-white);
    line-height: 20.8px;
}

.where-deliver__card-title {
    color: var(--color-accent);
    font-weight: 700;
}

.where-deliver__hours {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
}

.where-deliver__hours div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.where-deliver__hours dd {
    margin: 0;
}

.where-deliver__hours .is-closed {
    color: var(--color-accent);
}

/* ── Tablet and mobile: the map, the card, then the words ───── */
@media (max-width: 1024px) {
    .where-deliver__inner {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 25px;
    }

    .where-deliver__text,
    .where-deliver__visual {
        flex: none;
    }

    .where-deliver__visual {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .where-deliver__map {
        height: auto;
        aspect-ratio: 3 / 2;
    }

    .where-deliver__card {
        position: static;
        width: auto;
        min-height: 0;
        gap: 20px;
    }

    .where-deliver__title {
        font-size: 32px;
        line-height: 36px;
    }
}

@media (max-width: 767px) {
    .where-deliver__map {
        aspect-ratio: 1;
    }

    .where-deliver__areas {
        margin-top: 12px;
    }

    .where-deliver__hours {
        gap: 20px;
    }

    .where-deliver__title {
        font-size: 28px;
        line-height: 36px;
    }
}
