/* ===========================
   Global Styles
   =========================== */
:root {
    --app-orange: #f68409;
    --app-orange-dark: #e07908;
}


.container {
    max-width: 1140px;
}


/* ===========================
   Hero Section
   =========================== */

.attraction-hero-section {
    position: relative;
    height: 450px;
    overflow: visible;
    margin-bottom: 80px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    border-radius: 0 0 12px 12px;
    transition: opacity 0.3s ease-in-out;
}

.hero-gallery-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    pointer-events: none;
}
.hero-gallery-arrow {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.hero-gallery-arrow:hover {
    background: white;
    transform: scale(1.1);
}
.hero-play-btn {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    color: var(--app-orange);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.hero-play-btn.hidden {
   opacity: 0;
   pointer-events: none;
}
.hero-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: white;
}


/* ===========================
   Main Content Layout
   =========================== */

.main-content-area {
    position: relative;
    margin-top: -145px;
}

.floating-price-box-container {
    position: absolute;
    right: max(15px, (100% - 1140px) / 2 + 15px);
    top: 0;
    transform: translateY(-80px);
    width: 310px;
    z-index: 100;
    pointer-events: none;
}

.floating-price-box {
    pointer-events: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid #eee;
    padding: 12px 20px;
    text-align: center;
}

.save-text {
    font-size: 0.85rem;
    color: #007bff;
    font-weight: 600;
    margin-bottom: 10px;
}

.price-wrapper {
    text-align: left;
    display: block;
    margin-bottom: 15px;
}

.price-line {
    font-size: 0.9rem;
    color: #777;
    display: inline-block;
    vertical-align: baseline;
    margin-right: 5px;
}

.original-price-striked {
    text-decoration: line-through;
    font-size: 0.9rem;
}

.price-line-large {
    display: inline-block;
    color: #333;
    vertical-align: baseline;
}

.price-currency {
    font-size: 1.2rem;
    font-weight: 600;
    margin-right: 5px;
}

.price-amount-large {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
}

.btn-book-now-float {
    background-color: var(--app-orange);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}
.btn-book-now-float:hover {
    background-color: var(--app-orange-dark);
}

.title-bar {
    position: relative;
    z-index: 99;
    margin-bottom: 30px;
}

.hero-title-section {
    background: #fff;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    height: 100%;
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.stars {
    color: var(--app-orange);
    font-size: 1rem;
}

.hero-rating .review-text {
    color: #555;
    font-weight: 500;
}

.btn-book-now {
    background-color: var(--app-orange);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    flex-shrink: 1;
}

.btn-book-now:hover {
    background-color: var(--app-orange-dark);
}

/* ===========================
   Features Section
   =========================== */

.features-section-wrapper {
    background: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    overflow-x: hidden;
}

.features-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
    flex-shrink: 1;
}

.feature-icon {
    font-size: 1.2rem;
    color: var(--app-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
}

.feature-label {
    line-height: 1.3;
    white-space: nowrap;
}

/* ===========================
   Price Section & Table
   =========================== */

.content-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    border-left: 4px solid var(--app-orange);
    padding-left: 10px;
}

.table-responsive {
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 900px;
}

.price-table thead {
    background-color: #f9f9f9;
}

.price-table th {
    padding: 12px 10px;
    text-align: left;
    font-weight: 600;
    color: #333;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    border-bottom: 1px solid #ddd;
}

.price-table td {
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.col-tour-option { width: 45%; }
.col-date { width: 18%; }
.col-adult { width: 8%; }
.col-child { width: 8%; }
.col-infant { width: 8%; }
.col-total { width: 13%; }

.tour-row:hover {
    background-color: #fafafa;
}

.tour-option-cell {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tour-checkbox {
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    margin-top: 5px;
    color: currentColor;
    width: 16px;
    height: 16px;
    border: 1px solid #000;
    border-radius: 50%;
    display: grid;
    place-content: center;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.tour-checkbox::before {
    content: "✔";
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    color: white;
    font-size: 10px;
    line-height: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
}

.tour-checkbox:checked {
    background-color: var(--app-orange);
    border-color: var(--app-orange);
}

.tour-checkbox:checked::before {
    transform: translate(-50%, -50%) scale(1);
}


.tour-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.tour-title {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    line-height: 1.4;
}

.tour-action {
    display: flex;
    align-items: center;
    margin-top: 3px;
}

.action-link {
    color: var(--app-orange);
    cursor: pointer;
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
}
.action-link:nth-child(2) {
    margin-left: 15px;
}


.action-link:hover {
    color: var(--app-orange-dark);
    text-decoration: underline;
}

.tour-footer {
    color: #d32f2f;
    font-size: 0.75rem;
    margin-top: 3px;
    font-weight: 500;
}

.date-field-mockup,
.form-select-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    background-color: white;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-weight: 500;
    min-height: 38px;
    width: 100%;
}
.date-field-mockup:hover,
.form-select-custom:hover {
    border-color: #aaa;
}
.date-field-mockup:focus-within,
.form-select-custom:focus {
    border-color: var(--app-orange);
    outline: none;
    box-shadow: 0 0 0 2px rgba(246, 132, 9, 0.1);
}
.date-field-mockup i {
    color: var(--app-orange);
    margin-left: 5px;
}
.form-select-custom {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}


.total-cell {
    color: #333;
    font-size: 0.9rem;
    white-space: nowrap;
    text-align: center;
}
.original-price {
    display: block;
    text-decoration: line-through;
    color: #999;
    font-size: 0.8rem;
    margin-bottom: 2px;
}
.discounted-price {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: #333;
    margin-bottom: 2px;
}
.save-amount {
    display: block;
    color: #007bff;
    font-size: 0.8rem;
    font-weight: 500;
}


.add-to-cart-section {
    text-align: right;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.btn-add-to-cart {
    background-color: var(--app-orange);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-add-to-cart:hover {
    background-color: var(--app-orange-dark);
}

/* ===========================
   Overview & Other Sections
   =========================== */

.section-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.subsection-title {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    margin-top: 20px;
}

.content-list, .content-list-ol {
    margin-left: 20px;
    color: #666;
    padding-left: 0;
}
.content-list-ol {
    padding-left: 20px;
}

.content-list li, .content-list-ol li {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* ===========================
   Right Sidebar Panel
   =========================== */

.panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.panel-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.time-slot-panel {
    position: fixed;
    top: 0;
    right: -850px;
    width: 850px;
    max-width: 90vw;
    height: 100vh;
    background: #fdfdfd;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
}

.time-slot-panel.active {
    right: 0;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.btn-back-arrow {
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    font-size: 1.5rem;
    margin-right: 15px;
}

.btn-close-panel {
    background: var(--app-orange);
    border: none;
    cursor: pointer;
    color: white;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    font-size: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    margin-left: auto;
}

.btn-back-arrow:hover {
     color: var(--app-orange);
}

.btn-close-panel:hover {
    background-color: var(--app-orange-dark);
    color: white;
}

.btn-back-arrow.hidden {
    visibility: hidden;
    margin-right: 0;
}

.panel-title {
    text-align: left;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.panel-content-wrapper {
    flex: 1;
    overflow-y: auto;
}

.panel-view {
    display: none;
}
.panel-view.active {
    display: block;
}

.panel-body {
    padding: 25px;
}

.selection-header {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.selection-item {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    background: #f5f5f5;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.selection-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #333;
    flex: 1;
    min-width: 0;
}

.selection-icon {
    font-size: 1.3rem;
    color: var(--app-orange);
}

.info-text {
    font-size: 0.95rem;
    line-height: 1.4;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (min-width: 576px) {
    .info-text {
        white-space: nowrap;
    }
}


.btn-change {
    background-color: var(--app-orange);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.btn-change:hover {
    background-color: var(--app-orange-dark);
}

.time-legend {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.available { background-color: #b3f7bb; border: 1px solid #b3f7bb; }
.legend-dot.sold-out { background-color: #ff0000; border: 1px solid #ff0000; }
.legend-dot.limited { background-color: #fed301; border: 1px solid #fed301; }

.time-slots-title {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    margin-top: 20px;
}

.time-slots-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.time-slot {
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    background-color: white;
    padding: 0;
    overflow: hidden;
}

.time-slot-header {
    font-weight: 700;
    margin-bottom: 0;
    font-size: 0.9rem;
    padding: 8px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-slot-prices {
    font-size: 0.8rem;
    line-height: 1.4;
    padding: 16px 12px;
    color: #666;
    transition: color 0.3s ease;
}

.time-slot-tick {
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    color: #000;
    background-color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.time-slot-tick i {
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
}

.time-slot.selected .time-slot-tick {
    opacity: 1;
}

.time-slot.available {
    border-color: #b3f7bb;
}
.time-slot.available .time-slot-header {
    background-color: #b3f7bb;
    color: #006400;
}
.time-slot.available .time-slot-prices {
    color: #006400;
}
.time-slot.available:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.time-slot.available:hover .time-slot-header {
    background-color: #a2e0a9;
}

.time-slot.limited {
    border-color: #fed301;
}
.time-slot.limited .time-slot-header {
    background-color: #fed301;
    color: #554400;
}
.time-slot.limited .time-slot-prices {
    color: #554400;
}
.time-slot.limited:hover {
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.time-slot.limited:hover .time-slot-header {
    background-color: #f0c300;
}

.time-slot.sold-out {
    border-color: #ff0000;
    opacity: 0.65;
    cursor: not-allowed;
}
.time-slot.sold-out .time-slot-header {
    background-color: #ff0000;
    color: white;
}
.time-slot.sold-out .time-slot-prices {
    color: #6c757d;
}

.time-slot.selected {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}


.quantity-section {
    margin-bottom: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.quantity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 15px;
}

.quantity-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quantity-item label {
    font-size: 0.85rem;
    color: #333;
    font-weight: 500;
}

.quantity-input {
    width: 100%;
}

.panel-footer {
    padding: 15px 10px;
    border-top: 1px solid #e0e0e0;
    background: white;
    position: sticky;
    bottom: 0 !important;
    z-index: 9999 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
}
@media (max-width: 440px) {
    /* .panel-body {
        padding: 25px 25px 70px;
    } */
}
.total-label {
    font-weight: 500;
    color: #555;
    font-size: 1rem;
    line-height: 1;
    margin-right: 10px;
}

.total-amount {
    font-weight: 700;
    color: #333;
    font-size: 1.5rem;
    line-height: 1.2;
}

.btn-proceed {
    width: auto;
    background-color: var(--app-orange);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}


.btn-proceed:hover {
    background-color: var(--app-orange-dark);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-month-year {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.calendar-nav {
    background: none;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.calendar-nav:hover {
    background: #f5f5f5;
    border-color: var(--app-orange);
    color: var(--app-orange);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
}

.calendar-day-header {
    font-weight: 600;
    color: #777;
    font-size: 0.9rem;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
}

.calendar-day {
    padding: 10px;
    text-align: center;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.calendar-day:nth-child(7n),
.calendar-day-header:nth-child(7n) {
    border-right: none;
}

.calendar-day:not(.disabled):hover {
    background-color: #f5f5f5;
}
.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
    background-color: #f9f9f9;
}
.calendar-day.selected {
    background-color: var(--app-orange);
    color: white;
    font-weight: 700;
}

.option-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.option-item {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    margin-bottom: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.option-item:hover {
    background: #f9f9f5;
    border-color: var(--app-orange);
}
.option-item.active {
    background: #fff3e0;
    border-color: var(--app-orange);
    font-weight: 700;
}

#infoOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}
#infoOverlay.active {
    opacity: 1;
    pointer-events: auto;
}
#infoModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 3000;
    width: 90%;
    max-width: 400px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#infoModal.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}
#infoModal h4 {
    color: var(--app-orange);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}
#infoModal p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 25px;
}
.btn-info-close {
    background-color: var(--app-orange);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.btn-info-close:hover {
    background-color: var(--app-orange-dark);
}

.location-name-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 15px;
}
.map-container {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}
.map-container iframe {
    display: block;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.overall-rating {
    text-align: center;
    flex-shrink: 0;
}
.overall-rating .rating-value {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
}
.overall-rating .rating-stars {
    color: var(--app-orange);
    font-size: 1.5rem;
}

.rating-breakdown {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 250px;
}
.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.rating-bar-row .star-label {
    font-size: 0.9rem;
    color: #555;
    width: 50px;
}
.bar-container {
    flex-grow: 1;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}
.bar-container .bar {
    height: 100%;
    background-color: var(--app-orange);
    border-radius: 4px;
}
.rating-bar-row .rating-count {
    font-size: 0.9rem;
    color: #555;
    width: 30px;
    text-align: right;
}

.individual-review-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.individual-review {
    display: flex;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}
.individual-review:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.reviewer-info {
    text-align: center;
    flex-shrink: 0;
    width: 100px;
}
.reviewer-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f0f0f0;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #bbb;
}
.reviewer-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.review-content {
    flex-grow: 1;
}
.review-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

.individual-review .review-text {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
}

.review-rating-side {
    text-align: center;
    flex-shrink: 0;
}
.rating-value-small {
    font-size: 1rem;
    font-weight: 700;
}
.rating-stars-small {
    color: var(--app-orange);
    font-size: 1rem;
    margin-bottom: 8px;
}
.excellent-tag {
    background-color: #28a745;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

.write-review-button-container {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    text-align: center;
}

.btn-write-review-small {
    background-color: var(--app-orange);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}
.btn-write-review-small:hover {
    background-color: var(--app-orange-dark);
}

.view-more-container {
    text-align: center;
    margin-top: 20px;
}
.view-more-reviews {
    color: var(--app-orange);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}
.view-more-reviews:hover {
     color: var(--app-orange-dark);
     text-decoration: underline;
}

.review-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.form-group.half-width {
    width: calc(50% - 10px);
}

.form-group.full-width {
    width: 100%;
}

.form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: #555;
}

.form-control-custom {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    appearance: none;
    border-radius: 8px;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.form-control-custom:focus {
    color: #212529;
    background-color: #fff;
    border-color: var(--app-orange);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(246, 132, 9, 0.25);
}

.star-rating-input {
    display: flex;
    gap: 5px;
    font-size: 1.5rem;
    color: #ccc;
    cursor: pointer;
}

.star-rating-input i {
    transition: color 0.2s ease;
}

.star-rating-input i.active,
.star-rating-input i:hover {
    color: var(--app-orange);
}

.modal-footer-custom {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    padding: 20px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.btn-submit-review {
    background-color: var(--app-orange);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.btn-submit-review:hover {
     background-color: var(--app-orange-dark);
}

.modal-footer .btn-orange-modal {
    background-color: var(--app-orange);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}
.modal-footer .btn-orange-modal:hover {
    background-color: var(--app-orange-dark);
}
#moreInfoModal .modal-footer .btn-secondary {
    display: none;
}


#moreInfoModalBody .subsection-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    margin-top: 20px;
    border-left: 4px solid var(--app-orange);
    padding-left: 10px;
}

#moreInfoModalBody .content-list {
    list-style: none;
    padding-left: 10px;
}

#moreInfoModalBody .content-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #666;
}

#moreInfoModalBody .content-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--app-orange);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.9rem;
}


/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 991.98px) {
    .hero-title-section {
        padding-right: 330px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }
    .features-section-wrapper,
    .content-section {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }
    .time-slots-container {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 767.98px) {
    .attraction-hero-section {
        height: 300px;
        margin-bottom: 20px;
    }
    .main-content-area {
        margin-top: -100px;
    }
    .hero-title-section {
        border-radius: 12px;
        padding-right: 25px;
        border-left: 1px solid #eee;
        border-right: 1px solid #eee;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .features-section-wrapper {
        padding: 15px;
        overflow-x: auto;
        border-radius: 12px;
        border-left: 1px solid #eee;
        border-right: 1px solid #eee;
    }
    .features-section {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 25px;
        padding-bottom: 10px;
    }
    .time-slots-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .quantity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .panel-footer {
        flex-direction: row;
        align-items: center;
        gap: 15px;
        /* bottom: 40px; */
    }
    .total-label {
        font-size: 0.9rem;
        margin-right: 5px;
    }
    .total-amount {
        font-size: 1.25rem;
    }
    .btn-proceed {
        font-size: 0.8rem;
        padding: 10px 15px;
    }
    .info-text {
        white-space: normal;
    }
    .individual-review {
        flex-direction: column;
        gap: 10px;
        padding-bottom: 20px;
    }
    .individual-review .reviewer-info {
        display: none;
    }
    .review-rating-side {
        margin-top: 10px;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .rating-value-small { font-size: 0.9rem; }
    .rating-stars-small { font-size: 0.9rem; margin-bottom: 0; }
    .excellent-tag { font-size: 0.7rem; padding: 3px 10px; }
    .form-group.half-width {
        width: 100%;
    }
    .review-text.mobile-truncate {
        /* -webkit-line-clamp: 3; */
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }
    /* .review-text.mobile-truncate.expanded {
        -webkit-line-clamp: unset;
    } */
    .selection-header {
        gap: 10px;
        flex-direction: column; 
    }
    .selection-item {
        flex-direction: column;
        align-items: center;
        padding: 15px;
        min-width: 0; 
        gap: 15px;
    }
    .selection-info {
        gap: 10px;
        justify-content: center;
    }
    .info-text {
        font-size: 14px;
        white-space: normal;
        text-align: center;
    }
    .btn-change {
        align-self: center;
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    .content-section {
        border-radius: 12px;
        border-left: 1px solid #eee;
        border-right: 1px solid #eee;
    }
}

.read-more-toggle {
    display: none;
    color: var(--app-orange);
    font-weight: 500;
    font-size: 0.8rem;
    text-decoration: none;
    margin-top: 5px;
    cursor: pointer;
}
.read-more-toggle:hover {
    text-decoration: underline;
}
@media (max-width: 767.98px) {
    .read-more-toggle {
        display: inline-block;
    }
}

@media (max-width: 576px) {
    .attraction-hero-sectionn {
        height: 250px;
    }
    .main-content-area {
        margin-top: -80px;
    }
    .hero-title {
        font-size: 1.25rem;
    }
    .features-section-wrapper {
        padding: 10px;
    }
    .features-section {
        gap: 20px;
    }
    .feature-item {
        font-size: 0.8rem;
        gap: 8px;
    }
    .feature-icon {
        font-size: 1.1rem;
    }
    .time-slots-container {
        grid-template-columns: 1fr;
    }
    .calendar-grid {
        gap: 0;
    }
    .calendar-day {
        padding: 8px 5px;
        font-size: 0.9rem;
    }
}
.price-bar-mobile {
  width: 100%;
  background: #fff;
  padding: 15px;
  position: sticky;
  bottom: 0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 999;
}
.price-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price-bar-mobile .price-from {
  font-size: 0.85rem;
  color: #777;
  margin-right: 5px;
  margin-bottom: 0;
}
.price-bar-mobile .price-amount {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0;
  line-height: 1.2;
}
.price-bar-mobile .btn-book-now {
  background-color: var(--app-orange);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
  width: auto;
  letter-spacing: normal;
}
.price-bar-mobile .btn-book-now:hover {
  background-color: var(--app-orange-dark);
}



/* =================================================================== */
/* == STYLES FOR POP-UP CALENDAR (BOOKING.HTML ONLY)               == */
/* =================================================================== */

.booking-page .popup-calendar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.booking-page .popup-calendar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.booking-page .popup-calendar {
    display: none;
    position: absolute;
    z-index: 1050;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    width: 520px;
    max-width: 95vw;
}
.booking-page .popup-calendar.active {
    display: flex;
}
.booking-page .popup-calendar-months {
    background-color: #f9f2ea;
    width: 150px;
    flex-shrink: 0;
    border-right: 1px solid #eee;
    padding: 10px 0;
    max-height: 350px;
    overflow-y: auto;
}
.booking-page .month-item {
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.booking-page .month-item:hover { background-color: #fce5d1; }
.booking-page .month-item.active {
    background-color: var(--app-orange);
    color: white;
    font-weight: 700;
}
.booking-page .month-year {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.8;
    margin-left: 5px;
}
.booking-page .popup-calendar-main { flex-grow: 1; }
.booking-page .popup-calendar-header {
    background-color: var(--app-orange);
    color: white;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 0 7px 0 0;
}
.booking-page .popup-calendar-content { padding: 15px; }

/* --- NEW STYLES FOR POPUP CALENDAR NAV --- */
.booking-page .popup-calendar-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.booking-page .popup-calendar-month-display {
    font-weight: 600;
    text-align: center;
    margin-bottom: 0; /* Removed margin */
    flex-grow: 1;
}
.booking-page .popup-calendar-nav {
    background: none;
    border: 1px solid #ddd;
    color: #555;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}
.booking-page .popup-calendar-nav:hover {
    background: #f5f5f5;
    border-color: var(--app-orange);
    color: var(--app-orange);
}
/* --- END NEW STYLES --- */

.booking-page .popup-calendar-grid-header,
.booking-page .popup-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}
.booking-page .popup-calendar-grid-header div {
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    padding-bottom: 10px;
}
.booking-page .popup-calendar-grid .day-cell {
    padding: 8px 0;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.booking-page .popup-calendar-grid .day-cell:hover:not(.disabled) { background-color: #f0f0f0; }
.booking-page .popup-calendar-grid .day-cell.disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* --- Mobile-Specific Calendar View (booking.html only) --- */
.booking-page .popup-calendar.mobile-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95vw;
    max-width: 350px;
}
.booking-page .popup-calendar.mobile-modal .popup-calendar-months {
    display: none;
}
.booking-page .popup-calendar.mobile-modal .popup-calendar-nav-header {
    padding: 0 5px; /* Add some spacing on mobile */
}


/* =================================================================== */
/* == MOBILE ACCORDION STYLES (FOR BOTH PAGES)                      == */
/* =================================================================== */
@media (max-width: 767.98px) {
    .table-view-desktop { display: none; }
    .accordion-view-mobile { display: block; }
    .tour-option-card {
        background-color: #fff;
        border: 1px solid #eee;
        border-radius: 12px;
        margin-bottom: 15px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    .tour-card-header {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 15px;
        cursor: pointer;
        position: relative;
    }
    .tour-card-checkbox-wrapper { padding-top: 3px; }
    .tour-card-info { flex: 1; }
    .tour-actions-wrapper {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-top: 8px;
    }
    /* HIDE the footer text in the header */
    .tour-card-header .tour-footer {
        display: none;
    }
    .accordion-arrow {
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        color: #aaa;
        transition: transform 0.35s ease-out;
    }
    .tour-option-card.expanded .accordion-arrow {
        transform: translateY(-50%) rotate(180deg);
    }
    .tour-card-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease-out, padding 0.35s ease-out;
        padding: 0 15px;
        border-top: 1px solid transparent;
    }
    .tour-option-card.expanded .tour-card-body {
        max-height: 300px;
        padding: 20px 15px;
        border-top: 1px solid #f0f0f0;
    }
    .card-body-row {
        display: flex;
        gap: 15px;
        margin-bottom: 15px;
    }
    .card-body-item {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .card-body-item label {
        font-size: 0.8rem;
        font-weight: 600;
        color: #555;
        margin-bottom: 5px;
    }
    .card-body-item.price-item { align-items: flex-end; }
    .price-item .total-cell { text-align: right; }
    .quantity-row .form-select-custom { width: 100%; }
    
    /* SHOW the footer text in the body, centered */
    .tour-card-body .tour-footer {
        text-align: center;
        margin-top: 15px;
    }
}

@media (min-width: 768px) {
    .accordion-view-mobile { display: none; }
    .table-view-desktop { display: block; }
}

@media (max-width: 575px) {
    .time-slot-panel {
        max-width: 94vw;
    }
    .panel-footer {
        gap: 5px;
    }
    .total-amount {
        font-size: 1rem;
    }
}
