/**
 * KingStart Product Card 3.0 — shared premium catalogue presentation.
 */

/* 1. Shared tokens and grid structure */
.ks-product-grid,
.ks-product-card-context {
    --ks-card-ink: #171719;
    --ks-card-copy: #37383b;
    --ks-card-muted: #777a80;
    --ks-card-line: #e8e8ea;
    --ks-card-red: #ed111a;
    --ks-card-red-soft: rgba(237, 17, 26, .14);
    --ks-card-eco: #2fa84f;
    --ks-card-shadow: 0 2px 4px rgba(20, 20, 20, .03),
        0 20px 40px -28px rgba(20, 20, 20, .16);
    --ks-card-shadow-hover: 0 4px 10px rgba(20, 20, 20, .035),
        0 24px 46px -24px rgba(123, 22, 27, .18);
    --ks-grid-red: var(--ks-card-red);
    --ks-grid-charcoal: var(--ks-card-ink);
    width: 100%;
    min-width: 0;
    color: var(--ks-card-ink);
}

.ks-product-grid .ks-product-grid__items {
    display: grid;
    grid-template-columns: repeat(
        clamp(1, var(--ks-grid-columns-control, 4), 6),
        minmax(0, 1fr)
    );
    gap: var(--ks-grid-gap-control, clamp(20px, 1.7vw, 24px));
    width: 100%;
    min-width: 0;
}

