.service-item {
    margin: 15px auto;
    border: 1px solid #ccc;
    border-radius: 10px;
    transition: border 0.3s ease;
    max-width: 360px;
    width: 100%;
    border: 1px solid var(--color-border-card);
    overflow: hidden;
    background: var(--color-bg-card);
    text-decoration: none;
    color: var(--color-dark);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-item .link-to-details {
    position: absolute;
    width: 100%;
    height: calc(100% - 90px);
    z-index: 999;
}

.service-item__image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
}

.service-item__image img {
    width: 100%;
    min-height: 100%;
    transition: transform 0.5s ease-in-out;
}

.service-item__image:hover img {
    transform: scale(1.3);
}

.service-item__info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.service-item__extra-duration,
.service-item__extra-people,
.service-item__extra-people-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.service-item__title,
.service-item__price,
.service-item__info-extra,
.service-item__actions {
    margin-bottom: 14px;
}
.service-item__title {
    font-weight: var(--font-weight-service-card-bold);
    text-decoration: none;
}

.service-item__title {
    font-size: var(--font-size-service-card-title);
}

.service-item__price {
    font-size: var(--font-size-service-card-price);
}


.service-item__info-extra {
    display: flex;
    gap: 10px;
    font-size: var(--font-size-service-card-extra);
    font-weight: var(--font-weight-service-card-normal);
}

.service-item__actions {
    display: flex;
    gap: 10px;
}

.service-item__actions.flex-wrap {
    flex-wrap: wrap;
}

.service-item__my-booking {
    font-size: 13px;
    font-weight: 300;
    color: var(--color-dark-600);
}

.selected .service-item__my-booking {
    color: var(--color-light);
}

.reduced-image-height.service-item__image {
    height: 96px;
}

@media screen and (min-width: 768px) {
    .service-list {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        padding-inline: 15px;
        justify-content: center;
        margin-top: 25px;
    }

    .service-item {
        margin: 0;
    }
}

.service__badges-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 15px;
}
