/* Woodland Tours Booking - Frontend Styles */

/* Container */
.wtb-container {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 0 2rem; */
    width: 100%;
    box-sizing: border-box;
}

/* Image Slider */
.wtb-image-slider {
    margin-bottom: 40px;
}

.wtb-slider-main {
    position: relative;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.wtb-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.wtb-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.wtb-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.wtb-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.wtb-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 0;
}

.wtb-slider-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.wtb-slider-prev {
    left: 20px;
}

.wtb-slider-next {
    right: 20px;
}

.wtb-slider-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10;
}

.wtb-slider-expand {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 0;
}

.wtb-slider-expand:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.wtb-slider-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    overflow-x: auto;
    padding: 4px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #f7fafc;
}

.wtb-slider-thumbnails::-webkit-scrollbar {
    height: 8px;
}

.wtb-slider-thumbnails::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 4px;
}

.wtb-slider-thumbnails::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

.wtb-slider-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

.wtb-thumbnail {
    flex: 0 0 100px;
    height: 75px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.wtb-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wtb-thumbnail:hover::after {
    opacity: 1;
}

.wtb-thumbnail.active {
    border-color: #2c7a7b;
}

.wtb-thumbnail.active::after {
    opacity: 0;
}

.wtb-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox */
.wtb-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.wtb-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
}

.wtb-lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.wtb-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 0;
}