.ks-product-card-context {
    background: transparent;
    box-shadow: none !important;
    filter: none !important;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card,
:where(.ks-product-grid, .ks-product-card-context) .ks-product-card * {
    box-sizing: border-box;
}

/* 2. Canonical premium card surface */
:where(.ks-product-grid, .ks-product-card-context) .ks-product-card {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 0;
    background: #fff;
    box-shadow: var(--ks-card-shadow);
    transform: translateY(0);
    transition: border-color 320ms ease, box-shadow 320ms ease,
        transform 320ms cubic-bezier(.22, .61, .36, 1);
}

/* 3. Top brand and stock rail */
:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__meta {
    position: relative;
    z-index: 3;
    display: flex;
    min-width: 0;
    min-height: 17px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 0;
    color: var(--ks-card-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .055em;
    line-height: 1.2;
    text-transform: uppercase;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__brand,
:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__stock {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__brand {
    color: var(--ks-card-ink);
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__brand > span {
    width: 3px;
    height: 14px;
    flex: 0 0 3px;
    border-radius: 2px;
    background: var(--ks-card-red);
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__stock {
    max-width: 53%;
    justify-content: flex-end;
    color: #878a8f;
    font-size: 8px;
    text-align: right;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__stock > span {
    width: 4px;
    height: 4px;
    flex: 0 0 4px;
    border: 0;
    border-radius: 50%;
    background: #b4b6ba;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__stock--instock > span {
    background: #73777c;
}

/* 4. Product-first image stage */
:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__stage {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    isolation: isolate;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__stage::before {
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    width: 174px;
    height: 174px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(226, 35, 26, .07) 0%,
        rgba(226, 35, 26, .025) 43%,
        rgba(226, 35, 26, 0) 72%
    );
    content: "";
    pointer-events: none;
    transform: translate(-50%, -50%);
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__media {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    height: 180px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 7px 20px 1px;
    overflow: visible;
    text-decoration: none;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__media::after {
    position: absolute;
    z-index: 0;
    bottom: 21px;
    left: 50%;
    width: 54%;
    height: 15px;
    border-radius: 50%;
    background: radial-gradient(
        ellipse,
        rgba(25, 25, 27, .11) 0%,
        rgba(25, 25, 27, .035) 48%,
        rgba(25, 25, 27, 0) 74%
    );
    content: "";
    pointer-events: none;
    transform: translateX(-50%);
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__image {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    height: auto;
    max-width: 82%;
    max-height: 90%;
    margin: 0 auto;
    object-fit: contain;
    transform: scale(1.08);
    transform-origin: center;
    transition: transform 320ms cubic-bezier(.22, .61, .36, 1);
}

/* 5. Body and calm product title */
:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__body {
    position: relative;
    z-index: 2;
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 7px 20px 22px;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__title {
    margin: 0 0 13px;
    color: var(--ks-card-ink);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.28;
    text-align: left;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__title a {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color 180ms ease;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__title a:hover {
    color: #9f1d24;
}

/* 6. One understated technical signature */
:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__specs {
    display: flex;
    min-width: 0;
    align-items: center;
    margin: 0 0 15px;
    padding: 0 0 15px;
    overflow: hidden;
    border: 0;
    border-bottom: 1px solid var(--ks-card-line);
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__spec {
    display: flex;
    min-width: 0;
    flex: 0 1 auto;
    align-items: center;
    margin: 0;
    padding: 0;
    border: 0;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__spec:not(:last-child)::after {
    width: 3px;
    height: 3px;
    flex: 0 0 3px;
    margin: 0 9px;
    border-radius: 50%;
    background: #b3b5b9;
    content: "";
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__spec-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__spec-value {
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    color: var(--ks-card-copy);
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: -.005em;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 7. Balanced Online/ECO price architecture */
:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__prices {
    width: 100%;
    min-width: 0;
    margin-top: auto;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__prices--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    align-items: stretch;
    column-gap: 15px;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__prices--single {
    display: block;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__title + .ks-product-card__prices {
    padding-top: 15px;
    border-top: 1px solid var(--ks-card-line);
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__price-col {
    display: flex;
    min-width: 0;
    min-height: 55px;
    flex-direction: column;
    align-items: flex-start;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__price-col--eco {
    align-items: flex-end;
    text-align: right;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__price-divider {
    display: block;
    width: 1px;
    min-height: 52px;
    margin: 2px 0;
    background: var(--ks-card-line);
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__price-label {
    display: block;
    margin: 0 0 6px;
    color: var(--ks-card-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .055em;
    line-height: 1;
    text-transform: uppercase;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__price-col--eco .ks-product-card__price-label {
    color: var(--ks-card-eco);
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__online-secondary {
    display: flex;
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 6px;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__online-secondary .ks-product-card__online-price,
:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__online-secondary .ks-product-card__online-price > .price {
    display: contents;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__online-price,
:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__eco-price {
    min-width: 0;
    max-width: 100%;
    font-size: 17.5px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__online-price {
    color: var(--ks-card-ink);
    text-align: left;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__eco-price {
    color: var(--ks-card-eco);
    text-align: right;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__online-price ins,
:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__eco-price ins {
    color: inherit;
    text-decoration: none;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__online-price > .price,
:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__eco-price > .price {
    min-height: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__online-price .amount,
:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__eco-price .amount {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    white-space: nowrap;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__online-price del,
:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__eco-price del {
    display: block;
    margin: 5px 0 0;
    color: #929499;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.1;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__discount-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    order: 3;
    margin: 5px 0 0;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--ks-card-red);
    color: #fff;
    font-size: 8.5px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__online-secondary .ks-product-card__online-price > ins,
:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__online-secondary .ks-product-card__online-price > .price > ins {
    flex: 0 0 100%;
    order: 1;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__online-secondary .ks-product-card__online-price > del,
:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__online-secondary .ks-product-card__online-price > .price > del {
    flex: 0 0 auto;
    order: 2;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__eco-price:has(> ins),
:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__eco-price > .price:has(ins) {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__eco-price:has(> ins) > ins,
:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__eco-price > .price:has(ins) > ins {
    order: 1;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__eco-price:has(> ins) > del,
:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__eco-price > .price:has(ins) > del {
    order: 2;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__eco-note {
    display: block;
    max-width: 100%;
    margin: 6px 0 0;
    overflow: hidden;
    color: var(--ks-card-muted);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.15;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 8. Interaction and accessible focus */
:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__media:focus-visible,
:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__title a:focus-visible {
    outline: 2px solid var(--ks-card-red);
    outline-offset: 3px;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card__media:focus-visible {
    outline-offset: -5px;
}

:where(.ks-product-grid, .ks-product-card-context) .ks-product-card:has(a:focus-visible) {
    border-color: rgba(237, 17, 26, .34);
}

@media (hover: hover) and (pointer: fine) {
    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card:hover {
        border-color: var(--ks-card-red-soft);
        box-shadow: var(--ks-card-shadow-hover);
        transform: translateY(-3px);
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card:hover .ks-product-card__image {
        transform: scale(1.1);
    }
}

/* 9. Native archive integration — fixed 4/2/2 layout */
.products.ks-product-archive.grid:not(.list) {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(20px, 1.8vw, 26px);
    margin: 0;
    overflow: visible;
}

.products.ks-product-archive.grid:not(.list) > .ks-product-card-context {
    display: flex;
    width: auto;
    height: 100%;
    min-width: 0;
    float: none;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.products.ks-product-archive.grid:not(.list)
> li.product-warp-item.ks-product-card-context {
    border: 0 !important;
    outline: 0;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    filter: none !important;
}

.products.ks-product-archive.grid:not(.list)
> li.product-warp-item.ks-product-card-context::before,
.products.ks-product-archive.grid:not(.list)
> li.product-warp-item.ks-product-card-context::after {
    content: none !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
}

.ks-product-archive .ks-product-card-context .ks-product-card {
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
}

@media (max-width: 1129px) {
    .products.ks-product-archive.grid:not(.list) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 10. Related and Upsells — local Slick shadow clearance */
:is(.ks-related-products, .ks-upsell-products) .nasa-slick-slider {
    position: relative;
    overflow: visible;
}

:is(.ks-related-products, .ks-upsell-products) .nasa-slick-slider > .nasa-nav-arrow {
    top: 50% !important;
    margin-top: 0;
    transform: translate(0, -50%);
}

:is(.ks-related-products, .ks-upsell-products) .nasa-slick-slider .slick-list {
    margin-top: -7px;
    margin-bottom: -18px;
    padding-top: 7px;
    padding-bottom: 18px;
}

:is(.ks-related-products, .ks-upsell-products) .nasa-slick-slider .slick-track {
    display: flex;
    align-items: stretch;
}

:is(.ks-related-products, .ks-upsell-products) .nasa-slick-slider .slick-slide {
    height: auto;
}

:is(.ks-related-products, .ks-upsell-products) .nasa-slick-slider .slick-slide.ks-product-card-context {
    display: flex;
    margin-top: 0;
    margin-bottom: 0;
}

:is(.ks-related-products, .ks-upsell-products) .ks-product-card-context,
:is(.ks-related-products, .ks-upsell-products) .ks-product-card-context .ks-product-card {
    height: 100%;
}

:is(.ks-related-products, .ks-upsell-products) .ks-product-card-context .ks-product-card {
    flex: 1 1 auto;
}

/* 11. Elementor slider; the card markup remains shared */
.ks-product-grid.ks-product-grid--slider {
    position: relative;
}

.ks-product-grid--slider .ks-product-grid__viewport {
    width: 100%;
    min-width: 0;
    padding: 7px 5px 18px;
    overflow: hidden;
}

.ks-product-grid.ks-product-grid--slider .ks-product-grid__items {
    display: flex;
    gap: 0;
}

.ks-product-grid--slider .ks-product-grid__slide {
    display: flex;
    width: 100%;
    height: auto;
    min-width: 0;
    flex: 0 0 auto;
    padding: 0 6px;
}

.ks-product-grid--slider .ks-product-grid__slide > .ks-product-card {
    width: 100%;
}

.ks-product-grid--slider .ks-product-grid__arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(23, 23, 25, .12);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 12px rgba(20, 24, 29, .08);
    color: var(--ks-grid-charcoal);
    cursor: pointer;
    transform: translateY(-50%);
    transition: border-color .16s ease, color .16s ease, opacity .16s ease;
}

.ks-product-grid--slider .ks-product-grid__arrow::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    content: "";
}

.ks-product-grid--slider .ks-product-grid__arrow--prev {
    left: -22px;
}

.ks-product-grid--slider .ks-product-grid__arrow--prev::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.ks-product-grid--slider .ks-product-grid__arrow--next {
    right: -22px;
}

.ks-product-grid--slider .ks-product-grid__arrow--next::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

.ks-product-grid--slider .ks-product-grid__arrow:hover,
.ks-product-grid--slider .ks-product-grid__arrow:focus-visible {
    border-color: var(--ks-grid-red);
    color: var(--ks-grid-red);
}

.ks-product-grid--slider .ks-product-grid__arrow:focus-visible {
    outline: 3px solid rgba(169, 43, 49, .24);
    outline-offset: 2px;
}

.ks-product-grid--slider .ks-product-grid__arrow.is-disabled {
    opacity: .3;
    cursor: default;
    pointer-events: none;
}

.ks-product-grid--slider .ks-product-grid__arrow.swiper-button-lock,
.ks-product-grid--slider .ks-product-grid__pagination.swiper-pagination-lock {
    display: none;
}

.ks-product-grid--slider .ks-product-grid__pagination {
    display: flex;
    min-height: 18px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 4px;
}

.ks-product-grid--slider .ks-product-grid__dot {
    display: block;
    width: 6px;
    height: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c9cdd1;
    cursor: pointer;
    transition: background-color .16s ease, transform .16s ease;
}

.ks-product-grid--slider .ks-product-grid__dot.is-active {
    background: var(--ks-grid-red);
    transform: scale(1.25);
}

/* 12. Tablet adaptation */
@media (max-width: 1399px) {
    .ks-product-grid .ks-product-grid__items {
        gap: var(--ks-grid-gap-control, 20px);
    }
}

@media (max-width: 1099px) {
    .ks-product-grid .ks-product-grid__items {
        grid-template-columns: repeat(
            clamp(1, var(--ks-grid-columns-control, 2), 4),
            minmax(0, 1fr)
        );
        gap: var(--ks-grid-gap-control, 24px);
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__media {
        height: 172px;
    }
}

/* 13. Dedicated two-column mobile card */
@media (max-width: 767px) {
    .ks-product-grid .ks-product-grid__items {
        grid-template-columns: repeat(
            clamp(1, var(--ks-grid-columns-control, 1), 2),
            minmax(0, 1fr)
        );
        gap: var(--ks-grid-gap-control, 13px);
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card {
        --ks-card-shadow: 0 2px 4px rgba(20, 20, 20, .025),
            0 12px 28px -23px rgba(20, 20, 20, .2);
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__meta {
        min-height: 14px;
        gap: 5px;
        padding: 11px 10px 0;
        font-size: 7.5px;
        letter-spacing: .045em;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__brand,
    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__stock {
        gap: 4px;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__brand > span {
        width: 2px;
        height: 10px;
        flex-basis: 2px;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__stock {
        max-width: 48%;
        font-size: 6.8px;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__stage::before {
        width: 112px;
        height: 112px;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__media {
        height: 108px;
        padding: 3px 8px 0;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__media::after {
        bottom: 12px;
        width: 58%;
        height: 10px;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__image {
        max-width: 86%;
        max-height: 90%;
        transform: scale(1.08);
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__body {
        padding: 8px 10px 13px;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__title {
        margin-bottom: 9px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: -.012em;
        line-height: 1.24;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__specs {
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__spec:not(:last-child)::after {
        width: 2px;
        height: 2px;
        flex-basis: 2px;
        margin: 0 4px;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__spec-value {
        font-size: 9px;
        line-height: 1.1;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__prices--split {
        column-gap: 7px;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__title + .ks-product-card__prices {
        padding-top: 10px;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__price-col {
        min-height: 46px;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__price-divider {
        min-height: 43px;
        margin: 1px 0;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__price-label {
        margin-bottom: 5px;
        font-size: 7px;
        letter-spacing: .04em;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__online-price,
    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__eco-price {
        font-size: 13.5px;
        letter-spacing: -.03em;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__online-price del,
    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__eco-price del {
        margin-top: 4px;
        font-size: 8px;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__discount-badge {
        margin-top: 4px;
        padding: 2px 5px;
        font-size: 7px;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__online-secondary {
        column-gap: 3px;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__eco-note {
        display: -webkit-box;
        margin-top: 5px;
        font-size: 7.5px;
        line-height: 1.1;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .products.ks-product-archive.grid:not(.list) {
        gap: 13px;
    }

    .ks-product-grid--slider .ks-product-grid__arrow--prev {
        left: 4px;
    }

    .ks-product-grid--slider .ks-product-grid__arrow--next {
        right: 4px;
    }

    .ks-product-grid--slider .ks-product-grid__arrow {
        background: rgba(255, 255, 255, .94);
    }

    .ks-product-grid--mobile-2 .ks-product-card__media {
        height: 104px;
    }
}

@media (max-width: 379px) {
    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__meta {
        padding-right: 8px;
        padding-left: 8px;
        font-size: 6.8px;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__media,
    .ks-product-grid--mobile-2 .ks-product-card__media {
        height: 98px;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__body {
        padding-right: 8px;
        padding-left: 8px;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__title {
        font-size: 11.5px;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__spec-value {
        font-size: 8.5px;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__prices--split {
        column-gap: 5px;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__online-price,
    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__eco-price {
        font-size: 13px;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__eco-note {
        font-size: 7px;
    }

    .products.ks-product-archive.grid:not(.list) {
        gap: 9px;
    }
}

/* 14. Motion accessibility */
@media (prefers-reduced-motion: reduce) {
    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card,
    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__image,
    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card__title a,
    .ks-product-grid--slider .ks-product-grid__arrow,
    .ks-product-grid--slider .ks-product-grid__dot {
        transition: none;
    }

    :where(.ks-product-grid, .ks-product-card-context) .ks-product-card:hover {
        transform: none;
    }
}
