@font-face {
    font-family: bakh;
    src: url("../../fonts/bakh-fanum/YekanBakhFaNum-Regular.woff") format("woff");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: bakh;
    src: url("../../fonts/bakh-fanum/YekanBakhFaNum-Medium.woff") format("woff");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: bakh;
    src: url("../../fonts/bakh-fanum/YekanBakhFaNum-Bold.woff") format("woff");
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: bakhFanum;
    src: url("../../fonts/bakh-fanum/YekanBakhFaNum-Regular.woff") format("woff");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: bakhFanum;
    src: url("../../fonts/bakh-fanum/YekanBakhFaNum-Medium.woff") format("woff");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: bakhFanum;
    src: url("../../fonts/bakh-fanum/YekanBakhFaNum-Bold.woff") format("woff");
    font-weight: 700;
    font-display: swap;
}

.arrivals-product .ab-product-section,
.ab-product-section,
.ab-product-card,
.ab-product-card *,
.ab-amazing,
.ab-amazing * {
    font-family: bakhFanum, bakh, sans-serif, tahoma !important;
}

.ab-product-section {
    margin: 1.5rem 0 2rem;
    padding: 0 8px;
    text-align: right;
}

.ab-product-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0;
}

.ab-product-section__title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ab-product-section__title h3 {
    margin: 0 0 0 1.5rem !important;
    color: #212529 !important;
    font-size: 28px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

.ab-product-section__dots {
    width: 18px;
    height: 22px;
    flex: 0 0 auto;
}

.ab-product-section__all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 36px;
    border: 1px solid #323232;
    border-radius: 50px;
    color: #6c757d !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    background: transparent;
    white-space: nowrap;
}

.ab-product-section__all:hover {
    color: var(--ani-main-color, #c4455a) !important;
    border-color: var(--ani-main-color, #c4455a) !important;
    background: #fafafa;
}

.ab-product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px 16px;
    width: 100%;
    padding-top: 1rem;
}

.products-list {
    display: block;
    width: 100%;
}

@media (min-width: 992px) {
    .ab-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 50px;
    }
}

.ab-product-card {
    display: block;
    color: #212529;
    text-decoration: none;
    background: transparent;
}

.ab-product-card:hover {
    color: #212529;
    text-decoration: none;
}

.ab-product-card__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 9 / 12;
    margin-bottom: 0.75rem;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
}

.ab-product-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease-out;
}

.ab-product-card:hover .ab-product-card__media img {
    transform: scale(1.08);
}

.ab-product-card__meta {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.ab-product-card__badge {
    justify-content: center;
    display:flex;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
    color: #fff;
    width:40px;
    background: #bc264b;
    border-top-left-radius:5px;
    border-top-right-radius:5px;
    padding: 10px 4px 20px 4px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.ab-product-card__body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.ab-product-card__right {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
}

.ab-product-card__title {
    display: inline;
    margin: 0;
    color: #333333;
    font-size: 1.063rem;
    font-weight: 700;
    line-height: 1.5;
}

.ab-product-card__left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: 0 0 auto;
    text-align: left;
}

.ab-product-card__old-price {
    position: relative;
    display: inline-block;
    width: fit-content;
    color: #959595;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
}

.ab-product-card__old-price::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 1px;
    margin: auto;
    background: #959595;
}

.ab-product-card__price {
    display: block;
    margin: -0.5rem 0;
    color: var(--ani-main-color) !important;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}

.ab-product-card__currency {
    color: #888888;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
}

.ab-product-card__contact {
    color: #fcbd15;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 991px) {
    .ab-product-section__title h3 {
        font-size: 20px !important;
        margin-left: 0.75rem !important;
    }

    .ab-product-section__all {
        min-height: 40px;
        padding: 8px 20px;
        font-size: 14px;
    }

    .ab-product-card__title {
        font-size: 1rem;
    }
}

.ab-amazing {
    position: relative;
    margin: 28px 12px 18px;
}

