:root {
    --maroon: #d21028;
    --navy: #093e5d;
    --white: #ffffff;
    --light-gray: #e7e7e7;
    --soft-black: #454545;
    --dark-black: #0a0a0a;
    --conent-light-gray: #f9f9f9;
}

html {
    font-size: 14px;
    font-family: "PT Serif", serif !important;
    position: relative;
    min-height: 100%;
    color: var(--soft-black);
    background-color:var(--light-gray);
    width:100%;
    overflow-x:hidden;
}

body {
    margin: 0;
    color: var(--soft-black);
    background: var(--white);
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.index-search-row {
    /*background-image: url(../images/searchbg.jpg);
    object-fit: cover;*/
    background-color:var(--navy);
}

.index-search-col {
    min-height: 150px;
    display: flex;
    flex-direction:column;
    flex-wrap:wrap;
    justify-content: center;
    justify-items: center;
    align-items: center;
}

.index-search-heading{
    color:var(--white);
}

.btn-index-search {
    color: var(--white);
    border-color: var(--white);
}

.btn-index-search:hover {
    color: var(--white);
    border-color: var(--white);
}

.contact-button {
    display: inline-block;
    background-color: var(--maroon);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 0px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

    .contact-button:hover {
        background-color: var(--maroon);
    }

    .contact-button:active {
        background-color: var(--maroon);
        color: var(--white);
    }


.logo {
    width: 200px;
}

.pt-serif-regular {
    font-family: "PT Serif", serif;
    font-weight: 400;
    font-style: normal;
}

.pt-serif-bold {
    font-family: "PT Serif", serif;
    font-weight: 700;
    font-style: normal;
}

.pt-serif-regular-italic {
    font-family: "PT Serif", serif;
    font-weight: 400;
    font-style: italic;
}

.pt-serif-bold-italic {
    font-family: "PT Serif", serif;
    font-weight: 700;
    font-style: italic;
}

.app-body {
    width: 100%;
    margin: 0;
    padding: 0;
}

.info-details {
    background: var(--maroon);
    color: var(--white);
    padding: 10px 0px 5px 0px;
    margin-top: -17px;
}

.nav-btn-wrapper{
    text-align:center;
}
.nav-btn{
    width:150px;
}

.btn-auto-prmry {
    background-color: var(--maroon);
    color: var(--white);
}

.btn-auto-prmry:hover {
    background-color: var(--maroon);
    color: var(--white);
}

.latest-inventory-container {
    margin-top: 20px;
}

.card-img-top {
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
    height: 350px;
    object-fit: cover;
}

.btn-all-inventory {
    width: 300px;
    height: 50px;
    width: 300px;
    height: 50px;
    display: block;
    padding: 10px;
    text-decoration: none;
}


.full-width-background {
    background-image: url('../images/cntctbg.jpg'); /* Replace with your image URL */
    background-size: cover; /* Ensures the image covers the entire div */
    background-position: center; /* Centers the image */
    width: 100%;
    height: 500px; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
.cntct-form-wrapper{
    background-color:var(--white);
    opacity:0.75;
    border-radius:5px;
    padding:10px;
    color:var(--soft-black);
    text-align:left;
    justify-content:left;
}
.site-footer{
    background-color:var(--maroon);
    color:var(--white);
    margin-top:50px;
    border-top:var(--light-gray);
}
.footer-cntct{
    line-height:1px;
}

.footer-copyright {
    width: 100%;
    margin-bottom: 0px;
    text-align: center;
    line-height: 1px;
    /* position: absolute; */
    bottom: 0;
    background: var(--soft-black);
    /* min-height: 60px; */
    padding: 20px 0px;
}


.contct-hero {
    background-image: url('../images/contact-us-auto-usa-llc.webp'); /* Replace with your image URL */
    background-size: cover; /* Ensures the image covers the entire div */
    background-position: center; /* Centers the image */
    width: 100%;
    height: 500px; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.about-hero {
    background-image: url('../images/about-us-auto-usa-llc.webp'); /* Replace with your image URL */
    background-size: cover; /* Ensures the image covers the entire div */
    background-position: center; /* Centers the image */
    width: 100%;
    height: 500px; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.prmry-h{
    color:var(--maroon);
}

.service-tab {
    min-height: 200px;
    border: 1px solid var(--soft-black);
    border-radius: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction:column;
}

.listing {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    margin-bottom:15px;
}

.featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: red;
    color: white;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: bold;
}

.image img {
    max-width: 150px;
    border-radius: 8px;
    max-height:150px;
}

.details {
    flex: 1;
    margin-left: 20px;
}

.title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.location {
    color: #666;
    margin-top: 5px;
}

.info {
    color: #888;
    margin-top: 10px;
    font-size: 14px;
}

.updated {
    font-size: 12px;
    color: #aaa;
    margin-top: 10px;
}

.price-contact {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price {
    font-size: 22px;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-btn {
    background-color: var(--maroon);
    color: var(--white);
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    text-align: center;
    text-decoration: none;
}

    .contact-btn:hover {
        background-color: var(--maroon);
        color: var(--white);
    }

/* Responsive */
@media (max-width: 768px) {
    .listing {
        flex-direction: column;
        align-items: center;
    }

    .image img {
        max-width: 150px;
        margin-bottom: 15px;
    }

    .details {
        margin-left: 0;
        text-align: center;
    }

    .price-contact {
        text-align: center;
    }
}


/* Carousel main container */
.carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Main image style */
.main-image {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    max-width: 800px;
    cursor: pointer;
    transition: transform 0.3s;
}

    .main-image img:hover {
        transform: scale(1.05);
    }

/* Thumbnail container */
.thumbnails {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.thumbnail {
    width: 100px;
    height: auto;
    margin: 0 5px;
    cursor: pointer;
    transition: opacity 0.3s;
}

    .thumbnail:hover {
        opacity: 0.7;
    }

/* Fullscreen modal styles */
.fullscreen-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    justify-items: center;
    align-items: center;
    padding: 32px 24px 112px;
    box-sizing: border-box;
}

body.fullscreen-modal-open {
    overflow: hidden;
}
.fullscreen-image {
    position: absolute;
    height: 82%;
    width: 100%;
    top: 0;
    display: flex;
    justify-content: center;
}

    .fullscreen-image img {
        height: 100%;
        width: auto;
        object-fit: contain;
    }

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10002;
}

.fullscreen-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    width: auto;
    max-height: 74px;
    padding: 0 24px;
    overflow-x: auto;
    overflow-y: hidden;
    z-index: 10001;
}

    .fullscreen-thumbnails .thumbnail {
        width: 80px;
        height: 56px;
        flex: 0 0 80px;
        margin: 0;
        overflow: hidden;
        border-radius: 6px;
        object-fit: cover;
    }

    .fullscreen-thumbnails .thumbnail img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }


/*thumbnails wrapper*/

.thumbnail-container-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    margin: auto;
}

.thumbnail-container {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s ease;
    width: 100%;
}

.thumbnail-2 {
    width: 100px;
    height: 100px;
    margin: 0 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .thumbnail-2:hover {
        transform: scale(1.1);
    }

.nav-button {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    user-select: none;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}
.detail-side-bar {
    background-color: white;
    height: 100%;
    border: var(--light-gray);
    display: flex;
    flex-direction: column;
}
.content-area{
    background-color:var(--white);
    border:1px solid var(--light-gray);
    padding:10px;
}

.horizontal-separator{
    border-bottom:1px solid var(--light-gray);
    width:90%;
    margin:10px auto;
    height:1px;
}

.car-info {
    display: flex;
    justify-content: space-between;
    background-color: white;
    padding: 10px;
    border-radius: 0;
    width: 100%;
    margin: 20px auto;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    /*border: 1px solid var(--light-gray);*/
}

.info-item {
    text-align: center;
    flex: 1;
    border:1px solid var(--light-gray);
    padding:10px;
}

    .info-item i {
        font-size: 24px;
        color: #4a4a4a;
        margin-bottom: 8px;
    }

    .info-item p {
        margin: 0;
        font-size: 16px;
        color: #4a4a4a;
    }

.car-details {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid var(--light-gray);
    /* border-radius: 8px; */
    background-color: var(--conent-light-gray);
}

.details-column {
    width: 48%;
}

.details-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

    .details-row:last-child {
        border-bottom: none;
    }

    .details-row span {
        font-size: 14px;
        color: #333;
    }

    .details-row a {
        color: #007bff;
        text-decoration: none;
    }

        .details-row a:hover {
            text-decoration: underline;
        }

.dtl-cntct {
    /*width: 100%;*/
    display: flex;
    flex-direction: column;
    align-items:center;
}

.not-found-wrapper{
    display:flex;
    flex-direction:column;
    flex-wrap:wrap;
    justify-content:center;
    align-content:center;
    align-items:center;

}

/* Video Thumbnail Styles */
.video-thumbnail {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.video-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon-overlay-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: all 0.3s ease;
}

.play-icon-overlay-small i {
    color: white;
    font-size: 24px;
    margin-left: 4px;
}

.video-thumbnail:hover .play-icon-overlay-small {
    background-color: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumbnail-fullscreen {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.video-thumbnail-fullscreen img {
    display: block;
}

/* Video.js player customization */
.video-js {
    width: auto !important;
    height: auto !important;
    max-width: 800px;
    max-height: 600px;
    margin: 0 auto;
    display: block;
}

.video-js video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

.video-js .vjs-tech {
    object-fit: contain !important;
    position: relative !important;
}

.video-js .vjs-big-play-button {
    border-radius: 50%;
}

#mainVideo, #fullscreenVideo {
    width: auto !important;
    height: auto !important;
    max-width: 800px;
    max-height: 600px;
}

.main-image .video-js {
    margin: 0 auto;
    display: block;
}

.fullscreen-media-container {
    position: relative;
    width: 90vw;
    max-width: 90vw;
    height: calc(100vh - 144px);
    max-height: calc(100vh - 144px);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    overflow: hidden;
}

.fullscreen-media-container img,
.fullscreen-media-container .video-js {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background: transparent;
}

.fullscreen-media-container > img {
    width: auto;
    height: auto;
}

.fullscreen-media-container .video-js {
    width: min(90vw, 1000px) !important;
    height: calc(100vh - 144px) !important;
}

.fullscreen-media-container #fullscreenVideo.video-js {
    width: min(90vw, 1000px) !important;
    height: calc(100vh - 144px) !important;
    max-width: 100% !important;
    max-height: 100% !important;
}

.fullscreen-media-container .video-js video,
.fullscreen-media-container .video-js .vjs-tech {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center !important;
    position: absolute !important;
    inset: 0;
}

#fullscreenVideo {
    max-height: 100% !important;
}

/* Inventory detail redesign */
.inventory-detail-page {
    background: #f4f6f8;
}

.inventory-detail-hero {
    padding: 22px 0 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
    border-bottom: 1px solid #e6ebef;
}

.inventory-detail-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 12px;
    color: #7a858e;
    font-size: 13px;
    font-weight: 600;
}

.inventory-detail-breadcrumb a,
.inventory-detail-breadcrumb a:hover,
.inventory-detail-breadcrumb a:focus {
    color: var(--maroon) !important;
    text-decoration: none;
}

.inventory-detail-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.inventory-detail-title-row h1 {
    margin: 0;
    color: #102033;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.inventory-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    color: #6b7680;
    font-size: 16px;
    font-weight: 800;
}

.inventory-detail-meta > span:not(.inventory-status-badge) {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.inventory-detail-meta i {
    color: var(--maroon);
}

.inventory-detail-back-link,
.inventory-detail-back-link:hover,
.inventory-detail-back-link:focus {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: var(--navy) !important;
    background: var(--white);
    border: 1px solid #dce3e8;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(9, 62, 93, 0.08);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.inventory-detail-content {
    padding: 24px 0 36px;
}

.inventory-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: flex-start;
    gap: 24px;
}

.inventory-detail-main {
    min-width: 0;
}

.detail-card {
    background: var(--white);
    border: 1px solid #e3e9ee;
    border-radius: 14px;
    box-shadow: 0 16px 38px rgba(10, 10, 10, 0.08);
}

.inventory-detail-gallery {
    overflow: hidden;
    padding: 12px;
}

.detail-main-media {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    background: #101820;
    border-radius: 11px;
}

.detail-main-media img,
.detail-main-media video,
.detail-main-media .video-js {
    width: 100% !important;
    height: 500px !important;
    max-width: none;
    max-height: none;
    display: block;
    object-fit: contain;
    object-position: center;
    background: #101820;
}

.detail-main-media img {
    cursor: zoom-in;
}

.detail-media-expand {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: rgba(9, 62, 93, 0.9);
    border: 0;
    border-radius: 999px;
}

.detail-media-count {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
}

.detail-media-count span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    color: var(--white);
    background: rgba(10, 10, 10, 0.7);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.detail-thumbnail-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.detail-thumbnail-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px;
    scroll-behavior: smooth;
}

