/* Home page section UI — complements listing.css for compare/brands/news */

.home-section-wrap {
    padding: 0;
    margin-bottom: 28px;
}

.home-section {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8ecf0;
    box-shadow: 0 2px 12px rgba(36, 39, 44, 0.06);
    overflow: hidden;
    margin: 0 auto;
}

.home-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 22px 14px;
    border-bottom: 1px solid #f0f2f5;
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.home-section-title {
    margin: 0;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 800;
    color: #12263a;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.home-section-sub {
    margin: 4px 0 0;
    font-size: 13px;
    color: #4b5563;
    line-height: 1.4;
}

.home-section-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 20px 0;
    margin: 0;
    list-style: none;
    border-bottom: 1px solid #f0f2f5;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.home-section-tabs::-webkit-scrollbar {
    display: none;
}

.home-section-tabs > li {
    flex: 0 0 auto;
    margin: 0;
}

.home-section-tabs > li > a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    background: #f3f4f6;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.home-section-tabs > li > a:hover,
.home-section-tabs > li > a:focus {
    color: #24272c;
    text-decoration: none;
    background: #e8eaed;
}

.home-section-tabs > li.active > a,
.home-section-tabs > li.active > a:hover,
.home-section-tabs > li.active > a:focus {
    background: #d81517;
    color: #fff;
}

