/* =========================================
   SINGLE CAR PAGE — COMPLETE STYLESHEET
   ========================================= */

.sc-page {
    --sc-black: #171B18;
    --sc-green: #1FBA5A;
    --sc-green-dark: #88C24D;
    --sc-mint: #E2EEE6;
    --sc-sage: #F4F7F4;
    --sc-text: #202020;
    --sc-muted: #707070;
    --sc-border: #e9e9e9;
    --sc-bg: #ffffff;

    background: var(--sc-bg);
    color: var(--sc-text);
    padding: 30px 0 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.sc-page *,
.sc-page *::before,
.sc-page *::after { box-sizing: border-box; }

.sc-container {
    width: calc(100% - 80px);
    max-width: 1440px;
    margin: 0 auto;
}

/* =========================================
   BREADCRUMB
   ========================================= */
.sc-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--sc-muted);
    margin-bottom: 20px;
}
.sc-breadcrumb a { color: #333; text-decoration: none; }
.sc-breadcrumb a:hover { color: var(--sc-green-dark); }
.sc-bc-sep { color: #b5b5b5; }

/* =========================================
   SPLIT LAYOUT
   ========================================= */
.sc-layout-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 30px;
    align-items: start;
    margin-bottom: 40px;
}

.sc-left-column { min-width: 0; }

.sc-right-column {
    min-width: 0;
    position: sticky;
    top: 24px;
    align-self: start;
}

/* =========================================
   GALLERY (Main Image + Right Thumbnails)
   ========================================= */
.sc-gallery {
    position: relative;
    margin-bottom: 25px;
}

.sc-gallery-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 5;
    background: rgba(255,255,255,0.92);
    color: var(--sc-black);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: .3px;
}

.sc-gallery-wrapper {
    display: grid;
    grid-template-columns: 1fr 80px;
    gap: 12px;
    align-items: start;
}

.sc-gallery-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    background: var(--sc-sage);
}

.sc-gallery-track {
    display: flex;
    height: 100%;
    transition: transform .4s ease-in-out;
}

.sc-gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

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

.sc-gallery-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #888;
    font-size: 14px;
    background: var(--sc-sage);
}

.sc-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.4);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    padding: 0;
    transition: background .2s;
}
.sc-gallery-nav:hover { background: rgba(0,0,0,0.6); }
.sc-gallery-nav.prev { left: 12px; }
.sc-gallery-nav.next { right: 12px; }
.sc-gallery-nav svg {
    width: 18px; height: 18px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sc-gallery-counter {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: .5px;
}

/* Right Side Thumbnails */
.sc-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    max-height: 100%;
    padding-right: 2px;
}

.sc-gallery-thumb {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: var(--sc-sage);
    cursor: pointer;
    opacity: .7;
    transition: opacity .2s, border-color .2s;
}
.sc-gallery-thumb:hover { opacity: 1; }
.sc-gallery-thumb.is-active {
    opacity: 1;
    border-color: var(--sc-green-dark);
}
.sc-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   TITLE & PRICE ROW
   ========================================= */
.sc-title-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 24px;
    margin-bottom: 20px;
    
}

.sc-title-left { min-width: 0; flex: 1 1 400px; }

.sc-title {
    margin: 0 0 6px;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    color: var(--sc-black);
    line-height: 1.2;
}


.sc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
	
    margin-bottom: 14px;
}

.sc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}
.sc-badge svg {
    width: 14px; height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.sc-badge-green { background: var(--sc-mint); color: var(--sc-green-dark); }
.sc-badge-dark { background: var(--sc-sage); color: var(--sc-black); }

.sc-loc {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
}
.sc-loc svg {
    width: 15px; height: 15px;
    fill: none;
    stroke: var(--sc-green-dark);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sc-title-right { text-align: right; flex: 0 0 auto; }
.sc-price-label { display: block; font-size: 13px; color: var(--sc-muted); margin-bottom: 4px; }
.sc-price-line { display: flex; align-items: baseline; gap: 6px; justify-content: flex-end; }
.sc-price { font-size: clamp(27px, 3vw, 34px); font-weight: 700; color: var(--sc-green-dark); line-height: 1; }
.sc-price-per { font-size: 14px; color: var(--sc-green-dark); font-weight: 500; }

/* =========================================
   HERO SPECS BAR
   ========================================= */
.sc-specs-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* Changed from 3 to 4 */
    background: #ffffff;
    border: 1px solid var(--sc-border);
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.sc-spec-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-right: 1px solid var(--sc-border);
}
.sc-spec-cell:last-child { border-right: none; }

.sc-spec-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    color: var(--sc-black);
    flex-shrink: 0;
}
.sc-spec-icon svg {
    width: 24px; height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sc-spec-meta { min-width: 0; }
.sc-spec-label {
    display: block;
    font-size: 12px;
    color: #111827;
    margin-bottom: 2px;
}
.sc-spec-value {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--sc-black);
    text-transform: capitalize;
}

/* =========================================
   OVERVIEW & FEATURES
   ========================================= */