.detail-thumbnail-container::-webkit-scrollbar {
    height: 6px;
}

.detail-thumbnail-container::-webkit-scrollbar-thumb {
    background: #c9d2da;
    border-radius: 999px;
}

.detail-thumbnail {
    position: relative;
    overflow: hidden;
    width: 112px;
    height: 78px;
    flex: 0 0 112px;
    padding: 0;
    background: #f3f5f7;
    border: 2px solid transparent;
    border-radius: 9px;
    cursor: pointer;
}

.detail-thumbnail:hover,
.detail-thumbnail:focus,
.detail-thumbnail.active {
    border-color: var(--maroon);
}

.detail-thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.detail-video-thumbnail span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: rgba(10, 10, 10, 0.32);
}

.detail-thumbnail-nav {
    width: 34px;
    height: 50px;
    flex: 0 0 34px;
    color: var(--white);
    background: var(--navy);
    border: 0;
    border-radius: 8px;
    font-size: 18px;
}

.detail-spec-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.detail-spec-card {
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 16px;
    background: var(--white);
    border: 1px solid #e3e9ee;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(10, 10, 10, 0.06);
}

.detail-spec-card i {
    color: var(--navy);
    font-size: 22px;
}

.detail-spec-card span {
    color: #7a858e;
    font-size: 12px;
    font-weight: 700;
}

