/* ============================================================
   Hankook Tyres Dubai - page-specific components (mirrors continental-redesign.css)
   Extends: ../assets/css/flat-tyre-redesign.css (ft- design system)
   Fonts: Space Grotesk (headings), IBM Plex Sans (body),
          IBM Plex Mono (eyebrow / mono accents)
   ============================================================ */

/* ============================================================
   HERO FIXES
   ============================================================ */

/* The four Hankook trust facts are long enough to wrap onto three lines,
   which left the "/" separators orphaned at the end of each line.
   From 576px up, drop the separators and lay the facts out as a tidy 2x2
   grid with a red dot marker per fact. Below 576px the design system's
   existing pill-chip treatment takes over. */
@media (min-width: 576px) {
    .ft-hero-trust {
        display: grid;
        /* two across when the column is wide enough for the longest fact,
           otherwise one across - never a half-wrapped line */
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        align-items: start;
        gap: 12px 30px;
        font-size: 12px;
        letter-spacing: .4px;
    }

    .ft-hero-trust .ft-trust-sep {
        display: none;
    }

    .ft-hero-trust > span:not(.ft-trust-sep) {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        line-height: 1.35;
    }

    .ft-hero-trust > span:not(.ft-trust-sep)::before {
        content: "";
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--ft-red);
        flex: 0 0 auto;
    }

    /* first fact already carries the star icon */
    .ft-hero-trust > span:first-child::before {
        display: none;
    }

    .ft-hero-trust .fa-star {
        margin-right: 0;
    }
}

/* .ft-hero has padding-bottom:0 so the photo should meet the dark banner
   below it. Bootstrap's align-items-center was centring the shorter media
   column and leaving a ~30px white strip under the image. */
@media (min-width: 992px) {
    .ft-hero .row > [class*="col-lg-"]:last-child {
        align-self: flex-end;
    }
}

/* Google rating badge - top-right of the hero image */
.ft-hero-rating {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 22px 8px 9px;
    border-radius: 999px;
    background: rgba(40, 36, 32, .72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.ft-hero-rating:hover {
    color: #fff;
    background: rgba(40, 36, 32, .85);
}

.ft-hero-rating-g {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #fff;
}

.ft-hero-rating-text strong {
    display: block;
    font-family: var(--ft-font-heading);
    font-size: 19px;
    font-weight: 500;
    white-space: nowrap;
}

.ft-hero-rating-text strong .fa-star {
    font-size: .8em;
    margin: 0 2px;
}

.ft-hero-rating-text small {
    display: block;
    font-family: var(--ft-font-body);
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 575px) {
    .ft-hero-rating {
        top: 12px;
        right: 12px;
        gap: 9px;
        padding: 6px 14px 6px 6px;
    }

    .ft-hero-rating-g {
        width: 34px;
        height: 34px;
    }

    .ft-hero-rating-g svg {
        width: 20px;
        height: 20px;
    }

    .ft-hero-rating-text strong {
        font-size: 15px;
    }

    .ft-hero-rating-text small {
        font-size: 11px;
    }
}

/* Hero slider: Hankook banner + offer poster (Bootstrap carousel) */
.ft-hero-carousel .carousel-item img {
    object-fit: cover;
}

.ft-hero-media::after,
.ft-hero-rating,
.ft-hero-arrival {
    transition: opacity .4s ease;
}

.ft-hero-media.is-offer::after,
.ft-hero-media.is-offer .ft-hero-arrival {
    opacity: 0;
    pointer-events: none;
}

.ft-hero-dots {
    z-index: 3;
    justify-content: flex-end;
    margin: 0;
    left: auto;
    right: 18px;
    bottom: 16px;
    gap: 2px;
}

.ft-hero-dots [data-bs-target] {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background-color: #fff;
    opacity: .55;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .35);
}

.ft-hero-dots [data-bs-target].active {
    background-color: var(--ft-red, #e31e25);
    opacity: 1;
}

/* ---------- Shared: section sub-heading paragraph ---------- */
.ft-sub {
    font-family: var(--ft-font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ft-muted);
    max-width: 760px;
    margin: 18px 0 0;
}

.ft-sub--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.ft-section-cta {
    margin-top: 48px;
}

/* ============================================================
   CURATED COLLECTION - product cards
   Card component from ../assets/css/premium-tyre-slider.css
   (.premium-tyre-card / .tyre-brand-badge / .main-image /
    .car-model / .size-badge / .enquiry-btn-whatsapp).
   Only harmonisation with the ft- design system lives here.
   ============================================================ */
.ft-range {
    background: var(--ft-grey-bg);
}

.ft-range-grid {
    margin-top: 48px;
}

.ft-range-grid .premium-tyre-card {
    height: 100%;
    min-height: 0;
    border: 1px solid var(--ft-border);
    border-radius: 16px;
    padding: 26px 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .04);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ft-range-grid .premium-tyre-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .09);
    border-color: rgba(227, 30, 37, .3);
}

