/* ==========================================================================
   Motomarine v3 · Boat feed
   .cs-feed-head       heading, full-width search, active filter chips
   .cs-listing-bar     results count + per page / sort selects
   .cs-filter          sidebar filter panel (groups, checks, range, tags)
   .cs-filter-toggle   mobile button that opens the panel (< 992px)
   .cs-range           styled range input with a live value
   .cs-side-widget     sidebar box: brand list (.cs-brandlist) / motor chips (.cs-motorlist)
   .cs-feed-row        list row: photo, title, spec grid, three-cell action bar
   .cs-feed-card       richer row: photo, badges, title, spec chips, blurb, price column with buttons
   ========================================================================== */

/* --- Chip (filter tags, active filters) --- */
.cs-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 16px;
    border: 1px solid var(--border-strong);
    border-radius: 0;
    background: var(--white);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: var(--transition);
}
.cs-tag i {
    font-size: 14px;
}
.cs-tag:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}
.cs-tag.is-active {
    border-color: var(--secondary);
    background: var(--secondary);
    color: var(--white);
}

/* ---------- Feed head ---------- */
.cs-feed-head {
    margin-bottom: 16px;
}
.cs-feed-head h2 {
    font-size: var(--h3);
    margin-bottom: 16px;
}
.cs-feed-head .cs-input-group .cs-input {
    height: 52px;
    font-size: 15px;
}
.cs-feed-head .cs-input-group i {
    font-size: 18px;
    color: var(--heading);
}
.cs-active-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-top: 12px;
    font-size: 14px;
    color: var(--muted);
}
.cs-active-filters__label {
    margin-right: 2px;
}
.cs-active-filters .cs-tag {
    height: 34px;
    padding: 0 10px 0 12px;
    background: var(--light-bg);
    border-color: var(--light-bg);
    color: var(--heading);
    font-size: 13px;
    font-weight: 500;
}
.cs-active-filters .cs-tag i {
    font-size: 13px;
    color: var(--muted);
}
.cs-active-filters .cs-tag:hover i {
    color: var(--primary);
}
.cs-active-filters .cs-btn {
    height: 34px;
    min-width: 0;
    padding: 0 12px;
    font-size: 11px;
}

/* ---------- Listing bar ---------- */
.cs-listing-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: 24px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.cs-listing-bar__count {
    font-size: 15px;
    color: var(--muted);
}
.cs-listing-bar__count strong {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--heading);
}
.cs-listing-bar__tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.cs-listing-bar__tools .cs-select {
    width: auto;
    min-width: 150px;
    height: 46px;
    font-size: 14px;
}

/* ---------- Filter panel ---------- */
/* Wide feed layout: fixed 340px sidebar, the feed takes the rest */
@media (min-width: 992px) {
    .cs-feed-sidebar {
        flex: 0 0 auto;
        width: 388px;
    }
    .cs-feed-main {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
    }
}
.cs-filter {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--border);
}
.cs-filter__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.cs-filter__head h5,
.cs-filter__head .h5 {
    margin: 0;
}
.cs-filter__tools {
    display: flex;
    align-items: center;
    gap: 16px;
}
.cs-filter__close {
    display: none;
}
.cs-filter__reset {
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--primary);
    cursor: pointer;
}
.cs-filter__group {
    padding: 20px 0;
    border-top: 1px solid var(--border);
}
.cs-filter__group:last-child {
    padding-bottom: 0;
}
.cs-filter__group:first-of-type {
    padding-top: 0;
    border-top: 0;
}
.cs-filter__title {
    margin-bottom: 14px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--heading);
}
.cs-filter__options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cs-filter .cs-check {
    width: 100%;
}
.cs-filter__count {
    margin-left: auto;
    font-size: 12px;
    color: var(--body);
}
/* Two column checkbox grid with counts, extra rows hidden behind Show more */
.cs-filter__options--grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 8px;
}
.cs-filter__options--grid .cs-check,
.cs-filter__options--list .cs-check {
    gap: 8px;
    font-size: 13px;
    color: var(--heading);
    white-space: nowrap;
}
.cs-filter__options--grid .cs-check em,
.cs-filter__options--list .cs-check em {
    margin-left: -4px;
    font-style: normal;
    font-size: 12px;
    color: var(--muted);
}
.cs-filter__options.is-collapsed .cs-check.is-extra {
    display: none;
}
.cs-filter__options--list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px 8px;
}
.cs-filter__options--list .cs-check {
    white-space: normal;
    align-items: flex-start;
}
.cs-filter__options--list .cs-check .cs-check__box {
    flex: 0 0 auto;
    margin-top: 1px;
}
.cs-filter__more {
    display: inline-block;
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
}
.cs-filter__more:hover {
    color: var(--primary-hover);
}
.cs-filter__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cs-filter__tags .cs-tag {
    height: 34px;
    padding: 0 12px;
    font-size: 12px;
}
.cs-filter-toggle {
    display: none;
    margin-bottom: 20px;
}