.detail-spec-card strong {
    color: #152537;
    font-size: 14px;
    font-weight: 800;
}

.inventory-detail-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
    gap: 16px;
}

.detail-overview-card,
.detail-table-card,
.detail-dealer-card {
    padding: 22px;
}

.detail-section-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
}

.detail-section-heading span {
    width: 5px;
    height: 24px;
    background: var(--maroon);
    border-radius: 999px;
}

.detail-section-heading h2 {
    margin: 0;
    color: #152537;
    font-size: 22px;
    font-weight: 800;
}

.detail-overview-card p {
    margin: 0;
    color: #59636d;
    font-size: 15px;
    line-height: 1.7;
}

.detail-overview-card h3 {
    margin: 20px 0 10px;
    color: #152537;
    font-size: 17px;
    font-weight: 800;
}

.detail-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.detail-feature-list span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    color: #44515d;
    background: #f8fafc;
    border: 1px solid #e0e7ed;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.detail-feature-list i {
    color: var(--navy);
}

.detail-table {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
}

.detail-table div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #edf1f4;
}

.detail-table span {
    color: #7a858e;
    font-size: 13px;
    font-weight: 700;
}

.detail-table strong {
    color: #283746;
    font-size: 13px;
    font-weight: 800;
    text-align: right;
}

.inventory-detail-sidebar {
    position: sticky;
    top: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-contact-card {
    padding: 24px;
}

.detail-contact-label {
    color: #7a858e;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.detail-price {
    margin: 8px 0 12px;
    color: var(--maroon);
    font-family: "PT Serif", serif;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

.detail-dealer-name {
    padding-top: 16px;
    margin-top: 16px;
    color: #152537;
    border-top: 1px solid #e8edf1;
    font-size: 21px;
    font-weight: 800;
}

.detail-contact-card p {
    margin: 10px 0 18px;
    color: #65717b;
    line-height: 1.55;
}

.detail-primary-btn,
.detail-primary-btn:hover,
.detail-primary-btn:focus,
.detail-outline-btn,
.detail-outline-btn:hover,
.detail-outline-btn:focus {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.detail-primary-btn,
.detail-primary-btn:hover,
.detail-primary-btn:focus {
    color: var(--white) !important;
    background: var(--maroon);
}

.detail-outline-btn,
.detail-outline-btn:hover,
.detail-outline-btn:focus {
    color: var(--maroon) !important;
    background: var(--white);
    border: 1px solid var(--maroon);
}

.detail-trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 18px;
}

.detail-trust-grid span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #60707c;
    font-size: 12px;
    font-weight: 700;
}

.detail-trust-grid i,
.detail-dealer-card i {
    color: var(--navy);
}

.detail-dealer-card h3 {
    margin: 0 0 14px;
    color: #152537;
    font-size: 19px;
    font-weight: 800;
}

.detail-dealer-card p {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 10px 0;
    color: #65717b;
    font-size: 14px;
    line-height: 1.45;
}

.detail-help-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    padding: 18px 22px;
    background: var(--white);
    border: 1px solid var(--maroon);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(10, 10, 10, 0.07);
}

.detail-help-strip > div,
.detail-help-strip a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.detail-help-strip > div > i {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--maroon);
    border-radius: 50%;
    font-size: 20px;
}

.detail-help-strip h2 {
    margin: 0;
    color: #152537;
    font-size: 18px;
    font-weight: 800;
}

.detail-help-strip p {
    margin: 3px 0 0;
    color: #65717b;
}

.detail-help-strip a,
.detail-help-strip a:hover,
.detail-help-strip a:focus {
    color: var(--navy) !important;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 1199.98px) {
    .inventory-detail-layout {
        grid-template-columns: minmax(0, 1fr) 310px;
    }

    .detail-main-media,
    .detail-main-media img,
    .detail-main-media video,
    .detail-main-media .video-js {
        min-height: 430px;
        height: 430px !important;
    }

    .detail-spec-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .inventory-detail-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .inventory-detail-layout {
        grid-template-columns: 1fr;
    }

    .inventory-detail-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .inventory-detail-title-row,
    .detail-help-strip {
        flex-direction: column;
        align-items: flex-start;
    }

    .inventory-detail-back-link {
        width: 100%;
        justify-content: center;
    }

    .detail-main-media,
    .detail-main-media img,
    .detail-main-media video,
    .detail-main-media .video-js {
        min-height: 300px;
        height: 300px !important;
    }

    .detail-spec-grid,
    .inventory-detail-sidebar,
    .detail-table {
        grid-template-columns: 1fr;
    }

    .detail-price {
        font-size: 34px;
    }
}

@media (max-width: 575.98px) {
    .inventory-detail-content {
        padding-top: 16px;
    }

    .inventory-detail-gallery,
    .detail-overview-card,
    .detail-table-card,
    .detail-contact-card,
    .detail-dealer-card,
    .detail-help-strip {
        border-radius: 10px;
    }

    .detail-main-media,
    .detail-main-media img,
    .detail-main-media video,
    .detail-main-media .video-js {
        min-height: 240px;
        height: 240px !important;
    }

    .detail-thumbnail {
        width: 92px;
        height: 66px;
        flex-basis: 92px;
    }
}