.ft-range-grid .tyre-brand-badge {
    top: 26px;
    left: 24px;
    max-width: 82px;
    height: 30px;
}

.ft-range-grid .premium-tyre-card .main-image {
    height: 190px;
    margin-bottom: 22px;
    padding: 10px;
}

.ft-range-grid .premium-tyre-card .main-image img {
    transition: transform .4s ease;
}

.ft-range-grid .premium-tyre-card:hover .main-image img {
    transform: scale(1.06);
}

/* Warranty badge - red accent to match the page palette */
.ft-range-grid .warranty-row {
    text-align: right;
    width: 100%;
    margin-bottom: 14px;
}

.ft-range-grid .warranty-badge {
    display: inline-block;
    background: rgba(227, 30, 37, .08);
    border: 1px solid rgba(227, 30, 37, .22);
    color: var(--ft-red);
    font-family: var(--ft-font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .4px;
    padding: 5px 11px;
    border-radius: 999px;
    white-space: nowrap;
}

.ft-range-grid .premium-tyre-card .car-model {
    font-family: var(--ft-font-heading);
    font-weight: 700;
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: -.3px;
    color: var(--ft-black);
    margin-bottom: 12px;
    min-height: 48px;
}

/* "Sizes Available" disclosure - button styled like the original <p> */
.ft-range-grid .size-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--ft-font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--ft-red);
    margin-bottom: 10px;
    transition: color .15s ease;
}

.ft-range-grid .size-toggle:hover {
    color: var(--ft-red-dark);
}

.ft-range-grid .size-toggle i {
    font-size: .85rem;
    transition: transform .25s ease;
}

.ft-range-grid .size-toggle[aria-expanded="false"] i {
    transform: rotate(-90deg);
}

.ft-range-grid .size-toggle[aria-expanded="false"]+.size-badges-wrapper {
    display: none;
}

.ft-range-grid .size-badges-wrapper {
    gap: 6px;
    margin-bottom: 14px;
}

.ft-range-grid .size-badge {
    background: var(--ft-black);
    font-family: var(--ft-font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3px;
    border-radius: 4px;
    padding: 5px 10px;
    text-transform: none;
}

.ft-range-grid .tyre-model-name {
    font-family: var(--ft-font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--ft-muted);
    border-top: 1px dashed #ececec;
    padding-top: 14px;
    margin: 0 0 16px;
}

.ft-range-grid .enquiry-btn-whatsapp {
    font-family: var(--ft-font-body);
    font-size: 14.5px;
    border-radius: 8px;
    padding: 12px 18px;
}

.ft-range-grid .enquiry-btn-whatsapp:hover {
    background: #1eb855;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .ft-range-grid .premium-tyre-card .car-model {
        min-height: 0;
    }

    .ft-range-grid .premium-tyre-card {
        margin-bottom: 0;
    }
}

@media (max-width: 575px) {
    .ft-range-grid .premium-tyre-card {
        padding: 22px 20px;
    }

    .ft-range-grid .premium-tyre-card .main-image {
        height: 165px;
    }
}

/* ============================================================
   INTRO PROSE + QUICK STATS
   ============================================================ */
.ft-intro {
    background: #fff;
}

.ft-intro p {
    font-family: var(--ft-font-body);
    font-size: 17px;
    line-height: 1.75;
    color: var(--ft-muted);
    margin-bottom: 20px;
}

