/* TYPOGARPHY
**********************************/
h1.pagetitle {
    font-weight: 600;
}

/* VDP
**********************************/
.pageid-ivd .element-heading {
    padding: 0px;
}

.vehicle-links-container .btn,
div.vehicle-link {
    width: 100%;
}

.vehicle-links-container .btn {
    transition: background 0.3s ease, color 0.3s ease;
}


/* INVENTORY LIST
**********************************/
.inventory_moreinfo,
.inv-list-bttn a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 16px;
    text-transform: capitalize;
    padding: 12px 6px;
    width: 100%;
    transition: background 0.3s ease, color 0.3s ease;
}

.inv-list-bttn a {
    background-color: #000;
    border-color: #000;
    color: #fff;
    font-weight: 600;
}

.inv-list-bttn a:hover,
.inventory_moreinfo:hover {
    background-color: #262626;
    border-color: #262626;
    color: #fff;
    text-decoration:none;
}

.accent-color1.phonenumber b,
.palette-bg1.inventory-price-container .callforprice {
    color: #fff;
}
.inventory-photo-column a {
    color: #262626;
}

.palette-bg1.inventory-photo-column {
    background: #e5e5e5;
    color: #171717;
}
.palette-bg1.inventory-photo-column i.fa.fa-camera.accent-color1 {
    color: #171717!important;
}

.palette-bg2.inventory-header.vehicles-found-header {
    border-bottom: 1px solid #d4d4d4;
}

div.col-.dynamic-col > .clearfix.inventory-panel.palette-bg2.vehicle {
    border-top: none;
    border-bottom: 1px solid #d4d4d4;
}
.palette-bg1.inventory-price-container {
    background: #991b1b;
}

.vehicle .row {
    margin-bottom: 10px;
}
.btn {
    text-transform: capitalize;
    padding: 12px 24px;
}

@media (min-width: 768px) {
.element-type-inventorylistprice {
    position: absolute;
    top: 0;
    right: 0;
    width: 250px!important;
}
.vehicle-label {
    max-width: 70%;
}
}


/* BRAND GRID
**********************************/
.brand-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 15px;
}

.brand-grid-item {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-align: center;
}