/* Price range chips — single horizontal scroll row (never wrap / stack). */
.tb-home-page .home-price-chips,
.home-price-chips {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 20px 12px;
    margin: 0;
    list-style: none;
    border-bottom: 1px solid #f0f2f5;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.tb-home-page .home-price-chips[hidden],
.home-price-chips[hidden] {
    display: none !important;
}

.home-price-chips::-webkit-scrollbar {
    display: none;
}

.tb-home-page .home-price-chips > li,
.home-price-chips > li {
    flex: 0 0 auto !important;
    float: none !important;
    width: auto !important;
    margin: 0;
}

.home-price-chips > li > a {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
    background: #fff;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.home-price-chips > li > a:hover,
.home-price-chips > li > a:focus {
    color: #24272c;
    border-color: #d1d5db;
    text-decoration: none;
    background: #f9fafb;
}

.home-price-chips > li.active > a,
.home-price-chips > li.active > a:hover,
.home-price-chips > li.active > a:focus {
    background: #fff5f5;
    color: #d81517;
    border-color: #d81517;
}

.home-section-body {
    padding: 16px 0 6px;
}

.home-section-footer {
    padding: 4px 20px 18px;
    text-align: center;
}

.home-section-view-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #d81517;
    text-decoration: none;
}

.home-section-view-all:hover {
    color: #b01012;
    text-decoration: none;
}

/* Product cards (Popular / Latest) */
.tb-home-product-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 20px 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tb-home-product-track::-webkit-scrollbar {
    display: none;
}

.tb-home-product-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(36, 39, 44, 0.05);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.tb-home-product-card:hover {
    border-color: #e5e7eb;
    box-shadow: 0 6px 18px rgba(36, 39, 44, 0.1);
    transform: translateY(-2px);
}

.tb-home-product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.tb-home-product-link:hover {
    text-decoration: none;
    color: inherit;
}

.tb-home-product-img {
    aspect-ratio: 16 / 10;
    background: #f8f9fb;
    overflow: hidden;
}

.tb-home-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tb-home-product-name {
    margin: 0;
    padding: 12px 14px 4px;
    font-size: 14px;
    font-weight: 700;
    color: #24272c;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.tb-home-product-cta {
    padding: 8px 12px 12px;
    margin-top: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
}

/* Outline CTA — enquiry button only (not View details link) */
.home-section .tb-home-product-btn,
.home-section .tb-home-product-cta .card-link,
.home-section .tb-home-product-cta > a.tb-home-product-btn,
.tb-home-product-btn,
.tb-home-product-cta .card-link,
.tb-home-product-cta > a.tb-home-product-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    min-height: 40px;
    padding: 0 12px !important;
    margin: 0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #c92127 !important;
    border: 1.5px solid #c92127 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.01em;
    text-decoration: none !important;
    text-align: center;
    text-transform: none !important;
    box-shadow: none !important;
    transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

.home-section .tb-home-product-btn:hover,
.home-section .tb-home-product-cta > a.tb-home-product-btn:hover,
.tb-home-product-btn:hover,
.tb-home-product-cta .card-link:hover,
.home-section .tb-home-product-btn:focus,
.tb-home-product-cta > a.tb-home-product-btn:focus {
    background: #c92127 !important;
    border-color: #c92127 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(201, 33, 39, 0.22) !important;
    text-decoration: none !important;
}

.home-section .tb-home-product-btn:active,
.tb-home-product-cta > a.tb-home-product-btn:active {
    transform: scale(0.98);
}

.tb-home-product-details {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-height: auto !important;
    padding: 2px 4px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #6b7280 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    text-transform: none !important;
}

.home-section .tb-home-product-details:hover,
.tb-home-product-details:hover,
.home-section .tb-home-product-details:focus,
.tb-home-product-details:focus {
    color: #c92127 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: underline !important;
}

/* Category cards */
.tb-home-category-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 20px 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.tb-home-category-track::-webkit-scrollbar {
    display: none;
}

.tb-home-category-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 4px rgba(36, 39, 44, 0.05);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.tb-home-category-card:hover {
    border-color: #d81517;
    box-shadow: 0 4px 14px rgba(216, 21, 23, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.tb-home-category-img {
    aspect-ratio: 16 / 10;
    background: #f0f2f5;
    overflow: hidden;
}

.tb-home-category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tb-home-category-body {
    padding: 14px 14px 16px;
    background: #fafbfc;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tb-home-category-name {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #24272c;
    line-height: 1.35;
}

.tb-home-category-cta {
    font-size: 13px;
    font-weight: 600;
    color: #d81517;
    margin-top: auto;
}

/* Used vehicle cards */
.tb-home-used-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 20px 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.tb-home-used-track::-webkit-scrollbar {
    display: none;
}

.tb-home-used-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 4px rgba(36, 39, 44, 0.05);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.tb-home-used-card:hover {
    border-color: #d81517;
    box-shadow: 0 4px 14px rgba(216, 21, 23, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.tb-home-used-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f0f2f5;
}

.tb-home-used-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tb-home-used-body {
    padding: 14px 14px 16px;
}

.tb-home-used-name {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #24272c;
}

.tb-home-used-cta {
    font-size: 13px;
    font-weight: 600;
    color: #d81517;
}

/* Compare on home — tabs inside section */
.home-compare-section .listing-compare-header {
    border-bottom: none;
    padding-bottom: 0;
}

.home-compare-section .home-section-tabs {
    border-bottom: none;
    padding-top: 0;
}

.home-compare-section .listing-compare-body {
    padding-top: 8px;
}

.home-compare-section .listing-compare-footer {
    display: none;
}

.home-promo-banner {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8ecf0;
    box-shadow: 0 2px 12px rgba(36, 39, 44, 0.06);
    overflow: hidden;
}

.home-promo-banner .card-body {
    padding: 12px 16px;
}

.tb-home-promo {
    text-align: center;
    min-height: 0;
    line-height: 0;
}

.tb-home-promo__desktop {
    display: block;
}

.tb-home-promo__mobile {
    display: none;
}

.tb-home-promo img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 767px) {
    .tb-home-promo__desktop {
        display: none;
    }

    .tb-home-promo__mobile {
        display: block;
    }
}

/* Home hero carousel */
.tb-home-page .tb-home-hero {
    margin: 0;
    overflow: hidden;
    background: #f0f2f5;
}

.tb-home-h1 {
    margin: 0 0 10px;
    padding: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: #12263a;
}

/* One composition: H1 + shop CTAs + tools (cuts the 4-row clutter). */
.tb-home-start {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 14px;
    box-shadow: 0 1px 4px rgba(36, 39, 44, 0.04);
    padding: 14px 16px 12px;
    margin: 14px 0 16px;
    min-height: 118px;
}

.tb-home-start__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin: 0 0 10px;
}

.tb-home-intent {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.tb-home-intent__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #12263a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.tb-home-intent__chip:hover,
.tb-home-intent__chip:focus {
    border-color: #c92127;
    color: #c92127;
    text-decoration: none;
}

.tb-home-intent__chip--primary {
    background: #c92127;
    border-color: #c92127;
    color: #fff;
}

.tb-home-intent__chip--primary:hover,
.tb-home-intent__chip--primary:focus {
    background: #b01c21;
    border-color: #b01c21;
    color: #fff;
}

.tb-home-loc-cta {
    margin: 0;
    min-height: 18px;
    visibility: visible;
    pointer-events: auto;
}

.tb-home-loc-cta:not(.is-set) {
    opacity: 0.72;
}

.tb-home-loc-cta.is-set {
    opacity: 1;
}

.tb-home-loc-cta__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tb-home-loc-cta__link:hover,
.tb-home-loc-cta__link:focus {
    color: #c92127;
    text-decoration: none;
}

.tb-home-loc-cta__link strong {
    font-weight: 700;
    color: #c92127;
}

.tb-home-quick-tools {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid #f0f2f5;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tb-home-quick-tools::-webkit-scrollbar {
    display: none;
}

.tb-home-quick-tools__label {
    flex: 0 0 auto;
    margin-right: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #9ca3af;
}

.tb-home-quick-tools__item {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #4b5563;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
    position: relative;
}

.tb-home-quick-tools__item + .tb-home-quick-tools__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 12px;
    margin-top: -6px;
    background: #e5e7eb;
}

.tb-home-quick-tools__item:hover,
.tb-home-quick-tools__item:focus {
    color: #c92127;
    background: transparent;
    text-decoration: none;
}

/* Sticky mobile lead bar */
.tb-home-sticky-cta {
    display: none;
}

@media (min-width: 992px) {
    .tb-home-start {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "title title"
            "actions tools";
        align-items: center;
        column-gap: 20px;
        row-gap: 8px;
        padding: 16px 20px;
        margin: 16px 0 18px;
        min-height: 96px;
    }

    .tb-home-h1 {
        grid-area: title;
        margin: 0;
        font-size: 1.1rem;
    }

    .tb-home-start__actions {
        grid-area: actions;
        margin: 0;
    }

    .tb-home-quick-tools {
        grid-area: tools;
        justify-self: end;
        margin: 0;
        padding: 0;
        border-top: 0;
        border-left: 1px solid #f0f2f5;
        padding-left: 16px;
    }
}

@media (max-width: 767px) {
    .tb-home-start {
        padding: 12px 12px 10px;
        margin: 10px 0 12px;
        border-radius: 12px;
        min-height: 148px;
    }

    .tb-home-h1 {
        margin: 0 0 8px;
        font-size: 0.95rem;
    }

    .tb-home-start__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin: 0 0 8px;
    }

    .tb-home-intent {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .tb-home-intent__chip {
        min-height: 38px;
        padding: 0 10px;
        font-size: 12px;
    }

    .tb-home-intent__chip--primary {
        grid-column: 1 / -1;
    }

    .tb-home-loc-cta__link {
        font-size: 12px;
        justify-content: flex-start;
    }

    .tb-home-quick-tools {
        padding-top: 8px;
    }

    .tb-home-quick-tools__label {
        display: none;
    }

    .tb-home-sticky-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        display: flex;
        gap: 8px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
        background: #fff;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -6px 20px rgba(18, 38, 58, 0.12);
        transform: translateY(110%);
        transition: transform 0.22s ease;
    }

    .tb-home-sticky-cta.is-visible {
        transform: translateY(0);
    }

    .tb-home-sticky-cta[hidden] {
        display: none !important;
    }

    .tb-home-sticky-cta__call,
    .tb-home-sticky-cta__lead {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
        line-height: 1.2;
    }

    .tb-home-sticky-cta__call {
        flex: 0 0 96px;
        border: 1.5px solid #c92127;
        color: #c92127;
        background: #fff;
    }

    .tb-home-sticky-cta__lead {
        flex: 1 1 auto;
        background: #c92127;
        color: #fff;
        border: 1.5px solid #c92127;
    }
}

@media (max-width: 767px) {
    .tb-home-page .tb-home-carousel .carousel-inner {
        aspect-ratio: 16 / 5;
        max-height: 113px;
    }

    .tb-home-page .tb-home-carousel .carousel-inner img {
        height: 100%;
        object-fit: cover;
    }
}

.tb-home-page .tb-home-carousel {
    margin: 0;
}

.tb-home-page .tb-home-carousel .carousel-inner {
    aspect-ratio: 1600 / 395;
    max-height: 395px;
    background: #f0f2f5;
    overflow: hidden;
}

.tb-home-page .tb-home-carousel .carousel-inner > .item {
    max-height: none;
}

.tb-home-page .tb-home-carousel .carousel-inner > .item > a {
    display: block;
    line-height: 0;
}

.tb-home-page .tb-home-carousel .carousel-inner img {
    width: 100% !important;
    max-width: 100%;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block;
    margin: 0 auto;
}

.tb-home-page .tb-home-carousel .carousel-control {
    width: 44px;
    background-image: none;
    opacity: 0.85;
}

.tb-home-page .tb-home-carousel .carousel-control .glyphicon {
    width: 44px;
    height: 44px;
    margin-top: -22px;
    font-size: 16px;
    line-height: 44px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 50%;
    text-shadow: none;
}

.tb-home-page .home-section-wrap {
    margin-bottom: 28px;
    max-width: 1170px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

.tb-home-page .tb-home-promo-wrap {
    margin-bottom: 16px !important;
    min-height: 0 !important;
}

.tb-home-page .tb-home-brands-wrap {
    min-height: 0 !important;
}

.tb-home-page .home-promo-banner .card-body {
    padding: 10px 14px;
}

/* Read-more / misc blocks below hero — same centered column (not footer). */
.tb-home-page > .section-full:not(.home-section-wrap) {
    max-width: 1170px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

/* H1 row matches section column */
.tb-home-page > .container {
    max-width: 1170px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

/* Hero / banner stays edge-to-edge */
.tb-home-page .tb-home-hero {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.home-section {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 14px;
    box-shadow: 0 1px 4px rgba(36, 39, 44, 0.04);
    overflow: hidden;
}

.tb-home-page .home-section,
.tb-home-page .listing-brands-section,
.tb-home-page .listing-news-section,
.tb-home-page .listing-compare-section,
.tb-home-page .home-promo-banner {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.tb-home-page .home-section > .container,
.tb-home-page .listing-brands-section > .container,
.tb-home-page .listing-news-section > .container,
.tb-home-page .listing-compare-section > .container {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

/* Compare header on home */
.home-compare-section .listing-compare-header {
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .tb-home-page .home-section-wrap,
    .tb-home-page > .section-full:not(.home-section-wrap),
    .tb-home-page > .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .tb-home-page .home-section,
    .tb-home-page .listing-brands-section,
    .tb-home-page .listing-news-section,
    .tb-home-page .home-promo-banner,
    .tb-home-page .listing-compare-section {
        border-radius: 12px;
    }
}

@media (max-width: 767px) {
    .tb-home-page {
        overflow-x: hidden;
    }

    .tb-home-page .tb-home-carousel .carousel-inner img {
        height: 100% !important;
        max-height: none !important;
        object-fit: cover !important;
    }

    .tb-home-page .tb-home-carousel .carousel-control {
        width: 36px;
    }

    .tb-home-page .tb-home-carousel .carousel-control .glyphicon {
        width: 32px;
        height: 32px;
        margin-top: -16px;
        font-size: 14px;
        line-height: 32px;
    }

    .tb-home-page .home-section-wrap,
    .tb-home-page > .section-full:not(.home-section-wrap),
    .tb-home-page > .container {
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 14px !important;
    }

    .tb-home-page .home-section > .container,
    .tb-home-page .listing-brands-section > .container,
    .tb-home-page .listing-news-section > .container,
    .tb-home-page .listing-compare-section > .container {
        padding-left: 0;
        padding-right: 0;
    }

    .home-section-header {
        flex-direction: column;
        align-items: stretch;
        padding: 14px 14px 10px;
        gap: 8px;
    }

    .home-section-title {
        font-size: 1.35rem;
    }

    .home-section-sub {
        font-size: 13px;
    }

    .home-section-tabs {
        padding: 8px 14px 0;
        gap: 6px;
    }

    .home-section-tabs > li > a {
        padding: 7px 12px;
        font-size: 12px;
    }

    .home-section-body {
        padding: 12px 0 4px;
    }

    .tb-home-product-track,
    .tb-home-category-track,
    .tb-home-used-track {
        padding: 4px 14px 12px;
        gap: 10px;
        scroll-padding-left: 14px;
    }

    /* Peek next card so swipe is obvious */
    .tb-home-product-card {
        flex: 0 0 66vw;
        max-width: 220px;
    }

    .tb-home-category-card {
        flex: 0 0 70vw;
        max-width: 250px;
    }

    .tb-home-used-card {
        flex: 0 0 78vw;
        max-width: 280px;
    }

    .tb-home-product-name {
        font-size: 13px;
        min-height: 44px;
        padding: 10px 10px 0;
    }

    .tb-home-product-cta {
        padding: 8px 10px 12px;
    }

    .tb-home-product-btn,
    .tb-home-product-cta .card-link,
    .tb-home-product-cta a {
        padding: 11px 10px;
        font-size: 13px;
        min-height: 42px;
        position: relative;
        z-index: 2;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .tb-home-used-name {
        font-size: 15px;
    }

    .home-section-footer {
        padding: 2px 14px 14px;
    }

    .home-promo-banner .card-body {
        padding: 10px;
    }

    .tb-home-promo__mobile img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .home-compare-section .listing-compare-header {
        padding: 14px 14px 8px;
        flex-direction: column;
        align-items: stretch;
    }

    .home-compare-section .listing-compare-view-all--header {
        display: none;
    }

    .home-compare-section .home-section-tabs {
        padding: 0 14px 0;
    }

    .home-compare-section .listing-compare-footer {
        display: block;
        text-align: center;
        padding: 4px 14px 16px;
    }

    .tb-home-page .rm-footer-wrap {
        padding-left: 10px;
        padding-right: 10px;
    }

    .tb-home-page button.scroltop {
        bottom: 20px !important;
        right: 16px !important;
        width: 40px;
        height: 40px;
    }
}

.home-stories-videos-section .tab-content.home-section-body {
    min-height: 280px;
    contain: layout style;
}

.home-media-section .home-section-header,
.home-stories-section .home-section-header,
.home-stories-videos-section .home-section-header {
    display: block;
}

.home-media-section .home-section-footer,
.home-stories-section .home-section-footer,
.home-stories-videos-section .home-section-footer {
    display: block;
    text-align: center;
}

.tb-stories-wrap {
    position: relative;
}

.tb-stories-swipe-hint {
    display: none;
    margin: 0 0 8px;
    text-align: right;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: 0.02em;
}

.tb-stories-swipe-hint span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tb-stories-swipe-hint span::after {
    content: "";
    width: 18px;
    height: 10px;
    border-right: 2px solid #9ca3af;
    border-bottom: 2px solid #9ca3af;
    transform: rotate(-45deg);
    opacity: 0.85;
    animation: tbStoriesSwipe 1.4s ease-in-out infinite;
}

@keyframes tbStoriesSwipe {
    0%, 100% { transform: rotate(-45deg) translateX(0); opacity: 0.45; }
    50% { transform: rotate(-45deg) translateX(4px); opacity: 1; }
}

.tb-stories-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 12px;
}

.tb-stories-track::-webkit-scrollbar {
    height: 6px;
}

.tb-story-card {
    flex: 0 0 148px;
    width: 148px;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.tb-story-card-img {
    position: relative;
    width: 100%;
    height: 230px;
    border-radius: 14px;
    overflow: hidden;
    background: #eef1f4;
    line-height: 0;
}

.tb-story-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.tb-story-card-title {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
    color: #1f2933;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.9em;
}

.tb-story-card:hover .tb-story-card-title {
    color: #c8102e;
}

@media (max-width: 767px) {
    .tb-stories-swipe-hint {
        display: block;
    }

    .tb-story-card {
        flex-basis: 132px;
        width: 132px;
    }

    .tb-story-card-img {
        height: 205px;
    }

    .home-media-section .home-section-header,
    .home-stories-section .home-section-header,
    .home-stories-videos-section .home-section-header {
        padding: 14px 14px 8px;
    }
}

/* Latest Videos — YouTube facades only (no eager iframes) */
.tb-home-videos-wrap {
    position: relative;
}

.tb-home-videos-swipe-hint {
    display: none;
    margin: 0 0 8px;
    text-align: right;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: 0.02em;
}

.tb-home-videos-swipe-hint span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tb-home-videos-swipe-hint span::after {
    content: "";
    width: 18px;
    height: 10px;
    border-right: 2px solid #9ca3af;
    border-bottom: 2px solid #9ca3af;
    transform: rotate(-45deg);
    opacity: 0.85;
    animation: tbStoriesSwipe 1.4s ease-in-out infinite;
}

.tb-home-videos-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 12px;
    contain: layout style;
}

.tb-home-videos-track::-webkit-scrollbar {
    height: 6px;
}

.tb-home-video-card {
    flex: 0 0 min(78%, 280px);
    width: min(78%, 280px);
    max-width: 280px;
    scroll-snap-align: start;
}

.tb-home-video-facade.tb-yt-facade {
    position: relative;
    display: block;
    width: 100%;
    height: 0;
    padding: 0 0 56.25%;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #0f172a;
}

.tb-home-video-facade.tb-yt-facade img,
.tb-home-video-facade.tb-yt-facade iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

.tb-yt-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    border-radius: 50%;
    background: rgba(200, 16, 46, 0.92);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.tb-yt-play::after {
    content: "";
    position: absolute;
    left: 22px;
    top: 18px;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #fff;
}

.tb-yt-facade.is-playing .tb-yt-play {
    display: none;
}

.tb-home-video-badge {
    position: absolute;
    left: 8px;
    top: 8px;
    z-index: 1;
    padding: 3px 8px;
    border-radius: 4px;
    background: #0b7a3e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    pointer-events: none;
}

.tb-home-video-title {
    display: -webkit-box;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #12263a;
    line-height: 1.35;
    text-decoration: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

.tb-home-video-title:hover {
    color: #c8102e;
}

@media (max-width: 767px) {
    .tb-home-videos-swipe-hint {
        display: block;
    }

    .tb-home-video-card {
        flex-basis: min(82%, 260px);
        width: min(82%, 260px);
    }

    .tb-yt-play {
        width: 48px;
        height: 48px;
        margin: -24px 0 0 -24px;
    }

    .tb-yt-play::after {
        left: 18px;
        top: 15px;
        border-width: 9px 0 9px 14px;
    }
}


/* === Home CWV: compare + brands (from listing.css) — sync in home-sections so cards paint without chrome/legacy === */
.tb-home-page .m-b20,
.m-b20 { margin-bottom: 20px !important; }
.tb-home-page .section-full { clear: both; }
.tb-home-page .clearfix::after { content: ""; display: table; clear: both; }

.listing-compare-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #f0f2f5;
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.listing-compare-title {
    margin: 0;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 800;
    color: #12263a;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.listing-compare-sub {
    margin: 4px 0 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

.listing-compare-view-all {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border: 1.5px solid #d81517;
    border-radius: 20px;
    color: #d81517;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.listing-compare-view-all:hover {
    background: #d81517;
    color: #fff;
    text-decoration: none;
}

.listing-compare-body {
    padding: 16px 0 18px;
}

.tb-compare-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 20px 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tb-compare-track::-webkit-scrollbar {
    display: none;
}

.tb-compare-track.owl-carousel {
    display: block;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
}

.tb-compare-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    padding: 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    box-shadow: 0 1px 4px rgba(36, 39, 44, 0.05);
}

.tb-compare-card:hover {
    border-color: #d81517;
    box-shadow: 0 4px 16px rgba(216, 21, 23, 0.12);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.tb-compare-card-visual {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.tb-compare-card-vehicle {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.tb-compare-card-img-wrap {
    background: #f8f9fb;
    border-radius: 10px;
    padding: 8px;
    margin-bottom: 8px;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tb-compare-card-img-wrap img {
    max-width: 100%;
    max-height: 82px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.tb-compare-card-name {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #24272c;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tb-compare-vs {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #24272c;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 50%;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 6px rgba(36, 39, 44, 0.2);
}

.tb-compare-card-cta {
    display: block;
    text-align: center;
    padding: 10px 12px;
    background: #fff5f5;
    border: 1px solid #fde8e8;
    border-radius: 8px;
    color: #d81517;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.15s;
}

.tb-compare-card:hover .tb-compare-card-cta {
    background: #d81517;
    border-color: #d81517;
    color: #fff;
}

.tb-compare-track.owl-carousel .tb-compare-card.item {
    width: 320px;
    margin-right: 14px;
}

.tb-compare-empty {
    padding: 24px 20px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

@media (max-width: 767px) {
    .listing-compare-header {
        flex-direction: column;
        align-items: stretch;
        padding: 16px 16px 12px;
    }

    .listing-compare-view-all {
        align-self: flex-start;
    }

    .listing-compare-title {
        font-size: 1.35rem;
    }

    .tb-compare-track {
        padding: 4px 16px 8px;
        gap: 12px;
    }

    .tb-compare-card {
        flex: 0 0 272px;
        padding: 12px;
    }

    .tb-compare-vs {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }

    .tb-compare-card-name {
        font-size: 11px;
    }
}

/* ——— Brands section (listing) ——— */
.listing-brands-wrap {
    padding: 0;
}

/* Card shell — required on CWV home (listing.css is not loaded). */
.listing-brands-section {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8ecf0;
    box-shadow: 0 2px 12px rgba(36, 39, 44, 0.06);
    overflow: hidden;
    margin: 0 auto;
    padding: 0;
}

.tb-home-page .listing-brands-section.tb-detail-brands {
    /* Ignore detail-page padding/margin assumptions; match other home cards. */
    margin: 0 auto;
    padding: 0;
    border-radius: 14px;
    box-shadow: 0 1px 4px rgba(36, 39, 44, 0.04);
}

.listing-brands-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #f0f2f5;
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.listing-brands-title {
    margin: 0;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 800;
    color: #12263a;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.listing-brands-sub {
    margin: 4px 0 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

.listing-brands-view-all {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border: 1.5px solid #d81517;
    border-radius: 20px;
    color: #d81517;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.listing-brands-view-all:hover {
    background: #d81517;
    color: #fff;
    text-decoration: none;
}

.listing-brands-body {
    padding: 16px 0 18px;
}

.tb-brands-track {
    display: flex;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 20px 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tb-brands-track::-webkit-scrollbar {
    display: none;
}

.tb-brands-track.owl-carousel {
    display: block;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
}

.tb-brand-card {
    flex: 0 0 132px;
    width: 132px;
    max-width: 132px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    padding: 14px 10px 12px;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    box-shadow: 0 1px 4px rgba(36, 39, 44, 0.05);
}

.tb-brand-card:hover {
    border-color: #d81517;
    box-shadow: 0 4px 14px rgba(216, 21, 23, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.tb-brand-card-logo {
    width: 100%;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fb;
    border-radius: 10px;
    padding: 10px 8px;
    margin-bottom: 10px;
}

.tb-brand-card-logo img {
    max-width: 100%;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.tb-brand-card-name {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #24272c;
    text-align: center;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.tb-brands-track.owl-carousel .tb-brand-card.item {
    width: 140px;
    margin-right: 12px;
}

.tb-brands-empty {
    padding: 24px 20px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

.tb-brands-section--legacy .listing-brands-body {
    padding: 0 0 16px;
}

/* Desktop: one even row of brand cards (no wrap / stack). */
@media (min-width: 992px) {
    .tb-home-page .tb-brands-track {
        display: flex;
        flex-wrap: nowrap !important;
        justify-content: space-between;
        gap: 12px;
        overflow-x: hidden;
        padding: 4px 22px 10px;
    }

    .tb-home-page .tb-brand-card {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        max-width: none;
    }
}

@media (max-width: 767px) {
    .listing-brands-header {
        flex-direction: column;
        align-items: stretch;
        padding: 16px 16px 12px;
    }

    .listing-brands-view-all {
        align-self: flex-start;
    }

    .listing-brands-title {
        font-size: 1.35rem;
    }

    .tb-brands-track {
        padding: 4px 16px 8px;
        gap: 10px;
    }

    .tb-brand-card {
        flex: 0 0 118px;
        width: 118px;
        max-width: 118px;
        padding: 12px 8px 10px;
    }

    .tb-brand-card-logo {
        min-height: 64px;
        padding: 8px 6px;
    }

    .tb-brand-card-logo img {
        max-height: 48px;
    }

    .tb-brand-card-name {
        font-size: 11px;
    }
}

/* === News & Blog cards (from listing.css) — sync for CWV home === */
.tb-news-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 20px 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tb-news-track::-webkit-scrollbar {
    display: none;
}

.tb-news-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    margin: 0;
}

.tb-news-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    box-shadow: 0 1px 4px rgba(36, 39, 44, 0.05);
}

.tb-news-card-link:hover {
    border-color: #d81517;
    box-shadow: 0 4px 14px rgba(216, 21, 23, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.tb-news-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f0f2f5;
    overflow: hidden;
}

.tb-news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tb-news-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
    padding: 14px 14px 16px;
}

.tb-news-card-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #24272c;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tb-news-card-excerpt {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.tb-news-card-read {
    font-size: 13px;
    font-weight: 600;
    color: #d81517;
    margin-top: auto;
}

@media (max-width: 767px) {
    .listing-news-header {
        flex-direction: column;
        align-items: stretch;
        padding: 16px 16px 12px;
    }

    .listing-news-view-all {
        align-self: flex-start;
    }

    .listing-news-title {
        font-size: 18px;
    }

    .tb-news-track {
        padding: 4px 16px 8px;
        gap: 12px;
    }

    .tb-news-card {
        flex: 0 0 248px;
    }

    .tb-news-card-body {
        padding: 12px 12px 14px;
    }

    .tb-news-card-title {
        font-size: 14px;
    }

    .tb-news-card-excerpt {
        font-size: 12px;
    }
}

/* === Tools For Help / popular services â€” sync for CWV home === */
/* Popular Services â€” Tools For Help (popularServices.ascx) */
.tb-services-section {
    padding: 28px 0 16px;
    background: #fff;
    border-top: 1px solid #eceef1;
}

.tb-services-header {
    margin-bottom: 20px;
}

.tb-services-title {
    margin: 0 0 6px;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 800;
    color: #12263a;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.tb-services-subtitle {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.tb-services-carousel-wrap {
    position: relative;
    overflow: hidden;
    min-height: 1px;
}

.tb-services-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 2px 2px 10px;
    scrollbar-width: thin;
}

.tb-services-track::-webkit-scrollbar {
    height: 6px;
}

.tb-services-track::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 999px;
}

.tb-service-card {
    flex: 0 0 148px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    width: 148px;
    height: auto;
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #12263a;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.tb-service-card:hover,
.tb-service-card:focus {
    text-decoration: none;
    color: #12263a;
    border-color: #f5c6c7;
    box-shadow: 0 8px 24px rgba(36, 39, 44, .1);
    transform: translateY(-2px);
}

.tb-service-card-media {
    position: relative;
    height: 100px;
    overflow: hidden;
    background: #f8f9fb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.tb-service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform .25s ease;
}

.tb-service-card:hover .tb-service-card-media img {
    transform: scale(1.04);
}

.tb-service-card-title {
    display: block;
    padding: 12px 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    color: #12263a;
    min-height: 52px;
}

@media (max-width: 767px) {
    .tb-services-section {
        padding: 20px 0 12px;
    }

    .tb-services-title {
        font-size: 1.35rem;
    }

    .tb-service-card {
        flex-basis: 132px;
        width: 132px;
    }

    .tb-service-card-media {
        height: 84px;
        padding: 10px;
    }

    .tb-service-card-title {
        font-size: 12px;
        min-height: 48px;
        padding: 10px 8px;
    }
}

