#offers-incentives-page {
    background: #f7f8fa;
    padding: 50px 0;
}

.single-view {
    padding: 0 5px;
}
h4.listing-title {
    letter-spacing: 0px;
    font-size: 18px !important;
    font-weight: 400;
    text-align: center;
    margin: 0px;
}
.listing-details {
    line-height: 1.5;
    padding: 10px 0;
    font-style: italic;
    font-weight: 300;
    text-align: center;
}

#full-lineup .listing-image {
    width: 100%;
    height: 180px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
#full-lineup .flex-row.hidden-xs {
    display: flex;
    gap: 20px;
    margin: 30px 0 40px;
}
.subaru-main {
    flex: 1;
}
.subaru-layout {
    display: flex;
    gap: 24px;
}

#full-lineup .filter-bar {
    flex-shrink: 0;
    border-right: 1px solid #eee;
    padding-right: 16px;
}

#full-lineup .filter-bar li {
    display: block;
    margin-bottom: 12px;
}

#full-lineup .filter-bar label {
    display: block;
    cursor: pointer;
}

#full-lineup .card-container,
#full-lineup .subaru-category {
    width: 100%;
}

#full-lineup .core-injection > .card-container,
#full-lineup .core-injection > .subaru-category {
    flex: 1;
}
.single-view {
    margin: 0 auto;
}
.subaru-offers-incentives .core-injection > .card-container {
    display: none !important;
}
.single-view .core-injection {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    align-items: start;
}

.filter-container {
    grid-column: 1;
    background: #ffffff;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    position: sticky;
    top: 120px;
}

.offers-header, .subaru-category {
    grid-column: 2;
}
.subaru-category {
    grid-column: 2;
}
.core-injection .card-container {
    display: none;
}

/* ========================================
   FILTER BUTTONS
======================================== */

.subaru-global-filters {
    display: flex;
    gap: 12px;
    margin: 20px 0 30px 0;
    flex-wrap: wrap;
}

.subaru-global-filters a {
    background: #ffffff;
    border: 1px solid #1e5bd8;
    color: #1e5bd8;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.subaru-global-filters a:hover {
    background: #1e5bd8;
    color: #ffffff;
}

.subaru-global-filters a.active {
    background: #1e5bd8;
    color: #ffffff;
}

.subaru-global-filters a:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(30, 91, 216, 0.2);
}
.filter-container > li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
/* ========================================
   CATEGORY SECTIONS
======================================== */

.subaru-category {
    margin-bottom: 60px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}

.category-icon {
    width: auto;
    height: 24px;
}

.category-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

/* ========================================
   GRID
======================================== */

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* Large Desktop */
@media (max-width: 1400px) {
    .vehicle-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet */
@media (max-width: 992px) {
    .vehicle-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   VEHICLE CARD
======================================== */

.vehicle-item {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vehicle-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    transform: translateY(-3px);
}

.vehicle-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
    min-height: 38px;
}

.vehicle-image, .cfl-image {
    height: 120px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 20px;
}
.single-listing {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
}

.oi-pricing {
    background: #ffffff;
    padding: 20px 15px;
    margin: 18px 0;
    border-radius: 10px;
    border: 1px solid #ececec;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    position: relative;
}

.single-listing:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.12);
}

/* ========================================
   OFFER BUTTON
======================================== */

.offer-button,
.vehicle-item .button {
    background: #1e5bd8;
    color: #ffffff !important;
    border: none;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease;
    display: inline-block;
    text-decoration: none;
}

.offer-button:hover,
.vehicle-item .button:hover {
    background: #174bb8;
}
#offers-incentives-page .flex-row {
    padding: 15px 15px;
}
#offers-incentives-page .card-bottom .payment-offers
 {
    padding: 10px 0px;
}
/* ========================================
   LOADER
======================================== */

.loading-bar {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.loading-bar .line {
    width: 6px;
    height: 30px;
    background: #1e5bd8;
    animation: pulse 1s infinite ease-in-out;
}

.loading-bar .line:nth-child(2) { animation-delay: 0.1s; }
.loading-bar .line:nth-child(3) { animation-delay: 0.2s; }
.loading-bar .line:nth-child(4) { animation-delay: 0.3s; }

@keyframes pulse {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1); }
}
.loading-offers .offers-views {
  opacity: 1 !important;
}

.loading-offers .offers-views::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.9);
  z-index: 1;
}

.subaru-category .loading-bar {
  position: relative;
  z-index: 2;
}