/* Services redesign */
.services-page {
    background: #f4f6f8;
}

.services-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0;
    color: var(--white);
    background:
        linear-gradient(115deg, rgba(9, 62, 93, 0.96), rgba(9, 62, 93, 0.78)),
        radial-gradient(circle at 85% 20%, rgba(210, 16, 40, 0.36), transparent 36%),
        linear-gradient(135deg, #0b405f, #081d2d);
}

.services-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 46px 46px;
    opacity: 0.22;
}

.services-hero .container-xl {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: center;
    gap: 44px;
}

.services-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    color: var(--white);
    background: rgba(210, 16, 40, 0.92);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.services-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(38px, 6vw, 66px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.services-hero p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,0.84);
    font-size: 18px;
    line-height: 1.7;
}

.services-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.services-primary-link,
.services-primary-link:hover,
.services-primary-link:focus,
.services-secondary-link,
.services-secondary-link:hover,
.services-secondary-link:focus {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.services-primary-link,
.services-primary-link:hover,
.services-primary-link:focus {
    color: var(--white) !important;
    background: var(--maroon);
    box-shadow: 0 18px 34px rgba(210, 16, 40, 0.28);
}

.services-secondary-link,
.services-secondary-link:hover,
.services-secondary-link:focus {
    color: var(--white) !important;
    border: 1px solid rgba(255,255,255,0.42);
    background: rgba(255,255,255,0.08);
}

.services-hero-panel {
    padding: 22px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 22px;
    backdrop-filter: blur(8px);
    box-shadow: 0 28px 55px rgba(0,0,0,0.22);
}

.services-hero-panel > div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    color: var(--white);
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    font-weight: 800;
}

.services-hero-panel > div + div {
    margin-top: 12px;
}

.services-hero-panel i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--maroon);
    border-radius: 50%;
}

.services-section {
    padding: 58px 0 42px;
}

.services-heading {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.services-heading span {
    width: max-content;
    min-width: 110px;
    max-width: 100%;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 14px;
    padding-top: 12px;
    color: var(--soft-black);
    background: transparent;
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    position: relative;
}

.services-heading span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 68px;
    height: 4px;
    background: var(--maroon);
    border-radius: 999px;
    transform: translateX(-50%);
}

.services-heading h2 {
    margin-bottom: 12px;
}

.services-heading p {
    margin: 0;
    color: #65717b;
    font-size: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.service-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    padding: 26px;
    background: var(--white);
    border: 1px solid #e1e8ee;
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(10, 10, 10, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card::after {
    content: "";
    position: absolute;
    right: -48px;
    top: -48px;
    width: 132px;
    height: 132px;
    background: rgba(210, 16, 40, 0.08);
    border-radius: 50%;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(210, 16, 40, 0.38);
    box-shadow: 0 24px 46px rgba(10, 10, 10, 0.12);
}

.service-card-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--maroon), #9d0d1f);
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(210, 16, 40, 0.22);
    font-size: 22px;
}

.service-card-content {
    position: relative;
    z-index: 1;
    margin-top: 22px;
}

.service-card h3 {
    margin: 0 0 10px;
    color: #142537;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.18;
}

.service-card p {
    margin: 0;
    color: #65717b;
    font-size: 15px;
    line-height: 1.65;
}

.service-card-link,
.service-card-link:hover,
.service-card-link:focus {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
    color: var(--maroon) !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.services-empty-state {
    padding: 54px 24px;
    background: var(--white);
    border: 1px solid #e1e8ee;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 16px 36px rgba(10, 10, 10, 0.08);
}

.services-empty-state i {
    color: var(--maroon);
    font-size: 42px;
}

.services-empty-state h3 {
    margin: 15px 0 8px;
    color: var(--navy);
    font-weight: 800;
}

.services-empty-state p {
    margin: 0;
    color: #65717b;
}

.services-contact-section {
    padding: 0 0 58px;
}

.services-contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px;
    color: var(--white);
    background: linear-gradient(135deg, var(--maroon), #9f0d1f);
    border-radius: 20px;
    box-shadow: 0 22px 46px rgba(210, 16, 40, 0.22);
}

.services-contact-card span {
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.services-contact-card h2 {
    margin: 8px 0;
    color: var(--white);
    font-size: 28px;
    font-weight: 800;
}

.services-contact-card p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,0.82);
}

.services-contact-card a,
.services-contact-card a:hover,
.services-contact-card a:focus {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 18px;
    color: var(--maroon) !important;
    background: var(--white);
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .services-hero .container-xl {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-contact-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .services-hero {
        padding: 52px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 230px;
    }
}

@media (max-width: 575.98px) {
    .services-hero-actions,
    .services-primary-link,
    .services-secondary-link,
    .services-contact-card a {
        width: 100%;
    }

    .services-contact-card {
        padding: 24px;
    }
}

/* About and contact redesign */
.about-page,
.contact-page {
    background: #f4f6f8;
}

.inner-page-hero {
    position: relative;
    overflow: hidden;
    min-height: 390px;
    display: flex;
    align-items: center;
    color: var(--white);
    background:
        linear-gradient(105deg, rgba(9, 62, 93, 0.9), rgba(9, 62, 93, 0.52)),
        url('../images/about-us-auto-usa-llc.webp');
    background-size: cover;
    background-position: center;
}

.inner-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 82% 18%, rgba(210, 16, 40, 0.32), transparent 32%);
}

.inner-page-hero .container-xl {
    position: relative;
    z-index: 1;
}

.inner-page-hero-content {
    max-width: 720px;
}

.inner-page-hero-content span {
    display: inline-flex;
    padding: 8px 13px;
    color: var(--white);
    background: var(--maroon);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.inner-page-hero-content h1 {
    margin: 18px 0 12px;
    font-size: clamp(36px, 6vw, 62px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.inner-page-hero-content p {
    max-width: 620px;
    margin: 0;
    color: rgba(255,255,255,0.86);
    font-size: 18px;
    line-height: 1.65;
}

.about-content-section,
.contact-content-section {
    padding: 58px 0;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 24px;
    align-items: stretch;
}

.about-story-card,
.about-dealer-card,
.about-value-card,
.contact-intro-card,
.contact-info-card,
.contact-support-card {
    background: var(--white);
    border: 1px solid #e1e8ee;
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(10, 10, 10, 0.08);
}

.about-story-card {
    padding: 34px;
}

.about-eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--maroon);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-story-card h2,
.about-dealer-card h2,
.contact-intro-card h2,
.contact-support-card h2 {
    margin: 0;
    color: #142537;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.12;
}

.about-copy {
    margin-top: 18px;
    color: #5f6b75;
    font-size: 16px;
    line-height: 1.8;
}

.about-copy p:last-child {
    margin-bottom: 0;
}

.about-dealer-card {
    padding: 30px;
}

.about-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 22px;
}

.about-info-list a,
.about-info-list a:hover,
.about-info-list a:focus,
.about-info-list div,
.contact-info-card,
.contact-info-card:hover,
.contact-info-card:focus {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #273746 !important;
    text-decoration: none;
}

.about-info-list i,
.contact-info-card i {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--maroon);
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(210, 16, 40, 0.2);
}

