@font-face {
    font-family: "Peyda";
    src: url("../fonts/PeydaFaNumWeb-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Peyda";
    src: url("../fonts/PeydaFaNumWeb-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Peyda";
    src: url("../fonts/PeydaFaNumWeb-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Peyda";
    src: url("../fonts/PeydaFaNumWeb-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

.shop-products-shortcode,
.shop-products-shortcode * {
    box-sizing: border-box;
}

.shop-products-shortcode {
    margin: 0;
    background: #ffffff;
    color: #101828;
    font-family: "Peyda", Tahoma, Arial, sans-serif;
    font-size: 14px;
}

.shop-products-shortcode button,
.shop-products-shortcode input {
    font: inherit;
}

.shop-products-shortcode .filters-form {
    margin: 0;
}

.shop-products-shortcode .page {
    width: 1165px;
    margin: 26px auto 0;
    display: grid;
    grid-template-columns: 255px 1fr;
    gap: 34px;
    align-items: start;
    direction: rtl;
}

.shop-products-shortcode .sidebar {
    padding-top: 2px;
}

.shop-products-shortcode .search-box {
    display: block;
    width: 100%;
}

.shop-products-shortcode .search-box input {
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 34px;
    display: block;
    padding: 0 12px;
    border: 1px solid #e6e8ef;
    border-radius: 7px;
    outline: none;
    color: #667085;
    line-height: 34px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.03) inset;
    appearance: none;
    -webkit-appearance: none;
}

.shop-products-shortcode .search-box input::placeholder {
    color: #b2b7c2;
}

.shop-products-shortcode .primary-btn {
    width: 100%;
    height: 36px;
    margin-top: 10px;
    border: 0;
    border-radius: 6px;
    background: #2468f2;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
}

.shop-products-shortcode .filter-card {
    margin-top: 20px;
    padding: 14px 9px 13px;
    height: 103px;
    border: 1px solid #e9ecf2;
    border-radius: 7px;
    background: #fff;
}

.shop-products-shortcode .filter-card h2 {
    margin: 0 0 18px;
    text-align: right;
    font-size: 14px;
    color: #3a3f4a;
}

.shop-products-shortcode .price-range {
    position: relative;
    height: 18px;
    margin: -2px 5px 4px;
    direction: rtl;
    --thumb-size: 10px;
}

.shop-products-shortcode .range-track {
    position: absolute;
    top: 50%;
    left: calc(var(--thumb-size) / 2);
    right: calc(var(--thumb-size) / 2);
    height: 2px;
    transform: translateY(-50%);
    background: linear-gradient(
        to right,
        #dadde5 0 var(--range-start, 0%),
        #2169f3 var(--range-start, 0%) var(--range-end, 100%),
        #dadde5 var(--range-end, 100%) 100%
    );
}

.shop-products-shortcode .price-range input {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 2;
    width: 100%;
    height: var(--thumb-size);
    margin: 0;
    transform: translateY(-50%);
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    cursor: pointer;
    direction: rtl;
    pointer-events: none;
}

.shop-products-shortcode .price-range input:focus {
    outline: none;
}

.shop-products-shortcode .price-range input:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(33, 105, 243, 0.16);
}

.shop-products-shortcode .price-range input:focus-visible::-moz-range-thumb {
    box-shadow: 0 0 0 4px rgba(33, 105, 243, 0.16);
}

.shop-products-shortcode .price-range input::-webkit-slider-thumb {
    width: var(--thumb-size);
    height: var(--thumb-size);
    border: 0;
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
    background: #2169f3;
    pointer-events: auto;
}

.shop-products-shortcode .price-range input::-moz-range-thumb {
    width: var(--thumb-size);
    height: var(--thumb-size);
    border: 0;
    border-radius: 50%;
    background: #2169f3;
    pointer-events: auto;
}

.shop-products-shortcode .price-range input::-webkit-slider-runnable-track {
    height: var(--thumb-size);
    border: 0;
    background: transparent;
}

.shop-products-shortcode .price-range input::-moz-range-track {
    height: var(--thumb-size);
    border: 0;
    background: transparent;
}

.shop-products-shortcode .filter-card p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #989eaa;
    font-size: 11px;
    text-align: center;
}

.shop-products-shortcode .price-value-number {
    color: #596273;
    font-size: 12px;
    font-weight: 700;
}

.shop-products-shortcode .filter-dropdown {
    margin-top: 22px;
}

.shop-products-shortcode .filter-dropdown+.filter-dropdown {
    margin-top: 14px;
}

.shop-products-shortcode .select-btn {
    width: 100%;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e9ecf2;
    border-radius: 6px;
    background: #fff;
    color: #596273;
    font-size: 14px;
    padding: 0 11px;
    cursor: pointer;
}

.shop-products-shortcode .filter-dropdown+.select-btn {
    margin-top: 14px;
}

.shop-products-shortcode .select-btn svg {
    width: 15px;
    height: 15px;
    order: 2;
    fill: none;
    stroke: #2468f2;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

.shop-products-shortcode .filter-dropdown.is-open .select-btn svg {
    transform: rotate(180deg);
}

.shop-products-shortcode .dropdown-menu {
    max-height: 0;
    margin-top: 0;
    padding: 0 6px;
    overflow: hidden;
    border: 1px solid #e9ecf2;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.04);
    opacity: 0;
    transform: translateY(-6px);
    visibility: hidden;
    transition:
        max-height 0.24s ease,
        margin-top 0.24s ease,
        padding 0.24s ease,
        opacity 0.18s ease,
        transform 0.24s ease,
        visibility 0s linear 0.24s;
}

.shop-products-shortcode .filter-dropdown.is-open .dropdown-menu {
    max-height: 170px;
    margin-top: 8px;
    padding: 6px;
    overflow-y: auto;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition:
        max-height 0.24s ease,
        margin-top 0.24s ease,
        padding 0.24s ease,
        opacity 0.18s ease,
        transform 0.24s ease,
        visibility 0s linear;
}

.shop-products-shortcode .dropdown-menu button {
    width: 100%;
    min-height: 30px;
    padding: 6px 8px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #596273;
    text-align: right;
    font-size: 12px;
    cursor: pointer;
}

.shop-products-shortcode .dropdown-menu button:hover,
.shop-products-shortcode .dropdown-menu button:focus-visible {
    background: #f4f7ff;
    color: #2468f2;
    outline: none;
}

.shop-products-shortcode .apply {
    margin-top: 16px;
}

.shop-products-shortcode .content {
    min-width: 0;
}

.shop-products-shortcode .products-wrap {
    position: relative;
}

.shop-products-shortcode .products-loading {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.shop-products-shortcode.is-loading .products-loading {
    opacity: 1;
    pointer-events: auto;
}

.shop-products-shortcode .products-loading span {
    width: 34px;
    height: 34px;
    border: 3px solid #d9e4ff;
    border-top-color: #2468f2;
    border-radius: 50%;
    animation: shop-products-spin 0.72s linear infinite;
}

@keyframes shop-products-spin {
    to {
        transform: rotate(360deg);
    }
}

.shop-products-shortcode .breadcrumb {
    height: 53px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 24px;
    border: 1px solid #eceef3;
    border-radius: 7px;
    color: #8b929f;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.02);
}

.shop-products-shortcode .breadcrumb span,
.shop-products-shortcode .breadcrumb b,
.shop-products-shortcode .breadcrumb strong {
    font-size: 13px;
    font-weight: 400;
}

.shop-products-shortcode .breadcrumb b {
    margin: 0 3px;
    color: #b0b5bf;
}

.shop-products-shortcode .breadcrumb strong {
    color: #3d4350;
}

.shop-products-shortcode .products {
    direction: rtl;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 34px;
    justify-content: start;
}

.shop-products-shortcode .woocommerce-info,
.shop-products-shortcode .woocommerce-no-products-found,
.shop-products-shortcode .no-products {
    display: none;
}

.shop-products-shortcode .product-card {
    position: relative;
    direction: rtl;
    min-height: 410px;
    padding: 16px 15px 17px;
    border-radius: 32px;
    background: #d8f1ff;
    box-shadow: 0 16px 35px rgba(119, 205, 255, 0.16);
}

.shop-products-shortcode .product-card[hidden] {
    display: none;
}

.shop-products-shortcode .discount {
    position: absolute;
    top: 25px;
    left: 24px;
    z-index: 2;
    width: 35px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 200px;
    background: #ff0004;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    box-shadow: none;
    text-shadow: none;
    filter: none;
}

.shop-products-shortcode .image-box {
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: #fff;
    overflow: hidden;
}

.shop-products-shortcode .product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 10px;
}

.shop-products-shortcode .product-card h3 {
    width: 240px;
    max-width: 100%;
    margin: 15px 0 6px;
    color: #000000;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-products-shortcode .product-card h3 a {
    color: inherit;
    text-decoration: none;
}

.shop-products-shortcode .product-card .product-category {
    display: block;
    color: #2367f2;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
}

.shop-products-shortcode .card-foot {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    direction: rtl;
    margin-top: 22px;
    padding-top: 15px;
}

.shop-products-shortcode .card-foot::before {
    content: "";
    position: absolute;
    top: 0;
    left: 4px;
    right: 4px;
    height: 1px;
    background: rgba(17, 24, 39, 0.14);
}

.shop-products-shortcode .cart-btn {
    position: relative;
    order: 1;
    width: 58px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid #19d795;
    border-radius: 16px;
    background: #eafffb;
    cursor: pointer;
    text-decoration: none;
}

.shop-products-shortcode .cart-btn img {
    display: block;
    pointer-events: none;
}

.shop-products-shortcode .cart-shadow {
    position: absolute;
    width: 31px;
    height: 31px;
    object-fit: contain;
}

.shop-products-shortcode .cart-icon {
    position: relative;
    z-index: 1;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.shop-products-shortcode .price {
    order: 2;
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    direction: rtl;
    text-align: right;
    line-height: 1.25;
}

.shop-products-shortcode .sale-price {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    padding-left: 0;
    color: #5c5c5c;
    font-family: "Peyda", Tahoma, Arial, sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.shop-products-shortcode .toman-icon {
    width: 38px;
    height: auto;
    display: inline-block;
    object-fit: contain;
    vertical-align: middle;
}

.shop-products-shortcode .filter-card .toman-icon {
    width: 14px;
}

.shop-products-shortcode .price .toman-icon {
    margin-left: 0;
}

.shop-products-shortcode .original-price {
    position: relative;
    display: inline-block;
    margin-top: 4px;
    align-self: flex-start;
    color: #1c64f2;
    font-family: "Peyda", Tahoma, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.shop-products-shortcode .original-price::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ff2b2b;
    transform: translateY(-50%) rotate(-8.26deg);
    transform-origin: center;
}

.shop-products-shortcode .shop-products-pagination {
    margin-top: 32px;
    direction: rtl;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    color: #343a46;
    font-size: 14px;
    font-weight: 800;
}

.shop-products-shortcode .shop-products-pagination a,
.shop-products-shortcode .shop-products-pagination span {
    color: inherit;
    text-decoration: none;
}

.shop-products-shortcode .pagination-pages {
    min-height: 48px;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #e6ebf3;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(16, 24, 40, 0.08);
}

.shop-products-shortcode .pagination-page,
.shop-products-shortcode .pagination-dots,
.shop-products-shortcode .pagination-nav {
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.shop-products-shortcode .pagination-page {
    border: 1px solid transparent;
}

.shop-products-shortcode .pagination-page:hover,
.shop-products-shortcode .pagination-page:focus-visible {
    color: #0f5cff;
    border-color: #cfe0ff;
    background: #f4f8ff;
    box-shadow: 0 8px 18px rgba(36, 104, 242, 0.14);
    transform: translateY(-1px);
    outline: none;
}

.shop-products-shortcode .shop-products-pagination .active,
.shop-products-shortcode .shop-products-pagination .current {
    color: #ffffff;
    background: linear-gradient(135deg, #2468f2 0%, #00a0ff 100%);
    box-shadow: 0 10px 22px rgba(36, 104, 242, 0.3);
}

.shop-products-shortcode .pagination-dots {
    min-width: 28px;
    color: #98a2b3;
    letter-spacing: 2px;
}

.shop-products-shortcode .pagination-nav {
    min-width: 66px;
    padding: 0 14px;
    border: 1px solid #d9e2f1;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.06);
}

.shop-products-shortcode .pagination-nav:not(.is-disabled):hover,
.shop-products-shortcode .pagination-nav:not(.is-disabled):focus-visible {
    color: #ffffff;
    border-color: #2468f2;
    background: #2468f2;
    box-shadow: 0 10px 22px rgba(36, 104, 242, 0.22);
    transform: translateY(-1px);
    outline: none;
}

.shop-products-shortcode .pagination-nav.is-disabled {
    color: #b7bfcc;
    background: #f5f7fb;
    box-shadow: none;
    cursor: not-allowed;
}

.shop-products-shortcode.is-refreshing .products {
    animation: shop-products-refresh 0.18s ease;
}

@keyframes shop-products-refresh {
    from {
        opacity: 0.35;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .shop-products-shortcode .page {
        width: min(100% - 32px, 720px);
        grid-template-columns: 1fr;
    }
    .shop-products-shortcode .sidebar {
        order: 2;
    }
    .shop-products-shortcode .content {
        order: 1;
    }
    .shop-products-shortcode .products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        justify-content: stretch;
    }
    .shop-products-shortcode .product-card {
        min-height: 0;
        border-radius: 22px;
        padding: 12px;
    }
    .shop-products-shortcode .image-box {
        border-radius: 18px;
    }
    .shop-products-shortcode .product-card h3 {
        width: auto;
        margin-top: 12px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .shop-products-shortcode .card-foot {
        align-items: center;
        margin-top: 16px;
    }
    .shop-products-shortcode .sale-price {
        font-size: 16px;
    }
    .shop-products-shortcode .price .toman-icon {
        width: 32px;
    }
    .shop-products-shortcode .shop-products-pagination {
        gap: 8px;
    }
    .shop-products-shortcode .pagination-pages {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
    }
    .shop-products-shortcode .pagination-page,
    .shop-products-shortcode .pagination-dots,
    .shop-products-shortcode .pagination-nav {
        min-width: 34px;
        height: 34px;
    }
}

@media (max-width: 520px) {
    .shop-products-shortcode .page {
        width: min(100% - 20px, 420px);
        margin-top: 16px;
        gap: 22px;
    }
    .shop-products-shortcode .breadcrumb {
        height: 44px;
        margin-bottom: 16px;
        padding: 0 14px;
    }
    .shop-products-shortcode .products {
        gap: 14px;
    }
    .shop-products-shortcode .product-card {
        padding: 10px;
        border-radius: 18px;
    }
    .shop-products-shortcode .discount {
        top: 16px;
        left: 16px;
    }
    .shop-products-shortcode .image-box {
        border-radius: 14px;
    }
    .shop-products-shortcode .product-image {
        padding: 8px;
    }
    .shop-products-shortcode .product-card h3 {
        font-size: 13px;
        line-height: 1.55;
    }
    .shop-products-shortcode .product-card .product-category {
        font-size: 12px;
    }
    .shop-products-shortcode .card-foot {
        gap: 8px;
        padding-top: 12px;
    }
    .shop-products-shortcode .cart-btn {
        width: 44px;
        height: 34px;
        border-radius: 12px;
        flex: 0 0 auto;
    }
    .shop-products-shortcode .cart-shadow {
        width: 25px;
        height: 25px;
    }
    .shop-products-shortcode .cart-icon {
        width: 20px;
        height: 20px;
    }
    .shop-products-shortcode .sale-price {
        font-size: 14px;
        gap: 3px;
    }
    .shop-products-shortcode .price .toman-icon {
        width: 26px;
    }
    .shop-products-shortcode .original-price {
        font-size: 12px;
    }
    .shop-products-shortcode .shop-products-pagination {
        margin-top: 24px;
        font-size: 13px;
    }
    .shop-products-shortcode .pagination-pages {
        min-height: 42px;
        padding: 5px;
        gap: 4px;
    }
    .shop-products-shortcode .pagination-page,
    .shop-products-shortcode .pagination-dots,
    .shop-products-shortcode .pagination-nav {
        min-width: 32px;
        height: 32px;
        border-radius: 7px;
    }
    .shop-products-shortcode .pagination-nav {
        min-width: 58px;
        padding: 0 10px;
    }
}
