/**
 * Single Vehicle Premium Showcase Styles
 * Modern, slick design with prominent CTAs
 *
 * @package Marketplace_For_Cars
 */

:root {
    --primary-color: #fc490b;
    --primary-dark: #e63d08;
    --secondary-color: #0d0e13;
    --accent-green: #25D366;
    --accent-light: #f5f5f5;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* ============================================
   LAYOUT & STRUCTURE
   ============================================ */

/* Hide WordPress post title at top of page for single vehicles */
.single-vehicle-premium .page-title,
.single-vehicle-premium .entry-header,
.single-vehicle-premium .post-title,
.single-vehicle-premium h1.entry-title {
    display: none !important;
    visibility: hidden;
    height: 0;
    margin: 0;
    padding: 0;
}

/* Keep title in DOM for SEO (just visually hidden) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.single-vehicle-premium {
    background: #fff;
}

.vehicle-showcase {
    background: #fff;
}

.vehicle-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vehicle-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    margin: 40px 0;
}

@media (max-width: 1024px) {
    .vehicle-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ============================================
   HERO SECTION with Main Image
   ============================================ */

.vehicle-hero-section {
    position: relative;
    width: 100%;
    background: #f8f8f8;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
}

.hero-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.hero-main-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8e8e8;
}

.hero-main-image img,
.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Price Badge Overlay */
.hero-price-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    z-index: 10;
}

.hero-price-badge .price-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.95;
}

