.azdi-best {
    padding-top: 72px;
    padding-bottom: 56px;
    direction: ltr;
}

.azdi-best__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.azdi-best__eyebrow,
.azdi-best__title,
.azdi-best__all,
.azdi-best__name,
.azdi-best__currency,
.azdi-best__amount {
    font-family: "Alexandria", "Cairo", sans-serif;
}

.azdi-best__eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #648935;
    font-size: 13px;
    font-weight: 500;
    line-height: normal;
}

.azdi-best__eyebrow img,
.azdi-best__all img,
.azdi-best__nav img {
    display: block;
    flex: 0 0 auto;
}

.azdi-best__eyebrow img {
    width: 16px;
    height: 16px;
}

.azdi-best__title {
    margin: 8px 0 0;
    color: #194a33;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.32px;
    line-height: normal;
}

.azdi-best__tools {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 16px;
}

.azdi-best__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #194a33;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    text-decoration: none;
}

.azdi-best__all img {
    width: 16px;
    height: 16px;
}

.azdi-best__all:hover,
.azdi-best__card:hover .azdi-best__name {
    color: #648935;
}

.azdi-best__arrows {
    display: flex;
    align-items: center;
    gap: 16px;
}

.azdi-best__arrows[hidden] {
    display: none;
}

.azdi-best__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border-radius: 21px;
    cursor: pointer;
}

.azdi-best__nav img {
    width: 18px;
    height: 18px;
}

.azdi-best__nav--prev {
    border: 1px solid #e0e0e0;
    background: #fff;
}

.azdi-best__nav--next {
    border: 0;
    background: #194a33;
}

.azdi-best__nav:disabled {
    cursor: default;
    opacity: 0.4;
}

.azdi-best__viewport {
    overflow: hidden;
}

.azdi-best__track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease;
}

.azdi-best__card {
    display: flex;
    flex: 0 0 calc((100% - 96px) / 5);
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    padding: 12px 12px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 18px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.azdi-best__card:focus-visible {
    outline: 2px solid #194a33;
    outline-offset: 3px;
}

.azdi-best__media {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    background: #f7f7f7;
}

.azdi-best__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.azdi-best__info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-inline: 4px;
}

.azdi-best__name {
    display: -webkit-box;
    min-height: 42px;
    overflow: hidden;
    color: #194a33;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.azdi-best__price {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.azdi-best__currency {
    color: #86938d;
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
}

.azdi-best__amount {
    color: #648935;
    font-size: 19px;
    font-weight: 600;
    line-height: normal;
}

@media (max-width: 1199.98px) {
    .azdi-best__card {
        flex-basis: calc((100% - 48px) / 3);
    }
}

@media (max-width: 767.98px) {
    .azdi-best {
        padding-top: 48px;
        padding-bottom: 40px;
    }

    .azdi-best__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .azdi-best__title {
        font-size: 26px;
    }

    .azdi-best__card {
        flex-basis: calc((100% - 24px) / 2);
    }
}

@media (max-width: 575.98px) {
    .azdi-best__card {
        flex-basis: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .azdi-best__track {
        transition: none;
    }
}

[dir="rtl"] .azdi-best {
    direction: rtl;
}

[dir="rtl"] .azdi-best__price {
    direction: rtl;
}

/* azdi-ar-rtl-2 */
[dir="rtl"] .azdi-best__viewport,
[dir="rtl"] .azdi-best__track {
    direction: rtl;
}

[dir="rtl"] .azdi-best__arrows {
    direction: ltr;
    flex-direction: row-reverse;
}

[dir="rtl"] .azdi-best__nav img {
    transform: scaleX(-1);
}

/* azdi-best-sale */
.azdi-best__price,
[dir="rtl"] .azdi-best__price {
    direction: ltr;
    flex-wrap: wrap;
}

.azdi-best__price > .azdi-best__currency {
    color: #648935;
}