/* ==========================================================================
   Source1 Motors Child Theme — CSS
   Dealer 113188 | CarCentral.ca-inspired design | Primary #0e75b8
   Scoped to .s1m-theme — styles the parent theme's existing sections + new header/footer
   ========================================================================== */
@import url('https://fonts.cdnfonts.com/css/dm-sans');
@import url('https://fonts.cdnfonts.com/css/montserrat');
/* ==========================================================================
   1. CSS VARIABLES
   ========================================================================== */
.s1m-theme {
    --primary:        #0e75b8;
    --primary-dark:   #0a5d95;
    --primary-darker: #074878;
    --primary-light:  #e8f3fb;
    --amber:          #f59e0b;
    --amber-dark:     #d97706;
    --green:          #2e9e4f;
    --red:            #dc2626;
    --white:          #ffffff;
    --gray-50:        #f8f8f8;
    --gray-100:       #f1f5f9;
    --gray-200:       #e2e8f0;
    --gray-300:       #cbd5e1;
    --gray-400:       #94a3b8;
    --gray-500:       #64748b;
    --gray-600:       #475569;
    --gray-700:       #334155;
    --gray-800:       #1e293b;
    --gray-900:       #0f172a;
    --charcoal:       #1a1a1a;
    --text:           #1a1a1a;
    --font-heading:   'Montserrat', sans-serif;
    --font-body:      'DM Sans', sans-serif;

    /* Override parent theme variables */
    --primary-color:                   #0e75b8 !important;
    --modified-color:                  #FFFFFF !important;
    --top-bar-background-color:        #FFFFFF !important;
    --top-bar-text-color:              #333333 !important;
    --header-background-color:         #FFFFFF !important;
    --header-text-color:               #1a1a1a !important;
    --header-active-text-color:        #0e75b8 !important;
    --header-hover-text-color:         #0e75b8 !important;
    --header-action-background-color:  #0e75b8 !important;
    --header-action-text-color:        #FFFFFF !important;
    --header-action-border-color:      #0e75b8 !important;
    --footer-background-color:         #f4f4f4 !important;
    --footer-text-color:               #333333 !important;
    --font-family:                     'DM Sans', sans-serif;
}

.s1m-theme,
.s1m-theme p,
.s1m-theme a,
.s1m-theme span,
.s1m-theme input,
.s1m-theme button,
.s1m-theme select,
.s1m-theme textarea { font-family: var(--font-body) !important; }

.s1m-theme h1,
.s1m-theme h2,
.s1m-theme h3,
.s1m-theme h4,
.s1m-theme h5,
.s1m-theme h6 { font-family: var(--font-heading) !important; font-weight: 700; color: var(--charcoal); }

/* ==========================================================================
   2. HEADER — Top Info Row (CarCentral-style, clean white)
   ========================================================================== */
.s1m-theme .s1m-header {
    background: #ffffff;
    border-bottom: 1px solid var(--gray-200);
}

/* Hide parent's default top bar styling */
.s1m-theme .website-top-bar { display: none; }

.s1m-theme .s1m-top-info {
    background: #ffffff;
    border-bottom: 1px solid var(--gray-200);
    padding: 10px 0;
}
.s1m-theme .s1m-top-info-inner {
    max-width: var(--layout-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.s1m-theme .s1m-top-info-contacts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    flex: 1;
}
.s1m-theme .s1m-top-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 13px;
    transition: color .2s;
}
.s1m-theme .s1m-top-item:hover { color: var(--primary); }
.s1m-theme .s1m-top-item i {
    color: var(--primary);
    font-size: 13px;
}
.s1m-theme .s1m-top-item strong {
    color: var(--primary);
    font-weight: 600;
}
.s1m-theme .s1m-top-item--hours.s1m-closed { color: var(--red); }
.s1m-theme .s1m-top-item--hours.s1m-closed i { color: var(--red); }

.s1m-theme .s1m-top-info-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.s1m-theme .s1m-top-socials {
    display: flex;
    gap: 6px;
}
.s1m-theme .s1m-top-social {
    width: 32px; height: 32px;
    border-radius: 4px;
    background: var(--gray-100);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: all .2s;
}
.s1m-theme .s1m-top-social:hover { background: var(--primary); color: #fff; }

@media (max-width: 768px) {
    .s1m-theme .s1m-top-item--address { display: none; }
    .s1m-theme .s1m-top-info-contacts { gap: 12px; font-size: 12px; }
}

/* ==========================================================================
   3. HEADER — Main Nav Row
   ========================================================================== */
.s1m-theme .s1m-nav-row,
.s1m-theme .website-header-container {
    background: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0,0,0,.05) !important;
    height: 80px;
    display: flex;
    align-items: center;
}
.s1m-theme .s1m-nav-inner {
    max-width: var(--layout-width);
    margin: 0 auto;
    width: 100%;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.s1m-theme .s1m-nav-logo img,
.s1m-theme .s1m-nav-logo svg {
    max-height: 58px;
    width: auto;
}

.s1m-theme .website-items {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.s1m-theme .website-items .menu-item a {
    color: #1a1a1a !important;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 4px;
    transition: color .2s;
    font-family: var(--font-heading);
	box-sizing: border-box;
}
.s1m-theme .website-items .menu-item a:hover,
.s1m-theme .website-items .current-menu-item > a {
    color: var(--primary) !important;
}
.s1m-theme .website-items .current-menu-item > a {
    position: relative;
}

/* Dropdown menus */
.s1m-theme .website-items .sub-menu {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    min-width: 200px;
    padding: 8px 0;
    top: 100%;
}
.s1m-theme .website-items .sub-menu .menu-item a {
    padding: 10px 18px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 13px;
}
.s1m-theme .website-items .sub-menu .menu-item a:hover { background: var(--primary-light); }

/* Nav actions (search, gtranslate) */
.s1m-theme .s1m-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Hide the "Get Pre-Approved" action button in the nav */
.s1m-theme .header-get-pre-approved,
.s1m-theme .website-nav-button,
.s1m-theme .get_pre_approved { display: none !important; }

/* ==========================================================================
   4. HERO SECTION — CarCentral-style (override parent's slider.php)
   ========================================================================== */
.s1m-theme .hero-slider,
.s1m-theme .hero-slider-new {
    height: 65vh;
    max-height: 65vh;
    min-height: 380px;
    position: relative;
}
.s1m-theme .swiper.hero-slider .swiper-slide,
.s1m-theme .hero-slider-new .swiper-slide {
    height: 65vh;
    max-height: 65vh;
    min-height: 380px;
    position: relative;
    overflow: hidden;
}

/* Centered hero content */
.s1m-theme .slide-content.s1m-hero-slide {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 1.5rem;
    /*background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35));*/
}
.s1m-theme .s1m-hero-centered {
    width: 100%;
    max-width: var(--layout-width);
    text-align: center;
}

/* Decorative frame with corner brackets */
.s1m-theme .s1m-hero-frame {
    position: relative;
    padding: 5px 100px;
    display: inline-block;
	box-sizing: border-box;
}
.s1m-theme .s1m-hero-corner {
    position: absolute;
    width: 60px;
    height: 40px;
    border: 4px solid rgba(255,255,255,.9);
}
.s1m-theme .s1m-hero-corner--tl { top: 0;    left: 0;    border-right: 0; border-bottom: 0; }
.s1m-theme .s1m-hero-corner--tr { top: 0;    right: 0;   border-left:  0; border-bottom: 0; }
.s1m-theme .s1m-hero-corner--bl { bottom: 0; left: 0;    border-right: 0; border-top:    0; width: 120px; }
.s1m-theme .s1m-hero-corner--br { bottom: 0; right: 0;   border-left:  0; border-top:    0; width: 120px;}

@media (max-width: 768px) {
    .s1m-theme .s1m-hero-frame { padding: 20px 10px; }
    .s1m-theme .s1m-hero-corner { width: 40px; height: 26px; }
	.hero-slider .slide-title {
        max-width: 100% !important;
        text-align: center;
        width: 100% !important;
    }
	 .hero-slider .slide-tag-line {
        max-width: 100% !important;
        text-align: center;
        width: 100% !important;
        box-sizing: border-box;
        padding: 0;
    }

}

.s1m-theme .s1m-hero-title,
.s1m-theme .slide-title.pwa_settings {
    color: #ffffff !important;
    font-size: clamp(1.5rem, 5vw, 3rem) !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    letter-spacing: -.01em;
    text-shadow: 0 2px 12px rgba(0,0,0,.35);
	font-family: var(--font-heading) !important;
	text-transform: capitalize;
	max-width: 100%;
}
.s1m-theme .s1m-hero-tagline,
.s1m-theme .slide-tag-line.pwa_settings {
    color: rgba(255,255,255,.95) !important;
    font-size: clamp(1.5rem, 5vw, 2.25rem) !important;
    font-weight: 400 !important;
    margin: 0 !important;
    font-family: var(--font-body) !important;
    text-shadow: 0 1px 8px rgba(0,0,0,.35);
	max-width: 100%;
}
.s1m-theme .hero-slider-new:after {
	content: '';
	bottom: 0;
	width: 100%;
	height: 100%;
	position: absolute;
	background: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25));
}
/* ==========================================================================
   5. HERO SEARCH BAR — CarCentral style white bar below hero
   ========================================================================== */