.wtb-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.wtb-lightbox-main {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wtb-lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.wtb-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.wtb-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.wtb-lightbox-prev {
    left: -80px;
}

.wtb-lightbox-next {
    right: -80px;
}

.wtb-lightbox-counter {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

/* Tour Grid */
.wtb-tour-grid {
    display: grid;
    gap: 30px;
    margin: 40px 0;
}

.wtb-columns-2 {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

.wtb-columns-3 {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.wtb-columns-4 {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* Tour Card */
.wtb-tour-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wtb-tour-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.wtb-tour-card-image {
    position: relative;
    overflow: hidden;
    padding-bottom: 66.67%;
    /* 3:2 aspect ratio */
}

.wtb-tour-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wtb-tour-card:hover .wtb-tour-card-image img {
    transform: scale(1.05);
}

.wtb-tour-card-content {
    padding: 20px;
}

.wtb-tour-card-title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 600;
}

.wtb-tour-card-title a {
    color: #333;
    text-decoration: none;
}

.wtb-tour-card-title a:hover {
    color: #2c7a7b;
}

.wtb-tour-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    color: #666;
    font-size: 14px;
}

.wtb-tour-card-meta svg {
    vertical-align: middle;
    margin-right: 4px;
}

.wtb-tour-card-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.wtb-tour-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.wtb-tour-card-price {
    display: flex;
    flex-direction: column;
}

.wtb-price-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
}

.wtb-price-amount {
    font-size: 24px;
    font-weight: 700;
    color: #2c7a7b;
}

/* Buttons */
.wtb-button {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 14px;
}

.wtb-button-primary {
    background: #2c7a7b;
    color: #fff;
}

.wtb-button-primary:hover {
    background: #234e4f;
    color: #fff;
}

.wtb-button-large {
    padding: 14px 32px;
    font-size: 16px;
    width: 100%;
}

/* Single Tour */
.wtb-single-tour {
    /* padding: 2rem 0; */
    max-width: 100%;
    overflow-x: clip;
    width: 100%;
}

.wtb-tour-header {
    margin-bottom: 30px;
}

.wtb-tour-title {
    font-size: 36px;
    margin: 0 0 15px;
    line-height: 1.2;
}

.wtb-tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.wtb-meta-item {
    display: inline-flex;
    align-items: center;
    color: #666;
    font-size: 15px;
}

.wtb-meta-item svg {
    margin-right: 6px;
}

.wtb-category-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #e6f7f7;
    color: #2c7a7b;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
}

.wtb-category-badge:hover {
    background: #d1f0f0;
}

.wtb-tour-short-description {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin: 20px 0 0;
    padding: 0;
    font-weight: 400;
}

.wtb-tour-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.wtb-tour-main {
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.wtb-tour-main h2,
.wtb-tour-main h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.wtb-tour-featured-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.wtb-tour-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Gallery */
.wtb-tour-gallery {
    margin: 30px 0;
}

.wtb-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.wtb-gallery-item {
    position: relative;
    overflow: hidden;
    padding-bottom: 100%;
    border-radius: 6px;
    display: block;
}

.wtb-gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wtb-gallery-item:hover img {
    transform: scale(1.1);
}

/* Details Lists */
.wtb-tour-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.wtb-detail-section h3 {
    margin-top: 0;
}

.wtb-included-list,
.wtb-excluded-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wtb-included-list li,
.wtb-excluded-list li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.wtb-included-list svg {
    color: #38a169;
    flex-shrink: 0;
    margin-top: 2px;
}

.wtb-excluded-list svg {
    color: #e53e3e;
    flex-shrink: 0;
    margin-top: 2px;
}

.wtb-meeting-point {
    background: #f7fafc;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

/* Tour Guide */
.wtb-tour-guide {
    margin: 40px 0;
}

.wtb-tour-guide h2 {
    font-size: 24px;
    margin: 0 0 20px;
}

.wtb-guide-card {
    display: flex;
    gap: 24px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.wtb-guide-photo {
    flex-shrink: 0;
    width: 180px;
}

.wtb-guide-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 1;
}

.wtb-guide-info {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.wtb-guide-name {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 4px;
    color: #1a202c;
}

.wtb-guide-title {
    font-size: 14px;
    color: #2c7a7b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px;
}

.wtb-guide-about {
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0 0 20px;
}

.wtb-guide-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.wtb-guide-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
    background: #f7fafc;
    padding: 6px 12px;
    border-radius: 6px;
}

.wtb-guide-detail svg {
    flex-shrink: 0;
    color: #2c7a7b;
}

.wtb-guide-quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.wtb-guide-badge {
    display: inline-block;
    font-size: 13px;
    color: #2c7a7b;
    background: #e6fffa;
    padding: 4px 12px;
    border-radius: 16px;
    border: 1px solid #b2f5ea;
}

.wtb-guide-specialties,
.wtb-guide-contact {
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
    margin: 12px 0;
}

.wtb-guide-contact a {
    color: #2c7a7b;
    text-decoration: none;
}

.wtb-guide-contact a:hover {
    text-decoration: underline;
}

.wtb-guide-upcoming {
    margin: 16px 0 0;
    padding: 16px;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 3px solid #2c7a7b;
}

.wtb-guide-upcoming strong {
    display: block;
    margin-bottom: 12px;
    color: #1a202c;
    font-size: 14px;
}

.wtb-guide-tours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wtb-guide-tours-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    line-height: 1.5;
}

.wtb-guide-tours-list li:last-child {
    border-bottom: none;
}

.wtb-spots-badge {
    display: inline-block;
    font-size: 12px;
    color: #38a169;
    background: #c6f6d5;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 4px;
}

/* Booking Widget */
.wtb-tour-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
    min-width: 0;
    max-width: 100%;
}

.wtb-booking-widget {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    max-width: 100%;
    overflow: hidden;
}

.wtb-price-display {
    text-align: center;
    padding: 20px;
    background: #f7fafc;
    border-radius: 8px;
    margin-bottom: 20px;
}

.wtb-price-from {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.wtb-price-amount {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: #2c7a7b;
    line-height: 1;
}

.wtb-price-per {
    display: block;
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* Booking Form */
.wtb-booking-form-container h3 {
    margin: 0 0 20px;
    font-size: 20px;
}

.wtb-booking-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wtb-form-row {
    display: flex;
    flex-direction: column;
}

.wtb-form-row label {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
}

.wtb-form-row .required {
    color: #e53e3e;
}

.wtb-form-row input[type="text"],
.wtb-form-row input[type="email"],
.wtb-form-row input[type="tel"],
.wtb-form-row input[type="date"],
.wtb-form-row input[type="number"],
.wtb-form-row select,
.wtb-form-row textarea {
    padding: 10px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.wtb-form-row input:focus,
.wtb-form-row select:focus,
.wtb-form-row textarea:focus {
    outline: none;
    border-color: #2c7a7b;
}

.wtb-price-info {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.wtb-total-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f7fafc;
    border-radius: 8px;
    margin: 10px 0;
    flex-direction: column;
}

.wtb-total-label {
    font-weight: 600;
    font-size: 16px;
}

.wtb-total-amount {
    font-size: 28px;
    font-weight: 700;
    color: #2c7a7b;
}

.wtb-terms-row {
    background: #fff9e6;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin: 16px 0;
}

.wtb-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.wtb-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.wtb-checkbox-label a {
    color: #2c7a7b;
    text-decoration: underline;
}

.wtb-checkbox-label a:hover {
    color: #1f5859;
}

.wtb-form-message {
    padding: 12px;
    border-radius: 6px;
    margin-top: 10px;
    font-size: 14px;
}

.wtb-form-message.success {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.wtb-form-message.error {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #fc8181;
}

.wtb-form-message.info {
    background: #bee3f8;
    color: #2c5282;
    border: 1px solid #90cdf4;
}

/* Archive Page */

.wtb-tours-archive {
    width: 100%;
}

.wtb-archive-header {
    text-align: center;
    margin: 40px 0;
}

.wtb-archive-title {
    font-size: 42px;
    margin: 0 0 15px;
}

.wtb-archive-description {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.wtb-pagination {
    text-align: center;
    margin: 40px 0;
}

.wtb-no-tours {
    text-align: center;
    font-size: 18px;
    color: #666;
    padding: 60px 20px;
}

/* Calendar */
.wtb-calendar {
    background: #fff;

    margin-bottom: 12px;
}

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

.wtb-calendar-prev,
.wtb-calendar-next {
    background: #f7fafc;
    border: 1px solid #cbd5e0;
    padding: 0;
    color: #000;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.wtb-calendar-prev:hover,
.wtb-calendar-next:hover {
    background: #e6f7f7;
    border-color: #2c7a7b;
    color: #2c7a7b;
}

.wtb-calendar-month-year {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.wtb-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.wtb-calendar-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    padding: 8px 4px;
}

.wtb-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.wtb-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    background: #f7fafc;
    color: #999;
}

.wtb-calendar-day.wtb-day-other-month {
    opacity: 0.3;
    pointer-events: none;
}

.wtb-calendar-day.wtb-day-past {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.wtb-calendar-day.wtb-day-available {
    background: #fff;
    color: #333;
    border-color: #cbd5e0;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.wtb-calendar-day.wtb-day-available::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 7px;
    background: #38a169;
}

.wtb-calendar-day.wtb-day-available:hover {
    background: #e6f7f7;
    border-color: #2c7a7b;
    color: #2c7a7b;
}

.wtb-calendar-day.wtb-day-selected {
    background: #2c7a7b;
    color: #fff;
    border-color: #2c7a7b;
    font-weight: 600;
}

.wtb-calendar-day.wtb-day-today {
    border-color: #2c7a7b;
    font-weight: 600;
}

.wtb-calendar-legend {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    font-size: 13px;
    color: #666;
}

.wtb-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.wtb-legend-dot.wtb-available {
    background: #38a169;
}

.wtb-legend-dot.wtb-selected {
    background: #2c7a7b;
}

/* Time Slots */
.wtb-time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.wtb-time-slot {
    padding: 12px;
    border: 2px solid #cbd5e0;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.wtb-time-slot:hover {
    border-color: #2c7a7b;
    background: #f7fafc;
}

.wtb-time-slot.selected {
    background: #2c7a7b;
    color: #fff;
    border-color: #2c7a7b;
}

.wtb-time-slot.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.wtb-time-slot-time {
    font-weight: 600;
    font-size: 15px;
    display: block;
    margin-bottom: 4px;
}

.wtb-time-slot-availability {
    font-size: 12px;
    color: #666;
}

.wtb-time-slot.selected .wtb-time-slot-availability {
    color: #fff;
}

/* Loading State */
.wtb-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

.wtb-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #e2e8f0;
    border-top-color: #2c7a7b;
    border-radius: 50%;
    animation: wtb-spin 0.8s linear infinite;
}

@keyframes wtb-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Confirmation Step */
.wtb-confirmation-step {
    background: #fff;
    border-radius: 8px;
    margin-top: 20px;
}

.wtb-confirmation-step h3 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #2c7a7b;
}

.wtb-confirmation-intro {
    color: #666;
    margin-bottom: 30px;
    font-size: 15px;
}

.wtb-confirmation-content {
    background: #f7fafc;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
}

.wtb-confirmation-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.wtb-confirmation-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.wtb-confirmation-section h4 {
    margin: 0 0 15px;
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wtb-confirmation-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.wtb-confirmation-row:last-child {
    border-bottom: none;
}

.wtb-confirmation-label {
    font-weight: 600;
    color: #4a5568;
}

.wtb-confirmation-value {
    color: #2d3748;
    text-align: right;
}

.wtb-confirmation-notes {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    border-left: 3px solid #2c7a7b;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.wtb-confirmation-total {
    background: #f7fafc;
    color: #2c7a7b;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.wtb-confirmation-total-label {
    font-size: 18px;
    font-weight: 600;
}

.wtb-confirmation-total-amount {
    font-size: 28px;
    font-weight: 700;
}

.wtb-confirmation-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
}

.wtb-button-secondary {
    background: #e2e8f0;
    color: #2d3748;
}

.wtb-button-secondary:hover {
    background: #cbd5e0;
}

.wtb-booking-button {
    margin-top: 1rem;
}

.wtb-booking-buttton-wrapper {
    position: -webkit-sticky;
    /* Safari support */
    position: sticky;
    top: 50px;
    /* Account for potential fixed header - adjust as needed */
    z-index: 999;
    margin-bottom: 2rem;
    transition: box-shadow 0.3s ease;
}

.wtb-booking-buttton-wrapper.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Adjust sticky position if your theme has a fixed header */
@media (min-width: 769px) {
    .admin-bar .wtb-booking-buttton-wrapper {
        top: 52px;
        /* WordPress admin bar + some spacing */
    }
}

/* Responsive adjustments for confirmation */
@media (max-width: 768px) {
    .wtb-confirmation-step {
        padding: 0;
    }

    .wtb-confirmation-content {
        padding: 20px;
    }

    .wtb-confirmation-row {
        flex-direction: column;
        gap: 5px;
    }

    .wtb-confirmation-value {
        text-align: left;
        font-weight: 600;
    }

    .wtb-confirmation-total {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .wtb-confirmation-total-amount {
        font-size: 32px;
    }

    .wtb-confirmation-actions {
        flex-direction: column-reverse;
    }

    .wtb-confirmation-actions .wtb-button {
        width: 100%;
        text-align: center;
    }

    /* Slider responsive */
    .wtb-slider-nav {
        width: 40px;
        height: 40px;
    }

    .wtb-slider-prev {
        left: 10px;
    }

    .wtb-slider-next {
        right: 10px;
    }

    .wtb-slider-counter {
        bottom: 10px;
        font-size: 12px;
        padding: 6px 12px;
    }

    .wtb-slider-expand {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }

    .wtb-thumbnail {
        flex: 0 0 80px;
        height: 60px;
    }

    /* Lightbox responsive */
    .wtb-lightbox-nav {
        width: 48px;
        height: 48px;
    }

    .wtb-lightbox-prev {
        left: 10px;
    }

    .wtb-lightbox-next {
        right: 10px;
    }

    .wtb-lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }

    .wtb-lightbox-counter {
        bottom: 20px;
        font-size: 14px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .wtb-tour-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .wtb-tour-sidebar {
        position: static;
        z-index: 1000;
    }

    /* .wtb-container {
        padding: 0 1rem;
    } */
}

@media (max-width: 768px) {
    /* .wtb-container {
        padding: 0 1rem;
    } */

    .wtb-tour-title {
        font-size: 28px;
    }

    .wtb-tour-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .wtb-columns-2,
    .wtb-columns-3,
    .wtb-columns-4 {
        grid-template-columns: 1fr;
    }

    .wtb-tour-details {
        grid-template-columns: 1fr;
    }

    .wtb-price-amount {
        font-size: 32px;
    }

    .wtb-guide-card {
        flex-direction: column;
        padding: 20px;
    }

    .wtb-guide-photo {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    .wtb-guide-details {
        flex-direction: column;
    }

    .wtb-booking-widget {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    /* .wtb-container {
        padding: 0 0.75rem;
    } */

    /* .wtb-single-tour {
        padding: 1rem 0;
    } */

    .wtb-tour-content {
        gap: 20px;
    }
}

/* Coupon Styles */
.wtb-coupon-row {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.wtb-coupon-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.wtb-coupon-input-wrapper input {
    flex: 1;
}

.wtb-coupon-input-wrapper .wtb-button {
    white-space: nowrap;
    min-width: 80px;
}

.wtb-coupon-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
}

.wtb-message-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.wtb-message-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.wtb-button-danger {
    background: #dc2626;
    color: white;
}

.wtb-button-danger:hover {
    background: #b91c1c;
}

/* Price Display with Discount */
.wtb-total-price {
    margin-top: 20px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
}

.wtb-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.wtb-price-row:last-child {
    margin-bottom: 0;
}

.wtb-final-price-row {
    padding-top: 15px;
    border-top: 2px solid #e5e7eb;
    font-size: 18px;
    font-weight: 600;
}

.wtb-discount-row {
    color: #16a34a;
}

.wtb-original-amount {
    text-decoration: line-through;
    color: #6b7280;
    font-size: 14px;
}

.wtb-discount-amount {
    color: #16a34a;
    font-weight: 600;
}

/* Confirmation Step Coupon Display */
.wtb-confirmation-price-row {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
}

.wtb-confirmation-price-row.wtb-final-total-row {
    border-top: 2px solid #e5e7eb;
    padding-top: 15px;
    margin-top: 10px;
    font-size: 20px;
    font-weight: 700;
}

.wtb-confirmation-price-row.wtb-discount-row {
    color: #16a34a;
}

.wtb-confirmation-original-amount {
    text-decoration: line-through;
    color: #6b7280;
    font-size: 16px;
}

.wtb-confirmation-discount-amount {
    color: #16a34a;
    font-weight: 600;
}

.wtb-coupon-badge {
    display: inline-block;
    margin-left: 10px;
    padding: 4px 10px;
    background: #d1fae5;
    color: #065f46;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .wtb-coupon-input-wrapper {
        flex-direction: column;
    }

    .wtb-coupon-input-wrapper input,
    .wtb-coupon-input-wrapper .wtb-button {
        width: 100%;
    }
}