/* Single Car Page - Modern Design */

/* AGGRESSIVE FULL-WIDTH OVERRIDES */
body.single-car {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

/* Hide sidebars on single car pages */
body.single-car .sidebar,
body.single-car aside,
body.single-car #secondary,
body.single-car .widget-area {
    display: none !important;
}

/* Force main content to full width */
body.single-car .site,
body.single-car .site-content,
body.single-car .content-area,
body.single-car main,
body.single-car #primary,
body.single-car #content,
body.single-car .hfeed {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}

/* Remove any grid/flex constraints from theme */
body.single-car .site-content {
    display: block !important;
    grid-template-columns: 1fr !important;
}

.sharmancar-single-modern {
    background: #F9FAFB;
    min-height: 100vh;
    width: 100vw;
    max-width: 100%;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 40px 0;
}

.sharmancar-single-modern .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6B7280;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 24px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #E31E24;
}

/* Main Grid */
.car-detail-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
}

/* Car Image */
.car-image-wrapper {
    position: relative;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}

.car-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #3B82F6;
    color: white;
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
}

.wishlist-btn,
.share-btn {
    position: absolute;
    top: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.wishlist-btn {
    right: 70px;
}

.share-btn {
    right: 20px;
}

.wishlist-btn svg,
.share-btn svg {
    stroke: #111827;
    fill: none;
}

.wishlist-btn:hover,
.share-btn:hover {
    background: #E31E24;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(227, 30, 36, 0.4);
}

.wishlist-btn:hover svg,
.share-btn:hover svg {
    stroke: white;
}

.wishlist-btn.active {
    background: #EF4444;
}

.wishlist-btn.active svg {
    fill: white;
    stroke: white;
}

.car-main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.no-image {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3F4F6;
    color: #9CA3AF;
}

/* Car Header */
.car-header {
    background: white;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.car-category {
    color: #6B7280;
    font-size: 14px;
    margin: 0 0 8px 0;
    text-transform: capitalize;
}

.car-title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.car-price-large {
    font-size: 36px;
    font-weight: 700;
    color: #E31E24;
}

/* Specifications */
.specifications-section {
    background: white;
    border-radius: 16px;
    padding: 32px;
}

.specifications-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 24px 0;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.spec-item svg {
    color: #E31E24;
    flex-shrink: 0;
    margin-top: 2px;
}

.spec-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-label {
    font-size: 13px;
    color: #6B7280;
}

.spec-value {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

/* Sidebar */
.car-sidebar-modern {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sidebar-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 20px 0;
}

/* Contact Buttons */
.contact-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #F3F4F6;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.call-btn {
    background: #E31E24;
    color: #FFFFFF;
}

.call-btn:hover {
    background: #C41E3A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.3);
}

.email-btn {
    background: #4B5563;
    color: white;
}

.email-btn:hover {
    background: #374151;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(75, 85, 99, 0.3);
}

/* Info List */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #6B7280;
    font-size: 14px;
}

.info-item svg {
    flex-shrink: 0;
    stroke: #6B7280;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6B7280;
    font-size: 14px;
}

.benefits-list li:before {
    content: '';
    width: 6px;
    height: 6px;
    background: #E31E24;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Quick Info */
.quick-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #F3F4F6;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row span {
    color: #6B7280;
    font-size: 14px;
}

.info-row strong {
    color: #111827;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .car-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .car-sidebar-modern {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .sharmancar-single-modern {
        padding: 20px 0;
    }
    
    .car-main-image,
    .no-image {
        height: 300px;
    }
    
    .car-header {
        flex-direction: column;
        gap: 16px;
    }
    
    .car-title {
        font-size: 24px;
    }
    
    .car-price-large {
        font-size: 28px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
}


/* Description Section */
.car-description {
    color: #6B7280;
    line-height: 1.8;
    font-size: 15px;
}

.car-description p {
    margin-bottom: 16px;
}

.car-description p:last-child {
    margin-bottom: 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #F9FAFB;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #F3F4F6;
    transform: translateX(4px);
}

.feature-item svg {
    flex-shrink: 0;
    color: #10B981;
}

.feature-item span {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}


/* Contact Buttons Group */
.contact-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #F3F4F6;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.email-btn {
    background: #4B5563;
    color: white;
}

.email-btn:hover {
    background: #374151;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(75, 85, 99, 0.3);
}

.contact-btn svg {
    flex-shrink: 0;
}
