.bksds-empty {
    margin: 0;
}

.bksds-products-selected-slider {
    direction: rtl;
}

.bksds-products-selected-slider .items {
    display: flex;
    gap: 12px;
    align-items: stretch;
    overflow-x: auto;
    padding: 0 2px 10px;
    scrollbar-width: thin;
}

.bksds-products-selected-slider .header__title-holder,
.bksds-products-selected-slider .header__all,
.bksds-products-selected-slider .cta {
    cursor: pointer;
}

.bksds-products-selected-slider .card-product-1 {
    flex: 0 0 auto;
    width: 190px;
    min-width: 190px;
    max-width: 190px;
    min-height: 316px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    overflow: hidden;
}

.bksds-products-selected-slider .card-product-1__image-link {
    display: block;
    text-decoration: none;
}

.bksds-products-selected-slider .card-product-1__image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
}

.bksds-products-selected-slider .card-product-1__image img,
.bksds-archive .card-product-horizontal__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bksds-products-selected-slider .card-product-1__title {
    min-height: 42px;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
    text-align: right;
    text-decoration: none;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bksds-products-selected-slider .card-product-1__price-holder {
    min-height: 42px;
    display: flex;
    align-items: end;
    gap: 5px;
    margin-top: auto;
}

.bksds-products-selected-slider .card-product-1__price-holder .discount {
    flex: 0 0 auto;
    min-width: 34px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--bksds-primary, #d9232e);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.bksds-products-selected-slider .card-product-1__price-holder .price {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.35;
}

.bksds-products-selected-slider .card-product-1__price-holder .price-new {
    color: #111827;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.bksds-products-selected-slider .card-product-1__price-holder .price-old {
    color: #9ca3af;
    font-size: 11px;
    text-decoration: line-through;
    white-space: nowrap;
}

.bksds-products-selected-slider .card-product-1__price-holder .tomaan {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
}

.bksds-products-selected-slider .wd-add-btn {
    min-height: 34px;
}

.bksds-products-selected-slider .add-to-cart-loop {
    width: 100%;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--bksds-primary, #d9232e);
    border-radius: 8px;
    background: #fff;
    color: var(--bksds-primary, #d9232e);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
}

.bksds-products-selected-slider .add-to-cart-loop .btn-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.bksds-low-stock-bar {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
    background: var(--bksds-primary, #d9232e);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
    text-align: center;
}

.bksds-archive .card-product-horizontal__image {
    position: relative;
    overflow: hidden;
}

.bksds-archive .card-product-horizontal__stock-bar {
    border-radius: 0;
}

.bksds-archive {
    direction: rtl;
}

.bksds-hero {
    min-height: 220px;
    display: flex;
    align-items: end;
    background: var(--bksds-primary);
    color: #fff;
    margin-bottom: 24px;
    background-size: cover;
    background-position: center;
}

.bksds-hero.has-image {
    position: relative;
}

.bksds-hero.has-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.12), rgba(0,0,0,.62));
}

.bksds-hero-inner {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0;
}

.bksds-hero h1 {
    margin: 0 0 8px;
    font-size: clamp(28px, 5vw, 44px);
    line-height: 1.25;
}

.bksds-hero-description {
    max-width: 680px;
    font-size: 15px;
}

.bksds-card {
    display: grid;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
}

.bksds-card-image img {
    width: 100%;
    height: auto;
}

.bksds-card-title {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}

.bksds-pagination {
    display: flex;
    justify-content: center;
    margin: 26px 0 8px;
    direction: rtl;
}

.bksds-pagination ul.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bksds-pagination ul.page-numbers li {
    margin: 0;
}

.bksds-pagination .page-numbers {
    min-width: 36px;
    height: 36px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.bksds-pagination a.page-numbers:hover,
.bksds-pagination .page-numbers.current {
    border-color: var(--bksds-primary, #d9232e);
    background: var(--bksds-primary, #d9232e);
    color: #fff;
}

.bksds-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    color: #9ca3af;
}

@media (max-width: 768px) {
    .bksds-products-selected-slider {
        border-radius: 0;
        margin-left: -12px;
        margin-right: -12px;
    }

    .bksds-products-selected-slider .card-product-1 {
        width: 170px;
        min-width: 170px;
        max-width: 170px;
        min-height: 302px;
    }

    .bksds-pagination .page-numbers {
        min-width: 34px;
        height: 34px;
        padding: 0 9px;
        font-size: 12px;
    }
}