.about-info-list small,
.contact-info-card small {
    display: block;
    margin-bottom: 3px;
    color: #7a858e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.about-info-list span,
.contact-info-card span {
    color: #273746;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.45;
}

.about-value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.about-services-heading {
    margin-top: 34px;
    text-align: center;
}

.about-services-heading span {
    display: inline-flex;
    color: var(--maroon);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-services-heading h2 {
    margin: 8px 0 0;
    color: #142537;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.15;
}

.about-value-card {
    padding: 26px;
}

.about-value-card i {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--navy);
    border-radius: 16px;
    font-size: 22px;
}

.about-value-card h3 {
    margin: 20px 0 8px;
    color: #142537;
    font-size: 22px;
    font-weight: 800;
}

.about-value-card p {
    margin: 0;
    color: #65717b;
    line-height: 1.65;
}

.about-cta-section {
    padding: 0 0 58px;
}

.about-cta-card,
.contact-support-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px;
    color: var(--white);
    background: linear-gradient(135deg, var(--maroon), #9f0d1f);
    border-radius: 20px;
    box-shadow: 0 22px 46px rgba(210, 16, 40, 0.22);
}

.about-cta-card span,
.contact-support-card span {
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-cta-card h2,
.contact-support-card h2 {
    margin: 8px 0;
    color: var(--white);
    font-size: 28px;
}

.about-cta-card p {
    margin: 0;
    color: rgba(255,255,255,0.82);
}

.about-cta-card a,
.about-cta-card a:hover,
.about-cta-card a:focus,
.contact-support-card a,
.contact-support-card a:hover,
.contact-support-card a:focus {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 18px;
    color: var(--maroon) !important;
    background: var(--white);
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.contact-intro-card {
    padding: 34px;
    text-align: center;
}

.contact-intro-card > span {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--maroon);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-intro-card p {
    max-width: 720px;
    margin: 14px auto 22px;
    color: #65717b;
    font-size: 16px;
    line-height: 1.7;
}

.contact-intro-card a,
.contact-intro-card a:hover,
.contact-intro-card a:focus {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    color: var(--white) !important;
    background: var(--maroon);
    border-radius: 999px;
    box-shadow: 0 16px 32px rgba(210, 16, 40, 0.22);
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}

.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.contact-info-card {
    min-height: 132px;
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 46px rgba(10, 10, 10, 0.12);
}

.contact-support-card {
    margin-top: 24px;
}

.contact-support-card > div {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-support-card > div > i {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--maroon);
    background: var(--white);
    border-radius: 50%;
    font-size: 22px;
}

@media (max-width: 991.98px) {
    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-value-grid,
    .contact-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .inner-page-hero {
        min-height: 330px;
    }

    .about-value-grid,
    .contact-card-grid {
        grid-template-columns: 1fr;
    }

    .about-cta-card,
    .contact-support-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-support-card > div {
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .about-content-section,
    .contact-content-section {
        padding: 38px 0;
    }

    .about-story-card,
    .about-dealer-card,
    .about-value-card,
    .contact-intro-card,
    .contact-info-card,
    .about-cta-card,
    .contact-support-card {
        border-radius: 14px;
        padding: 24px;
    }

    .about-cta-card a,
    .contact-support-card a,
    .contact-intro-card a {
        width: 100%;
    }
}

/* Home redesign */
.site-header {
    position: relative;
    z-index: 20;
    background: var(--white);
}

.top-info-bar {
    background: var(--maroon);
    color: var(--white);
    font-family: "PT Serif", serif;
    font-size: 13px;
}

.top-info-content {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-info-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white) !important;
    text-decoration: none;
    line-height: 1.2;
}

.top-info-item:hover,
.top-info-item:focus {
    color: var(--white) !important;
}

.main-navbar {
    min-height: 72px;
    background: var(--white);
    box-shadow: 0 6px 24px rgba(10, 10, 10, 0.08);
    padding: 0;
}

.site-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

.site-logo,
.footer-logo {
    width: 180px;
    max-height: 54px;
    object-fit: contain;
}

.main-nav-links .nav-item:not(:first-child) {
    border-left: 1px solid rgba(69, 69, 69, 0.24);
}

.main-nav-links .nav-item:last-child {
    border-left: 0;
}

.main-nav-links .nav-link {
    min-width: 94px;
    color: var(--soft-black) !important;
    font-weight: 600;
    padding: 8px 24px !important;
    text-align: center;
    transition: color 0.2s ease;
}

.main-nav-links .nav-link:hover,
.main-nav-links .nav-link:focus {
    color: var(--maroon) !important;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--maroon);
    color: var(--white) !important;
    padding: 11px 24px;
    border-radius: 999px;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-button:hover,
.contact-button:focus,
.contact-button:active {
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(210, 16, 40, 0.24);
}

.home-page {
    background: var(--white);
}

.home-hero {
    position: relative;
    overflow: visible;
    min-height: 520px;
    color: var(--white);
    background:
        linear-gradient(100deg, rgba(9,62,93,0.98) 0%, rgba(9,62,93,0.88) 43%, rgba(9,62,93,0.34) 68%, rgba(9,62,93,0.08) 100%),
        url('../images/LandingPageHero.jpg');
    background-size: cover;
    background-position: center 47%;
    background-repeat: no-repeat;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.12), rgba(10,10,10,0.28));
    opacity: 1;
    pointer-events: none;
}

.home-hero::after {
    display: none;
}

.home-hero .container-xl {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    z-index: 1;
}

.home-hero-content {
    max-width: 580px;
    padding: 78px 0 120px;
}

.home-hero-content h1 {
    margin: 0;
    color: var(--white);
    font-size: clamp(42px, 5vw, 74px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.hero-cta,
.hero-cta:hover,
.hero-cta:focus {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--maroon);
    color: var(--white) !important;
    border: 0;
    border-radius: 6px;
    padding: 14px 30px;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(210, 16, 40, 0.25);
}

.home-search-panel {
    position: absolute;
    left: 50%;
    bottom: -30px;
    width: min(880px, calc(100% - 32px));
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(-50%);
    padding: 8px;
    padding-left: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(10,10,10,0.18);
}

.home-search-icon {
    color: #8a8a8a;
    font-size: 18px;
}

.home-search-panel .form-control {
    min-height: 44px;
    border: 0;
    box-shadow: none;
}

.btn-index-search,
.btn-index-search:hover,
.btn-index-search:focus {
    min-width: 120px;
    min-height: 44px;
    background: var(--maroon);
    color: var(--white);
    border: 0;
    border-radius: 6px;
    font-weight: 700;
}

.latest-inventory-section {
    padding: 78px 0 54px;
    background: var(--white);
}

.section-heading {
    margin-bottom: 30px;
    text-align: center;
}

.section-heading h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 700;
    line-height: 1.1;
}

.section-heading span {
    display: block;
    width: 68px;
    height: 4px;
    margin: 10px auto 8px;
    border-radius: 999px;
    background: var(--maroon);
}

.section-heading p {
    margin: 0;
    color: #777;
    font-size: 15px;
    font-style: italic;
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-bottom: 28px;
}

.inventory-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(10,10,10,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.inventory-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(10,10,10,0.16);
}

.inventory-card-image {
    display: block;
    height: 205px;
    background: var(--light-gray);
}

.inventory-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.inventory-card-body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
}

