/* ===== Vehicle Detail Page Styles ===== */

/* Force header to be visible on vehicle page (no dark hero) */
.vehicle-page .header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.vehicle-page .logo-text {
    color: var(--dark);
}

.vehicle-page .nav-link {
    color: var(--gray-600);
}

.vehicle-page .nav-link:hover {
    color: var(--dark);
}

.vehicle-page .phone {
    color: var(--dark);
}

.vehicle-page .work-time {
    color: var(--gray-500);
}

.vehicle-page .burger-menu span {
    background: var(--dark);
}

/* Add top padding for fixed header */
.vehicle-page .breadcrumbs {
    padding-top: calc(80px + 1rem);
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.875rem;
}

.breadcrumb-link {
    color: var(--gray-500);
    transition: var(--transition);
}

.breadcrumb-link:hover {
    color: var(--primary);
}

.breadcrumb-separator {
    color: var(--gray-400);
}

.breadcrumb-current {
    color: var(--gray-700);
    font-weight: 500;
}

/* Vehicle Header Section */
.vehicle-header {
    padding: 1rem 0 3rem;
}

.vehicle-header-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* Vehicle Image Block */
.vehicle-image-block {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--gray-100);
}

.vehicle-main-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.vehicle-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: var(--secondary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
}

/* Vehicle Info Block */
.vehicle-info-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 2rem;
}

.vehicle-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin: 0;
}

/* Quick Specs */
.vehicle-quick-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.quick-spec {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.quick-spec svg {
    color: var(--secondary);
}

/* Price Block */
.vehicle-price-block {
    padding: 0;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
}

.price-from {
    font-size: 1rem;
    color: var(--gray-500);
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

.price-period {
    font-size: 1rem;
    color: var(--gray-500);
}

.price-deposit {
    margin-top: 0.5rem;
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.price-deposit strong {
    color: var(--gray-900);
}

/* CTA Buttons */
.vehicle-cta {
    display: flex;
    gap: 1rem;
}

.vehicle-cta .btn {
    justify-content: center;
}

/* Messengers */
.vehicle-messengers {
    display: flex;
    gap: 0.75rem;
}

.messenger-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    color: var(--gray-600);
    transition: var(--transition);
}

.messenger-link:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

/* Specs Sidebar in Hero */
.vehicle-specs-sidebar {

}

.specs-sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.25rem;
}

.specs-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.spec-sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.spec-sidebar-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border-radius: var(--radius-md);
    color: var(--white);
}

.spec-sidebar-icon.orange {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
}

.spec-sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.spec-sidebar-label {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.spec-sidebar-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-900);
}

/* Features List */
.vehicle-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
}

.vehicle-features-list .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.vehicle-features-list .feature-item svg {
    color: var(--success);
    flex-shrink: 0;
}

/* Vehicle Specs Section */
.vehicle-specs-section {
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.content-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.section-block {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

/* Vehicle Description */
.vehicle-description p {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 1rem;
}

/* Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.spec-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.spec-card:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.spec-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border-radius: var(--radius-lg);
    color: var(--white);
    flex-shrink: 0;
}

.spec-icon.orange {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
}

.spec-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.spec-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.spec-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
}

/* Sidebar */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.25rem;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.feature-item svg {
    color: var(--success);
    flex-shrink: 0;
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
}

.sidebar-cta p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
}

.btn-block {
    width: 100%;
}

/* Vehicle Pricing Section */
.vehicle-pricing-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

/* Section Header - override main styles for vehicle page */
.vehicle-pricing-section .section-header,
.booking-section .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
}

.vehicle-pricing-section .section-title,
.booking-section .section-title {
    margin-bottom: 0.5rem;
}

.vehicle-pricing-section .section-subtitle,
.booking-section .section-subtitle {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-top: 0;
}

.pricing-table-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    overflow-x: auto;
    margin-bottom: 2rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table thead {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
}

.pricing-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.pricing-table th:first-child {
    border-radius: var(--radius-lg) 0 0 0;
}

.pricing-table th:last-child {
    border-radius: 0 var(--radius-lg) 0 0;
}


.pricing-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    vertical-align: middle;
    height: 80px;
}

.pricing-table tbody tr:hover {
    background: var(--gray-50);
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-days {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray-800);
    min-width: 120px;
}

.pricing-days svg {
    color: var(--secondary);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.pricing-amount {
    text-align: left;
    vertical-align: middle;
    position: relative;
}

.pricing-amount .price-value {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    color: var(--secondary);
}

.pricing-amount .price-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.price-badge {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.25rem 0.5rem;
    background: var(--success);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.625rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Mobile Pricing Cards - hidden on desktop */
.pricing-cards-mobile {
    display: none;
}

/* Pricing Info Cards */
.pricing-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.info-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border-radius: var(--radius-lg);
    color: var(--white);
    margin-bottom: 1.25rem;
}

.info-icon.orange {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
}

.info-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.info-description {
    font-size: 0.9375rem;
    color: var(--gray-600);
}

/* Vehicle Extras Section */
.vehicle-extras-section {
    padding: 4rem 0;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.88) 100%),
        url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?w=1920&q=80') center/cover no-repeat fixed;
    position: relative;
}