.brand-grid-item img {
    width: 100%;
    max-width: 125px;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (min-width: 576px) {
    .brand-grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (min-width: 768px) {
    .brand-grid-container {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
}

/* FOOTER
**********************************/
/* Footer Base */
div.footer-container {
    background-color: transparent;
    border: none;
    padding: 0px;
}

.custom-footer {
    background: none; /* removed background */
    color: #ffffff;
    padding: 40px 20px;
    font-size: 16px;
}

.custom-footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

/* Footer Columns */
.custom-footer-column {
    flex: 1 1 200px;
    min-width: 200px;
}

.custom-footer-column-large {
    flex: 2 1 300px;
}

/* Logo */
.custom-footer-logo {
    max-width: 180px;
    margin-bottom: 15px;
}

/* Tagline */
.custom-footer-tagline {
    margin-bottom: 20px;
    line-height: 1.5;
    color: #ffffff;
}

/* Location & Phone */
.custom-footer-location,
.custom-footer-phone {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.custom-footer-location i,
.custom-footer-phone i {
    color: red;
    margin-right: 8px;
}

/* Social Buttons */
.social-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #ffffff;
    color: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-button i {
    font-size: 16px;
}

.social-button:hover {
    background-color: currentColor;
    color: #ffffff;
    border-color: currentColor;
}

/* Quicklinks */
.custom-footer-heading {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
}

.custom-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-footer-links li {
    margin-bottom: 6px;
}

.custom-footer-links li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-footer-links li a:hover {
    color: red;
}

/* Back to Top Button */
#backToTopBtn {
    display: none; /* hide the button */
}

/* Responsive */
@media (max-width: 768px) {
    .custom-footer-container {
        flex-direction: column;
        gap: 20px;
    }

    .custom-footer-column-large {
        flex: 1 1 100%;
    }

    .custom-footer-column {
        flex: 1 1 100%;
    }

    .social-buttons {
        justify-content: flex-start;
    }
}

/* HOMEPAGE LINK
**********************************/
.read-more-link {
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px; /* space between text and icon */
    transition: color 0.3s ease;
    padding: 10px 20px;
    border: 2px solid #fff;
}

.read-more-link i {
    transition: transform 0.3s ease;
}

.read-more-link:hover {
    color: #ffffff; /* keep text white on hover */
    text-decoration: none;
}

.read-more-link:hover i {
    transform: translateX(5px); /* moves icon to the right */
}

/* HOMEPAGE QL CARDS
**********************************/
.card {
    display: block;
    width: 100%;
}

.card a {
    display: block;
    background: #dc2626;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-style: normal;
    text-align: center;
    padding: 10px;
    transform: skew(-10deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    font-size: 20px;
}

.card a span {
    display: inline-block;
    transform: skew(10deg); /* counter-skew text */
}

.card a:hover {
    background: #b91c1c;
    color: #ffffff;
    transform: skew(-10deg) scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
    .card a {
        padding: 30px;
        font-size: 24px;
    }
}



/* HOMEPAGE INVENTORY CARDS
**********************************/
.shop-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .shop-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1200px) {
    .shop-wrapper {
        grid-template-columns: repeat(5, 1fr);
        gap: 24px;
    }
}

.shop-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shop-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.shop-card img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    margin-bottom: 12px;
}

.shop-title {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
}

.shop-link {
    display: inline-block;
    margin-top: auto;
    padding: 10px 20px;
    border: 2px solid #000000;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.shop-link:hover,
.shop-link:focus,
.shop-link:hover:active {
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
}



/* BANNER
**********************************/
div.banner-container {
    background-color: #171717;
}
/* Social Media */
.social-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-size: 20px;
    text-decoration: none;
    background: transparent;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-button:hover {
    transform: scale(1.1);
    text-decoration: none;
}

/* Brand hover colors */
.social-button.facebook:hover {
    background-color: #1877F2;
    border-color: #1877F2;
    color: white;
}

.social-button.youtube:hover {
    background-color: #FF0000;
    border-color: #FF0000;
    color: white;
}

.social-button.instagram:hover {
    background: radial-gradient(circle at 30% 30%, #fdf497 0%, #fd5949 45%, #d6249f 70%, #285AEB 100%);
    border-color: #d6249f;
    color: white;
}

@media (min-width: 768px) {
    .social-buttons {
        margin-top: 28px;
        justify-content: flex-end;
    }
}

/* Search form */
.element-type-inventorysearch div.form {
    padding-bottom: 0px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border: 5px solid white;
    width: max-content;
    border-radius: 8px;
    background-color: #fff;
    margin-inline: auto;
}

.element-type-inventorysearch .form-control.form-control {
    border-bottom: none!important;
    box-shadow: none;
    height: 40px;
    font-size: 16px;
}
.element-type-inventorysearch div.form label {
    display: none;
}
.element-type-inventorysearch .form-group {
    width: auto;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0px;
}

.element-type-inventorysearch .btn {
    min-height: 40px;
    border-radius: 4px;
    overflow: hidden;
}

.element-type-inventorysearch .btn-default {
    background-color: #dc2626;
    border-color: #dc2626;
}

@media (min-width: 768px) {
.element-type-inventorysearch .btn {
    min-height: 44px;
}
.element-type-inventorysearch .form-control.form-control {
    height: 44px;
}
}


/* NAVBAR
**********************************/
nav.navbar.navbar-default {
    padding: 0;
}
.navbar-default .navbar-nav > li > a {
    letter-spacing: 1px;
    text-transform: capitalize;
    font-weight: 600;
}
ul.dropdown-menu a.accent-color2 {
    color: #fff !important;
}
ul.dropdown-menu a.accent-bg1 {
    background-color: #dc2626 !important;
}

@media (min-width: 768px) {
    ul.nav.navbar-nav {
        width: max-content;
    }
    .navbar>.container .navbar-brand {
        visibility: hidden;
    }
}