/* --- Base Layout (Copied from Tours) --- */

.tour-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.tour-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tour-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tour-sidebar {
    width: 100%;
}

.sidebar-sticky-box {
    position: sticky;
    top: 10rem; 
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-box {
    padding: 1.5rem;
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-color); 
    /* box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03); */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background: var(--background-light); 
}

.sidebar-form-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: center;
}

/* 2-Column layout on desktop */
@media (min-width: 1024px) {
    .tour-container {
        padding: 3rem 2rem;
    }
    .tour-layout {
        flex-direction: row;
        gap: 3rem;
    }
    .tour-content {
        width: 66.666%;
    }
    .tour-sidebar {
        width: 33.333%;
    }
}

/* --- Vehicle-Specific Styles (Unchanged) --- */
.vehicle-title {
    font-size: 1.75rem; 
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--theme-palette-color-4);
}

.vehicle-header .tour-title {
    margin-bottom: 0; 
}

.vehicle-section {
    margin: 4px 0;
}

.vehicle-section .section-title { 
    font-size: 1.125rem; /* 2xl */
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--theme-palette-color-4);
    border-bottom: 1px solid #e5e7eb;
}

.prose, .policy-item p {
    line-height: 1.6;
}

/* --- Styling for Swiper Hero Gallery --- */
.vehicle-gallery {
    width: 100%;
    display: block; 
    margin-bottom: 16px;
}

.swiper-main {
    width: 100%;
    height: 350px;
    aspect-ratio: 16 / 9;
    border-radius: 0.5rem; 
    margin-bottom: 0.5rem;
}

.swiper-main .swiper-slide {
    background-color: #eee;
}
.swiper-main .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-thumbs {
    height: 80px;
    box-sizing: border-box;
    padding: 0;
}

.swiper-thumbs .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.5;
    transition: opacity 0.3s;
    cursor: pointer;
    border-radius: 0.25rem; /* border-radius */
    overflow: hidden;
}

.swiper-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.swiper-thumbs .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .swiper-thumbs {
        height: 100px;
    }
    .swiper-thumbs .swiper-slide {
         width: 16.666%;
    }
}
/* --- Ends Swiper CSS --- */


/* --- Specifications (Vehicle Features) Grid --- */
.vehicle-features-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem; 
    font-weight: 400;
    font-size: 1rem;
}

.feature-icon {
    font-size: 28px;
    color: var(--primary-color); 
}
/* --- Other Details --- */
.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 0.75rem 1.5rem; /* Row and Column gap */
}

.details-list li {
    font-size: 1rem;
    margin-bottom: 0; /* 'gap' now handles the spacing */
}

/* On screens 640px wide and up, switch to 2 columns */
@media (min-width: 640px) {
    .details-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Policies --- */
.policy-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.policy-item {
    margin-bottom: 0;
}
.policy-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.policy-item p {
    margin: 0;
}

/* --- Fluent Form Sidebar Styles --- */
.sidebar-form-title {
    font-size: 1.15rem; 
}
.tour-sidebar .ff-el-input--label label {
    font-size: 0.875rem; 
}

.tour-sidebar .ff-el-form-control {
    font-size: 0.9rem !important; 
}
/* --- Fluent Form Button Size --- */
.tour-sidebar .ff-btn-submit {
    width: 100%;         
    height: 3rem;        
    font-size: 1rem;    
    font-weight: 700;    
    border-radius: var(--border-radius-lg) !important;
}

/* --- Extra Enquiry Button --- */

.enquiry-cta-divider {
    border-top: 1px solid var(--border-color);
    margin: 0.5rem 0;
}

.enquiry-cta {
    text-align: center;
}

.enquiry-cta p {
    margin: 0 0 0.75rem 0; 
    font-size: 0.875rem; 
    color: var(--text-muted-dark);
}

body.dark-mode .enquiry-cta p {
     color: var(--text-muted-light);
}

.enquire-now-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    
    /* This styles it as an "outline" button */
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-lg);
    transition: all 0.2s ease;
}

.enquire-now-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-dark); 
}