/* Position the search block below the hero image */
.s1m-theme .swiper.hero-slider.hero-slider-new {
    overflow: visible !important;
}
.s1m-theme .swiper.hero-slider .swiper-wrapper {
    overflow: hidden;
}
.s1m-theme .search_buttons_block {
    position: absolute !important;
    bottom: -36px !important;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 0 1.5rem;
}
@media (max-width: 768px) {
	.s1m-theme .search_buttons_block {
		bottom: 15px !important;
	}
}
/* White search card */
.s1m-theme .search_block,
.s1m-theme .search_block_simple,
.s1m-theme .search_block_advanced {
    background: #ffffff !important;
    border-radius: 6px !important;
    padding: 0 !important;
    box-shadow: 0 8px 32px rgba(0,0,0,.18) !important;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
}

/* Form row — flex, no gap */
.s1m-theme .search-form-price-buttons-holder {
    display: block !important;
}
.s1m-theme form.search-slide-section,
.s1m-theme .search-slide-section {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Search text field */
.s1m-theme .search-field {
    flex: 2 !important;
    border: none !important;
    border-right: 1px solid var(--gray-200) !important;
    padding: 0 22px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--charcoal) !important;
    background: #fff !important;
    height: 62px !important;
    min-height: 62px;
    outline: none;
    border-radius: 0 !important;
}
.s1m-theme .search-field::placeholder {
    color: var(--gray-500);
    font-weight: 500;
}

/* Dropdowns */
.s1m-theme .year-select,
.s1m-theme .make-select,
.s1m-theme .model-select,
.s1m-theme .price-select {
    flex: 1 !important;
    border: none !important;
    border-right: 1px solid var(--gray-200) !important;
    padding: 0 16px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: var(--charcoal) !important;
    background: #fff !important;
    height: 62px !important;
    min-height: 62px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    font-family: var(--font-body);
    border-radius: 0 !important;
}

/* Submit button */
.s1m-theme .search-button,
.s1m-theme button#search-button {
    background: var(--primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 40px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    font-family: var(--font-heading) !important;
    height: 62px !important;
    min-height: 62px;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex !important;
    align-items: center;
    gap: 8px;
    letter-spacing: .03em;
}
.s1m-theme .search-button:hover,
.s1m-theme button#search-button:hover { background: var(--primary-dark) !important; }
/* Hide the icon if using text-only button */
.s1m-theme .search-button .fa-magnifying-glass { font-size: 14px; }

/* Compensate for the floating search bar */
.s1m-theme .swiper.hero-slider.hero-slider-new {
    margin-bottom: 36px;
}
/* Section immediately after hero needs top spacing */
.s1m-theme .home-block-testimonials,
.s1m-theme .home-global-section,
.s1m-theme .special-container,
.s1m-theme .home-search-by-section,
.s1m-theme .s1m-departments-section {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   6. SHARED SECTION HEADINGS (parent's .home_section_headline)
   ========================================================================== */
.s1m-theme .home-global-section {
    padding: 56px 0;
    background: #fff;
}
.s1m-theme .home-global-section:nth-of-type(even) {
    background: var(--gray-50);
}
.s1m-theme .home_section_headline {
    position: relative;
    display: inline-block;
    font-size: clamp(1.4rem, 3vw, 2rem) !important;
    font-weight: 800 !important;
    color: var(--charcoal) !important;
    margin: 0 0 14px !important;
    padding-bottom: 10px;
    text-align: left;
}
.s1m-theme .home_section_headline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.s1m-theme .home_section_headline .title-colored {
    color: var(--primary) !important;
}
.s1m-theme .home_section_sub_title {
    color: var(--gray-500) !important;
    font-size: .95rem !important;
    margin: 0 0 28px !important;
    text-align: left;
    max-width: 640px;
}

/* ==========================================================================
   7. "EXPLORE OUR DEPARTMENTS" — parent's .special-container section
   ========================================================================== */
.s1m-theme .special-container.special-section {
    max-width: var(--layout-width);
    margin: 0 auto;
    padding: 0 1.5rem !important;
}
.s1m-theme .special-container .special-section-title {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem) !important;
    font-weight: 700 !important;
    color: var(--charcoal) !important;
    margin: 0 0 10px !important;
}
.s1m-theme .special-container .v12-button {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 10px 22px !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    font-family: var(--font-heading) !important;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: background .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto !important;
    align-self: flex-start;
}
.s1m-theme .special-container .v12-button:hover { background: var(--primary-dark) !important; }

/* ==========================================================================
   8. "FIND YOUR NEXT VEHICLE" — parent's .home-block-inventory
   ========================================================================== */
.s1m-theme .home-block-inventory {
    padding: 56px 0;
    background: var(--gray-50);
}
.s1m-theme .home-block-inventory .inventory-cards {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
@media (max-width: 768px) {
    .s1m-theme .home-block-inventory .inventory-cards { grid-template-columns: 1fr; }
}

.s1m-theme .home-block-inventory .inventory-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow .25s, transform .25s;
}
.s1m-theme .home-block-inventory .inventory-card:hover {
    box-shadow: 0 10px 28px rgba(0,0,0,.1);
    transform: translateY(-3px);
}

/* ==========================================================================
   9. "WELCOME TO..." ABOUT SECTION (parent's .home-search-by-section)
   ========================================================================== */
.s1m-theme .home-search-by-section {
    padding: 56px 0;
    background: #fff;
}
.s1m-theme .home-search-by-section .search_by_section-container,
.s1m-theme .home-search-by-section .search_by_section-contianer {
    max-width: var(--layout-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   10. TESTIMONIALS — base (overridden by s1m-testimonials-section rules below)
   ========================================================================== */
.s1m-theme .home-block-testimonials {
    padding: 0 !important;
}
/* Stars */
.s1m-theme .home-block-testimonials .fa-star { color: var(--primary) !important; }
.s1m-theme .home-block-testimonials .swiper-pagination-bullet { background: var(--gray-300); }
.s1m-theme .home-block-testimonials .swiper-pagination-bullet-active { background: var(--primary); }

/* ==========================================================================
   11. SHARED BUTTONS
   ========================================================================== */
.s1m-theme .s1m-btn-primary,
.s1m-theme .btn-primary,
.s1m-theme .btn-navy,
.s1m-theme .btn-submit,
.s1m-theme .v12-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary) !important;
    color: #fff !important;
    text-decoration: none;
    font-size: 14px !important;
    font-weight: 700 !important;
    font-family: var(--font-heading) !important;
    padding: 12px 26px !important;
    border-radius: 4px !important;
    border: none !important;
    cursor: pointer;
    transition: background .2s, transform .2s;
    letter-spacing: .04em;
    text-transform: uppercase;
    justify-content: center;
	position: relative;
	top: auto;
	right: auto;
}
.s1m-theme .s1m-btn-primary:hover,
.s1m-theme .btn-primary:hover,
.s1m-theme .btn-navy:hover,
.s1m-theme .btn-submit:hover,
.s1m-theme .v12-button:hover {
    background: var(--primary-dark) !important;
    color: #fff !important;
    transform: translateY(-1px);
}
.s1m-theme .s1m-btn-outline,
.s1m-theme .btn-outline-primary,
.s1m-theme .btn-outline-navy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent !important;
    color: var(--primary) !important;
    text-decoration: none;
    font-size: 14px !important;
    font-weight: 700 !important;
    font-family: var(--font-heading) !important;
    padding: 11px 24px !important;
    border-radius: 4px !important;
    border: 2px solid var(--primary) !important;
    transition: all .2s;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.s1m-theme .s1m-btn-outline:hover,
.s1m-theme .btn-outline-primary:hover,
.s1m-theme .btn-outline-navy:hover {
    background: var(--primary) !important;
    color: #fff !important;
}

.s1m-theme .btn-amber {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--amber) !important;
    color: #fff !important;
    text-decoration: none;
    font-size: 14px !important;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 12px 26px !important;
    border-radius: 4px;
    transition: background .2s;
}
.s1m-theme .btn-amber:hover { background: var(--amber-dark) !important; }

.s1m-theme .btn-white-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: 4px;
    border: 2px solid rgba(255,255,255,.6);
    transition: all .2s;
}
.s1m-theme .btn-white-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }

/* ==========================================================================
   12. INVENTORY LISTING PAGE — cards + accordion filter
   ========================================================================== */
