.bks-home-products,
.bks-home-products * {
    box-sizing: border-box;
}

.bks-home-products {
    --bks-products-accent: #f47a1f;
    --bks-products-accent-dark: #e96f05;
    --bks-products-text: #303030;
    --bks-products-muted: #555555;
    --bks-products-soft: #d7d7d7;
    --bks-products-card-gap: 24px;
    --bks-products-per-view: 3;

    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0;
    font-family: "Rajdhani", Arial, Helvetica, sans-serif;
    color: var(--bks-products-text);
}

.bks-home-products__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 64px;
}

.bks-home-products__intro {
    min-width: 0;
    max-width: 640px;
}

.bks-home-products__eyebrow {
    display: none;
}

.bks-home-products__title {
    margin: 0 0 22px !important;
    padding: 0 !important;
    font-family: "Rajdhani", Arial, Helvetica, sans-serif !important;
    font-size: clamp(36px, 4.1vw, 48px) !important;
    line-height: .96 !important;
    font-weight: 700 !important;
    letter-spacing: -1.1px !important;
    color: var(--bks-products-text) !important;
}

.bks-home-products__title span {
    color: var(--bks-products-accent) !important;
}

.bks-home-products__desc {
    max-width: 590px;
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Rajdhani", Arial, Helvetica, sans-serif !important;
    font-size: 18px !important;
    line-height: 1.42 !important;
    font-weight: 500 !important;
    color: var(--bks-products-muted) !important;
}

.bks-home-products__controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 auto;
    padding-top: 97px;
}

.bks-home-products__arrow {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 999px !important;
    background: var(--bks-products-accent) !important;
    color: #ffffff !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 28px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    cursor: pointer;
    box-shadow: none !important;
    text-decoration: none !important;
    transition: transform .22s ease, background-color .22s ease, opacity .22s ease;
}

.bks-home-products__arrow span {
    display: block;
    transform: translateY(-2px);
}

.bks-home-products__arrow:hover,
.bks-home-products__arrow:focus-visible {
    background: var(--bks-products-accent-dark) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.bks-home-products__arrow:disabled {
    opacity: .42;
    cursor: default;
    transform: none;
}

.bks-home-products__viewport {
    width: 100%;
    overflow: hidden;
}

.bks-home-products__track {
    display: flex;
    align-items: stretch;
    gap: var(--bks-products-card-gap);
    will-change: transform;
    transition: transform .48s cubic-bezier(.22,.61,.36,1);
    touch-action: pan-y;
}

.bks-home-products__card {
    flex: 0 0 calc((100% - (var(--bks-products-card-gap) * (var(--bks-products-per-view) - 1))) / var(--bks-products-per-view));
    min-width: 0;
    padding: 0;
    margin: 0;
}

.bks-home-products__image-link {
    display: block !important;
    position: relative;
    width: 100%;
    aspect-ratio: 1.315 / 1;
    overflow: hidden;
    border-radius: 13px;
    background: #f1f1f1;
    text-decoration: none !important;
    color: inherit !important;
}

.bks-home-products__image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    border: 0 !important;
    border-radius: 0 !important;
    transform: scale(1.001);
    transition: transform .45s ease, filter .45s ease;
}

.bks-home-products__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 260px;
    padding: 24px;
    text-align: center;
    font-family: "Rajdhani", Arial, Helvetica, sans-serif;
    font-size: 21px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--bks-products-text);
    background: linear-gradient(135deg, rgba(244,122,31,.10), rgba(255,255,255,.5)), #f2f2f2;
}

.bks-home-products__card:hover .bks-home-products__image {
    transform: scale(1.045);
    filter: saturate(1.04) contrast(1.02);
}

.bks-home-products__category {
    margin-top: 15px;
    font-family: "Rajdhani", Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    color: #646464 !important;
}

.bks-home-products__card-title {
    margin: 11px 0 0 !important;
    padding: 0 !important;
    font-family: "Rajdhani", Arial, Helvetica, sans-serif !important;
    font-size: 24px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    letter-spacing: -.2px !important;
    color: var(--bks-products-text) !important;
}