.ab-amazing__banner {
    position: relative;
    min-height: 196px;
    padding: 22px 28px 128px;
    border-radius: 28px 28px 28px 28px;
    background: var(--ani-main-color, #c4455a);
    overflow: visible;
}


.ab-amazing__head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.ab-amazing__heading {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.ab-amazing__accent {
    width: 4px;
    border-radius: 4px;
    background: #f6c445;
}

.ab-amazing__kicker {
    display: block;
    margin-bottom: 2px;
    color: #f6c445;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.ab-amazing__heading h2 {
    margin: 0;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
}

.ab-amazing__all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #fff;
    color: #4a4a4a !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ab-amazing__all:hover {
    color: #222 !important;
    background: #fff;
}

.ab-amazing__slider {
    position: relative;
    z-index: 2;
    margin-top: -112px;
    padding: 0 22px 6px;
}

.ab-amazing__viewport {
    overflow: hidden;
    padding: 8px 2px 16px;
}

.ab-amazing__track {
    display: flex;
    gap: 16px;
    direction: rtl;
    transition: transform .35s ease;
}

.ab-amazing-card {
    flex: 0 0 calc((100% - 48px) / 4);
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 10px 10px 12px;
    border-radius: 16px;
    background: #fff;
    color: #333;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(80, 20, 40, 0.12);
}

.ab-amazing-card:hover {
    color: #333;
    text-decoration: none;
}

.ab-amazing-card__media {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 12px;
    background: #f6f6f6;
}

.ab-amazing-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.ab-amazing-card:hover .ab-amazing-card__media img {
    transform: scale(1.04);
}

.ab-amazing-card__rate {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 7px;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ab-amazing-card__rate svg {
    color: var(--ani-main-color, #c4455a);
}

.ab-amazing-card__body {
    padding: 10px 4px 0;
    text-align: right;
}

.ab-amazing-card__title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 6px;
    min-height: 2.8em;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ab-amazing-card__prices {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
}

.ab-amazing-card__old {
    color: #9a9a9a;
    font-size: 12px;
    font-weight: 400;
    text-decoration: line-through;
}

.ab-amazing-card__price {
    display: inline-flex;
    align-items: baseline;
    flex: 0 0 auto;
    gap: 4px;
    min-width: max-content;
    color: var(--ani-main-color, #c4455a);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.ab-amazing-card__price small {
    margin-right: 3px;
    color: #8a8a8a;
    font-size: 11px;
    font-weight: 400;
}

.ab-amazing-card__off {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 22px;
    padding: 0 6px;
    border-radius: 6px;
    background: var(--ani-main-color, #c4455a);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.ab-amazing-card__contact {
    color: #fcbd15;
    font-size: 13px;
    font-weight: 500;
}

.ab-amazing__nav {
    position: absolute;
    top: 38%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #555;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
    cursor: pointer;
}

.ab-amazing__nav:disabled {
    opacity: 0.35;
    cursor: default;
}

.ab-amazing__nav[hidden] {
    display: none;
}

.ab-amazing__nav--prev {
    right: 4px;
}

.ab-amazing__nav--next {
    left: 4px;
}

@media (max-width: 991px) {
    .ab-amazing {
        margin: 20px 8px 12px;
    }

    .ab-amazing__banner {
        min-height: 160px;
        padding: 16px 16px 108px;
        border-radius: 22px 22px 22px 56px;
    }

    .ab-amazing__heading h2 {
        font-size: 20px;
    }

    .ab-amazing__slider {
        margin-top: -96px;
        padding: 0 8px 4px;
    }

    .ab-amazing-card {
        flex-basis: calc((100% - 16px) / 2);
    }

    .ab-amazing__nav {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 575px) {
    .ab-amazing__banner::before {
        width: 72px;
        height: 48px;
        bottom: -16px;
    }

    .ab-amazing-card {
        flex-basis: 72%;
    }

    .ab-amazing__all {
        min-height: 34px;
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* ========== CATEGORY LISTING ========== */
.pl-page,
.pl-page * {
    font-family: bakhFanum, bakh, tahoma, sans-serif;
}

.pl-page {
    width: 100%;
    clear: both;
    float: none;
    direction: rtl;
    padding: 4px 8px 36px;
}

.pl-cats {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 6px 0 18px;
}

.pl-cats__track {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 2px 2px 8px;
}

.pl-cats__track::-webkit-scrollbar {
    display: none;
}

.pl-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 132px;
    flex: 0 0 132px;
    color: #4a4a4a;
    text-decoration: none;
}

.pl-cat:hover {
    color: #222;
    text-decoration: none;
}

.pl-cat__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 148px;
    overflow: hidden;
    border: 1px solid #ededed;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.pl-cat.is-active .pl-cat__media {
    border-color: var(--ani-main-color, #c4455a);
    box-shadow: 0 0 0 1px var(--ani-main-color, #c4455a);
}

.pl-cat__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pl-cat__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #b5b5b5;
}

.pl-cat__placeholder svg {
    width: 42px;
    height: 42px;
}

.pl-cat__title {
    max-width: 100%;
    color: #5a5a5a;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
}

.pl-cat.is-active .pl-cat__title {
    color: var(--ani-main-color, #c4455a);
    font-weight: 700;
}

.pl-cats__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    margin-bottom: 28px;
    border: 1px solid #ececec;
    border-radius: 10px;
    background: #fff;
    color: #666;
    cursor: pointer;
}

.pl-cats__nav svg {
    width: 18px;
    height: 18px;
}

.pl-cats__nav:hover {
    color: var(--ani-main-color, #c4455a);
    border-color: #f0d5db;
}

.pl-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}

.pl-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #3f3f3f;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.pl-check input {
    display: inline-block !important;
    appearance: auto;
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--ani-main-color, #c4455a);
    cursor: pointer;
}

.pl-select,
.pl-sort__select {
    height: 40px;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    background-color: #fff;
    color: #4a4a4a;
    font-size: 13px;
    font-weight: 500;
    outline: none;
    cursor: pointer;
}

.pl-select {
    min-width: 118px;
    padding: 0 12px 0 28px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23888' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 10px center;
}

.pl-select:focus,
.pl-sort__select:focus {
    border-color: #e3b7c1;
}

.pl-sort {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;

    padding: 0 12px;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    background: #fff;
}

.pl-sort__count {
    color: #222;
    font-size: 13px;
    font-weight: 700;
}

.pl-sort__select {
    border: 0;
    background: transparent;
    padding: 0 0 0 16px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23888' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left center;
}

.products-list.is-loading {
    opacity: 0.45;
    pointer-events: none;
}

.pl-page .ab-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .pl-page .ab-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .pl-page .ab-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin-bottom: 70px;
    }


}

@media (max-width: 767px) {
    .pl-sort {
        margin-inline-start: 0;
        width: 100%;
        justify-content: space-between;
    }

    .pl-select {
        flex: 1 1 calc(50% - 10px);
    }
}

.pl-page .pagination-product {
    margin-top: 28px;
}

.pl-page .pagination-product .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.pl-page .pagination-product .page-item {
    display: flex !important;
    margin: 0;
}

.pl-page .pagination-product .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin: 0;
    padding: 0 8px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background: #fff;
    color: #444;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    box-shadow: none;
}

.pl-page .pagination-product .page-link svg {
    width: 18px;
    height: 18px;
    display: block;
}

.pl-page .pagination-product .page-item:first-child .page-link,
.pl-page .pagination-product .page-item:last-child .page-link {
    border-radius: 8px;
}

.pl-page .pagination-product .page-item.active .page-link {
    background: var(--ani-main-color, #c4455a);
    border-color: var(--ani-main-color, #c4455a);
    color: #fff;
}

.pl-page .pagination-product .page-item.disabled .page-link {
    color: #c8c8c8;
    background: #fff;
    border-color: #eee;
    pointer-events: none;
}

.pl-page .pagination-product .page-item:not(.active):not(.disabled) .page-link:hover {
    color: var(--ani-main-color, #c4455a);
    border-color: var(--ani-main-color, #c4455a);
    background: #fff;
}
