/* Single offer page styles */

.modal-schedule {
    margin-top: 26px;
}

.modal-section-title {
    margin: 0 0 14px;
    color: var(--accent-red);
    font-size: 1.2rem;
    font-weight: 900;
}

.modal-schedule-table {
    display: grid;
    gap: 0;
}

.modal-schedule-day {
    border: 2px solid rgba(31, 60, 118, .18);
    border-radius: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, .72);
    border-top-width: 0;
}

.modal-schedule-day:first-child {
    border-top-width: 2px;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
}

.modal-schedule-day:last-child {
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
}

.modal-schedule-day-header {
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(31, 60, 118, .94), rgba(47, 79, 149, .9));
    border-bottom: 1px solid rgba(31, 60, 118, .14);
}

.modal-schedule-day-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.modal-schedule-day-heading h5 {
    margin: 0;
    color: #fff7fb;
    font-size: 1rem;
    font-weight: 900;
}

.modal-schedule-date {
    color: rgba(255, 241, 248, .88);
    font-size: .84rem;
    font-weight: 700;
}

.modal-schedule-entries {
    display: grid;
}

.modal-schedule-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(31, 60, 118, .12);
}

.modal-schedule-row:last-child {
    border-bottom: none;
}

.modal-schedule-time {
    color: var(--accent-blue);
    font-weight: 800;
}

.modal-schedule-label {
    color: #5d5148;
}

.modal-schedule-row.is-empty {
    grid-template-columns: 1fr;
}

.modal-schedule-additional {
    margin-top: 22px;
    padding: 18px 20px;
    border: 2px solid rgba(31, 60, 118, .16);
    border-radius: 22px;
    background: rgba(255, 255, 255, .74);
    color: #5d5148;
}

.modal-schedule-additional > *:first-child {
    margin-top: 0;
}

.modal-schedule-additional > *:last-child {
    margin-bottom: 0;
}

.modal-pricing {
    margin-top: 26px;
}

.modal-pricing-table {
    display: grid;
    border: 2px solid rgba(31, 60, 118, .18);
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255, 255, 255, .72);
}

.modal-pricing-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 14px;
    padding: 15px 18px;
    border-bottom: 1px solid rgba(31, 60, 118, .12);
}

.modal-pricing-row:last-child {
    border-bottom: none;
}

.modal-pricing-variant {
    color: #5d5148;
}

.modal-pricing-price {
    color: var(--accent-blue);
    font-weight: 900;
    text-align: right;
}

.modal-pricing-additional {
    margin-top: 22px;
    padding: 18px 20px;
    border: 2px solid rgba(31, 60, 118, .16);
    border-radius: 22px;
    background: rgba(255, 255, 255, .74);
    color: #5d5148;
}

.modal-pricing-additional > *:first-child {
    margin-top: 0;
}

.modal-pricing-additional > *:last-child {
    margin-bottom: 0;
}

.modal-rooms {
    margin-top: 26px;
}

.modal-rooms-table {
    display: grid;
    border: 2px solid rgba(31, 60, 118, .18);
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255, 255, 255, .72);
}

.modal-rooms-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) 160px;
    gap: 14px;
    align-items: center;
    padding: 15px 18px;
    border-bottom: 1px solid rgba(31, 60, 118, .12);
}

.modal-rooms-row:last-child {
    border-bottom: none;
}

.modal-rooms-name {
    color: #3a2c23;
    font-weight: 800;
}

.modal-rooms-details {
    color: #5d5148;
}

.modal-rooms-status {
    justify-self: end;
    min-width: 140px;
    padding: 8px 12px;
    border-radius: 999px;
    text-align: center;
    font-weight: 900;
    font-size: .9rem;
}

.modal-rooms-status.is-available {
    background: rgba(47, 138, 90, .14);
    color: #2f8a5a;
    border: 1px solid rgba(47, 138, 90, .2);
}

.modal-rooms-status.is-unavailable {
    background: rgba(180, 44, 63, .12);
    color: #b42c3f;
    border: 1px solid rgba(180, 44, 63, .18);
}

.modal-rooms-additional {
    margin-top: 22px;
    padding: 18px 20px;
    border: 2px solid rgba(31, 60, 118, .16);
    border-radius: 22px;
    background: rgba(255, 255, 255, .74);
    color: #5d5148;
}

.modal-rooms-additional > *:first-child {
    margin-top: 0;
}

.modal-rooms-additional > *:last-child {
    margin-bottom: 0;
}

.offer-page-section {
    padding-top: 42px;
    padding-bottom: 24px;
}

.offer-page-card {
    background: #ffffff;
    border: 2px solid rgba(31, 60, 118, .26);
    border-radius: 28px;
    overflow: hidden;
}

.offer-page-body {
    padding: 28px 32px 30px;
    color: #5d5148;
}

.offer-page-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "title cta"
        "pills price";
    align-items: flex-start;
    gap: 14px 18px;
    margin-bottom: 18px;
}

.offer-page-heading {
    grid-area: title;
    min-width: 0;
}

.offer-page-title {
    margin: 0;
    color: var(--accent-red);
    font-size: clamp(2.6rem, 5vw, 4rem);
    line-height: .96;
    letter-spacing: -.04em;
}

.offer-page-cta {
    flex: 0 0 auto;
}

.offer-page-cta-wrap {
    grid-area: cta;
    display: grid;
    justify-items: end;
    align-content: start;
    flex: 0 0 auto;
}

.offer-page-price-box {
    grid-area: price;
    display: grid;
    gap: 4px;
    text-align: right;
}

.offer-page-top .modal-pills {
    grid-area: pills;
    margin: 0;
    justify-content: flex-start;
}

.offer-page-price-label {
    color: #7b695c;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.offer-page-price-value {
    color: var(--accent-red);
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    font-weight: 900;
    line-height: 1;
}

.offer-page-long-description {
    max-height: calc(1.65em * 15);
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-color: #c93434 rgba(177, 46, 46, 0.16);
    scrollbar-width: auto;
}

.offer-page-long-description::-webkit-scrollbar {
    width: 12px;
}

.offer-page-long-description::-webkit-scrollbar-track {
    background: rgba(177, 46, 46, 0.16);
    border: 3px solid rgba(255, 255, 255, .86);
    border-radius: 999px;
}

.offer-page-long-description::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d43a3a, #a91616);
    border: 2px solid rgba(255, 255, 255, .86);
    border-radius: 999px;
}

.offer-page-gallery {
    margin-top: 24px;
}

.offer-page-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.offer-page-gallery-item {
    width: 100%;
    aspect-ratio: 1 / .72;
    border-radius: 18px;
}

.modal-schedule-day-heading {
    justify-content: flex-start;
}

.modal-schedule-date {
    display: none;
}