.hero-price-badge .price-value {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

/* Mobile: Make price badge smaller */
@media (max-width: 768px) {
    .hero-price-badge {
        top: 12px;
        right: 12px;
        padding: 8px 12px;
    }

    .hero-price-badge .price-label {
        font-size: 10px;
    }

    .hero-price-badge .price-value {
        font-size: 16px;
    }
}

/* Condition Badge */
.condition-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 11;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.condition-badge .badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

.condition-badge[data-condition="used"] {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* Foreign Used */
.condition-badge[data-condition="foreign used"],
.condition-badge[data-condition="foreign-used"] {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 2px 8px rgba(29, 78, 216, 0.3);
}

/* Local Used */
.condition-badge[data-condition="local used"],
.condition-badge[data-condition="local-used"] {
    background: linear-gradient(135deg, #d97706, #b45309);
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

/* New */
.condition-badge[data-condition="new"] {
    background: linear-gradient(135deg, #16a34a, #15803d);
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}

@media (max-width: 768px) {
    .condition-badge {
        top: 10px;
        left: 10px;
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* Title Overlay */
.hero-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 60%, transparent 100%);
    color: white;
    padding: 60px 30px 30px;
    z-index: 5;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: white;
}

.hero-subtitle {
    font-size: 18px;
    margin: 0;
    opacity: 0.95;
    font-weight: 500;
    color: white;
}

@media (max-width: 768px) {
    /* Move title below image on mobile */
    .hero-title-overlay {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        background: white;
        color: var(--text-dark);
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        margin-top: -1px;
    }

    .hero-title {
        font-size: 24px;
        text-shadow: none !important;
        color: #1a1a1a !important;
    }

    .hero-subtitle {
        font-size: 14px;
        text-shadow: none !important;
        opacity: 0.8 !important;
        color: #333 !important;
    }

    .hero-main-image {
        aspect-ratio: 16 / 9;
    }

    .hero-price-badge {
        top: 15px;
        right: 15px;
        padding: 10px 15px;
    }

    .hero-price-badge .price-value {
        font-size: 20px;
    }
}

/* Gallery Thumbnails */
.gallery-thumbs-row {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: #fafafa;
    overflow-x: auto;
    border-top: 1px solid var(--border-color);
    scroll-behavior: smooth;
}

.thumb-item {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb-item:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.thumb-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color), var(--shadow-md);
}

/* ============================================
   GALLERY & SHARE WRAPPER - Side by Side Layout
   ============================================ */

.gallery-share-wrapper {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #fafafa;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.gallery-thumbs-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex: 1;
    align-items: center;
    min-width: 0;
}

/* ============================================
   HERO SHARE SECTION - Brand Logos
   ============================================ */

.hero-share-section {
    background: transparent;
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-logos-row {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.share-logo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: white;
    border: 2px solid #ddd;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    padding: 0;
    flex-shrink: 0;
}

.share-logo-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.share-logo-btn.facebook {
    color: #1877f2;
    border-color: #1877f2;
    background: #f0f7ff;
}

.share-logo-btn.facebook:hover {
    background: #1877f2;
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.share-logo-btn.whatsapp {
    color: #25d366;
    border-color: #25d366;
    background: #f0fdf4;
}

.share-logo-btn.whatsapp:hover {
    background: #25d366;
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.share-logo-btn.instagram {
    color: #e4405f;
    border-color: #e4405f;
    background: #fff0f4;
}

.share-logo-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.share-logo-btn.email {
    color: #ea4335;
    border-color: #ea4335;
    background: #fef2f2;
}

.share-logo-btn.email:hover {
    background: #ea4335;
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   SPECS SECTION - Card Grid
   ============================================ */

.specs-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: var(--text-dark);
    letter-spacing: -0.3px;
}

.specs-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

@media (max-width: 768px) {
    .specs-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.spec-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: default;
}

.spec-card:hover {
    background: linear-gradient(135deg, #f5f5f5 0%, #efefef 100%);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.spec-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(252, 73, 11, 0.1);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 15px;
}

.spec-content {
    flex: 1;
    min-width: 0;
}

.spec-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.spec-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    word-break: break-word;
    text-transform: uppercase;
}

/* ============================================
   DESCRIPTION SECTION
   ============================================ */

.description-section {
    margin-bottom: 40px;
}

.description-box {
    background: #f9f9f9;
    padding: 24px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
    line-height: 1.8;
    color: var(--text-light);
}

.description-box p {
    margin: 0 0 12px 0;
    last-child {
        margin-bottom: 0;
    }
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
    margin-bottom: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f5f5f5;
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.feature-checkmark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: rgba(252, 73, 11, 0.2);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
}

.feature-item:hover .feature-checkmark {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* ============================================
   SIDEBAR: PROMINENT CTA BUTTONS
   ============================================ */

.vehicle-sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-buttons-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Button Styles - PROMINENT & MODERN */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: normal;
    text-align: left;
}

.btn.btn-lg {
    padding: 18px 20px;
    min-height: 72px;
}

.btn-icon {
    font-size: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.btn-text {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.btn-subtext {
    display: block;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
}

/* Primary CTA: Quotation Button */
.btn-quotation {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-color);
}

.btn-quotation:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-dark);
}

.btn-quotation:active {
    transform: translateY(-1px);
}

/* Secondary CTA: WhatsApp Button */
.btn-whatsapp {
    background: linear-gradient(135deg, var(--accent-green), #1fa860);
    color: white;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--accent-green);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: #1fa860;
}

.btn-whatsapp:active {
    transform: translateY(-1px);
}

/* Tertiary: Wishlist Button */
.btn-wishlist {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-wishlist:hover {
    background: var(--accent-light);
    border-color: var(--primary-dark);
}

/* Active wishlist state */
.btn-wishlist.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.btn-wishlist.active:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* ============================================
   DEALER INFO SECTION
   ============================================ */

.dealer-info-section {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: var(--text-dark);
    letter-spacing: 0;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 12px;
}

.dealer-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.dealer-avatar {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.dealer-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.dealer-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dealer-name {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark);
    line-height: 1.3;
}

.dealer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
    justify-content: center;
}

.dealer-contact-item i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.dealer-phone {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dealer-phone:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.dealer-location {
    color: var(--text-light);
}

.dealer-profile-link {
    display: inline-block;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.dealer-profile-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   LOCATION INFO SECTION
   ============================================ */

.location-info-section {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.location-info-section .sidebar-title {
    margin-bottom: 16px;
}

.location-map {
    width: 100%;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
    box-shadow: var(--shadow-sm);
}

.location-address {
    font-size: 13px;
    color: var(--text-dark);
    margin: 0;
    padding: 10px 12px;
    background: #f9f9f9;
    border-radius: 6px;
    text-align: left;
    font-weight: 500;
    border-left: 3px solid var(--primary-color);
}

.btn-open-map {
    display: block;
    text-align: center;
    padding: 10px 16px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.btn-open-map:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-open-map {
    display: block;
    text-align: center;
    padding: 10px 16px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.btn-open-map:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   SHARE & LOCATION SECTION
   ============================================ */

.share-section {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.share-buttons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    border-radius: 50%;
    font-size: 16px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 1;
}

.share-btn.facebook {
    background: #1877f2;
    grid-column: span 1;
}

.share-btn.facebook:hover {
    background: #165dcd;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.share-btn.twitter {
    background: #000;
}

.share-btn.twitter:hover {
    background: #333;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.share-btn.email {
    background: #ea4335;
}

.share-btn.email:hover {
    background: #d33425;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.share-btn.whatsapp {
    background: var(--accent-green);
}

.share-btn.whatsapp:hover {
    background: #1fa860;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Location Map */
.location-map-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.location-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
}

.location-map {
    background: #e8e8e8;
    border-radius: var(--radius-md);
}

.location-address {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
    text-align: center;
}

/* ============================================
   QUOTATION SECTION - Full Width
   ============================================ */

.quotation-section {
    background: linear-gradient(135deg, var(--accent-light) 0%, #f0f0f0 100%);
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

.quotation-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.quotation-header {
    text-align: center;
    margin-bottom: 30px;
}

.quotation-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--text-dark);
}

.quotation-header p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.quotation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .quotation-container {
        padding: 25px;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(252, 73, 11, 0.1);
    background: #fff;
}

.form-group textarea {
    resize: vertical;
}

.form-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(252, 73, 11, 0.05);
    border-radius: var(--radius-md);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 500;
}

.form-info i {
    font-size: 16px;
    flex-shrink: 0;
}

.quotation-submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    margin-top: 10px;
}

.quotation-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.quotation-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ============================================
   RELATED POSTS SECTION
   ============================================ */

.related-posts {
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
}

.related-posts h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 30px 0;
    color: var(--text-dark);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

.related-vehicle-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    min-height: 320px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.related-vehicle-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* Card Image with Overlay */
.card-image-container {
    position: relative;
    flex: 1;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .card-image-container {
        aspect-ratio: 4 / 3;
    }
}

.card-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e8e8e8;
    z-index: 1;
}

.card-image-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    z-index: 2;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 3;
    transition: opacity 0.3s ease;
}

.related-vehicle-card:hover .card-image-img {
    transform: scale(1.05);
}

.card-content {
    padding: 16px;
    background: white;
    flex-shrink: 0;
}

.card-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--text-dark);
}

.card-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 12px 0;
}

.card-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: var(--primary-dark);
}

/* ============================================
   MORE FROM DEALER SECTION
   ============================================ */

.dealer-vehicles {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--accent-light) 0%, #f0f0f0 100%);
    border-top: 2px solid var(--primary-color);
}

.dealer-vehicles-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.dealer-vehicles-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--text-dark);
}

