/* --------------------------------------------------------------------------
   Compact hero booking card
   -------------------------------------------------------------------------- */
.pkg-hero-card {
    align-self: start;
}

.pkg-hero-summary {
    background: #f4faf7;
    border: 1px solid #d7e5df;
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 10px;
}

.pkg-hero-summary > small {
    display: block;
    color: #687975;
    font-weight: 800;
    font-size: 12px;
    margin-bottom: 2px;
}

.pkg-hero-from {
    display: block;
    font-size: 28px;
    line-height: 1.2;
    color: #087d59;
    font-weight: 900;
    margin-bottom: 10px;
}

.pkg-hero-selected {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 10px;
    padding-top: 10px;
    border-top: 1px dashed #c5e0d4;
}

.pkg-hero-selected__title {
    font-weight: 800;
    color: #162724;
}

.pkg-hero-selected__price {
    font-weight: 900;
    color: #087d59;
}

.pkg-hero-note {
    margin: 0 0 4px !important;
}

.pkg-sidebar-title {
    margin: -4px 0 12px;
    color: #687975;
    font-weight: 800;
    font-size: 13.5px;
}

/* --------------------------------------------------------------------------
   Packages band (between hero and tabs)
   -------------------------------------------------------------------------- */
.pkg-band {
    background: #f7fbf9;
    border-bottom: 1px solid #d7e5df;
    padding: 22px 0 26px;
}

.pkg-band__head {
    margin-bottom: 14px;
}

.pkg-band__eyebrow {
    display: inline-block;
    color: #087d59;
    font-weight: 900;
    font-size: 13px;
    margin-bottom: 4px;
}

.pkg-band__head h2 {
    margin: 0 0 4px;
    font-size: clamp(1.2rem, 2.4vw, 1.45rem);
    color: #162724;
}

.pkg-band__head p {
    margin: 0;
    color: #687975;
    font-size: 14px;
    line-height: 1.6;
    max-width: 46ch;
}

.pkg-band__cta {
    margin-top: 16px;
    display: flex;
    justify-content: flex-start;
}

.pkg-band__cta .btn-sp-primary {
    min-height: 48px;
    padding: 0 22px;
}

.pkg-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.pkg-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    min-height: 132px;
    padding: 14px 14px 16px;
    text-align: right;
    border: 1.5px solid #d7e5df;
    border-radius: 16px;
    background: #fff;
    color: #162724;
    font: inherit;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(20, 59, 50, 0.04);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.pkg-tile:hover {
    border-color: #087d59;
    transform: translateY(-1px);
}

.pkg-tile.is-selected {
    border-color: #087d59;
    background: linear-gradient(180deg, #eef9f4 0%, #ffffff 55%);
    box-shadow: 0 10px 28px rgba(8, 125, 89, 0.12);
}

.pkg-tile__sessions {
    font-size: 13px;
    font-weight: 800;
    color: #3d5c54;
}

.pkg-tile__price {
    font-size: 1.35rem;
    line-height: 1.25;
    font-weight: 900;
    color: #087d59;
    margin: 2px 0 2px;
}

.pkg-tile__unit,
.pkg-tile__meta {
    display: block;
    width: 100%;
    font-size: 12.5px;
    font-weight: 700;
    color: #687975;
    line-height: 1.45;
}

.pkg-tile__check {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #087d59;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    display: none;
    align-items: center;
    justify-content: center;
}

.pkg-tile.is-selected .pkg-tile__check {
    display: inline-flex;
}

/* --------------------------------------------------------------------------
   Inline calendar workspace (same page, stretched)
   -------------------------------------------------------------------------- */
.pkg-workspace {
    display: none;
    background: #eef6f2;
    border-bottom: 1px solid #d7e5df;
    padding: 28px 0 36px;
    scroll-margin-top: 96px;
}

.pkg-workspace.is-open,
.pkg-workspace:not([hidden]) {
    display: block;
}

.pkg-workspace[hidden] {
    display: none !important;
}

.pkg-workspace__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.pkg-workspace__head h2 {
    margin: 0 0 4px;
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    color: #162724;
}

.pkg-workspace__sub {
    margin: 0;
    color: #687975;
    font-size: 14.5px;
    line-height: 1.6;
}

.pkg-workspace__options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 0 14px;
}