.s1m-theme .inventory-section {
    padding: 36px 0;
    background: var(--gray-50);
}
/* listing-inventory-container: parent theme handles its own layout — no grid override */
.s1m-theme .listing-inventory-container {
    max-width: var(--layout-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Filter sidebar */
.s1m-theme .filter-promotion-holder {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 16px;
    height: fit-content;
}
.s1m-theme .filter-promotion-holder h3,
.s1m-theme .filter-promotion-holder .filter-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--charcoal);
    margin: 0 0 16px !important;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

/* Accordion-style filter groups */
.s1m-theme .filter_holder,
.s1m-theme .filter-group {
    border-bottom: 1px solid var(--gray-200);
    padding: 0;
}
.s1m-theme .filter_holder:last-child,
.s1m-theme .filter-group:last-child { border-bottom: 0; }

.s1m-theme .filter_holder > label,
.s1m-theme .filter_holder > .filter-title,
.s1m-theme .filter-group > .filter-label {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px !important;
    margin: 0 !important;
    cursor: pointer;
    font-size: .9rem !important;
    font-weight: 600 !important;
    color: var(--charcoal);
    text-transform: uppercase;
    letter-spacing: .03em;
    user-select: none;
}
.s1m-theme .filter_holder > label::after,
.s1m-theme .filter-group > .filter-label::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    color: var(--gray-400);
    transition: transform .25s;
}
.s1m-theme .filter_holder.open > label::after,
.s1m-theme .filter-group.open > .filter-label::after {
    transform: rotate(180deg);
    color: var(--primary);
}
.s1m-theme .filter_holder > select,
.s1m-theme .filter_holder > .filter-body,
.s1m-theme .filter-group > .filter-body {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--gray-200);
    border-radius: 4px;
    font-size: 13.5px;
    color: var(--charcoal);
    margin-bottom: 14px;
    font-family: var(--font-body);
}

/* Inventory listing grid */
.s1m-theme .inventory-listing-holder .listing-holder {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Vehicle cards — carcentral style */
.s1m-theme .listing-vehicles-card,
.s1m-theme .inventory-card,
.s1m-theme .inventory-card-1 {
    background: #fff !important;
    border: 1px solid var(--gray-200) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: box-shadow .25s, transform .25s;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.s1m-theme .listing-vehicles-card:hover,
.s1m-theme .inventory-card:hover {
    box-shadow: 0 10px 28px rgba(0,0,0,.12) !important;
    transform: translateY(-4px);
}

/* Card info / price */
.s1m-theme .vehicle-card-price,
.s1m-theme .vehicle-listing-price,
.s1m-theme .card-price,
.s1m-theme .inventory-card .price {
    color: var(--primary) !important;
    font-weight: 800 !important;
    font-size: 1.4rem !important;
    font-family: var(--font-heading) !important;
}

.s1m-theme .vehicle-card-title,
.s1m-theme .inventory-card .title,
.s1m-theme .listing-vehicles-card .title {
    color: var(--charcoal) !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    font-family: var(--font-heading);
}

/* "View More Details" button on cards */
.s1m-theme .inventory-card .btn,
.s1m-theme .listing-vehicles-card .btn,
.s1m-theme .listing-vehicles-card a[class*="button"],
.s1m-theme .inventory-card a[class*="button"] {
    background: var(--primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 10px 18px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .03em;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    width: 100%;
    justify-content: center;
}
.s1m-theme .inventory-card .btn:hover,
.s1m-theme .listing-vehicles-card .btn:hover { background: var(--primary-dark) !important; }

.s1m-theme .status-badge {
    background: var(--red) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 4px 10px;
    border-radius: 3px;
    text-transform: uppercase;
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.s1m-theme .s1m-footer-body {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 420px;
}
@media (min-width: 768px) {
    .s1m-theme .s1m-footer-body { grid-template-columns: 1fr 1fr; }
}

.s1m-theme .s1m-footer-panel {
    background: #f4f4f4;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
@media (max-width: 767px) { .s1m-theme .s1m-footer-panel { padding: 36px 1.5rem; } }

.s1m-theme .s1m-footer-logo a { display: inline-block; }
.s1m-theme .s1m-footer-logo img { max-height: 48px; }

.s1m-theme .s1m-footer-block h4 {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gray-300);
}

.s1m-theme .s1m-footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}
.s1m-theme .s1m-footer-contact-row i {
    color: var(--primary);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}
.s1m-theme .s1m-footer-contact-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gray-500);
    display: block;
    margin-bottom: 2px;
}
.s1m-theme .s1m-footer-contact-row a {
    color: var(--charcoal);
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s;
}
.s1m-theme .s1m-footer-contact-row a:hover { color: var(--primary); }

.s1m-theme .s1m-hours-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.s1m-theme .s1m-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .87rem;
    padding: 3px 0;
}
.s1m-theme .s1m-hours-row.s1m-today {
    font-weight: 700;
    color: var(--primary);
}
.s1m-theme .s1m-hours-day { color: var(--gray-700); }
.s1m-theme .s1m-hours-time {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-700);
}
.s1m-theme .s1m-hours-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.s1m-theme .s1m-dot-open { background: var(--green); }
.s1m-theme .s1m-dot-closed { background: var(--red); }

.s1m-theme .s1m-footer-socials {
    display: flex;
    gap: 10px;
}
.s1m-theme .s1m-footer-social-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: all .2s;
}
.s1m-theme .s1m-footer-social-btn:hover { background: var(--primary); color: #fff; }

.s1m-theme .s1m-footer-address {
    font-size: .88rem;
    color: var(--gray-600);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 14px;
    line-height: 1.5;
}
.s1m-theme .s1m-footer-address i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.s1m-theme .s1m-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 9px 18px;
    border-radius: 4px;
    transition: background .2s;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.s1m-theme .s1m-directions-btn:hover { background: var(--primary-dark); }

.s1m-theme .s1m-footer-map {
    overflow: hidden;
    height: auto;
    min-height: 360px;
    background: var(--gray-200);
}
.s1m-theme .s1m-footer-map iframe { height: 100% !important; min-height: 360px; }
.s1m-theme .s1m-footer-map-placeholder {
    width: 100%; height: 100%;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--gray-400);
    font-size: 2rem;
    background: var(--gray-100);
}

.s1m-theme .s1m-footer-bottom {
    background: #1a1a1a;
    padding: 16px 0;
    border-top: 1px solid #333;
}
.s1m-theme .s1m-footer-bottom-inner {
    max-width: var(--layout-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.s1m-theme .s1m-footer-bottom-centered {
    justify-content: center;
}
.s1m-theme .s1m-footer-bottom p {
    color: #888;
    font-size: 12.5px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
	justify-content: center;
}
.s1m-theme .s1m-footer-links {
    display: flex;
    gap: 18px;
}
.s1m-theme .s1m-footer-links a {
    color: #666;
    font-size: 12.5px;
    text-decoration: none;
    transition: color .2s;
}
.s1m-theme .s1m-footer-links a:hover { color: #aaa; }

/* Hide parent theme's default footer structure */
.s1m-theme .footer-top:not(.s1m-footer-body) { display: none !important; }
.s1m-theme .footer-divider { display: none !important; }
.s1m-theme .footer-bottom:not(.s1m-footer-bottom) { display: none !important; }

/* ==========================================================================
   14. PAGE TEMPLATES — About, Contact, Services, Financing, Booking
   ========================================================================== */
.s1m-theme .page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 56px 0;
    color: #fff;
    text-align: center;
}
.s1m-theme .page-hero h1 {
    color: #fff;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    margin: 0 0 10px;
}
.s1m-theme .page-hero p {
    color: rgba(255,255,255,.85);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}
.s1m-theme .page-section { padding: 60px 0; background: #fff; }
.s1m-theme .page-section.bg-gray { background: var(--gray-50); }

.s1m-theme .section-heading {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 700;
    margin: 0 0 16px;
    position: relative;
    padding-bottom: 12px;
	display: inline-block;
}
.s1m-theme .section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.s1m-theme .section-heading.text-center::after { left: 50%; transform: translateX(-50%); }

/* Forms */
.s1m-theme .alfa-form { background: #fff; }
.s1m-theme .alfa-form h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 0 20px;
}
.s1m-theme .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
@media (max-width: 640px) { .s1m-theme .form-row { grid-template-columns: 1fr; } }
.s1m-theme .form-group { display: flex; flex-direction: column; gap: 5px; }
.s1m-theme .form-group.full-width { grid-column: 1 / -1; }
.s1m-theme .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
}
.s1m-theme .required { color: var(--red); }
.s1m-theme .form-group input,
.s1m-theme .form-group select,
.s1m-theme .form-group textarea {
    border: 1.5px solid var(--gray-200);
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--charcoal);
    background: #fff;
    transition: border-color .2s;
    width: 100%;
    box-sizing: border-box;
}
.s1m-theme .form-group input:focus,
.s1m-theme .form-group select:focus,
.s1m-theme .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14,117,184,.1);
}
.s1m-theme .form-note {
    margin-top: 12px;
    font-size: 12px;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 6px;
    text-align: center;
    justify-content: center;
}
.s1m-theme .contact-method-toggles {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.s1m-theme .contact-method-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid var(--gray-200);
    color: var(--gray-600);
    background: #fff;
    transition: all .2s;
    user-select: none;
}
.s1m-theme .contact-method-toggle.active,
.s1m-theme .contact-method-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* Contact page layout */
.s1m-theme .contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 900px) {
    .s1m-theme .contact-layout { grid-template-columns: 1fr 1.3fr; }
	.s1m-theme .s1m-top-info { display: flex; }
}
.s1m-theme .s1m-top-info { display: none; }
@media only screen and (max-width: 770px) {
    .website-navbar .website-nav-logo {
        justify-content: flex-end;
    }
	.website-header-container .website-nav-logo .website-logo img {
		max-height: 55px;
	}
	.hero-slider .search_block_advanced form.search-slide-section select {
        display: none;
    }
}
.s1m-theme .contact-info-block { display: flex; flex-direction: column; gap: 24px; }
.s1m-theme .contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.s1m-theme .info-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
    flex-shrink: 0;
}
.s1m-theme .info-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 2px; }
.s1m-theme .info-value { font-size: .95rem; font-weight: 600; color: var(--charcoal); }
.s1m-theme .info-sub { font-size: 12px; color: var(--gray-400); text-decoration: none; margin-top: 2px; display: block; }
.s1m-theme .info-sub:hover { color: var(--primary); }
.s1m-theme .contact-hours { border-top: 1px solid var(--gray-200); padding-top: 20px; }
.s1m-theme .contact-hours h4 {
    font-size: .85rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 8px;
}
.s1m-theme .hours-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: .85rem;
    color: var(--gray-600);
    border-bottom: 1px dotted var(--gray-200);
}