.ft-intro p a {
    color: var(--ft-red);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ft-intro p a:hover {
    color: var(--ft-red-dark);
}

.ft-stats-label {
    font-family: var(--ft-font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ft-black);
    margin: 0 0 20px;
}

.ft-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.ft-stat-card {
    background: var(--ft-grey-bg);
    border-radius: 16px;
    padding: 26px 24px;
    border-left: 4px solid var(--ft-red);
}

.ft-stat-value {
    font-family: var(--ft-font-heading);
    font-weight: 700;
    font-size: clamp(26px, 2.8vw, 36px);
    line-height: 1.05;
    letter-spacing: -1px;
    color: var(--ft-black);
    margin: 0 0 8px;
}

.ft-stat-value .fa-star {
    font-size: .5em;
    color: var(--ft-red);
    margin-left: 3px;
    vertical-align: middle;
}

.ft-stat-label {
    font-family: var(--ft-font-body);
    font-size: 14px;
    line-height: 1.45;
    color: var(--ft-muted);
    margin: 0;
}

@media (max-width: 991px) {
    .ft-intro-stats {
        margin-top: 40px;
    }
}

@media (max-width: 575px) {
    .ft-stats {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   WHICH HANKOOK SUITS YOU - numbered cards + deep links
   ============================================================ */
.ft-suits {
    background: #fff;
}

.ft-suits .ft-steps {
    margin-top: 48px;
}

.ft-suits .ft-step {
    display: flex;
    flex-direction: column;
}

.ft-step-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-top: 16px;
    font-family: var(--ft-font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ft-red);
    text-decoration: none;
    transition: gap .18s ease, color .18s ease;
}

.ft-step-link:hover {
    color: var(--ft-red-dark);
    gap: 13px;
}

.ft-step-link i {
    font-size: 11px;
}

/* ============================================================
   EXPLORE THE RANGE - dark rows (tag chip variant)
   ============================================================ */
.ft-onsite .ft-sub {
    color: var(--ft-muted-dark);
}

.ft-onsite-tag {
    display: inline-block;
    background: rgba(227, 30, 37, .14);
    border: 1px solid rgba(227, 30, 37, .34);
    color: #ff5a5f;
    font-family: var(--ft-font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 13px;
    border-radius: 999px;
    margin-top: 10px;
}

/* ============================================================
   SCIENCE OF THE DRIVE - technology cards
   ============================================================ */
.ft-tech {
    background: var(--ft-grey-bg);
}

.ft-tech-grid {
    margin-top: 48px;
}

.ft-tech-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 28px;
    height: 100%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .04);
    transition: transform .18s ease, box-shadow .18s ease;
}

.ft-tech-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .08);
}

.ft-tech-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ft-tech-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--ft-red);
    color: #fff;
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ft-tech-num {
    font-family: var(--ft-font-heading);
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
    color: #e8e8ea;
}

.ft-tech-card h3 {
    font-family: var(--ft-font-heading);
    font-weight: 700;
    font-size: 20px;
    color: var(--ft-black);
    margin: 0 0 8px;
}

.ft-tech-card p {
    font-family: var(--ft-font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ft-muted);
    margin: 0;
}

.ft-tech-card p a {
    color: var(--ft-red);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ft-tech-card p a:hover {
    color: var(--ft-red-dark);
}

/* ============================================================
   PROFESSIONAL SERVICE - checklist
   ============================================================ */
.ft-service {
    background: #fff;
}

.ft-service-list {
    list-style: none;
    margin: 48px 0 0;
    padding: 0;
}

.ft-service-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 4px;
    border-top: 1px solid var(--ft-border);
    font-family: var(--ft-font-body);
    font-size: 17px;
    line-height: 1.5;
    color: var(--ft-text);
}

.ft-service-list li:last-child {
    border-bottom: 1px solid var(--ft-border);
}

