
/* ========================================
   TOUR DEPARTURE CALENDAR
   Original Bonzer Tour Design
======================================== */

.departure-calendar {
  margin: 50px auto;
  max-width: 650px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    border: 1.5px solid #006666;
    font-family: sans-serif;
    box-sizing: border-box;
}

/* Title Area */

.departure-calendar__header {
    text-align: center;
    margin-bottom: 20px;
}

.departure-calendar__header h3 {
    margin: 0 0 5px 0;
    color: #006666;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.departure-calendar__header p {
    margin: 0;
    color: #666666;
    font-size: 13px;
    font-style: italic;
}

/* Responsive Table Wrapper */

.departure-calendar__table-wrapper {
    overflow-x: auto;
}

/* Table */

.departure-calendar__table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
    color: #333333;
}

.departure-calendar__table thead tr {
    background-color: #006666;
    color: #ffffff;
}

.departure-calendar__table th {
    padding: 12px 10px;
    font-weight: 600;
}

.departure-calendar__table th:nth-child(2),
.departure-calendar__table th:nth-child(3),
.departure-calendar__table th:nth-child(4) {
    text-align: center;
}

.departure-calendar__table tbody {
    color: #333333;
}

.departure-calendar__table tbody tr {
    border-bottom: 1px solid #eeeeee;
}

.departure-calendar__table tbody tr:nth-child(even) {
    background-color: #fcfcfc;
}

.departure-calendar__table tbody tr:last-child {
    border-bottom: none;
}

.departure-calendar__table td {
    padding: 12px 10px;
    vertical-align: middle;
}

.departure-calendar__table td:first-child {
    font-weight: 600;
}

.departure-calendar__table td:nth-child(2),
.departure-calendar__table td:nth-child(3),
.departure-calendar__table td:nth-child(4) {
    text-align: center;
}

.departure-calendar__table td:nth-child(3) {
    color: #666666;
}

/* Availability Badges */

.departure-calendar__badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
}

.departure-calendar__badge--full {
    color: #d9534f;
    background-color: #fdf7f7;
    border: 1px solid #f9eae9;
}

.departure-calendar__badge--available {
    color: #26b99a;
    background-color: #f4faf8;
    border: 1px solid #e3f4f0;
}

/* Book Now Button */

.departure-calendar__button {
    display: inline-block;
    background-color: #006666;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.departure-calendar__button:hover {
    background-color: #004d4d;
    color: #ffffff !important;
}

/* Departure Information Message */

.departure-calendar__note {
    margin: 18px 0 0 0;
    padding: 12px 15px;
    background-color: #f2f8f7;
    border-left: 3px solid #006666;
    border-radius: 4px;
    box-sizing: border-box;
}

.departure-calendar__note p {
    margin: 0;
    color: #355555;
    font-size: 12px;
    line-height: 1.7;
    text-align: left;
}

/* Mobile Responsive */

@media screen and (max-width: 767px) {

    .departure-calendar {
        width: calc(100% - 30px);
        margin: 25px auto;
        padding: 15px;
    }

    .departure-calendar__table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .departure-calendar__table {
        min-width: 540px;
    }

}

/* =====================================================
   CUSTOMER REVIEWS & TESTIMONIALS
===================================================== */
/* Spacing between Departure Calendar and Customer Reviews */
#customer-reviews {
    margin-top: 50px;
}
#customer-reviews {
    width: 100%;
    margin: 40px 0;
    box-sizing: border-box;
}

#customer-reviews .cr-slider {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

#customer-reviews .cr-viewport {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

#customer-reviews .cr-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.45s ease;
    will-change: transform;
}

#customer-reviews .cr-slide {
    flex: 0 0 50%;
    min-width: 0;
    padding: 5px 9px;
    box-sizing: border-box;
}

#customer-reviews .cr-card {
    width: 100%;
    height: 100%;
    min-height: 245px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 22px;
    background: #fff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow-wrap: break-word;
}

#customer-reviews .cr-stars {
    color: #e5a526;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

#customer-reviews .cr-card h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #333;
    margin: 0 0 10px;
    overflow-wrap: break-word;
}

#customer-reviews .cr-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0 0 18px;
    flex-grow: 1;
    overflow-wrap: break-word;
}

#customer-reviews .cr-author {
    border-top: 1px solid #eee;
    padding-top: 13px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
}

#customer-reviews .cr-author strong {
    font-size: 14px;
    color: #333;
}

#customer-reviews .cr-author span {
    font-size: 12px;
    color: #888;
}

/* Navigation arrows */

#customer-reviews .cr-arrow {
    display: flex;
    flex: 0 0 34px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-width: 34px;
    max-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: #555;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    box-sizing: border-box;
    position: static;
}

#customer-reviews .cr-arrow:hover:not(:disabled) {
    background: #f5f5f5;
}

#customer-reviews .cr-arrow:disabled {
    cursor: default;
}

/* Navigation dots */

#customer-reviews .cr-dots {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 20px;
    margin-top: 20px;
}

#customer-reviews .cr-dot {
    display: block;
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    min-width: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
}

#customer-reviews .cr-dot.active {
    flex-basis: 20px;
    width: 20px;
    border-radius: 10px;
    background: #bd8730;
}

/* Tablet */

@media (min-width: 768px) and (max-width: 1024px) {
    #customer-reviews .cr-slide {
        flex-basis: 50%;
    }
}

/* Mobile */

@media (max-width: 767px) {
    #customer-reviews .cr-slider {
        gap: 6px;
    }

    #customer-reviews .cr-slide {
        flex-basis: 100%;
        padding: 5px;
    }

   

    #customer-reviews .cr-arrow {
        flex-basis: 30px;
        width: 30px;
        min-width: 30px;
        max-width: 30px;
        height: 30px;
        min-height: 30px;
    }
}

/* =====================================================
   END CUSTOMER REVIEWS
===================================================== */

/* ===== DEPARTURE CALENDAR – TABLE STYLING ===== */

/* Table structure */
.departure-calendar__table {
    width: 100%;
    border-collapse: collapse;
}

/* Table rows */
.departure-calendar__table tbody tr {
    border-bottom: 1px solid #eeeeee;
    background-color: #ffffff;
}

.departure-calendar__table tbody tr:nth-child(even) {
    background-color: #fcfcfc;
}

/* Table cells */
.departure-calendar__table tbody td {
    padding: 12px 10px;
    text-align: center;
    vertical-align: middle;
}

/* Departure dates */
.departure-calendar__table tbody td:first-child {
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}

/* Booking status */
.departure-calendar__table tbody td:nth-child(3) {
    color: #666666;
}

/* Available badge */
.departure-calendar .departure-calendar__badge--available {
    display: inline-block !important;
    color: #26b99a !important;
    background-color: #f4faf8 !important;
    border: 1px solid #e3f4f0 !important;
    padding: 3px 8px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    white-space: nowrap;
}

/* Fully Booked badge */
.departure-calendar .departure-calendar__badge--full {
    display: inline-block !important;
    color: #d9534f !important;
    background-color: #fdf7f7 !important;
    border: 1px solid #f9eae9 !important;
    padding: 3px 8px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    white-space: nowrap;
}

/* Guaranteed departure */
.departure-calendar__guaranteed {
    display: inline-block;
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffe69c;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

/* Book Now button */
.departure-calendar .departure-calendar__button {
    display: inline-block !important;
    background-color: #006666 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    line-height: normal !important;
    border: none !important;
    box-shadow: none !important;
    white-space: nowrap;
}

.departure-calendar .departure-calendar__button:hover {
    background-color: #004f4f !important;
    color: #ffffff !important;
    text-decoration: none !important;
}