/* About page */
.s1m-theme .about-content-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}
@media (min-width: 900px) {
    .s1m-theme .about-content-row { grid-template-columns: 1fr 1fr; }
}
.s1m-theme .about-content-row img { width: 100%; border-radius: 8px; }
.s1m-theme .content-text .section-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}
.s1m-theme .content-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.s1m-theme .core-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}
.s1m-theme .core-value-card {
    background: #fff;
    border-radius: 8px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    border: 1.5px solid var(--gray-200);
}
.s1m-theme .value-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 20px;
    color: var(--primary);
}
.s1m-theme .core-value-card h4 { font-size: 1rem; font-weight: 700; margin: 0 0 8px; }
.s1m-theme .core-value-card p { font-size: .875rem; color: var(--gray-500); line-height: 1.6; margin: 0; }
.s1m-theme .visit-dealership {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 768px) {
    .s1m-theme .visit-dealership { grid-template-columns: 1fr 1fr; }
}
.s1m-theme .dealer-info-card {
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.s1m-theme .info-row { display: flex; gap: 14px; align-items: flex-start; font-size: .875rem; }
.s1m-theme .info-row > i { color: var(--primary); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.s1m-theme .hours-section h4 { font-size: .875rem; font-weight: 700; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.s1m-theme .map-section { border-radius: 8px; overflow: hidden; }
.s1m-theme .map-section iframe { display: block; }

/* Financing page */
.s1m-theme .financing-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    padding: 40px 0;
}
@media (min-width: 768px) { .s1m-theme .financing-hero { grid-template-columns: 1fr 1fr; } }
.s1m-theme .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 14px;
}
.s1m-theme .financing-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 12px; }
.s1m-theme .financing-hero p { color: var(--gray-500); font-size: 1rem; line-height: 1.7; }
.s1m-theme .hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.s1m-theme .financing-hero img { width: 100%; border-radius: 8px; aspect-ratio: 4/3; object-fit: cover; }

.s1m-theme .financing-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}
.s1m-theme .financing-feature { text-align: center; padding: 24px 16px; }
.s1m-theme .feature-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 20px;
    color: var(--primary);
}
.s1m-theme .financing-feature h4 { font-size: .95rem; font-weight: 700; margin: 0 0 6px; }
.s1m-theme .financing-feature p { font-size: .875rem; color: var(--gray-500); margin: 0; }

/* Section container (shared across page templates) */
.s1m-theme .section-container {
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Services page */
.s1m-theme .services-intro { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.s1m-theme .services-intro h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 12px; }
.s1m-theme .services-intro p { color: var(--gray-500); font-size: 1rem; }
.s1m-theme .services-grid,
.s1m-theme .s1m-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.s1m-theme .service-card,
.s1m-theme .s1m-service-card {
    background: #fff;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    padding: 28px 24px;
    transition: box-shadow .25s, transform .25s;
    display: flex;
    flex-direction: column;
}
.s1m-theme .service-card:hover,
.s1m-theme .s1m-service-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.09); transform: translateY(-3px); }
.s1m-theme .service-icon,
.s1m-theme .s1m-service-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 16px;
    flex-shrink: 0;
}
.s1m-theme .service-card h3,
.s1m-theme .s1m-service-card h3 { font-size: 1rem; font-weight: 700; margin: 0 0 8px; color: var(--charcoal); }
.s1m-theme .service-card p,
.s1m-theme .s1m-service-card p { font-size: .875rem; color: var(--gray-500); line-height: 1.6; margin: 0; flex: 1; }

/* Booking page */
.s1m-theme .s1m-booking-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 900px) {
    .s1m-theme .s1m-booking-grid { grid-template-columns: 1fr 1.4fr; align-items: start; }
}
.s1m-theme .s1m-booking-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.s1m-theme .s1m-booking-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.s1m-theme .s1m-booking-item h4 { font-size: .95rem; font-weight: 700; margin: 0 0 4px; color: var(--charcoal); }
.s1m-theme .s1m-booking-item p { font-size: .85rem; color: var(--gray-500); margin: 0; line-height: 1.55; }
.s1m-theme .bk-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.s1m-theme .booking-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}
.s1m-theme .booking-type-card {
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
}
.s1m-theme .booking-type-card:hover,
.s1m-theme .booking-type-card.active {
    border-color: var(--primary);
    background: var(--primary-light);
}
.s1m-theme .booking-type-card i { font-size: 24px; color: var(--primary); margin-bottom: 8px; display: block; }
.s1m-theme .booking-type-card h4 { font-size: .875rem; font-weight: 700; margin: 0; color: var(--charcoal); }

/* ==========================================================================
   15. SINGLE BLOG POST
   ========================================================================== */
.s1m-theme .s1m-post-header { padding: 52px 0 0; background: var(--gray-50); }
.s1m-theme .s1m-post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.s1m-theme .s1m-post-category {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
}
.s1m-theme .s1m-post-title { font-size: clamp(1.6rem, 4vw, 2.6rem); margin: 0 0 24px; }
.s1m-theme .s1m-post-thumbnail { border-radius: 8px; overflow: hidden; margin-bottom: 32px; }
.s1m-theme .s1m-post-thumbnail img { width: 100%; display: block; }
.s1m-theme .s1m-post-content { font-size: 1rem; line-height: 1.8; color: var(--gray-700); }
.s1m-theme .s1m-post-content h2,
.s1m-theme .s1m-post-content h3 { margin-top: 32px; }
.s1m-theme .s1m-post-content p { margin-bottom: 20px; }
.s1m-theme .s1m-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 40px 0;
    border-top: 1px solid var(--gray-200);
}
.s1m-theme .s1m-post-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
}
.s1m-theme .s1m-post-nav .next { justify-content: flex-end; }

/* ==========================================================================
   17. INVENTORY CARD (child override of inventory-card-1.php)
   ========================================================================== */
.s1m-theme .listing-vehicles-card .vehicles-data-info,
.s1m-theme .inventory-card .vehicles-data-info {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.s1m-theme .listing-vehicles-card .vehicle-title,
.s1m-theme .inventory-card .vehicle-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--charcoal) !important;
    margin: 0 !important;
    line-height: 1.35;
    font-family: var(--font-heading);
}
.s1m-theme .listing-vehicles-card .card-price,
.s1m-theme .inventory-card .card-price {
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: var(--primary) !important;
    margin: 0;
    font-family: var(--font-heading);
    letter-spacing: -.01em;
}
.s1m-theme .listing-vehicles-card .card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 6px 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    margin: 2px 0 4px;
}
.s1m-theme .listing-vehicles-card .card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--gray-500);
}
.s1m-theme .listing-vehicles-card .card-meta-item i {
    color: var(--primary);
    font-size: 11px;
}
.s1m-theme .listing-vehicles-card .card-meta-badge {
    display: inline-flex;
    align-items: center;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.s1m-theme .listing-vehicles-card .btn-view-details,
.s1m-theme .inventory-card .btn-view-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--primary) !important;
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 10px 18px !important;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-top: 6px;
    transition: background .2s;
    width: 100%;
    box-sizing: border-box;
}
.s1m-theme .listing-vehicles-card .btn-view-details:hover,
.s1m-theme .inventory-card .btn-view-details:hover { background: var(--primary-dark) !important; }

/* ==========================================================================
   18. ACCORDION FILTER (JS-enhanced)
   ========================================================================== */
.s1m-theme .side-bar-filter-holder,
.s1m-theme .filter-promotion-holder {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.s1m-theme .filter-title-holder {
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 4px;
}
.s1m-theme .filter-title {
    font-size: .95rem !important;
    font-weight: 800 !important;
    letter-spacing: .05em;
    color: var(--charcoal);
    margin: 0 !important;
    text-transform: uppercase;
}
.s1m-theme .filter-title-divider { display: none; }

/* Accordion controls (Collapse All / Expand All) */
.s1m-theme .s1m-accordion-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0 14px;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 4px;
}
.s1m-theme .s1m-accordion-controls button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    padding: 0;
    font-family: var(--font-body);
    line-height: 1;
    transition: color .2s;
}
.s1m-theme .s1m-accordion-controls button:hover { color: var(--primary-dark); text-decoration: underline; }
.s1m-theme .s1m-accordion-sep { color: var(--gray-300); font-size: 12px; }

/* Accordion groups — controlled via jQuery slideDown/Up */
.s1m-theme .s1m-accordion-group {
    border-bottom: 1px solid var(--gray-100);
    padding: 0 !important;
    margin: 0 !important;
}
.s1m-theme .s1m-accordion-group:last-child { border-bottom: 0; }