.ft-service-list li a {
    color: var(--ft-red);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ft-service-list li a:hover {
    color: var(--ft-red-dark);
}

.ft-service-ico {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(227, 30, 37, .08);
    color: var(--ft-red);
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   EMERGENCY / ROADSIDE CTA - inline link on dark red bg
   ============================================================ */
.ft-emergency p a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ft-emergency p a:hover {
    color: var(--ft-yellow);
}

/* ============================================================
   VEHICLES THAT USE HANKOOK
   ============================================================ */
.ft-vehicles {
    background: var(--ft-dark-bg);
    text-align: center;
}

.ft-vehicles .ft-heading {
    color: #fff;
}

.ft-vehicles .ft-sub {
    color: var(--ft-muted-dark);
}

.ft-vehicles-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
}

.ft-vehicle-card {
    flex: 1 1 190px;
    max-width: 240px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    padding: 30px 20px;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.ft-vehicle-card:hover {
    border-color: rgba(227, 30, 37, .55);
    background: rgba(227, 30, 37, .07);
    transform: translateY(-4px);
}

.ft-vehicle-card i {
    color: var(--ft-red);
    font-size: 22px;
    margin-bottom: 14px;
    display: block;
}

.ft-vehicle-card span {
    font-family: var(--ft-font-heading);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: .3px;
    color: #fff;
}

/* ============================================================
   FINDING THE RIGHT FIT
   ============================================================ */
.ft-fit {
    background: var(--ft-grey-bg);
}

.ft-fit-grid {
    margin-top: 48px;
}

.ft-fit-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 26px;
    height: 100%;
    border-top: 3px solid var(--ft-yellow);
}

.ft-fit-num {
    font-family: var(--ft-font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: var(--ft-red);
    display: block;
    margin-bottom: 12px;
}

.ft-fit-card p {
    font-family: var(--ft-font-body);
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--ft-black);
    margin: 0;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991px) {
    .ft-sub {
        font-size: 16px;
    }

    .ft-service-list li {
        gap: 16px;
        font-size: 16px;
        padding: 18px 2px;
    }
}

@media (max-width: 575px) {
    .ft-tech-card {
        padding: 26px 22px;
    }

    .ft-vehicle-card {
        flex: 1 1 140px;
        padding: 24px 14px;
    }

    .ft-service-ico {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }

    .ft-stat-card {
        padding: 22px 20px;
    }
}

/* ============================================================
   CHOOSING YOUR HANKOOK - fit cards carry a title + line
   ============================================================ */
.ft-fit-card h3 {
    font-family: var(--ft-font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ft-black);
    margin: 0 0 8px;
}

.ft-fit-card h3 + p {
    font-size: 15.5px;
    font-weight: 400;
    color: var(--ft-muted);
}

/* ============================================================
   HANKOOK PAGE FIXES - responsive + link contrast
   ============================================================ */

/* Inline links in the "Find the Right Hankook" cards: brand red,
   matching the service-list and intro links (default was Bootstrap blue) */
.ft-step p a {
    color: var(--ft-red);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ft-step p a:hover {
    color: var(--ft-red-dark);
}

/* Link inside the intro of the dark "Cars That Leave the Factory" band */
.ft-vehicles .ft-sub a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ft-vehicles .ft-sub a:hover {
    color: var(--ft-yellow);
}

/* The shared .ft-btn-red is near-black, which vanishes on this dark band */
.ft-vehicles .ft-btn-red {
    background: #fff;
    color: var(--ft-black);
}

.ft-vehicles .ft-btn-red:hover {
    background: var(--ft-red);
    color: #fff;
}

/* Range-at-a-glance rows: long tags wrap instead of widening the grid
   past the screen on narrow phones */
.ft-onsite-row > div {
    min-width: 0;
}

.ft-onsite-tag {
    white-space: normal;
    line-height: 1.5;
}

/* 4-up card grid between 992px and 1199px: "ContiSportContact 5P" is wider
   than the card's text column at 19px */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .ft-range-grid .premium-tyre-card .car-model {
        font-size: 17px;
    }
}

/* Smallest phones (<=400px): keep model names and tags on as few lines as possible */
@media (max-width: 400px) {
    .ft-onsite-row {
        grid-template-columns: 40px 56px 1fr;
        gap: 14px;
    }

    .ft-onsite-row h3 {
        font-size: 19px;
    }

    .ft-onsite-tag {
        letter-spacing: 1px;
        padding: 5px 10px;
    }
}

/* Hero trust chips on phones: a little less padding so the long
   response-time chip fits on one line from 360px up */
@media (max-width: 575px) {
    .ft-hero .ft-hero-trust.ft-hero-trust--chips > span:not(.ft-trust-sep) {
        padding: 8px 12px;
    }
}

/* ============================================================
   HANKOOK - model code under each card title (e.g. K127B)
   ============================================================ */
.ft-range-grid .car-model .model-code {
    display: block;
    margin-top: 6px;
    font-family: var(--ft-font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--ft-red);
}

/* ============================================================
   HANKOOK - response + fitment band under the hero
   (extends .ft-tyre-size-banner: dark bg, yellow badge)
   ============================================================ */
.ft-info-band {
    padding: 48px 0;
    text-align: left;
}

.ft-info-band-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.ft-info-band-col + .ft-info-band-col {
    border-left: 1px solid rgba(255, 255, 255, .12);
    padding-left: 40px;
}

.ft-info-band-big {
    font-family: var(--ft-font-heading);
    font-weight: 700;
    font-size: 34px;
    line-height: 1.1;
    color: #fff;
    margin: 16px 0 10px;
}

.ft-info-band-text {
    font-family: var(--ft-font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--ft-muted-dark);
    margin: 0;
}

.ft-info-band-facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 16px 0 14px;
}

.ft-info-band-facts li {
    font-family: var(--ft-font-mono);
    font-size: 12px;
    letter-spacing: .4px;
    line-height: 1.35;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    padding: 7px 13px;
}

