/* Turbo/Turismo Pro Elementor Widgets CSS */

/* --- Tour Carousel --- */
.tp-tour-carousel-wrapper .snap-x {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.tp-tour-carousel-wrapper .snap-center {
    scroll-snap-align: center;
}

.tp-tour-carousel-wrapper .hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.tp-tour-carousel-wrapper .hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Fallback/Base Styles if Tailwind is missing */
.tp-tours-grid {
    display: grid;
    /* Columns handled by inline style from PHP based on control */
    gap: 1.5rem;
}

.tp-tour-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.tp-tour-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.tp-tour-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Booking Form --- */
.tp-booking-form input,
.tp-booking-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    outline: none;
    transition: border-color 0.2s;
}

.tp-booking-form input:focus,
.tp-booking-form select:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.tp-booking-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.25rem;
}

.tp-submit-btn {
    background-color: #FE761D; /* Default, overridden by control */
    color: white;
    cursor: pointer;
    border: none;
}

.tp-submit-btn:hover {
    filter: brightness(110%);
}

.tp-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Utilities used in widgets (Mini Tailwind for specific components) */
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-4 { gap: 1rem; }
.w-full { width: 100%; }
.flex { display: flex; }
.hidden { display: none; }