.inventory-card-body h3 {
    margin: 0 0 4px;
    color: var(--soft-black);
    font-family: "PT Serif", serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.inventory-card-body p {
    margin: 0;
    color: #777;
    font-size: 13px;
}

.inventory-card-body p span:not(:last-child)::after {
    content: " • ";
}

.inventory-card-link {
    flex: 0 0 auto;
    color: var(--maroon);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.inventory-card-link:hover {
    color: var(--maroon);
    text-decoration: underline;
}

.btn-all-inventory,
.btn-all-inventory:hover,
.btn-all-inventory:focus {
    width: auto;
    min-width: 245px;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    color: var(--maroon);
    background: var(--white);
    border: 2px solid var(--maroon);
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
}

.why-choose-section {
    background: var(--navy);
    color: var(--white);
    padding: 28px 0;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.why-choose-item {
    min-height: 126px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    padding: 14px 26px;
    border-left: 1px solid rgba(255,255,255,0.35);
}

.why-choose-item:first-child {
    border-left: 0;
}

.why-choose-item i {
    font-size: 36px;
    color: var(--white);
}

.why-choose-item h3 {
    margin: 0;
    color: var(--white);
    font-size: 17px;
    font-weight: 700;
}

.why-choose-item p {
    margin: 0;
    color: rgba(255,255,255,0.82);
    font-size: 13px;
    line-height: 1.25;
}

.home-contact-section {
    position: relative;
    overflow: hidden;
    padding: 64px 0;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(10,10,10,0.80), rgba(10,10,10,0.42)),
        url('../images/contact.jpg');
    background-size: cover;
    background-position: center 58%;
    background-repeat: no-repeat;
}

.home-contact-section::before {
    display: none;
}

.home-contact-section .container-xl {
    position: relative;
    z-index: 1;
}

.contact-callout h2 {
    margin: 0 0 16px;
    color: var(--white);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
}

.contact-callout a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    color: var(--white) !important;
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
}

.contact-callout p {
    display: flex;
    gap: 10px;
    margin: 0 0 12px;
    color: rgba(255,255,255,0.94);
}

.contact-callout span {
    color: rgba(255,255,255,0.9);
    font-style: italic;
}

.cntct-form-wrapper {
    max-width: 520px;
    margin-left: auto;
    padding: 24px;
    color: var(--soft-black);
    text-align: left;
    background: rgba(255,255,255,0.92);
    border-radius: 10px;
    opacity: 1;
    box-shadow: 0 18px 42px rgba(10,10,10,0.24);
    backdrop-filter: blur(6px);
}

.cntct-form-wrapper h3 {
    margin: 0 0 18px;
    color: var(--navy);
    text-align: center;
    font-weight: 700;
}

.cntct-form-wrapper .form-label {
    color: var(--soft-black);
    font-size: 13px;
    font-weight: 700;
}

.cntct-form-wrapper .form-control {
    border: 1px solid #d8d8d8;
    border-radius: 4px;
}

.btn-auto-prmry {
    background-color: var(--maroon);
    color: var(--white);
    border: 0;
}

.btn-auto-prmry:hover,
.btn-auto-prmry:focus {
    background-color: var(--maroon);
    color: var(--white);
}

.site-footer {
    margin-top: 0;
    background: var(--maroon);
    color: var(--white);
    border-top: 0;
}

.footer-main {
    padding: 34px 0;
}

.footer-logo {
    width: 175px;
    margin-bottom: 12px;
}

.footer-tagline {
    max-width: 270px;
    margin: 0 0 14px;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    line-height: 1.35;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white) !important;
    text-decoration: none;
    font-weight: 700;
}

.footer-title {
    margin: 0 0 12px;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
}

.footer-contact-list,
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.95);
    font-size: 14px;
    line-height: 1.35;
}

.footer-contact-list i {
    width: 16px;
    padding-top: 3px;
}

.footer-links a {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--white) !important;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover,
.footer-social:hover {
    color: var(--white) !important;
    text-decoration: underline;
}

.footer-copyright {
    width: 100%;
    margin-bottom: 0;
    padding: 13px 16px;
    text-align: center;
    line-height: 1.35;
    background: var(--dark-black);
}

.footer-copyright p {
    margin: 0;
    color: var(--white);
    font-size: 13px;
}

.footer-copyright a {
    color: var(--white) !important;
}

@media (max-width: 991.98px) {
    .top-info-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .main-navbar {
        padding: 12px 0;
    }

    .main-nav-links {
        align-items: flex-start !important;
        padding-top: 18px;
    }

    .main-nav-links .nav-item {
        width: 100%;
        border-left: 0 !important;
        border-top: 1px solid rgba(69,69,69,0.14);
    }

    .main-nav-links .nav-link {
        padding: 12px 0 !important;
    }

    .home-hero,
    .home-hero .container-xl {
        min-height: 500px;
    }

    .home-hero {
        background-position: 62% center;
    }

    .home-contact-section {
        background-position: 58% center;
    }

    .home-hero::after,
    .home-contact-section::before {
        opacity: 0.32;
    }

    .inventory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-choose-item:nth-child(odd) {
        border-left: 0;
    }

    .cntct-form-wrapper {
        margin-left: 0;
    }
}