.s1m-theme .s1m-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 4px;
    cursor: pointer;
    font-size: .83rem;
    font-weight: 700;
    color: var(--charcoal);
    text-transform: uppercase;
    letter-spacing: .03em;
    user-select: none;
    font-family: var(--font-heading);
    outline: none;
}
.s1m-theme .s1m-acc-icon {
    font-size: 18px;
    font-weight: 400;
    color: var(--primary);
    line-height: 1;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

/* Accordion body — jQuery controls display; we just add padding when open */
.s1m-theme .s1m-accordion-body {
    padding: 0 4px 12px;
    overflow: hidden;
}
.s1m-theme .s1m-accordion-body select,
.s1m-theme .s1m-accordion-body input[type="text"],
.s1m-theme .s1m-accordion-body input[type="number"] {
    width: 100%;
    padding: 8px 12px;
    border: 1.5px solid var(--gray-200);
    border-radius: 4px;
    font-size: 13.5px;
    color: var(--charcoal);
    font-family: var(--font-body);
}
.s1m-theme .s1m-accordion-body .select2-container {
    width: 100% !important;
}

/* Filter action buttons */
.s1m-theme .filter-input-holder.filter-action-holder {
    display: flex;
    gap: 8px;
    padding: 14px 0 4px;
    border-top: 1px solid var(--gray-100);
}
.s1m-theme .filter-action.v12-button {
    flex: 1;
    padding: 10px 14px !important;
    font-size: 12.5px !important;
    text-align: center;
    justify-content: center;
}

/* ==========================================================================
   19. INVENTORY CARD — s1m-card (CarCentral style)
   ========================================================================== */
.s1m-theme .s1m-card .s1m-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.s1m-theme .s1m-card .s1m-card-title-link { text-decoration: none; }
.s1m-theme .s1m-card .s1m-card-title {
    font-size: .95rem !important;
    font-weight: 700 !important;
    color: var(--charcoal) !important;
    margin: 0 !important;
    line-height: 1.3;
    font-family: var(--font-heading);
}
.s1m-theme .s1m-card .s1m-card-price-wrap {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.s1m-theme .s1m-card .s1m-card-price-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gray-400);
}
.s1m-theme .s1m-card .s1m-card-price {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
    display: flex;
    align-items: baseline;
    gap: 5px;
    line-height: 1.2;
}
.s1m-theme .s1m-card .s1m-card-price-tax {
    font-size: .72rem;
    font-weight: 400;
    color: var(--gray-400);
}
.s1m-theme .s1m-card .s1m-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}
.s1m-theme .s1m-card .s1m-card-spec {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    color: var(--gray-600);
    background: var(--gray-50);
    padding: 3px 9px;
    border-radius: 3px;
    border: 1px solid var(--gray-100);
}
.s1m-theme .s1m-card .s1m-card-spec i { color: var(--primary); font-size: 10px; }
.s1m-theme .s1m-card .s1m-card-badges { min-height: 10px; }
.s1m-theme .s1m-card .s1m-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 11px 16px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: background .2s;
    margin-top: auto;
}
.s1m-theme .s1m-card .s1m-card-btn:hover { background: var(--primary-dark); color: #fff; }

/* ==========================================================================
   20. DEPARTMENTS BLOCK (s1m_departments ACF block)
   ========================================================================== */
.s1m-theme .s1m-departments-section { padding: 0; }
.s1m-theme .s1m-departments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 300px;
}
@media (max-width: 900px) { .s1m-theme .s1m-departments-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .s1m-theme .s1m-departments-grid { grid-template-columns: 1fr; } }

.s1m-theme .s1m-dept-card {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    overflow: hidden;
    display: block;
    transition: transform .3s;
}
.s1m-theme .s1m-dept-card:hover { transform: scale(1.015); z-index: 1; }
.s1m-theme .s1m-dept-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(0,0,0,.72) 100%);
    transition: background .3s;
}
.s1m-theme .s1m-dept-card:hover .s1m-dept-overlay {
    background: linear-gradient(to bottom, rgba(14,117,184,.25) 0%, rgba(14,117,184,.82) 100%);
}
.s1m-theme .s1m-dept-content {
    position: absolute;
    inset: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}
.s1m-theme .s1m-dept-label {
    background: rgba(0,0,0,.5);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 3px;
    font-family: var(--font-heading);
    backdrop-filter: blur(2px);
}
.s1m-theme .s1m-dept-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 9px 16px;
    border-radius: 3px;
    font-family: var(--font-heading);
    transition: background .2s;
}
.s1m-theme .s1m-dept-card:hover .s1m-dept-cta { background: var(--primary-dark); }

/* ==========================================================================
   21. SPLIT SECTIONS (Welcome / Services / Financing blocks)
   ========================================================================== */
.s1m-theme .s1m-split-section {
    padding: 72px 0;
    background: #fff;
}
.s1m-theme .s1m-split-section.s1m-services-section { background: var(--gray-50); }

.s1m-theme .s1m-split-inner {
    max-width: var(--layout-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
@media (max-width: 900px) {
    .s1m-theme .s1m-split-inner { grid-template-columns: 1fr; gap: 36px; }
    .s1m-theme .s1m-split-reverse .s1m-split-image { order: -1; }
}

.s1m-theme .s1m-split-image img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    max-height: 420px;
    display: block;
}
.s1m-theme .s1m-split-image-placeholder {
    aspect-ratio: 4/3;
    background: var(--gray-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    font-size: 4rem;
}

.s1m-theme .s1m-split-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
    padding: 4px 12px;
    background: var(--primary-light);
    border-radius: 3px;
}
.s1m-theme .s1m-split-heading {
    font-size: clamp(1.5rem, 3vw, 2.1rem) !important;
    font-weight: 800 !important;
    color: var(--charcoal) !important;
    margin: 0 0 14px !important;
    position: relative;
    padding-bottom: 16px;
    line-height: 1.2;
}
.s1m-theme .s1m-split-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.s1m-theme .s1m-split-sub {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin: 14px 0 16px;
}
.s1m-theme .s1m-split-body {
    color: var(--gray-600);
    font-size: .93rem;
    line-height: 1.8;
    margin-bottom: 24px;
}
.s1m-theme .s1m-split-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

/* Services checklist */
.s1m-theme .s1m-services-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.s1m-theme .s1m-services-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .91rem;
    color: var(--gray-700);
}
.s1m-theme .s1m-services-list li i { color: var(--primary); font-size: 15px; flex-shrink: 0; }

/* Financing numbered steps */
.s1m-theme .s1m-financing-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.s1m-theme .s1m-financing-steps li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: .91rem;
    color: var(--gray-700);
}
.s1m-theme .s1m-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: var(--font-heading);
}

/* ==========================================================================
   23. INVENTORY CARD — Final Price row + 3-col specs table
   ========================================================================== */
.s1m-theme .s1m-card .s1m-card-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}
.s1m-theme .s1m-card .s1m-card-price-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
    white-space: nowrap;
    flex-shrink: 0;
}
.s1m-theme .s1m-card .s1m-card-price-dash {
    flex: 1;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 2px;
}
.s1m-theme .s1m-card .s1m-card-price-amount {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}
.s1m-theme .s1m-card .s1m-card-price {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
    line-height: 1.1;
}
.s1m-theme .s1m-card .s1m-card-info-icon {
    font-size: 13px;
    color: var(--gray-400);
    cursor: help;
}
.s1m-theme .s1m-card .s1m-card-tax {
    font-size: 11px;
    color: var(--gray-400);
    text-align: right;
    margin-top: 1px;
    margin-bottom: 4px;
}

/* 3-column specs table */
.s1m-theme .s1m-card .s1m-card-specs-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px 4px;
    padding: 10px 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}
.s1m-theme .s1m-card .s1m-spec-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.s1m-theme .s1m-card .s1m-spec-label {
    font-size: 10.5px;
    color: var(--gray-400);
    font-weight: 500;
}
.s1m-theme .s1m-card .s1m-spec-val {
    font-size: 13px;
    color: var(--charcoal);
    font-weight: 700;
    font-family: var(--font-heading);
}

/* Remove old chip-style specs if still present */
.s1m-theme .s1m-card .s1m-card-specs { display: none; }

/* ==========================================================================
   24. DEPARTMENTS BLOCK — section title header
   ========================================================================== */
.s1m-theme .s1m-departments-header {
    text-align: center;
    padding: 52px 1.5rem 36px;
    background: #fff;
}
.s1m-theme .s1m-departments-title {
    font-size: clamp(1.4rem, 3vw, 2rem) !important;
    font-weight: 800 !important;
    color: var(--charcoal) !important;
    margin: 0 !important;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}
.s1m-theme .s1m-departments-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* ==========================================================================
   25. TESTIMONIALS — CarCentral style (bg image, quote + Google rating)
   ========================================================================== */