.dealer-vehicles-header p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.view-all-link {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.view-all-link:hover {
    background: var(--primary-dark);
    transform: translateX(4px);
}

.dealer-vehicles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1024px) {
    .dealer-vehicles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .dealer-vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dealer-vehicles-header {
        flex-direction: column;
    }
    
    .view-all-link {
        width: 100%;
        text-align: center;
    }
}

.dealer-vehicle-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dealer-vehicle-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.dealer-vehicle-card .card-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .dealer-vehicle-card .card-image-container {
        aspect-ratio: 1 / 1;
    }
}

.dealer-vehicle-card .card-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e8e8e8;
    z-index: 1;
}

.dealer-vehicle-card .card-image-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    z-index: 2;
}

.dealer-vehicle-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 3;
    transition: opacity 0.3s ease;
}

.dealer-vehicle-card:hover .card-image-img {
    transform: scale(1.05);
}

.dealer-vehicle-card .card-content {
    padding: 12px;
    background: white;
    flex-shrink: 0;
}

.dealer-vehicle-card .card-content h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: var(--text-dark);
    line-height: 1.3;
}

.dealer-vehicle-card .card-price {
    font-size: 16px;
    margin: 0 0 8px 0;
}

.dealer-vehicle-card .card-link {
    font-size: 12px;
}

/* ============================================
   BREADCRUMBS
   ============================================ */