.sc-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.sc-overview h2 {
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 800;
    color: var(--sc-black);
}

.sc-desc {
    color: #000000;
    font-size: 15px;
    line-height: 1.7;
}
.sc-desc > *:first-child { margin-top: 0; }
.sc-desc > *:last-child { margin-bottom: 0; }

.sc-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.sc-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--sc-text);
    line-height: 1.4;
}

.sc-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: transparent;
    color: var(--sc-green);
    flex-shrink: 0;
}
.sc-check svg {
    width: 14px; height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================
   STICKY BOOKING CARD (Right Sidebar)
   ========================================= */
.sc-booking-card {
    background: #ffffff;
    border: 1px solid var(--sc-border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.sc-booking-title {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 800;
    color: var(--sc-black);
}

.sc-booking-sub {
    margin: 0 0 20px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--sc-muted);
}

/* Fallback Form Styling */
.sc-fallback-form .sc-field { margin-bottom: 14px; }

.sc-fallback-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--sc-black);
    margin-bottom: 6px;
}
.sc-fallback-form .req { color: #d33; }

.sc-fallback-form input,
.sc-fallback-form select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--sc-border);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    color: var(--sc-text);
    background: #fff;
    transition: border-color .2s;
    height: 44px;
}
.sc-fallback-form input:focus,
.sc-fallback-form select:focus {
    outline: none;
    border-color: var(--sc-green-dark);
}
.sc-fallback-form input[readonly] {
    background: #f9f9f9;
    color: #666;
}

.sc-phone-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 8px;
}
.sc-phone-row select {
    padding: 10px 8px;
}

/* Submit Button */
.sc-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    background: var(--sc-green);
    color: #fff !important;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .2s;
    margin-top: 6px;
}
.sc-btn-primary:hover { background: #17a04a; }

/* Secure Note */
.sc-secure-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--sc-border);
    font-size: 12px;
    color: var(--sc-muted);
    line-height: 1.5;
}
.sc-secure-note svg {
    flex: 0 0 18px;
    width: 18px; height: 18px;
    fill: none;
    stroke: var(--sc-green-dark);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Plugin form normalizer */
.sc-booking-form-wrap .crb-booking-form-wrapper {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.sc-booking-form-wrap .crb-form-group { margin-bottom: 14px; }
.sc-booking-form-wrap label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--sc-black);
    margin-bottom: 6px;
}
.sc-booking-form-wrap input,
.sc-booking-form-wrap select,
.sc-booking-form-wrap textarea {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1px solid var(--sc-border) !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    background: #fff !important;
    height: 44px;
}
.sc-booking-form-wrap textarea { height: auto; }
.sc-booking-form-wrap .crb-submit-btn {
    background: var(--sc-green) !important;
    color: #fff !important;
    border: none !important;
    padding: 13px 20px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    width: 100% !important;
    margin-top: 6px;
}

/* =========================================
   FULL WIDTH SECTIONS BELOW (Why, Related, CTA)
   ========================================= */
.sc-why {
    margin-bottom: 40px;
    padding: 30px;
    background: #F8FBF9;
    border: 1px solid var(--sc-mint);
    border-radius: 12px;
}

.sc-why-title {
    margin: 0 0 24px;
    font-size: 20px;
    font-weight: 800;
    color: var(--sc-black);
}

.sc-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.sc-why-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.sc-why-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--sc-mint);
    color: var(--sc-green-dark);
    flex-shrink: 0;
}
.sc-why-icon svg {
    width: 18px; height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sc-why-item h3 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--sc-black);
}
.sc-why-item p {
    margin: 0;
    font-size: 12px;
    color: var(--sc-muted);
    line-height: 1.4;
}

/* Related Vehicles */
.sc-related {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--sc-border);
}

.sc-related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
}
.sc-related-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: var(--sc-black);
}
.sc-related-viewall {
    font-size: 14px;
    font-weight: 600;
    color: var(--sc-green-dark);
    text-decoration: none;
}
.sc-related-viewall:hover { text-decoration: underline; }

.sc-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.sc-related-card {
    background: #fff;
    border: 1px solid var(--sc-border);
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
    display: flex;
    flex-direction: column;
}
.sc-related-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.sc-related-img {
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--sc-sage);
    overflow: hidden;
}
.sc-related-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.sc-related-card:hover .sc-related-img img {
    transform: scale(1.03);
}

.sc-related-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sc-related-body h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}
.sc-related-body h3 a {
    color: var(--sc-black);
    text-decoration: none;
}
.sc-related-body h3 a:hover { color: var(--sc-green-dark); }

.sc-related-price {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--sc-muted);
}
.sc-related-price strong {
    color: var(--sc-black);
    font-size: 16px;
    font-weight: 800;
}

.sc-related-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--sc-border);
    font-size: 12px;
    color: #555;
}
.sc-related-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.sc-related-meta svg {
    width: 12px; height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sc-related-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--sc-green-dark);
    text-decoration: none;
}
.sc-related-btn:hover { color: var(--sc-black); }