@media (max-width: 767.98px) {
    .ft-info-band {
        padding: 36px 0;
    }

    .ft-info-band-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ft-info-band-col + .ft-info-band-col {
        border-left: 0;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .12);
        padding-top: 28px;
    }

    .ft-info-band-big {
        font-size: 28px;
    }
}

/* ============================================================
   HANKOOK - short notes under the range, service list and sizing cards
   ============================================================ */
.ft-range-note {
    margin: 0 auto 24px;
}

.ft-service-note,
.ft-fit-note {
    margin-top: 28px;
}

.ft-range-note a,
.ft-service-note a,
.ft-fit-note a {
    color: var(--ft-red);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ft-range-note a:hover,
.ft-service-note a:hover,
.ft-fit-note a:hover {
    color: var(--ft-red-dark);
}

/* ============================================================
   AUDIT FIXES - shared Hankook/Goodyear template
   ============================================================ */

/* "Customer Voices" eyebrow sits above the reviews heading (both were inline) */
.cv-shared .ft-eyebrow {
    display: flex;
}

/* Range CTA: centre the WhatsApp button under the centred note */
.ft-range .ft-section-cta {
    text-align: center;
}

/* Sizing-note links: darker red for AA contrast on the grey section (5.54:1) */
.ft-fit-note a {
    color: var(--ft-red-dark);
}

.ft-fit-note a:hover {
    color: var(--ft-black);
}

/* Four "why" cards: 2x2 up to 1199px (markup uses col-md-6 col-xl-3);
   stack icon over text in the 4-up row at 1200-1399px so the text column stays readable */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .ft-why-grid .ft-why-card {
        flex-direction: column;
        gap: 14px;
    }
}

/* Four OE vehicle cards: 2x2 on tablets instead of 3 + 1 */
@media (min-width: 576px) and (max-width: 991.98px) {
    .ft-vehicles-grid {
        max-width: 496px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Smallest phones: keep long carmaker names on as few lines as possible */
@media (max-width: 399.98px) {
    .ft-vehicle-card {
        padding: 24px 8px;
    }

    .ft-vehicle-card span {
        font-size: 15px;
    }
}

/* Card titles carry a block model code: align the "Sizes Available" rows
   across multi-column card rows (2 title lines + 6px gap + code line) */
@media (min-width: 768px) {
    .ft-range-grid .premium-tyre-card .car-model {
        min-height: 69px;
    }
}

/* ============================================================
   MOBILE: product cards become a horizontal swipe row
   (below 768px; tablets/desktop keep the 2-up / 4-up grid)
   ============================================================ */
.ft-swipe-hint {
    display: none;
}

@media (max-width: 767.98px) {
    .ft-swipe-hint {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 18px 0 0;
        font-family: var(--ft-font-mono);
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: var(--ft-red);
    }

    .ft-range-grid {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-top: 16px;
        padding-top: 8px;
        padding-bottom: 16px;
    }

    .ft-range-grid::-webkit-scrollbar {
        display: none;
    }

    /* about 1.2 cards visible, so the next card peeks in */
    .ft-range-grid > [class*="col-"] {
        flex: 0 0 82%;
        max-width: 82%;
        scroll-snap-align: start;
    }

    /* no lift-on-hover inside the swipe row (it would be clipped) */
    .ft-range-grid .premium-tyre-card:hover {
        transform: none;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .ft-range-grid > [class*="col-"] {
        flex-basis: 58%;
        max-width: 58%;
    }
}

/* Cards list 1-7 sizes: pin the stock line + WhatsApp button to the card
   bottom so they line up across every row (and across the mobile swipe row) */
.ft-range-grid .premium-tyre-card .tyre-model-name {
    margin-top: auto;
}

.ft-range-grid .premium-tyre-card .enquiry-btn-whatsapp {
    margin-top: 0;
}

/* ============================================================
   AUDIT FIXES - Yokohama audit, shared by every brand page
   ============================================================ */

/* 992-1199px 4-up grid: two size badges per line instead of one,
   so cards with long size lists do not stretch their whole row */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .ft-range-grid .size-badge {
        padding: 5px 6px;
        letter-spacing: 0;
    }
}

/* Long fitment chips that wrap become rounded rectangles, not ovals */
.ft-info-band-facts li {
    border-radius: 16px;
}

/* Links inside FAQ answers: brand red + underline (not colour-only) */
.ft-faq-answer a {
    color: var(--ft-red);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ft-faq-answer a:hover {
    color: var(--ft-red-dark);
}

/* AA contrast: swipe hint on the grey range section, step-card labels on white */
.ft-swipe-hint {
    color: var(--ft-red-dark);
}

.ft-suits .ft-step-num span {
    color: var(--ft-muted);
}