/* ---------- Range ---------- */
/* ---------- Price: two thumb slider wired to a from / to pair ---------- */
.cs-pricerange__slider {
    position: relative;
    height: 24px;
    margin-bottom: 14px;
}
.cs-pricerange__rail {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 4px;
    transform: translateY(-50%);
    background: var(--border);
}
.cs-pricerange__fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
}
/* Both inputs sit on the same rail, so only their thumbs may take a click */
.cs-pricerange__input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 24px;
    margin: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}
.cs-pricerange__input:focus {
    outline: none;
}
.cs-pricerange__input::-webkit-slider-runnable-track {
    height: 24px;
    background: none;
}
.cs-pricerange__input::-moz-range-track {
    height: 24px;
    background: none;
}
.cs-pricerange__input::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    margin-top: 4px;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: var(--heading);
    box-shadow: rgba(0, 0, 0, .18) 0 1px 3px 0;
    cursor: pointer;
    pointer-events: auto;
    -webkit-appearance: none;
    appearance: none;
}
.cs-pricerange__input::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: var(--heading);
    box-shadow: rgba(0, 0, 0, .18) 0 1px 3px 0;
    cursor: pointer;
    pointer-events: auto;
}
.cs-pricerange__input:focus-visible::-webkit-slider-thumb {
    border-color: var(--primary);
}
.cs-pricerange__fields {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cs-pricerange__field {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
}
.cs-pricerange__prefix {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    font-size: 13px;
    color: var(--muted);
    pointer-events: none;
}
.cs-pricerange .cs-input {
    width: 100%;
    height: 40px;
    padding: 0 10px 0 22px;
    font-size: 14px;
}
/* The spinners steal space in a narrow sidebar field */
.cs-pricerange .cs-input::-webkit-outer-spin-button,
.cs-pricerange .cs-input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
}
.cs-pricerange .cs-input {
    -moz-appearance: textfield;
    appearance: textfield;
}
.cs-pricerange__sep {
    flex: 0 0 auto;
    font-size: 13px;
    color: var(--muted);
}

.cs-range input[type="range"] {
    width: 100%;
    height: 2px;
    margin: 12px 0 14px;
    background: var(--border-strong);
    appearance: none;
    cursor: pointer;
}
.cs-range input[type="range"]::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    background: var(--secondary);
    border: 0;
    appearance: none;
}
.cs-range input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--secondary);
    border: 0;
    border-radius: 0;
}
.cs-range__values {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--muted);
}
.cs-range__values [data-range-out] {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--heading);
}