.breadcrumb-nav {
    margin-bottom: 30px;
    padding: 15px 0;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    .vehicle-showcase {
        margin: 0;
    }

    .specs-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cta-buttons-section {
        gap: 10px;
    }

    .btn {
        padding: 14px 16px;
    }

    .btn.btn-lg {
        padding: 16px 16px;
        min-height: 66px;
    }

    .btn-text {
        font-size: 15px;
    }

    .btn-icon {
        font-size: 20px;
    }

    .section-title {
        font-size: 20px;
    }

    .quotation-header h2 {
        font-size: 24px;
    }

    .quotation-container {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .related-posts {
        padding: 30px 0;
    }

    .dealer-vehicles {
        padding: 30px 0;
    }

    .hero-share-section {
        padding: 15px 12px;
    }

    .share-logos-row {
        gap: 10px;
        justify-content: center;
    }

    .share-logo-btn {
        width: 45px;
        height: 45px;
    }

    .share-logo-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .vehicle-container {
        padding: 0 15px;
    }

    .specs-cards {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .hero-price-badge {
        top: 10px;
        right: 10px;
        padding: 8px 12px;
    }

    .hero-price-badge .price-value {
        font-size: 18px;
    }

    .btn {
        gap: 10px;
        padding: 12px 14px;
    }

    .btn.btn-lg {
        padding: 14px 12px;
        min-height: 62px;
    }

    .btn-text {
        font-size: 14px;
    }

    .btn-subtext {
        font-size: 10px;
    }

    .btn-icon {
        font-size: 18px;
    }

    .form-group label {
        font-size: 12px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .gallery-thumbs-row {
        gap: 8px;
        padding: 12px;
    }

    .thumb-item {
        width: 70px;
        height: 70px;
    }

    .dealer-vehicles-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ANIMATIONS & TRANSITIONS
   ============================================ */

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vehicle-showcase {
    animation: slideIn 0.5s ease-out;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
}

/* ============================================
   PHOTO COUNT OVERLAY
   ============================================ */

.hero-main-image {
    cursor: pointer;
}

.hero-photo-count {
    position: absolute;
    bottom: 12px;
    right: 14px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    pointer-events: none;
}

/* ============================================
   SHARE LOGO BUTTONS (FA icon variant)
   ============================================ */

.share-logo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.share-logo-btn.facebook { background: #f0f7ff; color: #1877f2; border: 1.5px solid #1877f2; }
.share-logo-btn.facebook:hover { background: #1877f2; color: #fff; transform: translateY(-2px); }
.share-logo-btn.whatsapp { background: #f0fdf4; color: #25d366; border: 1.5px solid #25d366; }
.share-logo-btn.whatsapp:hover { background: #25d366; color: #fff; transform: translateY(-2px); }
.share-logo-btn.email { background: #fef2f2; color: #ea4335; border: 1.5px solid #ea4335; }
.share-logo-btn.email:hover { background: #ea4335; color: #fff; transform: translateY(-2px); }

/* ============================================
   LIGHTBOX PREV / NEXT
   ============================================ */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

body.ogc-lightbox-open {
    overflow: hidden;
}

.lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 86vh;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 100000;
}

.lightbox-close:hover { background: rgba(255,255,255,0.3); }

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    font-size: 18px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 100000;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.3); }

.lightbox-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 600;
    background: rgba(0,0,0,0.4);
    padding: 4px 14px;
    border-radius: 50px;
}

@media (max-width: 768px) {
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 15px; }
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.ogc-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1f2937;
    color: #fff;
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    z-index: 99998;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    white-space: nowrap;
}

.ogc-toast.ogc-toast-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.ogc-toast.ogc-toast-success { background: #15803d; }
.ogc-toast.ogc-toast-info    { background: #1e40af; }
.ogc-toast.ogc-toast-error   { background: #b91c1c; }

/* ============================================
   PHONE INPUT ROW (replaces inline styles)
   ============================================ */

.phone-input-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.phone-country-select {
    flex: 0 0 130px;
    padding: 12px 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fff;
}

.phone-country-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(252, 73, 11, 0.1);
}

.phone-number-input {
    flex: 1;
    min-width: 0;
}

@media (max-width: 480px) {
    .phone-input-row { flex-direction: column; }
    .phone-country-select { flex: none; width: 100%; }
}

.btn-primary:hover {
    opacity: 0.95;
}

.btn-large {
    padding: 16px 24px;
    font-size: 16px;
}