.s1m-theme .s1m-testimonials-section {
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed;
    position: relative;
    padding: 72px 0 !important;
    background-color: #f0ece8 !important;
}
.s1m-theme .s1m-testimonials-overlay {
    position: absolute;
    inset: 0;
    background: rgba(240,236,232,.85);
    z-index: 0;
}
.s1m-theme .s1m-testimonials-inner {
    position: relative;
    z-index: 1;
    max-width: var(--layout-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Override the dark background from old rule */
.s1m-theme .home-block-testimonials.s1m-testimonials-section {
    background: transparent !important;
}

.s1m-theme .s1m-testimonials-header {
    text-align: center;
    margin-bottom: 48px;
}
.s1m-theme .s1m-testimonials-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem) !important;
    font-weight: 800 !important;
    color: var(--charcoal) !important;
    margin: 0 0 12px !important;
    font-family: var(--font-heading);
}
.s1m-theme .s1m-testimonials-accent {
    width: 48px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    margin: 0 auto 16px;
}
.s1m-theme .s1m-testimonials-tagline {
    color: var(--gray-500) !important;
    font-size: .95rem !important;
    margin: 0 !important;
}

/* Each testimonial slide */
.s1m-theme .s1m-testimonial-slide {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 36px 40px;
    background: rgba(255,255,255,.7);
    border-radius: 8px;
    backdrop-filter: blur(4px);
}
.s1m-theme .s1m-testimonial-left {
    flex: 1;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.s1m-theme .s1m-testimonial-quote {
    font-size: 56px;
    line-height: .8;
    color: var(--primary);
    font-family: Georgia, serif;
    flex-shrink: 0;
    margin-top: 4px;
}
.s1m-theme .s1m-testimonial-text {
    font-size: .93rem !important;
    color: var(--gray-700) !important;
    line-height: 1.75 !important;
    margin: 0 !important;
    font-style: italic;
}
.s1m-theme .s1m-testimonial-sep {
    width: 1px;
    background: var(--gray-300);
    align-self: stretch;
    flex-shrink: 0;
}
.s1m-theme .s1m-testimonial-right {
    flex-shrink: 0;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}
.s1m-theme .s1m-testimonial-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}
.s1m-theme .s1m-testimonial-rating .fa-star { color: var(--primary) !important; font-size: 15px; }
.s1m-theme .s1m-testimonial-rating .s1m-star-empty { color: var(--gray-300) !important; }
.s1m-theme .s1m-testimonial-google {
    background: #4285f4;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    font-family: Arial, sans-serif;
}
.s1m-theme .s1m-testimonial-name {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--charcoal);
    font-family: var(--font-heading);
}

/* Swiper pagination for testimonials */
.s1m-theme .s1m-testimonials-section .testimonials-swiper-pagination {
    margin-top: 24px;
    text-align: center;
}
.s1m-theme .s1m-testimonials-section .swiper-button-prev,
.s1m-theme .s1m-testimonials-section .swiper-button-next {
    color: var(--primary) !important;
}

@media (max-width: 640px) {
    .s1m-theme .s1m-testimonial-slide {
        flex-direction: column;
        padding: 24px 20px;
        gap: 20px;
    }
    .s1m-theme .s1m-testimonial-sep { width: 100%; height: 1px; align-self: auto; }
}

/* ==========================================================================
   26. FOOTER — 2×2 info grid
   ========================================================================== */
.s1m-theme .s1m-footer-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 36px;
}
@media (max-width: 640px) {
    .s1m-theme .s1m-footer-info-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   27. HOMEPAGE VEHICLE BLOCK (layout2) — CarCentral card design
   ========================================================================== */
.s1m-theme .s1m-vehicles-section {
    background: #f7f8fa;
    padding: 52px 0 64px;
}
.s1m-theme .s1m-vehicles-header {
    text-align: center;
    margin-bottom: 36px;
}
.s1m-theme .s1m-vehicles-title {
    font-size: clamp(1.4rem, 3vw, 2rem) !important;
    font-weight: 800 !important;
    color: var(--charcoal) !important;
    margin: 0 0 10px !important;
    font-family: var(--font-heading) !important;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}
.s1m-theme .s1m-vehicles-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.s1m-theme .s1m-vehicles-tagline {
    font-size: 1rem;
    color: var(--gray-500);
    margin: 6px 0 0;
}

/* Card */
.s1m-theme .s1m-vehicle-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow .2s ease, transform .2s ease;
}
.s1m-theme .s1m-vehicle-card:hover {
    box-shadow: 0 6px 28px rgba(0,0,0,.12);
    transform: translateY(-2px);
}

/* Photo area */
.s1m-theme .s1m-vehicle-card-img-link {
    display: block;
    text-decoration: none;
}
.s1m-theme .s1m-vehicle-card-images {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #eef0f3;
    overflow: hidden;
}
.s1m-theme .s1m-vehicle-card-images .inventory-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.s1m-theme .s1m-vehicle-card-images .swiper,
.s1m-theme .s1m-vehicle-card-images .inventory-card-images-swiper {
    width: 100%;
    height: 100%;
}
.s1m-theme .s1m-vehicle-card-no-photo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef0f3;
    color: var(--gray-300);
    font-size: 3rem;
}

/* Card body */
.s1m-theme .s1m-vehicle-card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.s1m-theme .s1m-vehicle-card-title-link {
    text-decoration: none;
}
.s1m-theme .s1m-vehicle-card-title {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: var(--charcoal) !important;
    font-family: var(--font-heading) !important;
    margin: 0 0 10px !important;
    line-height: 1.25 !important;
    transition: color .15s;
}
.s1m-theme .s1m-vehicle-card-title-link:hover .s1m-vehicle-card-title {
    color: var(--primary) !important;
}

/* Price row — reuse .s1m-card-price-* but without .s1m-card parent scope */
.s1m-theme .s1m-vehicle-card .s1m-card-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}
.s1m-theme .s1m-vehicle-card .s1m-card-price-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
    white-space: nowrap;
    flex-shrink: 0;
}
.s1m-theme .s1m-vehicle-card .s1m-card-price-dash {
    flex: 1;
    border-bottom: 1px dashed var(--gray-300);
    margin-bottom: 2px;
}
.s1m-theme .s1m-vehicle-card .s1m-card-price-amount {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}
.s1m-theme .s1m-vehicle-card .s1m-card-price {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
    line-height: 1.1;
}
.s1m-theme .s1m-vehicle-card .s1m-card-info-icon {
    font-size: 13px;
    color: var(--gray-400);
    cursor: help;
}
.s1m-theme .s1m-vehicle-card .s1m-card-tax {
    font-size: 11px;
    color: var(--gray-400);
    text-align: right;
    margin-top: 2px;
    margin-bottom: 8px;
}

/* 3-col specs table */
.s1m-theme .s1m-vehicle-card .s1m-card-specs-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px 4px;
    padding: 12px 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 14px;
}
.s1m-theme .s1m-vehicle-card .s1m-spec-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.s1m-theme .s1m-vehicle-card .s1m-spec-label {
    font-size: 10.5px;
    color: var(--gray-400);
    font-weight: 500;
}
.s1m-theme .s1m-vehicle-card .s1m-spec-val {
    font-size: 13px;
    color: var(--charcoal);
    font-weight: 700;
    font-family: var(--font-heading);
}

/* CTA button */
.s1m-theme .s1m-vehicle-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    background: var(--primary);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-heading);
    border-radius: 6px;
    text-decoration: none !important;
    transition: background .2s ease;
    margin-top: auto;
	box-sizing: border-box;
}
.s1m-theme .s1m-vehicle-card-btn:hover {
    background: var(--primary-dark, #0a5f94);
    color: #fff !important;
}
.s1m-theme .s1m-vehicle-card-btn i {
    font-size: 11px;
    transition: transform .2s;
}
.s1m-theme .s1m-vehicle-card-btn:hover i {
    transform: translateX(3px);
}

/* ==========================================================================
   28. HERO SEARCH BUTTON — "Search + Vehicle Count"
   ========================================================================== */
.s1m-theme .search-button.s1m-search-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1px !important;
    min-width: 130px !important;
    padding: 0 20px !important;
}
.s1m-theme .s1m-search-btn .s1m-search-btn-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1.2;
}
.s1m-theme .s1m-search-btn .s1m-search-btn-text small {
    font-size: 10px;
    font-weight: 500;
    opacity: .85;
    letter-spacing: .02em;
    text-transform: uppercase;
	color: white;
}

/* ==========================================================================
   29. INVENTORY PAGE TITLE
   ========================================================================== */
.s1m-theme .s1m-inventory-heading {
    padding: 0 0 18px;
}
.s1m-theme .s1m-inventory-title {
    font-size: clamp(1.4rem, 3vw, 1.85rem) !important;
    font-weight: 800 !important;
    color: var(--charcoal) !important;
    font-family: var(--font-heading) !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

/* ==========================================================================
   30. VDP — CarCentral Layout
   ========================================================================== */

/* Page layout — override parent flex with our grid; col-vdp-1 kept for parent CSS compat */
.s1m-theme .col-vdp-1.s1m-vdp-body {
    display: grid !important;
    grid-template-columns: 1fr 420px !important;
    gap: 32px;
    max-width: var(--layout-width);
    margin: 0 auto;
    padding: 0 0 30px;
    align-items: start;
    flex-wrap: unset !important;
	box-sizing: border-box;
}
/* col-1-vdp-1 width reset — parent may set flex-basis */
.s1m-theme .col-1-vdp-1.s1m-vdp-main {
    flex: unset !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
}
.s1m-theme .col-2-vdp-1.s1m-vdp-sidebar {
    flex: unset !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
}

/* ── Print button in title ─── */
.s1m-theme .s1m-vdp-print-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600) !important;
    text-decoration: none !important;
    background: #fff;
    transition: background .15s, border-color .15s;
    white-space: nowrap;
}
.s1m-theme .s1m-vdp-print-btn:hover {
    background: #f7f8fa;
    border-color: var(--gray-300);
    color: var(--charcoal) !important;
}
.s1m-theme .s1m-vdp-print-btn i { font-size: 12px; color: var(--gray-400); }

