/*
card paket
 */
 .single-card {
    flex-shrink: 0;
    width: 302px;
    height: 450px; /* Fixed height to prevent layout shift */
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 250px auto;
    border-radius: 32px;
    margin-bottom: 32px;
    box-shadow: var(--card-shadow);
}
.single-card_header {
    position: relative;
}
.single-card_header-title > div:first-child p {
    font-weight: 600;
    line-height: 24px; /* 150% */
    min-height: 48px; /* Fixed height for 2 lines of text to prevent layout shift */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.single-card_header-title div:last-child p {
    font-size: 12px;
    font-family: var(--general-sans-500);
    line-height: 16px;
}
.single-card_header-badge {
    position: absolute;
    top: 24px;
    left: -8px;
    z-index: 1;
}
.single-card_header-title {
    position: absolute;
    bottom: -45px;
    padding: 12px 16px;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 16px;
    background: #fff;
    width: 270px;
    display: grid;
    grid-template-rows: auto 16px;
    min-height: 104px; /* Fixed height to prevent layout shift */
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    box-shadow: var(--hard-shadow);
}
.single-card_header-title > div:last-child {
    display: flex;
    align-items: center;
    gap: 16px;
}
.single-card_header-image {
    border-radius: 32px;
    overflow: hidden;
    width: 302px; /* Fixed width to prevent layout shift */
    height: 250px; /* Fixed height to prevent layout shift */
    position: relative;
}
.single-card_header-image img {
    aspect-ratio: 6/5;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Prevents extra space below image */
}
.single-card_header-title_total-seat,
.single-card_header-title_seat-status,
.single-card_header-title_total-seat p,
.single-card_header-title_seat-status p {
    display: flex;
    align-items: center;
}
.single-card_header-title_total-seat,
.single-card_header-title_seat-status {
    gap: 4px;
    min-width: 120px; /* Fixed width to prevent layout shift */
    min-height: 20px; /* Fixed height to prevent layout shift */
}
.single-card_header-title_total-seat p,
.single-card_header-title_seat-status p {
    gap: 2px;
    width: 100%;
    white-space: nowrap;
    text-transform: capitalize;
    min-height: 16px; /* Fixed height to prevent layout shift */
}
.single-card_header-title_total-seat img,
.single-card_header-title_seat-status img {
    height: 16px;
}
.single-card_header-title_seat-status p.no-seat {
    color: var(--stroke-red);
}
.single-card_header-title_seat-status p.avail-seat {
    color: #359b05;
}
.single-card_info {
    padding: 61px 16px 20px 16px;
    min-height: 200px; /* Fixed height to prevent layout shift */
}
.single-card_info-desc {
    display: grid;
    justify-content: space-between;
    align-items: start;
    grid-template-columns: 130px 1fr;
    gap: 32px;
}
.single-card_info-desc > div {
    display: flex;
    flex-direction: column;
    gap: 9px;
    justify-content: start;
}
.single-card_info-desc > div > div {
    display: flex;
    align-items: start;
    gap: 8px;
    text-transform: capitalize;
    font-size: 12px;
}
.single-card_info-desc > div > div span:first-child {
    flex-shrink: 0;
}
.single-card_info-desc-rating span:last-child {
    display: flex;
    align-items: center;
    gap: 2px;
}
.single-card_info-price {
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.single-card_info-price div:first-child {
    display: flex;
    align-items: center;
    gap: 2px;
}
.single-card_info-price div:first-child p:first-child {
    color: var(--stroke-green);
    font-family: var(--general-sans-600);
    font-size: 20px;
    background: linear-gradient(204deg, #01f91a -18.49%, #359b05 84.72%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.single-card_info-price div:first-child p:last-child {
    font-size: 12px;
}
.single-card_info-price button,
.single-card_info-price a {
    display: block;
    padding: 4px 12px;
    border-radius: 8px;
    color: white;
    background: linear-gradient(71deg, #e82320 23.31%, #fa504d 135.49%);
    box-shadow: var(--red-button-shadow);
    font-size: 12px;
    font-family: var(--general-sans-600);
    line-height: 24px;
}
.card-has-seat img:last-child {
    display: none;
}
.card-no-seat img:first-child {
    display: none;
}
/*
    filter label badge
*/
[data-label-pakcage] img {
    display: none;
}
/* haji */
[data-label-pakcage="1"] img[data-label-package-img="1"] {
    display: block;
}
[data-label-pakcage="2"] img[data-label-package-img="2"] {
    display: block;
}
[data-label-pakcage="3"] img[data-label-package-img="3"] {
    display: block;
}
[data-label-pakcage="4"] img[data-label-package-img="4"] {
    display: block;
}
[data-label-pakcage="5"] img[data-label-package-img="5"] {
    display: block;
}