/* ---------- Sidebar widgets ---------- */
.cs-side-widget {
    margin-bottom: 24px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--border);
}
.cs-side-widget__title {
    margin-bottom: 8px;
}
.cs-side-widget__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: default;
}
.cs-side-widget__toggle i {
    display: none;
    font-size: 14px;
    transition: transform .25s ease;
}
.cs-brandlist {
    margin: 0;
    padding: 0;
    list-style: none;
}
.cs-brandlist a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    transition: color .2s ease;
}
.cs-brandlist li:last-child a {
    border-bottom: 0;
    padding-bottom: 0;
}
.cs-brandlist a:hover {
    color: var(--primary);
}
.cs-brandlist span {
    font-size: 12px;
    color: var(--body);
}
/* Two column link grid for brand / type widgets: simple divider rows, no boxes */
.cs-linkgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.cs-linkgrid a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    font-weight: 500;
    color: var(--heading);
    transition: var(--transition);
}
.cs-linkgrid li:nth-last-child(-n+2) a {
    border-bottom: 0;
    padding-bottom: 0;
}
.cs-linkgrid a i {
    font-size: 11px;
    color: var(--muted);
    transition: var(--transition);
}
.cs-linkgrid a:hover {
    color: var(--primary);
}
.cs-linkgrid a:hover i {
    color: var(--primary);
    transform: translateX(2px);
}
.cs-motorlist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}
.cs-motorlist a {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    padding: 12px 8px;
    border: 1px solid var(--border-strong);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--muted);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cs-motorlist__hp {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: var(--heading);
}
.cs-motorlist a:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}
.cs-motorlist a:hover .cs-motorlist__hp {
    color: var(--white);
}

/* ---------- Feed row ---------- */
.cs-feed-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.cs-feed-row {
    position: relative;
    display: grid;
    grid-template-columns: 40% 1fr;
    background: var(--white);
    border: 1px solid var(--border);
    transition: box-shadow .2s ease;
}
.cs-feed-row:hover {
    box-shadow: var(--shadow);
}
.cs-feed-row__media {
    position: relative;
    min-height: 260px;
}
.cs-feed-row__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cs-feed-row__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
}
.cs-feed-row__main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.cs-feed-row__body {
    flex: 1 1 auto;
    padding: 28px 30px;
}
.cs-feed-row__title {
    margin-bottom: 18px;
    font-size: 22px;
}
.cs-feed-row__title a {
    color: var(--heading);
}
.cs-feed-row__title a:hover {
    color: var(--primary);
}
.cs-feed-row__specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 32px;
    font-size: 14px;
}
.cs-feed-row__specs .k {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--heading);
}
.cs-feed-row__specs .v {
    color: var(--muted);
}
.cs-feed-row__actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
}
.cs-feed-row__action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 10px;
    border: 0;
    border-left: 1px solid var(--border);
    background: transparent;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    color: var(--heading);
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.cs-feed-row__action:first-child {
    border-left: 0;
}
.cs-feed-row__action i {
    color: var(--primary);
}
.cs-feed-row__action:hover {
    background: var(--light-bg);
    color: var(--primary);
}
.cs-feed-row__action--primary {
    background: var(--primary);
    border-left-color: var(--primary);
    font-weight: 600;
    color: var(--white);
}
.cs-feed-row__action--primary i {
    color: var(--white);
}
.cs-feed-row__action--primary:hover {
    background: var(--primary-hover);
    color: var(--white);
}