/* ── Breadcrumb ─── */
.s1m-theme .s1m-vdp-breadcrumb {
    background: #f7f8fa;
    border-bottom: 1px solid var(--gray-100);
    padding: 10px 1.5rem;
}
.s1m-theme .s1m-vdp-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 12.5px;
    color: var(--gray-400);
    max-width: var(--layout-width);
    margin: 0 auto;
}
.s1m-theme .s1m-vdp-breadcrumb li {
    display: flex;
    align-items: center;
}
.s1m-theme .s1m-vdp-breadcrumb li::after {
    content: '›';
    margin: 0 6px;
    color: var(--gray-300);
}
.s1m-theme .s1m-vdp-breadcrumb li:last-child::after { display: none; }
.s1m-theme .s1m-vdp-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}
.s1m-theme .s1m-vdp-breadcrumb a:hover { text-decoration: underline; }
.s1m-theme .s1m-vdp-breadcrumb li:last-child {
    color: var(--gray-500);
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Title row ─── */
.s1m-theme .s1m-vdp-title-row {
    background: transparent;
    padding: 0 14px;
    border-bottom: 1px solid var(--gray-100);
	margin-bottom: 1rem;
}
.s1m-theme .s1m-vdp-title-inner {
    max-width: var(--layout-width);
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.s1m-theme .s1m-back-to-inv {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 8px;
    font-weight: 500;
}
.s1m-theme .s1m-back-to-inv:hover { text-decoration: underline; }
.s1m-theme .s1m-vdp-h1 {
    font-size: clamp(1.1rem, 2.5vw, 1.55rem) !important;
    font-weight: 800 !important;
    color: var(--charcoal) !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    font-family: var(--font-heading) !important;
}
.s1m-theme .s1m-vdp-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 4px;
}
.s1m-theme .s1m-vdp-badge--available { background: #e8f5e9; color: #2e7d32; }
.s1m-theme .s1m-vdp-badge--sold      { background: #fce4e4; color: #c62828; }
.s1m-theme .s1m-vdp-badge--pending   { background: #fff3e0; color: #e65100; }
.s1m-theme .s1m-vdp-badge--coming    { background: #e3f2fd; color: #0277bd; }

/* ── Tabs ─── */
.s1m-theme .s1m-vdp-tabs {
    margin-top: 24px;
}
.s1m-theme .s1m-vdp-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--gray-100);
    margin-bottom: 0;
}
.s1m-theme .s1m-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 13px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    font-family: var(--font-heading);
    cursor: pointer;
    transition: color .15s, border-color .15s;
	min-width: auto;
}
.s1m-theme .s1m-tab-btn:hover { color: var(--primary); }
.s1m-theme .s1m-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.s1m-theme .s1m-tab-btn i { font-size: 13px; }

.s1m-theme .s1m-tab-panel { display: none; }
.s1m-theme .s1m-tab-panel.active { display: block; }

/* ── Sidebar wrapper ─── */
.s1m-theme .s1m-vdp-sidebar-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Price Box ─── */
.s1m-theme .s1m-vdp-price-box {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: 10px;
    padding: 20px 20px 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.s1m-theme .s1m-vdp-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}
.s1m-theme .s1m-vdp-price-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    font-family: var(--font-heading);
}
.s1m-theme .s1m-vdp-price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
    line-height: 1;
}
.s1m-theme .s1m-vdp-price-note {
    font-size: 11.5px;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}
.s1m-theme .s1m-vdp-price-note i { color: var(--gray-300); }

/* ── CTA Buttons ─── */
.s1m-theme .s1m-vdp-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.s1m-theme .s1m-vdp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 18px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-decoration: none !important;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
    border: 2px solid transparent;
	box-sizing: border-box;
}
.s1m-theme .s1m-vdp-btn i { font-size: 13px; flex-shrink: 0; }
.s1m-theme .s1m-vdp-btn--primary {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
}
.s1m-theme .s1m-vdp-btn--primary:hover {
    background: var(--primary-dark, #0a5f94);
    border-color: var(--primary-dark, #0a5f94);
    color: #fff !important;
}
.s1m-theme .s1m-vdp-btn--outline {
    background: #fff;
    color: var(--primary) !important;
    border-color: var(--primary);
}
.s1m-theme .s1m-vdp-btn--outline:hover {
    background: var(--primary);
    color: #fff !important;
}

/* ── Sidebar Location ─── */
.s1m-theme .s1m-vdp-location {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: 10px;
    padding: 16px 18px;
}
.s1m-theme .s1m-vdp-location h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--charcoal);
    font-family: var(--font-heading);
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.s1m-theme .s1m-vdp-loc-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 7px;
}
.s1m-theme .s1m-vdp-loc-row i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.s1m-theme .s1m-vdp-loc-row a { color: var(--primary); text-decoration: none; }
.s1m-theme .s1m-vdp-loc-row a:hover { text-decoration: underline; }

/* ── Share This Vehicle ─── */
.s1m-theme .s1m-vdp-share {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: 10px;
    padding: 16px 18px;
}
.s1m-theme .s1m-vdp-share h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--charcoal);
    font-family: var(--font-heading);
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.s1m-theme .s1m-vdp-share-btns {
    display: flex;
    gap: 10px;
}
.s1m-theme .s1m-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 15px;
    text-decoration: none !important;
    transition: transform .18s ease, opacity .18s ease;
}
.s1m-theme .s1m-share-btn:hover { transform: translateY(-2px); opacity: .85; }
.s1m-theme .s1m-share-fb { background: #1877f2; color: #fff !important; }
.s1m-theme .s1m-share-tw { background: #000; color: #fff !important; }
.s1m-theme .s1m-share-li { background: #0a66c2; color: #fff !important; }

/* Override parent btn-sidebar inside our new layout */
.s1m-theme .s1m-vdp-sidebar-wrap .interested-card { display: none; }

/* ── Details section (vehicle-info) ─── */
.s1m-theme .s1m-details-section {
    padding: 24px 24px 8px;
}
.s1m-theme .s1m-details-title {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: var(--charcoal) !important;
    font-family: var(--font-heading) !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
}
.s1m-theme .s1m-details-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.s1m-theme .s1m-details-row {
    display: grid;
    grid-template-columns: 24px minmax(160px, 40%) 1fr;
    align-items: baseline;
    gap: 0 8px;
    padding: 9px 0;
    border-bottom: 1px solid var(--gray-100);
}
.s1m-theme .s1m-details-row:last-child { border-bottom: none; }
.s1m-theme .s1m-details-check {
    color: var(--primary);
    font-size: 13px;
    line-height: 1.4;
}
.s1m-theme .s1m-details-label {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 400;
    line-height: 1.4;
}
.s1m-theme .s1m-details-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--charcoal);
    font-family: var(--font-heading);
    line-height: 1.4;
}

/* ── Tech Specs disclaimer ─── */
.s1m-theme .s1m-techspecs-disclaimer {
    font-size: 13px;
    color: var(--gray-500);
    font-style: italic;
    padding: 16px 0 4px;
    margin: 0 0 8px;
    border-bottom: 1px solid var(--gray-100);
    line-height: 1.5;
}

/* Main menu height & spacing override */
ul#menu-main-menu {
    min-height: 60px !important;
    gap: 1rem !important;
}

/* ==========================================================================
   22. RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
    .s1m-theme .col-vdp-1.s1m-vdp-body { grid-template-columns: 1fr 300px !important; gap: 24px; }
}
@media (max-width: 900px) {
    .s1m-theme .s1m-nav-row { height: 68px; }
    .s1m-theme .s1m-nav-logo img { max-height: 44px; }
    .s1m-theme .col-vdp-1.s1m-vdp-body { grid-template-columns: 1fr !important; }
    .s1m-theme .col-2-vdp-1.s1m-vdp-sidebar { display: none !important; }
}
@media (max-width: 767px) {
    .s1m-theme .s1m-footer-body { grid-template-columns: 1fr; }
    .s1m-theme .s1m-footer-map { min-height: 260px; height: 260px; }
    .s1m-theme .search_block input,
    .s1m-theme .search_block select { min-width: 100%; border-right: none !important; border-bottom: 1px solid var(--gray-200) !important; }
    .s1m-theme .s1m-departments-grid { grid-template-columns: repeat(2, 1fr); }
    .s1m-theme .s1m-dept-card { height: 220px; }
    .s1m-theme .s1m-vdp-title-inner { flex-direction: column; }
    .s1m-theme .s1m-vdp-tabs-nav { overflow-x: auto; }
    .s1m-theme .s1m-vdp-breadcrumb li:last-child { max-width: 160px; }
}

/* ==========================================================================
   23. SELL US YOUR CAR PAGE
   ========================================================================== */