.pkg-cal-hint {
    margin: 0 0 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff8e8;
    color: #7a5600;
    font-weight: 800;
    font-size: 13px;
    line-height: 1.55;
}

.pkg-cal-empty {
    margin: 0 0 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px dashed #d7e5df;
    color: #687975;
    font-weight: 800;
    text-align: center;
}

.pkg-steps {
    display: flex;
    gap: 8px;
    margin: 0 0 16px;
    flex-wrap: wrap;
}

.pkg-steps span {
    flex: 1;
    min-width: 90px;
    text-align: center;
    padding: 9px 8px;
    border-radius: 12px;
    background: #e4efe9;
    color: #687975;
    font-weight: 800;
    font-size: 13px;
}

.pkg-steps span.is-done { background: #d9f0e6; color: #0f3d32; }
.pkg-steps span.is-current { background: #087d59; color: #fff; }

.pkg-cal-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #d7e5df;
    border-radius: 14px;
}

.pkg-cal-head small {
    display: block;
    color: #687975;
    margin-top: 2px;
}

.pkg-count {
    background: #087d59;
    color: #fff;
    font-weight: 900;
    border-radius: 999px;
    padding: 8px 12px;
    white-space: nowrap;
}

.pkg-calendar {
    background: #fff;
    border: 1px solid #d7e5df;
    border-radius: 18px;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: 0 14px 40px rgba(20, 59, 50, 0.06);
}

.pkg-calendar--stretch {
    min-height: 640px;
}

.pkg-calendar--stretch .fc {
    width: 100%;
}

.pkg-calendar--stretch .fc-timegrid-slot {
    height: 2.4em !important;
}

.pkg-calendar--stretch .fc-scroller {
    overflow: visible !important;
}

.pkg-selected-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 28px;
    margin-bottom: 14px;
}

.pkg-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f6f0;
    border: 1px solid #b9dfd0;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 800;
    font-size: 13px;
}

.pkg-chip button {
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
    color: #087d59;
    font-weight: 900;
}

.pkg-workspace__form {
    background: #fff;
    border: 1px solid #d7e5df;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 14px;
}

.pkg-workspace__form h3 {
    margin: 0 0 12px;
    font-size: 16px;
}

.pkg-workspace__footer {
    display: flex;
    gap: 10px;
    position: sticky;
    bottom: 12px;
    z-index: 5;
    padding: 12px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #d7e5df;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(20, 59, 50, 0.1);
}

.pkg-workspace__footer .btn-sp-primary {
    flex: 1;
}

.pkg-btn-ghost {
    border: 1px solid #d7e5df;
    background: #fff;
    border-radius: 12px;
    padding: 0 16px;
    min-height: 48px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    color: #162724;
}

.fc .pkg-slot-available {
    cursor: pointer;
    background: #087d59 !important;
    border-color: #066347 !important;
}

.fc .pkg-slot-available.is-selected {
    background: #0b4f3a !important;
    box-shadow: inset 0 0 0 2px #fff;
}

/* Responsive */
@media (max-width: 1100px) {
    .pkg-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .pkg-band {
        padding: 18px 0 20px;
    }

    .pkg-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .pkg-tile {
        min-height: 118px;
        padding: 12px;
    }

    .pkg-tile__price {
        font-size: 1.15rem;
    }

    .pkg-hero-from {
        font-size: 24px;
    }

    .pkg-workspace {
        padding: 20px 0 100px;
        scroll-margin-top: 80px;
    }

    .pkg-workspace__head {
        flex-direction: column;
    }

    .pkg-workspace__options {
        grid-template-columns: 1fr;
    }

    .pkg-calendar--stretch {
        min-height: 520px;
        padding: 8px;
    }

    .pkg-calendar--stretch .fc-timegrid-slot {
        height: 2.1em !important;
    }

    .pkg-band__cta .btn-sp-primary {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .pkg-grid {
        grid-template-columns: 1fr;
    }
}