/* ---------- Feed card (rich row) ---------- */
.cs-feed-card {
    position: relative;
    display: grid;
    grid-template-columns: 36% 1fr auto;
    background: var(--white);
    border: 1px solid var(--border);
    transition: box-shadow .2s ease;
}
.cs-feed-card:hover {
    box-shadow: var(--shadow);
}
.cs-feed-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.cs-feed-card__media {
    position: relative;
    min-height: 250px;
}
.cs-feed-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cs-feed-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
}
.cs-feed-card__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 26px 28px;
}
.cs-feed-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--body);
}
.cs-feed-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.cs-feed-card__meta i {
    color: var(--primary);
}
.cs-feed-card__title {
    margin-bottom: 14px;
    font-size: 22px;
}
.cs-feed-card__title a {
    color: var(--heading);
}
.cs-feed-card__title a:hover {
    color: var(--primary);
}
.cs-feed-card__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}
.cs-feed-card__specs li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 12px;
    background: var(--light-bg);
    font-size: 13px;
    color: var(--heading);
}
.cs-feed-card__specs li i {
    color: var(--primary);
    font-size: 14px;
}
.cs-feed-card__specs li small {
    font-size: 12px;
    color: var(--body);
}
.cs-feed-card__body p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}
.cs-feed-card__side {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    width: 220px;
    padding: 26px 24px;
    border-left: 1px solid var(--border);
}
.cs-feed-card__label {
    display: block;
    font-size: 13px;
    color: var(--muted);
}
.cs-feed-card__price {
    display: block;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--secondary);
}
.cs-feed-card__was {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--muted);
}
.cs-feed-card__was s {
    text-decoration-thickness: 1px;
}
.cs-feed-card__savings {
    display: block;
    font-size: 13px;
    color: #047857;
}
.cs-feed-card__side .cs-btn {
    width: 100%;
    min-width: 0;
    padding: 0 12px;
    font-size: 12px;
}
.cs-feed-card__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Pagination under a feed */
.cs-feed-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    /* Filter panel becomes a centered popup */
    .cs-filter {
        position: fixed;
        top: 50%;
        left: 50%;
        z-index: 6000;
        display: none;
        width: calc(100% - 32px);
        max-width: 440px;
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
        overflow-y: auto;
        transform: translate(-50%, -50%);
        box-shadow: 0 0 0 100vmax rgba(15, 23, 43, .85);
    }
    .cs-filter.is-open {
        display: block;
    }
    .cs-filter__close {
        display: inline-flex;
    }
    .cs-filter-toggle {
        display: flex;
        width: 100%;
        margin-bottom: 12px;
    }
    /* Sidebar widgets sit side by side and collapse behind their title */
    .cs-feed-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        align-items: start;
    }
    .cs-side-widget {
        margin-bottom: 0;
        padding: 16px 10px;
    }
    .cs-side-widget__title {
        font-size: 14px;
    }
    .cs-side-widget:only-of-type {
        grid-column: 1 / -1;
    }
    .cs-side-widget__title {
        margin-bottom: 0;
    }
    .cs-side-widget__toggle {
        cursor: pointer;
    }
    .cs-side-widget__toggle i {
        display: block;
    }
    .cs-side-widget.is-open .cs-side-widget__toggle i {
        transform: rotate(180deg);
    }
    .cs-side-widget .cs-brandlist,
    .cs-side-widget .cs-linkgrid,
    .cs-side-widget .cs-motorlist {
        display: none;
    }
    .cs-side-widget.is-open .cs-linkgrid {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 10px;
    }
    .cs-linkgrid li:nth-last-child(2) a {
        border-bottom: 1px solid var(--border);
        padding-bottom: 10px;
    }
    .cs-linkgrid a {
        white-space: nowrap;
    }
    .cs-side-widget.is-open .cs-brandlist {
        display: block;
        margin-top: 6px;
    }
    .cs-side-widget.is-open .cs-motorlist {
        display: grid;
    }
    .cs-feed-row__body {
        padding: 22px 24px;
    }
    .cs-feed-row__title {
        font-size: 20px;
    }
    .cs-feed-card {
        grid-template-columns: 40% 1fr;
    }
    .cs-feed-card__side {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: auto;
        padding: 18px 24px;
        border-left: 0;
        border-top: 1px solid var(--border);
    }
    .cs-feed-card__side .cs-btn {
        width: auto;
    }
    .cs-feed-card__actions {
        flex-direction: row;
        gap: 10px;
    }
}
@media (max-width: 767px) {
    .cs-feed-row {
        grid-template-columns: 1fr;
    }
    .cs-feed-row__media {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }
    .cs-feed-row__actions {
        grid-template-columns: 1fr 1fr;
    }
    .cs-feed-row__action {
        padding: 14px 8px;
    }
    .cs-feed-row__action--primary {
        grid-column: 1 / -1;
        border-left: 0;
        border-top: 1px solid var(--border);
    }
    .cs-feed-card {
        grid-template-columns: 1fr;
    }
    .cs-feed-card__media {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }
    .cs-feed-card__body {
        padding: 22px 20px;
    }
    .cs-feed-card__side {
        flex-wrap: wrap;
        padding: 18px 20px;
    }
    /* Price block fills the row: label + price left, was + savings right */
    .cs-feed-card__side > div:first-child {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: end;
        width: 100%;
    }
    .cs-feed-card__side .cs-feed-card__label {
        grid-column: 1;
        grid-row: 1;
    }
    .cs-feed-card__side .cs-feed-card__price {
        grid-column: 1;
        grid-row: 2;
    }
    .cs-feed-card__side .cs-feed-card__was {
        grid-column: 2;
        grid-row: 1;
        margin-top: 0;
        text-align: right;
    }
    .cs-feed-card__side .cs-feed-card__savings {
        grid-column: 2;
        grid-row: 2;
        text-align: right;
    }
    .cs-feed-card__actions {
        width: 100%;
    }
    .cs-feed-card__actions .cs-btn {
        flex: 1 1 0;
    }
    .cs-listing-bar__tools {
        width: 100%;
    }
    .cs-listing-bar__tools .cs-select {
        flex: 1 1 0;
        min-width: 0;
    }
    .cs-feed-head h2 {
        font-size: var(--h4);
    }
    .cs-feed-head .cs-input-group .cs-input {
        height: 48px;
    }
}
@media (max-width: 575px) {
    .cs-active-filters {
        gap: 6px 8px;
        margin-top: 10px;
        font-size: 12px;
    }
    .cs-active-filters .cs-tag {
        height: 28px;
        gap: 6px;
        padding: 0 8px 0 10px;
        font-size: 12px;
    }
    .cs-active-filters .cs-tag i {
        font-size: 11px;
    }
    .cs-active-filters .cs-btn {
        height: 28px;
        padding: 0 10px;
        font-size: 12px;
    }
    .cs-feed-row__specs {
        gap: 8px 12px;
        font-size: 13px;
    }
    .cs-feed-row__specs > div {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }
    .cs-feed-row__specs .k {
        font-size: 12px;
    }
    .cs-feed-row__specs .v {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}


/* ==========================================================================
   v5 · Modern boat feed
   Sidebar widgets as light cards with red eyebrow titles, pill tags and
   filter chips, list rows and cards with a light shadow.
   ========================================================================== */
.cs-side-widget,
.cs-filter {
    border-color: var(--border-light);
    box-shadow: rgba(15, 23, 43, .05) 0 1px 3px 0;
}
.cs-side-widget__title,
.cs-filter__head h3,
.cs-filter__head .h5 {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cs-side-widget__title::before,
.cs-filter__head h3::before,
.cs-filter__head .h5::before {
    content: '';
    flex: 0 0 auto;
    width: 16px;
    height: 2px;
    background: var(--primary);
}
.cs-tag,
.cs-active-filters .cs-tag {
    border-radius: 40px;
}
.cs-feed-row,
.cs-feed-card {
    border-color: var(--border-light);
    box-shadow: rgba(15, 23, 43, .05) 0 1px 3px 0;
}
.cs-feed-row__media,
.cs-feed-card__media {
    overflow: hidden;
}
.cs-feed-row__media img,
.cs-feed-card__media img {
    transition: transform .6s ease;
}
.cs-feed-row__media:hover img,
.cs-feed-card__media:hover img {
    transform: scale(1.05);
}
.cs-feed-row .cs-badge,
.cs-feed-card .cs-badge {
    border-radius: 40px;
    padding-right: 10px;
    padding-left: 10px;
}
.cs-feed-card__specs span,
.cs-feed-card__specs li {
    border-radius: 40px;
}
.bg-dark .cs-side-widget,
.bg-dark .cs-filter,
.bg-dark .cs-feed-row,
.bg-dark .cs-feed-card {
    box-shadow: none;
}


/* ==========================================================================
   v5 · Modern list feed (.cs-feed-list--modern)
   Rows on a light shadow that lift on hover, specs as a ruled table of
   label over value, quote and financing as links with round icon chips,
   and one solid button for the details page.
   ========================================================================== */
.cs-feed-list--modern {
    gap: 20px;
}
.cs-feed-list--modern .cs-feed-row {
    grid-template-columns: 38% 1fr;
    overflow: hidden;
    border-color: var(--border-light);
    box-shadow: rgba(15, 23, 43, .05) 0 1px 3px 0;
    transition: box-shadow .3s ease, transform .3s var(--ease-out);
}
.cs-feed-list--modern .cs-feed-row:hover {
    box-shadow: rgba(15, 23, 43, .12) 0 14px 30px 0;
    transform: translateY(-3px);
}
.cs-feed-list--modern .cs-feed-row__media {
    overflow: hidden;
}
.cs-feed-list--modern .cs-feed-row__media img {
    transition: transform .6s ease;
}
.cs-feed-list--modern .cs-feed-row:hover .cs-feed-row__media img {
    transform: scale(1.05);
}
.cs-feed-list--modern .cs-feed-row__badges {
    top: 14px;
    left: 14px;
    flex-wrap: wrap;
}
.cs-feed-list--modern .cs-feed-row__badges .cs-badge {
    height: 24px;
    padding: 0 10px;
    border-radius: 40px;
    font-size: 10px;
    line-height: 24px;
    box-shadow: rgba(15, 23, 43, .15) 0 2px 6px 0;
}
.cs-feed-list--modern .cs-feed-row__badges .cs-badge-new {
    color: #047857;
    background: var(--white);
}
.cs-feed-list--modern .cs-feed-row__body {
    padding: 26px 28px 22px;
}
.cs-feed-list--modern .cs-feed-row__title {
    margin-bottom: 18px;
    font-size: 22px;
    line-height: 1.25;
}

/* Specs: three columns, label over value, hairlines between cells */
.cs-feed-list--modern .cs-feed-row__specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--border-light);
}
.cs-feed-list--modern .cs-feed-row__specs > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding: 12px 14px;
}
.cs-feed-list--modern .cs-feed-row__specs > div:not(:nth-child(3n+1)) {
    border-left: 1px solid var(--border-light);
}
.cs-feed-list--modern .cs-feed-row__specs > div:nth-child(n+4) {
    border-top: 1px solid var(--border-light);
}
.cs-feed-list--modern .cs-feed-row__specs .k {
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
}
.cs-feed-list--modern .cs-feed-row__specs .v {
    overflow: hidden;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--heading);
}

