.yahma-city-booking {
    width: min(100%, 1240px);
    margin: 36px auto 56px;
    padding: clamp(22px, 3vw, 42px);
    border: 1px solid rgba(136, 149, 149, 0.14);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(19, 36, 55, 0.12);
}

.yahma-city-booking .filter-form {
    max-width: none;
}

.yahma-city-booking .form-bg {
    padding: 0;
}

.yahma-city-booking .entry-content ul.bg-overlay,
.entry-content .yahma-city-booking ul.bg-overlay,
.yahma-city-booking ul.bg-overlay {
    padding: 0;
    background: transparent;
}

.yahma-city-booking .search-icon {
    background-color: #23bcb9;
}

.yahma-city-branches {
    margin-top: 52px;
}

.yahma-city-branches > h2 {
    margin-bottom: 24px;
}

.yahma-city-branches__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.yahma-city-branch-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e1e8e8;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(19, 36, 55, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.yahma-city-branch-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(19, 36, 55, 0.14);
}

.yahma-city-branch-card__map {
    position: relative;
    height: 150px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(35, 188, 185, 0.16), rgba(35, 188, 185, 0.04)),
        repeating-linear-gradient(32deg, transparent 0 34px, rgba(136, 149, 149, 0.15) 35px 39px),
        repeating-linear-gradient(122deg, transparent 0 46px, rgba(136, 149, 149, 0.12) 47px 51px),
        #f4f8f8;
}

.yahma-city-branch-card__map span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    border: 8px solid #23bcb9;
    border-radius: 50% 50% 50% 0;
    background: #fff;
    transform: translate(-50%, -65%) rotate(-45deg);
    box-shadow: 0 5px 12px rgba(19, 36, 55, 0.2);
}

.yahma-city-branch-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.yahma-city-branch-card h3 {
    margin: 0 0 18px;
    color: #17243a;
    font-size: clamp(21px, 2vw, 27px);
    line-height: 1.35;
}

.yahma-city-branch-card__details {
    display: grid;
    gap: 12px;
    margin: 0 0 22px !important;
    padding: 0 !important;
    list-style: none;
}

.yahma-city-branch-card__detail {
    position: relative;
    min-height: 24px;
    padding-inline-start: 34px;
    color: #59697c;
    font-size: 15px;
    line-height: 1.6;
}

.yahma-city-branch-card__detail::before {
    position: absolute;
    inset-inline-start: 0;
    top: 1px;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 7px;
    background: rgba(35, 188, 185, 0.12);
    color: #159895;
    font-size: 13px;
}

.yahma-city-branch-card__detail--location::before { content: "\25CF"; }
.yahma-city-branch-card__detail--pickup::before { content: "\2713"; font-weight: 800; }
.yahma-city-branch-card__detail--phone::before { content: "\260E"; }

.yahma-city-branch-card__detail a {
    color: inherit;
    text-decoration: none;
}

.yahma-city-branch-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.yahma-city-branch-card__button,
.yahma-city-branch-card__map-link {
    display: inline-flex;
    min-height: 44px;
    flex: 1 1 150px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
}

.yahma-city-branch-card__button {
    background: #23bcb9;
    color: #fff;
    font-weight: 700;
}

.yahma-city-branch-card__button:hover,
.yahma-city-branch-card__button:focus {
    background: #159895;
    color: #fff;
}

.yahma-city-branch-card__map-link {
    border: 1px solid #23bcb9;
    color: #147f7d;
}

@media (max-width: 1024px) {
    .yahma-city-branches__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .yahma-city-booking {
        margin: 24px auto 40px;
        padding: 18px 14px;
        border-radius: 16px;
    }

    .yahma-city-booking .form-bg { padding: 0 !important; }
    .yahma-city-booking ul.bg-overlay { gap: 24px; }
    .yahma-city-branches__grid { grid-template-columns: 1fr; }
    .yahma-city-branch-card__map { height: 130px; }
}