.bks-home-products__card-title a {
    color: inherit !important;
    text-decoration: none !important;
}

.bks-home-products__card-title a:hover,
.bks-home-products__card-title a:focus-visible {
    color: var(--bks-products-accent) !important;
}

.bks-home-products__card-desc {
    margin: 9px 0 0 !important;
    padding: 0 !important;
    font-family: "Rajdhani", Arial, Helvetica, sans-serif !important;
    color: var(--bks-products-muted) !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}

.bks-home-products__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.bks-home-products__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 27px;
    padding: 0 13px;
    border-radius: 999px;
    font-family: "Rajdhani", Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    background: #ffffff;
    white-space: nowrap;
}

.bks-home-products__badge.is-orange {
    color: var(--bks-products-accent);
    border: 1px solid var(--bks-products-accent);
}

.bks-home-products__badge.is-pink {
    color: #ff3e63;
    border: 1px solid #ff3e63;
}

.bks-home-products__card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    font-family: "Rajdhani", Arial, Helvetica, sans-serif !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    color: var(--bks-products-accent-dark) !important;
}

.bks-home-products__card-link:hover,
.bks-home-products__card-link:focus-visible {
    text-decoration: underline !important;
}

.bks-home-products__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 43px;
    margin-top: 47px;
}

.bks-home-products__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 14px;
}

.bks-home-products__dot {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important;
    min-height: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--bks-products-soft) !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: transform .2s ease, background-color .2s ease;
}

.bks-home-products__dot:hover,
.bks-home-products__dot:focus-visible {
    transform: scale(1.18);
}

.bks-home-products__dot.is-active {
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    min-height: 12px !important;
    background: var(--bks-products-accent) !important;
}

.bks-home-products__all {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: min(296px, 100%);
    min-height: 42px;
    padding: 0 24px !important;
    border-radius: 7px;
    background: linear-gradient(180deg, #ff8a00 0%, #f27a00 100%) !important;
    color: #ffffff !important;
    font-family: "Rajdhani", Arial, Helvetica, sans-serif !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .2px;
    text-decoration: none !important;
    box-shadow: inset 0 2px 0 rgba(255,255,255,.18), 0 8px 20px rgba(242,122,0,.16);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.bks-home-products__all:hover,
.bks-home-products__all:focus-visible {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: inset 0 2px 0 rgba(255,255,255,.18), 0 12px 26px rgba(242,122,0,.22);
}

.bks-products-empty {
    padding: 14px 16px;
    border: 1px dashed #d4d4d4;
    border-radius: 10px;
    color: #666666;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .bks-home-products {
        --bks-products-card-gap: 22px;
    }
    .bks-home-products__header {
        margin-bottom: 42px;
    }
    .bks-home-products__controls {
        padding-top: 78px;
    }
}

@media (max-width: 920px) {
    .bks-home-products {
        --bks-products-per-view: 2;
    }
    .bks-home-products__header {
        align-items: flex-end;
        margin-bottom: 34px;
    }
    .bks-home-products__controls {
        padding-top: 0;
    }
}

@media (max-width: 640px) {
    .bks-home-products {
        --bks-products-per-view: 1;
        --bks-products-card-gap: 18px;
    }
    .bks-home-products__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }
    .bks-home-products__controls {
        align-self: flex-end;
    }
    .bks-home-products__title {
        margin-bottom: 14px !important;
        font-size: 34px !important;
        letter-spacing: -.7px !important;
    }
    .bks-home-products__desc {
        font-size: 16px !important;
    }
    .bks-home-products__image-link {
        aspect-ratio: 1.35 / 1;
    }
    .bks-home-products__footer {
        gap: 28px;
        margin-top: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bks-home-products__track,
    .bks-home-products__arrow,
    .bks-home-products__image,
    .bks-home-products__dot,
    .bks-home-products__all {
        transition: none !important;
    }
}