/* CTA Banner */
.sc-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 40px;
    margin-bottom: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b2a3d 60%, #1a3a2a 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.sc-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 50%, rgba(31,186,90,0.15), transparent 45%),
        radial-gradient(circle at 15% 80%, rgba(31,186,90,0.08), transparent 40%);
    pointer-events: none;
}

.sc-cta-inner {
    position: relative;
    z-index: 1;
    flex: 1 1 400px;
    min-width: 0;
}
.sc-cta-inner h2 {
    margin: 0 0 8px;
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
}
.sc-cta-inner p {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.78);
    line-height: 1.5;
}

.sc-cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 0 0 auto;
}

.sc-cta-actions .sc-btn-primary {
    width: auto;
    padding: 13px 24px;
    border-radius: 6px;
    font-size: 14px;
    background: var(--sc-green);
}
.sc-cta-actions .sc-btn-primary:hover { background: #17a04a; }

.sc-btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    background: transparent;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .2s, border-color .2s;
}
.sc-btn-wa:hover {
    background: rgba(255,255,255,0.08);
    border-color: #fff;
}
.sc-btn-wa svg {
    width: 18px; height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================
   RESPONSIVE
   ========================================= */

/* Tablet large */
@media (max-width: 1200px) {
    .sc-container { width: calc(100% - 60px); }
    .sc-layout-split { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
    .sc-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sc-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Tablet */
@media (max-width: 992px) {
    .sc-layout-split { grid-template-columns: 1fr; gap: 30px; }
    .sc-right-column { position: static; }
    .sc-overview { grid-template-columns: 1fr; gap: 30px; }
    .sc-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile */
@media (max-width: 700px) {
    .sc-page { padding-top: 20px; }
    .sc-container { width: calc(100% - 32px); }

    .sc-breadcrumb { font-size: 12px; margin-bottom: 18px; }
    .sc-layout-split { gap: 20px; margin-bottom: 28px; }

    /* Mobile Gallery Stack */
    .sc-gallery-wrapper {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .sc-gallery-thumbs {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 5px;
        scrollbar-width: none;
    }
    .sc-gallery-thumbs::-webkit-scrollbar { display: none; }
    .sc-gallery-thumb {
        flex: 0 0 64px;
        height: 48px;
        aspect-ratio: auto;
    }

    .sc-gallery-slider { aspect-ratio: 4 / 3; border-radius: 10px; }
    .sc-gallery-nav { width: 34px; height: 34px; }
    .sc-gallery-nav svg { width: 16px; height: 16px; }
    .sc-gallery-nav.prev { left: 10px; }
    .sc-gallery-nav.next { right: 10px; }
    .sc-gallery-counter { font-size: 11px; padding: 4px 10px; bottom: 10px; left: 10px; }
    .sc-gallery-badge { font-size: 11px; padding: 5px 10px; top: 12px; left: 12px; }

    .sc-booking-card { padding: 20px; border-radius: 10px; }
    .sc-booking-title { font-size: 19px; }

    .sc-title-row { gap: 16px; padding-bottom: 20px; margin-bottom: 20px; }
    .sc-title { font-size: 24px; }
    .sc-subtitle { font-size: 14px; }
    .sc-title-right { text-align: left; }
    .sc-price-line { justify-content: flex-start; }
    .sc-price { font-size: 24px; }
    .sc-price-per { font-size: 13px; }

    .sc-specs-bar { grid-template-columns: 1fr; margin-bottom: 28px; }
    .sc-spec-cell { border-right: none; border-bottom: 1px solid var(--sc-border); padding: 14px 16px; }
    .sc-spec-cell:last-child { border-bottom: none; }

    .sc-overview { margin-bottom: 28px; padding-bottom: 28px; }
    .sc-overview h2 { font-size: 19px; }
    .sc-desc { font-size: 14px; }
    .sc-features-list li { font-size: 14px; }

    .sc-why { margin-bottom: 28px; padding: 20px; }
    .sc-why-title { font-size: 19px; margin-bottom: 16px; }
    .sc-why-grid { grid-template-columns: 1fr; gap: 16px; }

    .sc-related { margin-bottom: 28px; padding-bottom: 28px; }
    .sc-related-header h2 { font-size: 19px; }
    .sc-related-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .sc-related-body { padding: 12px; }
    .sc-related-body h3 { font-size: 14px; }
    .sc-related-price strong { font-size: 15px; }
    .sc-related-meta { gap: 8px; font-size: 11px; }

    .sc-cta { flex-direction: column; align-items: flex-start; padding: 28px 22px; margin-bottom: 40px; border-radius: 10px; }
    .sc-cta-actions { width: 100%; }
    .sc-cta-actions .sc-btn-primary, .sc-btn-wa { flex: 1; justify-content: center; }
}

/* Small mobile */
@media (max-width: 420px) {
    .sc-related-grid { grid-template-columns: 1fr; }
    .sc-cta-actions { flex-direction: column; }
    .sc-cta-actions .sc-btn-primary, .sc-btn-wa { width: 100%; }
    .sc-title { font-size: 22px; }
}