/* Actions: two icon links and one solid button */
.cs-feed-list--modern .cs-feed-row__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    margin: 0 28px;
    padding: 18px 0 22px;
    border-top: 1px solid var(--border-light);
}
.cs-feed-list--modern .cs-feed-row__action {
    gap: 10px;
    padding: 0;
    border: 0;
    font-size: 14px;
    font-weight: 600;
    background: none;
}
.cs-feed-list--modern .cs-feed-row__action:not(.cs-feed-row__action--primary) i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 14px;
    color: var(--primary);
    background: var(--primary-tint-10);
    transition: background .2s ease, color .2s ease;
}
.cs-feed-list--modern .cs-feed-row__action:not(.cs-feed-row__action--primary):hover {
    color: var(--primary);
    background: none;
}
.cs-feed-list--modern .cs-feed-row__action:not(.cs-feed-row__action--primary):hover i {
    color: var(--white);
    background: var(--primary);
}
.cs-feed-list--modern .cs-feed-row__action--primary {
    margin-left: auto;
    height: 46px;
    padding: 0 22px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--primary);
}
.cs-feed-list--modern .cs-feed-row__action--primary i {
    transition: transform .3s var(--ease-out);
}
.cs-feed-list--modern .cs-feed-row__action--primary:hover i {
    transform: translateX(4px);
}
.bg-dark .cs-feed-list--modern .cs-feed-row {
    border-color: rgba(255, 255, 255, .12);
    box-shadow: none;
}
.bg-dark .cs-feed-list--modern .cs-feed-row__specs,
.bg-dark .cs-feed-list--modern .cs-feed-row__specs > div,
.bg-dark .cs-feed-list--modern .cs-feed-row__actions {
    border-color: rgba(255, 255, 255, .1);
}
.bg-dark .cs-feed-list--modern .cs-feed-row__specs .v {
    color: var(--white);
}
@media (max-width: 991px) {
    .cs-feed-list--modern .cs-feed-row__body {
        padding: 22px 22px 18px;
    }
    .cs-feed-list--modern .cs-feed-row__actions {
        margin: 0 22px;
    }
}
@media (max-width: 767px) {
    .cs-feed-list--modern .cs-feed-row {
        grid-template-columns: 1fr;
    }
    .cs-feed-list--modern .cs-feed-row__action--primary {
        grid-column: auto;
        width: 100%;
        margin-left: 0;
        border-top: 0;
    }
}
@media (max-width: 575px) {
    .cs-feed-list--modern .cs-feed-row__body {
        padding: 20px 18px 16px;
    }
    .cs-feed-list--modern .cs-feed-row__actions {
        gap: 12px 18px;
        margin: 0 18px;
        padding: 16px 0 18px;
    }
    .cs-feed-list--modern .cs-feed-row__specs > div {
        padding: 10px;
    }
    .cs-feed-list--modern .cs-feed-row__specs .v {
        font-size: 13px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .cs-feed-list--modern .cs-feed-row,
    .cs-feed-list--modern .cs-feed-row__media img {
        transition: none;
    }
}
/* List feed: keep the three actions on one line */
.cs-feed-list--modern .cs-feed-row__actions {
    flex-wrap: nowrap;
    gap: 12px 18px;
}
.cs-feed-list--modern .cs-feed-row__action {
    font-size: 13px;
}
.cs-feed-list--modern .cs-feed-row__action--primary {
    height: 44px;
    padding: 0 18px;
    font-size: 12px;
}
@media (max-width: 1199px) {
    .cs-feed-list--modern .cs-feed-row__actions {
        flex-wrap: wrap;
    }
}
/* Phones: two spec columns */
@media (max-width: 575px) {
    .cs-feed-list--modern .cs-feed-row__specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cs-feed-list--modern .cs-feed-row__specs > div:not(:nth-child(3n+1)) {
        border-left: 0;
    }
    .cs-feed-list--modern .cs-feed-row__specs > div:nth-child(n+4) {
        border-top: 0;
    }
    .cs-feed-list--modern .cs-feed-row__specs > div:nth-child(even) {
        border-left: 1px solid var(--border-light);
    }
    .cs-feed-list--modern .cs-feed-row__specs > div:nth-child(n+3) {
        border-top: 1px solid var(--border-light);
    }
}

/* Motors in list rows and rich cards: the whole cut-out on white, like the motor tiles */
.cs-feed-row--motor .cs-feed-row__media,
.cs-feed-card--motor .cs-feed-card__media {
    background: var(--white);
}
.cs-feed-row--motor .cs-feed-row__media img,
.cs-feed-card--motor .cs-feed-card__media img {
    padding: 20px 15px 0;
    object-fit: contain;
}