/* Hero banner */
.s1m-theme.page_sell-us-your-car .top-banner {
    min-height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.s1m-theme.page_sell-us-your-car .top-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7,72,120,.70) 0%, rgba(14,117,184,.45) 100%);
    pointer-events: none;
}

/* Layout */
.s1m-theme.page_sell-us-your-car .main-container {
    background: var(--gray-50);
    padding: 56px 24px 40px;
}
.s1m-theme.page_sell-us-your-car .main {
    max-width: 860px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Content card */
.s1m-theme.page_sell-us-your-car .page-content > .content-block.content-holder {
    border: 1.5px solid var(--gray-200);
    border-radius: 12px 12px 0 0;
    padding: 36px 36px 28px;
    box-shadow: none;
    background: #fff;
    margin-bottom: 0;
    gap: 0;
}

/* Page title */
.s1m-theme.page_sell-us-your-car .title {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: var(--charcoal);
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 0;
}
.s1m-theme.page_sell-us-your-car .title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.s1m-theme.page_sell-us-your-car .divider {
    margin: 16px 0 12px;
    border: none;
    border-top: 1px solid var(--gray-100);
}

/* Text paragraphs */
.s1m-theme.page_sell-us-your-car .content p {
    color: var(--gray-600);
    font-size: .925rem;
    line-height: 1.75;
    margin-bottom: 4px;
}

/* Form container — joins directly below content card */
.s1m-theme.page_sell-us-your-car .fs-container.trade_in.content-block.content-holder {
    border: 1.5px solid var(--gray-200);
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 28px 36px 36px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    margin-bottom: 0;
    gap: 0;
}

/* Form headings */
.s1m-theme.page_sell-us-your-car .title-trade {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 3px;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .8rem;
}
.s1m-theme.page_sell-us-your-car .subtitle-trade {
    font-size: .875rem;
    color: var(--gray-500);
    font-weight: 400;
    margin: 0 0 20px;
}

/* Input groups */
.s1m-theme.page_sell-us-your-car .input_group {
    position: relative;
    margin-bottom: 18px;
}
.s1m-theme.page_sell-us-your-car .form_input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: 7px;
    font-size: .9rem;
    font-family: var(--font-body);
    background: #fff;
    color: var(--charcoal);
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
    appearance: none;
}
.s1m-theme.page_sell-us-your-car .form_input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14,117,184,.1);
}

/* Floating label */
.s1m-theme.page_sell-us-your-car .floating_label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: .875rem;
    color: var(--gray-400);
    pointer-events: none;
    transition: all .18s ease;
    background: #fff;
    padding: 0 4px;
    line-height: 1;
}
.s1m-theme.page_sell-us-your-car .form_input:not(:placeholder-shown) + .floating_label,
.s1m-theme.page_sell-us-your-car .form_input:focus + .floating_label {
    top: 0;
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
}
.s1m-theme.page_sell-us-your-car .asterisk { color: #e53e3e; margin-left: 2px; }

/* Two-column grouped fields */
.s1m-theme.page_sell-us-your-car .acf-form_grouped_fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.s1m-theme.page_sell-us-your-car .Cu-one { grid-column: 1 / -1; }

/* Contact method label */
.s1m-theme.page_sell-us-your-car .how-text {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin: 4px 0 10px;
}

/* Checkbox pills */
.s1m-theme.page_sell-us-your-car .checkbox-forms {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    grid-template-columns: unset;
    margin-bottom: 16px;
}
.s1m-theme.page_sell-us-your-car .input_group.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 7px;
    padding: 10px 18px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    flex: 0 0 auto;
    width: auto;
}
.s1m-theme.page_sell-us-your-car .input_group.checkbox:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-light);
}
.s1m-theme.page_sell-us-your-car .input_group.checkbox input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}
.s1m-theme.page_sell-us-your-car .floating_label_checkbox {
    font-size: .875rem;
    font-weight: 600;
    color: var(--charcoal);
    cursor: pointer;
}

/* Agreement checkbox */
.s1m-theme.page_sell-us-your-car .input_group.agreement {
    background: transparent;
    border: none;
    padding: 0;
    align-items: flex-start;
    margin-top: 8px;
    width: 100%;
    border-radius: 0;
}
.s1m-theme.page_sell-us-your-car .input_group.agreement .floating_label_checkbox {
    font-size: .78rem;
    font-weight: 400;
    color: var(--gray-400);
    line-height: 1.55;
}

/* Buttons */
.s1m-theme.page_sell-us-your-car .trad-in-group-btn {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    grid-template-columns: unset;
    align-items: center;
}
.s1m-theme.page_sell-us-your-car .v12-button.trad-in-btn {
    padding: 12px 28px;
    border-radius: 7px;
    font-size: .9rem;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: background .2s, border-color .2s;
    border: 2px solid transparent;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: 0;
}
.s1m-theme.page_sell-us-your-car .v12-button.trad-in-btn.next {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.s1m-theme.page_sell-us-your-car .v12-button.trad-in-btn.next:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.s1m-theme.page_sell-us-your-car .v12-button.trad-in-btn.submit-form_wt_form_trade_in {
    background: var(--amber);
    color: #fff;
    border-color: var(--amber);
}
.s1m-theme.page_sell-us-your-car .v12-button.trad-in-btn.submit-form_wt_form_trade_in:hover {
    background: var(--amber-dark);
    border-color: var(--amber-dark);
}
.s1m-theme.page_sell-us-your-car .v12-button.trad-in-btn.prev {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.s1m-theme.page_sell-us-your-car .v12-button.trad-in-btn.prev:hover { background: var(--primary-light); }

/* Featured Cars / bottom section */
.s1m-theme.page_sell-us-your-car .bottom-section {
    max-width: 1160px;
    margin: 0 auto;
    padding: 52px 24px 60px;
    width: 100%;
    box-sizing: border-box;
}
.s1m-theme.page_sell-us-your-car .bottom-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    font-weight: 800;
    color: var(--charcoal);
    margin-bottom: 6px;
}
.s1m-theme.page_sell-us-your-car .bottom-section-title-divider {
    border: none;
    border-top: 3px solid var(--primary);
    width: 44px;
    margin: 0 0 28px;
}

.reviews-2-container, .testimonials-2-container {
	overflow: hidden;
}
.sec-vdp-1 .sec-title.sticky {
	background: white;
}
/* Responsive */
@media (max-width: 1024px) {
    .s1m-theme .website-items .sub-menu {
        top: 0;
    }
}

@media (max-width: 768px) {
	.s1m-theme .s1m-search-btn .s1m-search-btn-text {
		flex-direction: row;
		gap: 5px;
	}
	.s1m-theme .search-button.s1m-search-btn {
		flex-direction: row !important;
		gap: 5px !important;
	}
	.s1m-theme .search-button, .s1m-theme button#search-button {
		height: 50px !important;
		min-height: 50px !important;
	}
	.featured-navigation.swiper-button-next, .featured-navigation.swiper-button-prev, .reviews-navigation.swiper-button-next, .reviews-navigation.swiper-button-prev, .testimonials-navigation.swiper-button-next, .testimonials-navigation.swiper-button-prev {
		bottom: 22rem;
	}
	.s1m-theme .website-items .menu-item a {
		padding: 5px;
	}
	ul#menu-main-menu {
		gap: 0 !important;
	}
	.website-items .menu-item {
		max-height: 50px;
	}
	.s1m-theme .side-bar-filter-holder, .s1m-theme .filter-promotion-holder {
		padding: 0;
		border: 0;
	}
	.s1m-theme .inventory-section {
		padding: 10px 0;
	}
	.become_grid .image-placeholder, .image-placeholder {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .s1m-theme.page_sell-us-your-car .acf-form_grouped_fields { grid-template-columns: 1fr; }
    .s1m-theme.page_sell-us-your-car .page-content > .content-block.content-holder,
    .s1m-theme.page_sell-us-your-car .fs-container.trade_in.content-block.content-holder { padding: 24px 20px; }
}

/* ==========================================================================
   SUCCESS POPUP (global — shown on all form submissions)
   ========================================================================== */
#s1m-success-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.s1m-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: s1mFadeIn .2s ease;
}

.s1m-popup-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 48px 40px 40px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0,0,0,.18);
    animation: s1mSlideUp .25s ease;
	box-sizing: border-box;
}

.s1m-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gray-100, #f1f5f9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--gray-500, #64748b);
    transition: background .15s, color .15s;
    padding: 0;
    line-height: 1;
}
.s1m-popup-close:hover { background: var(--gray-200, #e2e8f0); color: var(--gray-800, #1e293b); }

.s1m-popup-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-light, #e8f3fb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary, #0e75b8);
}

.s1m-popup-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--gray-800, #1e293b);
    margin: 0 0 10px;
}

.s1m-popup-card p {
    font-size: .95rem;
    color: var(--gray-500, #64748b);
    line-height: 1.65;
    margin: 0 0 24px;
}

.s1m-popup-card .btn-primary {
    width: 100%;
    justify-content: center;
    font-size: .95rem;
}

@keyframes s1mFadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes s1mSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }


