.tile {
    position: relative;
    width: 400px;
    height: 405px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.tile .tile-image {
    position: relative;
    width: 100%;
    height: 225px;
    border-radius: 15px;
    background-size: cover;
}

.tile .tile-image:hover {
    cursor: pointer;
}

.tile .tile-image::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 20px;
    height: 20px;
    background: transparent;
    border-radius: 50%;
    box-shadow: -10px 10px 0 var(--bs-body-bg);
    z-index: 0;
}

.tile .tile-image::after {
    content: '';
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 20px;
    height: 20px;
    background: transparent;
    border-radius: 50%;
    box-shadow: -10px 10px 0 var(--bs-body-bg);
    z-index: 0;
}

.tile-badge {
    position: absolute;
    top: 16px;
    background-color: var(--bs-badge-bg);
    z-index: 1;
    padding: 8px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    font-weight: 700;
    
    box-shadow: 2px 2px 0px 1px rgba(0, 0, 0, 0.15);
}

.tile .tile-body {
    position: relative;
    width: 100%;
    height: 170px;
    border-radius: 15px;
    border-top-left-radius: 0;
}

[data-bs-theme=dark] .tile .tile-body {
    background-color: var(--bs-card-bg-dark);
}

[data-bs-theme=light] .tile .tile-body {
    background-color: var(--bs-card-bg-light);
}


.tile .tile-body .tile-price {
    position: absolute;
    top: -80px;
    height: 80px;
    width: 50%;
    z-index: 2;
    border-top: 10px solid var(--bs-body-bg);
    border-right: 10px solid var(--bs-body-bg);
    border-top-right-radius: 25px;
    background-color: var(--bs-card-bg-dark);
}

[data-bs-theme=dark] .tile .tile-body .tile-price {
    background-color: var(--bs-card-bg-dark);
}

[data-bs-theme=light] .tile .tile-body .tile-price {
    background-color: var(--bs-card-bg-light);
}
[data-bs-theme=light] .tile .tile-body .tile-price::after {
    box-shadow: -10px 10px 0 var(--bs-card-bg-light);
}

.tile-price a {
    font-size: 1.25rem !important;
    font-family: sans-serif;
    font-weight: 900;
}

.tile .tile-body .tile-price::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: transparent;
    border-radius: 50%;
    box-shadow: -10px -10px 0 var(--bs-body-bg);
    z-index: -1;
}

.tile .tile-body .tile-price::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -25px;
    width: 25px;
    height: 25px;
    background: transparent;
    border-radius: 50%;
    box-shadow: -10px 10px 0 var(--bs-card-bg-dark);
    z-index: -1;
}

.tile .tile-features {
    position: absolute;
    bottom: 10px;
}

.tile .tile-features i {
    color: var(--bs-accent)
}
.tile .tile-features span {
    font-weight: 700;
}

.tile .tile-title h3{
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .tile {
        width: 100%;
        margin-bottom: 2rem;
    }
    .tile-price a {
        font-size: 1rem !important;
    }
    .tile .tile-body .tile-price {
        top: -79px;
    }
    .tile .tile-body .tile-price::after {
        bottom: 1px;
    }
    
}