/* =============================================
   Package Card Component  (.pkg-card)
   Shared by Package/Index and Home/Index
   ============================================= */

.pkg-card {
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    transition: transform .25s ease, box-shadow .25s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pkg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.12);
}

/* ---- Image area ---- */
.pkg-card__img-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
    flex-shrink: 0;
}

.pkg-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.pkg-card:hover .pkg-card__img-wrap img {
    transform: scale(1.04);
}

/* Very subtle gradient at the very bottom of the image only */
.pkg-card__img-wrap::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 50px;
    background: linear-gradient(to top, rgba(0,0,0,0.22), transparent);
    pointer-events: none;
}

/* Date pill — light, frosted look */
.pkg-card__date {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--ajColor1);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 999px;
    letter-spacing: .03em;
    z-index: 2;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ---- Card body ---- */
.pkg-card__body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pkg-card__route {
    font-size: 17px;
    font-weight: 800;
    color: #0f3f41;
    margin: 0 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.pkg-card__name {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---- Meta row: seats | price ---- */
.pkg-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px dashed #e5e7eb;
    padding-top: 12px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-top: auto;
}

.pkg-card__meta i {
    margin-right: 4px;
    color: #9ca3af;
}

.pkg-card__price {
    font-weight: 800;
    color: #0f3f41;
    font-size: 14px;
}

/* ---- CTA link ---- */
.pkg-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ajColor, #7c3aed);
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    transition: gap .2s ease, color .2s ease;
}

.pkg-card__btn i {
    font-size: 12px;
    transition: transform .2s ease;
}

.pkg-card__btn:hover {
    color: var(--ajColor, #7c3aed);
    gap: 10px;
}

/* ---- Swiper slide height reset ---- */
.shared-charter-slider .swiper-slide {
    height: auto;
}