/* ========================================
   NO OFFERS
======================================== */

.no-offers-screen {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

/* ========================================
   PAGINATION
======================================== */

.subaru-pagination {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
}

.subaru-pagination button {
    background: #1e5bd8;
    color: #fff;
    border: none;
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease;
}

.subaru-pagination button:disabled {
    background: #b5c7f0;
    cursor: not-allowed;
}

.page-info {
    font-size: 13px;
    font-weight: 600;
}

/* ===============================
   SUBARU FILTER SIDEBAR STYLING
   =============================== */
.core-injection {
    width: 100%;
    max-width: 100%;
    padding: 0 40px;
    display: grid !important;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

.core-injection .card-container.subaru-distributed {
    display: none;
}
#offers-incentives-page{
    padding-top: 10px;
}
#offers-incentives-page .no-offers-screen{
    padding:0px;
}
span.expiration {
    display: block !important;
}
#detail-offer .side-bar {
    -moz-flex: 0 0 30%;
    flex: 0 0 30%;
    -ms-flex: 0 0 30%;
    padding: 9px 10.5px;
}

.subaru-load-more-wrap{
    text-align:center;
    margin:30px 0;
}

.subaru-load-more{
    padding:12px 28px;
    font-size:14px;
    font-weight:600;
    border-radius:4px;
    cursor:pointer;
    background:#0033A0;
    color:#fff;
    border:none;
}

.subaru-load-more:hover{
    opacity:.9;
}

/* ========================================
   FILTER SIDEBAR
======================================== */

.filter-container {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 120px;
}

.filter-container > li {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #e9e9e9;
}

.filter-container > li:last-child {
    border-bottom: none !important;
}

.filter-title {
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-title::after {
    content: "›";
    font-size: 18px;
    transition: transform 0.2s ease;
}

.filter-container > li.open .filter-title::after {
    transform: rotate(90deg);
}

.filter-options {
    max-height: 220px;
    overflow-y: auto;
    padding: 0 4px 12px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-options::-webkit-scrollbar {
    width: 6px;
}

.filter-options::-webkit-scrollbar-thumb {
    background: #d1d1d1;
    border-radius: 6px;
}

.filter-options::-webkit-scrollbar-thumb:hover {
    background: #b5b5b5;
}

.option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #444;
    cursor: pointer;
}

.option:hover {
    color: #1c4da1;
}

.option input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.filter-container {
    max-height: 75vh;
    overflow-y: auto;
}

.single-view .core-injection {
    width: 100%;
}


/* -----------------------------------------
   5 — LARGE DESKTOP (1201px+)
------------------------------------------ */

@media (min-width: 1201px) {

    .single-view .core-injection {
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 40px;
        align-items: start;
    }

    .vehicle-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 30px;
    }

}

body {
    overflow-x: hidden;
}

.subaru-offers-incentives {
    width: 100%;
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {
    
    .live-chat,
    .livechat,
    .chat-widget {
        bottom: 20px !important;
        right: 15px !important;
    }
    .single-view .core-injection {
        display: block !important;
        grid-template-columns: unset !important;
        gap: 0 !important;
    }

    .mobile-filter-container .filter-container {
        margin-bottom: 0;
        box-shadow: none;
        border-radius: 10px;
    }
    #full-lineup .filter-bar {
        width: auto !important;
    }

    .head-button {
        width: 100%;
        text-align: center;
        padding: 14px;
    }

    .subaru-category {
        margin-bottom: 40px;
        padding-bottom: 30px;
        border-bottom: 1px solid #eee;
    }

    .category-header {
        margin: 30px 0 20px;
    }

    .category-title {
        font-size: 18px;
    }

    .vehicle-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .single-listing {
        padding: 16px;
    }

    .listing-image {
        height: 160px;
    }
    .hidden-xs {
        display: none !important;
    }
}


@media (min-width: 480px) and (max-width: 767px) {

    .vehicle-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (min-width: 768px) and (max-width: 1024px) {

    .single-view .core-injection {
        display: block !important;
    }

    .filter-container {
        position: relative;
        top: auto;
        margin-bottom: 30px;
    }

    .flex-row.hidden-xs {
        display: flex;
        gap: 15px;
        margin-bottom: 30px;
    }
    .vehicle-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

}

@media (min-width: 1025px) and (max-width: 1200px) {

    .single-view .core-injection {
        display: grid;
        grid-template-columns: 240px 1fr;
        gap: 30px;
    }

    .vehicle-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}