/* Two-column layout */
.extras-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.extras-intro {

}

.extras-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
}

.extras-description {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
}

/* Cards Grid */
.extras-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.extra-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.extra-card:hover {
    background: rgba(255, 255, 255, 0.12);
}

.extra-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border-radius: var(--radius-md);
    color: var(--white);
}

.extra-icon.orange {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
}

.extra-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.extra-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
}

.extra-desc {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

.info-banner-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    border-radius: var(--radius-lg);
    color: var(--white);
    flex-shrink: 0;
}

.info-banner-content {
    flex-grow: 1;
}

.info-banner-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.info-banner-content p {
    color: var(--gray-700);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Vehicle Booking Section */
.vehicle-booking-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

.booking-content {
    max-width: 900px;
    margin: 0 auto;
}

.booking-header {
    text-align: center;
    margin-bottom: 3rem;
}

.booking-header .section-title {
    color: var(--gray-900);
}

.booking-header .section-subtitle {
    color: var(--gray-600);
    max-width: 100%;
    margin: 0.5rem auto 0;
}

.booking-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
}

.booking-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-200);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-700);
}

.required {
    color: var(--error);
}

.form-input,
.form-textarea {
    padding: 0.875rem 1.125rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(159, 122, 234, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Booking Summary */
.booking-summary {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.summary-label {
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.summary-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
}

.summary-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius);
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.summary-note svg {
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Booking Actions */
.booking-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.booking-privacy {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.privacy-link {
    color: var(--secondary);
    text-decoration: underline;
}

.privacy-link:hover {
    color: var(--secondary-dark);
}

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

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .pricing-info-cards,
    .extras-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Vehicle Header Mobile */
    .vehicle-header {
        padding-bottom: 0;
    }

    .vehicle-header-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Vehicle Specs Section - adjust padding */
    .vehicle-specs-section {
        padding: 1.5rem 0 1.5rem;
    }

    .vehicle-info-block {
        padding-left: 0;
        align-items: center;
        text-align: center;
    }

    .vehicle-title {
        font-size: 1.75rem;
    }

    .vehicle-quick-specs {
        gap: 1rem;
        justify-content: center;
    }

    .quick-spec {
        font-size: 0.875rem;
    }

    .vehicle-price-block {
        padding: 0;
        text-align: center;
    }

    .price-main {
        justify-content: center;
    }

    .price-deposit {
        text-align: center;
    }

    .price-amount {
        font-size: 1.75rem;
    }

    .vehicle-cta .btn {
        width: 100%;
    }

    .vehicle-messengers {
        justify-content: center;
    }

    .specs-sidebar-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .spec-sidebar-item {
        padding: 0.625rem 0.875rem;
    }

    .spec-sidebar-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .spec-sidebar-icon svg {
        width: 18px;
        height: 18px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .booking-form {
        padding: 2rem 1.5rem;
    }

    .extras-info-banner {
        flex-direction: column;
        text-align: center;
    }

    /* Pricing: hide table, show cards on mobile */
    .pricing-table-wrapper {
        display: none;
    }

    .pricing-cards-mobile {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .pricing-card {
        background: var(--white);
        border-radius: var(--radius-lg);
        padding: 1rem;
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--gray-200);
    }

    .pricing-card--best {
        border-color: var(--success);
        box-shadow: 0 0 0 1px var(--success);
    }

    .pricing-card__days {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: 600;
        font-size: 0.9375rem;
        color: var(--gray-800);
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid var(--gray-100);
    }

    .pricing-card__days svg {
        color: var(--secondary);
        flex-shrink: 0;
    }

    .pricing-card__badge {
        margin-left: auto;
        padding: 0.25rem 0.5rem;
        background: var(--success);
        color: var(--white);
        border-radius: var(--radius-full);
        font-size: 0.6875rem;
        font-weight: 600;
    }

    .pricing-card__prices {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
    }

    .pricing-card__price {
        flex: 1;
    }

    .pricing-card__price-value {
        display: block;
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--gray-600);
        line-height: 1.2;
    }

    .pricing-card__price--best .pricing-card__price-value {
        color: var(--secondary);
    }

    .pricing-card__price-label {
        font-size: 0.75rem;
        color: var(--gray-500);
    }

    .pricing-info-cards {
        grid-template-columns: 1fr;
    }

    /* Extras responsive */
    .extras-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .extras-intro {
        text-align: center;
    }

    .extras-title {
        font-size: 28px;
    }

    .extras-description {
        font-size: 16px;
        max-width: 100%;
    }

    .extras-cards {
        grid-template-columns: 1fr;
    }

    .extra-card {
        padding: 0.875rem 1rem;
    }

    .extra-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .extra-icon svg {
        width: 20px;
        height: 20px;
    }

    .extra-name {
        font-size: 0.875rem;
    }

    .extra-desc {
        font-size: 0.75rem;
    }

    /* Booking summary single column on mobile */
    .summary-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .summary-label {
        font-size: 0.875rem;
    }

    .summary-value {
        font-size: 1.125rem;
    }
}