@media (max-width: 767.98px) {
    .site-logo,
    .footer-logo {
        width: 150px;
    }

    .home-hero-content {
        padding-top: 58px;
    }

    .home-hero {
        background-position: 68% center;
    }

    .home-contact-section {
        background-position: 52% center;
    }

    .home-search-panel {
        flex-wrap: wrap;
        padding: 14px;
    }

    .home-search-panel .form-control {
        flex: 1 1 calc(100% - 36px);
    }

    .btn-index-search {
        width: 100%;
    }

    .inventory-grid {
        grid-template-columns: 1fr;
    }

    .inventory-card-image {
        height: 230px;
    }

    .inventory-card-body {
        align-items: flex-start;
        flex-direction: column;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-item {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,0.35);
    }

    .why-choose-item:first-child {
        border-top: 0;
    }

    .contact-callout a {
        font-size: 22px;
    }
}

/* Inventory redesign */
.inventory-page {
    background: var(--conent-light-gray);
}

.inventory-hero {
    position: relative;
    overflow: hidden;
    min-height: 240px;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(9,62,93,0.98), rgba(9,62,93,0.76) 52%, rgba(9,62,93,0.45)),
        url('../images/inventory-hero-bg.png');
    background-size: cover;
    background-position: center 52%;
}

.inventory-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.08), rgba(10,10,10,0.18));
    pointer-events: none;
}

.inventory-hero .container-xl {
    position: relative;
    z-index: 1;
    min-height: 240px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    padding-top: 42px;
    padding-bottom: 26px;
}

.inventory-hero-content h1 {
    margin: 0 0 10px;
    color: var(--white);
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 700;
    line-height: 1.05;
}

.inventory-hero-content p {
    margin: 0;
    color: rgba(255,255,255,0.92);
    font-size: 17px;
}

.inventory-hero-stats {
    align-self: flex-end;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 4px;
}

.inventory-hero-stats > div {
    min-width: 126px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    background: rgba(9,62,93,0.55);
    backdrop-filter: blur(4px);
}

.inventory-hero-stats i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    color: var(--white);
}

.inventory-hero-stats span,
.inventory-hero-stats small {
    display: block;
    color: var(--white);
    line-height: 1.1;
}

.inventory-hero-stats span {
    font-weight: 700;
}

.inventory-hero-stats small {
    font-size: 12px;
    opacity: 0.88;
}

.inventory-content-section {
    padding: 28px 0 48px;
}

.inventory-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.inventory-sidebar {
    position: sticky;
    top: 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.inventory-filter-card,
.inventory-help-card,
.inventory-listing-card,
.inventory-toolbar,
.inventory-empty-state {
    background: var(--white);
    border: 1px solid rgba(9,62,93,0.08);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(10,10,10,0.08);
}

.inventory-filter-card {
    padding: 22px;
}

.inventory-filter-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--navy);
}

.inventory-filter-title i {
    color: var(--navy);
    font-size: 20px;
}

.inventory-filter-title h2 {
    margin: 0;
    color: var(--navy);
    font-size: 22px;
    font-weight: 700;
}

.inventory-filter-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.inventory-filter-form .form-group {
    margin: 0;
}

.inventory-filter-form .form-label {
    margin-bottom: 6px;
    color: var(--soft-black);
    font-size: 13px;
    font-weight: 700;
}

.inventory-filter-form .form-control,
.inventory-sort-form .form-control {
    min-height: 42px;
    border-color: #dfe4e8;
    border-radius: 7px;
    color: var(--soft-black);
    font-size: 14px;
}

.inventory-input-icon {
    position: relative;
}

.inventory-input-icon i {
    position: absolute;
    top: 50%;
    left: 13px;
    color: #8c98a4;
    transform: translateY(-50%);
}

.inventory-input-icon .form-control {
    padding-left: 38px;
}

.inventory-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.inventory-search-btn,
.inventory-search-btn:hover,
.inventory-search-btn:focus {
    min-height: 46px;
    margin-top: 4px;
    background: var(--maroon);
    color: var(--white) !important;
    border: 0;
    border-radius: 7px;
    font-weight: 700;
}

.inventory-reset-btn,
.inventory-reset-btn:hover,
.inventory-reset-btn:focus {
    min-height: 42px;
    color: var(--soft-black);
    background: var(--white);
    border: 1px solid #aeb9c2;
    border-radius: 7px;
    font-weight: 700;
}

.inventory-help-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
}

.inventory-help-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(210,16,40,0.12);
    color: var(--maroon);
    font-size: 24px;
}

.inventory-help-card span {
    display: block;
    color: var(--soft-black);
    font-size: 13px;
}

.inventory-help-card a {
    color: var(--maroon) !important;
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
}

.inventory-results {
    min-width: 0;
}

.inventory-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
    padding: 16px 18px;
}

.inventory-toolbar h2 {
    margin: 0;
    color: var(--soft-black);
    font-size: 17px;
    font-weight: 700;
}

.inventory-toolbar h2 span {
    color: var(--maroon);
}

.inventory-toolbar p {
    margin: 2px 0 0;
    color: #7c8791;
    font-size: 13px;
}

.inventory-sort-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.inventory-sort-form label {
    color: var(--soft-black);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.inventory-sort-form select {
    width: 170px;
}

.inventory-view-toggle {
    display: inline-flex;
    gap: 7px;
}

.inventory-view-toggle button {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    background: var(--white);
    border: 1px solid #dfe4e8;
    border-radius: 7px;
}

.inventory-view-toggle button.active {
    color: var(--white);
    background: var(--navy);
    border-color: var(--navy);
}

.inventory-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.inventory-listing-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 180px;
    align-items: stretch;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.inventory-listing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(10,10,10,0.12);
}

.inventory-listing-image {
    position: relative;
    display: block;
    width: 220px;
    max-width: 100%;
    height: 170px;
    min-height: 170px;
    background: #f3f5f7;
}

.inventory-listing-image img {
    width: 100%;
    height: 100%;
    min-height: 170px;
    display: block;
    object-fit: contain;
    object-position: center;
}

.inventory-listing-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    padding: 15px 18px;
}

.inventory-listing-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.inventory-listing-heading h3 {
    margin: 0 0 7px;
    color: var(--navy);
    font-family: "PT Serif", serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.12;
}

.inventory-listing-heading p {
    margin: 0;
    color: #65717b;
    font-size: 13px;
}

.inventory-listing-heading p i {
    color: var(--navy);
}

.inventory-status-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    color: #17823b;
    background: #effaf2;
    border: 1px solid #ccefd4;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.inventory-spec-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.inventory-spec-grid span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    color: #53606b;
    background: #f8fafc;
    border: 1px solid #e4e9ee;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
}

.inventory-spec-grid i {
    color: var(--navy);
}

.inventory-updated-at {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    color: #6d7780;
    font-size: 13px;
    font-weight: 600;
}

.inventory-updated-at i {
    color: var(--maroon);
}

.inventory-listing-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    padding: 15px 16px;
    border-left: 1px solid #edf0f2;
    text-align: center;
}

.inventory-price {
    color: var(--maroon);
    font-family: "PT Serif", serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
}

.inventory-results.inventory-grid-view .inventory-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.inventory-results.inventory-grid-view .inventory-listing-card {
    grid-template-columns: 1fr;
}

.inventory-results.inventory-grid-view .inventory-listing-image,
.inventory-results.inventory-grid-view .inventory-listing-image img {
    width: 100%;
    min-height: 220px;
    height: 220px;
}

.inventory-results.inventory-grid-view .inventory-listing-heading {
    flex-direction: column;
}

.inventory-results.inventory-grid-view .inventory-listing-actions {
    align-items: stretch;
    border-left: 0;
    border-top: 1px solid #edf0f2;
}

.inventory-listing-actions small {
    color: #8b949c;
    font-size: 12px;
}

.inventory-details-btn,
.inventory-details-btn:hover,
.inventory-details-btn:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    color: var(--white) !important;
    background: var(--maroon);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.inventory-call-btn,
.inventory-call-btn:hover,
.inventory-call-btn:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    color: var(--navy) !important;
    background: var(--white);
    border: 1px solid #aeb9c2;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.inventory-empty-state {
    padding: 54px 24px;
    text-align: center;
}

.inventory-empty-state i {
    color: var(--maroon);
    font-size: 42px;
}

.inventory-empty-state h3 {
    margin: 14px 0 6px;
    color: var(--navy);
    font-weight: 700;
}

.inventory-empty-state p {
    color: #65717b;
}

.inventory-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 18px;
}

.inventory-page-link,
.inventory-page-link:hover,
.inventory-page-link:focus,
.inventory-page-current,
.inventory-page-total {
    min-width: 42px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.inventory-page-link {
    color: var(--navy) !important;
    background: var(--white);
    border: 1px solid #cfd8df;
}

.inventory-page-current {
    color: var(--white);
    background: var(--maroon);
}

.inventory-page-total {
    color: #65717b;
}

.inventory-page-link.disabled {
    pointer-events: none;
    opacity: 0.5;
}

@media (max-width: 1199.98px) {
    .inventory-layout {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .inventory-listing-card {
        grid-template-columns: 220px minmax(0, 1fr) 170px;
    }
}

@media (max-width: 991.98px) {
    .inventory-hero .container-xl {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
    }

    .inventory-hero-stats {
        flex-wrap: wrap;
    }

    .inventory-layout {
        grid-template-columns: 1fr;
    }

    .inventory-sidebar {
        position: static;
    }

    .inventory-listing-card {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .inventory-listing-actions {
        grid-column: 1 / -1;
        align-items: center;
        border-left: 0;
        border-top: 1px solid #edf0f2;
    }

    .inventory-listing-actions .inventory-details-btn,
    .inventory-listing-actions .inventory-call-btn {
        width: min(100%, 260px);
    }

    .inventory-results.inventory-grid-view .inventory-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .inventory-hero {
        min-height: 280px;
        background-position: 62% center;
    }

    .inventory-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .inventory-sort-form {
        width: 100%;
        flex-wrap: wrap;
    }

    .inventory-sort-form select {
        flex: 1 1 180px;
        width: auto;
    }

    .inventory-listing-card {
        grid-template-columns: 1fr;
    }

    .inventory-listing-image,
    .inventory-listing-image img {
        width: 100%;
        min-height: 220px;
        height: 220px;
    }

    .inventory-listing-heading {
        flex-direction: column;
    }

    .inventory-listing-actions {
        align-items: stretch;
    }

    .inventory-listing-actions .inventory-details-btn,
    .inventory-listing-actions .inventory-call-btn {
        width: 100%;
    }

    .inventory-pagination {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 575.98px) {
    .inventory-form-grid {
        grid-template-columns: 1fr;
    }

    .inventory-hero-stats > div {
        min-width: 100%;
    }
}

.unsubscribe-page {
    min-height: 70vh;
    background:
        radial-gradient(circle at 12% 8%, rgba(210, 16, 40, 0.12), transparent 28%),
        linear-gradient(180deg, #f7f4f1 0%, #eef3f6 100%);
    padding: 48px 16px 72px;
}

.unsubscribe-wrap {
    max-width: 640px;
    margin: 0 auto;
}

.unsubscribe-card {
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(9, 62, 93, 0.12);
    padding: 36px 32px 32px;
}

.unsubscribe-kicker {
    margin: 0 0 10px;
    color: var(--maroon);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.unsubscribe-card h1 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 34px;
    line-height: 1.15;
}

.unsubscribe-lead {
    margin: 0 0 22px;
    color: var(--soft-black);
    font-size: 17px;
    line-height: 1.5;
}

.unsubscribe-mark {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.unsubscribe-form fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

.unsubscribe-form legend {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 16px;
    font-weight: 700;
}

.unsubscribe-choice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0 0 10px;
    padding: 12px 14px;
    border: 1px solid #e4e7eb;
    border-radius: 12px;
    cursor: pointer;
}

.unsubscribe-choice:hover {
    border-color: var(--navy);
}

.unsubscribe-choice input {
    margin-top: 3px;
}

.unsubscribe-details {
    display: block;
    margin: 18px 0 8px;
    color: var(--navy);
    font-weight: 700;
}

.unsubscribe-form textarea {
    width: 100%;
    min-height: 96px;
    padding: 12px 14px;
    border: 1px solid #e4e7eb;
    border-radius: 12px;
    resize: vertical;
    font: inherit;
}

.unsubscribe-error {
    margin: 14px 0 0;
    color: var(--maroon);
    font-weight: 700;
}

.unsubscribe-submit {
    margin-top: 18px;
    border: 0;
    border-radius: 999px;
    background: var(--maroon);
    color: var(--white);
    padding: 12px 22px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.unsubscribe-submit:hover {
    background: #b10d22;
}

@media (max-width: 640px) {
    .unsubscribe-card {
        padding: 28px 18px 22px;
    }

    .unsubscribe-card h1 {
        font-size: 28px;
    }
}