@font-face {
    font-family: Vazirmatn;
    src: url('fonts/Vazirmatn-variable.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}
:root {
    --toshik-font: Vazirmatn, Arial, sans-serif;
    --wd-container-w: 1360px !important;
    --wd-text-font: var(--toshik-font) !important;
    --wd-title-font: var(--toshik-font) !important;
    --wd-entities-title-font: var(--toshik-font) !important;
    --wd-alternative-font: var(--toshik-font) !important;
    --wd-header-el-font: var(--toshik-font) !important;
    --wd-widget-title-font: var(--toshik-font) !important;
}
body,
body :is(h1, h2, h3, h4, h5, h6, p, button, label, input, textarea, select, li, th, td,
    .woodmart-nav-link, .wd-header-text, .woocommerce-Price-amount, .mk-card-title,
    .mk-price, .pcsp-product-hero, .procode-contact-popup) {
    font-family: var(--toshik-font) !important;
    font-feature-settings: 'ss01' off;
}
body .whb-main-header .whb-row {
    width: min(1360px, 100%);
    margin-inline: auto;
}
body .whb-main-header .container,
body .main-page-wrapper > .container {
    width: 100%;
    max-width: 1360px;
}
body.procode-toshik-archive #main-content .category-wrapper {
    width: 100%;
    max-width: none;
    margin-inline: auto;
}
.procode-toshik-archive .category-wrapper .cat-top-title {
    padding: 16px 16px 10px;
}
.procode-toshik-archive .category-wrapper .top-link-box {
    padding: 0 16px 12px;
}
.procode-toshik-archive #pc-filter-sidebar,
.procode-toshik-archive #pc-filter-sidebar .filters-scrollbar {
    background-color: #fff;
}
.procode-toshik-archive #pc-filter-sidebar .mk-range-progress {
    background-color: #265b7c;
}
.procode-toshik-archive #pc-filter-sidebar .mk-range-thumb {
    border-color: #265b7c;
}
.procode-toshik-archive #mk-products-grid {
    gap: 12px;
}
.procode-toshik-archive #mk-products-grid > :is(.mk-product-card,.mk-card) {
    padding: 0;
}
.procode-toshik-archive #mk-products-grid .mk-product-card > .mk-card-link {
    min-height: 0;
    padding: 0;
}
.procode-toshik-archive #mk-products-grid .mk-card-image {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}
.procode-toshik-archive #mk-products-grid .right-cart-mobile {
    width: 100%;
    margin: 0;
    padding: 0;
}
.procode-toshik-archive #mk-products-grid .mk-card-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: inherit;
}
.procode-toshik-archive #mk-products-grid .mk-product-card .mk-card-title,
.procode-toshik-archive #mk-products-grid .mk-product-card .mk-card-price {
    padding-inline: 10px;
}
@media (min-width: 1025px) {
    .procode-toshik-archive .category-wrapper .cat-layout { padding-inline: 0; }
    .procode-toshik-archive #mk-products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 1024px) {
    .procode-toshik-archive #mk-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .procode-toshik-archive.sticky-toolbar-on:has(.wd-toolbar):has(.mobile-catagory-bottom-bar) {
        --toshik-woodmart-toolbar-height: 55px;
        padding-bottom: calc(var(--toshik-woodmart-toolbar-height) + 69px + env(safe-area-inset-bottom));
    }
    .procode-toshik-archive.sticky-toolbar-on:has(.wd-toolbar) .mobile-catagory-bottom-bar {
        bottom: calc(var(--toshik-woodmart-toolbar-height) + 8px + env(safe-area-inset-bottom));
    }
}

/* Skechers archive: annotation adjustments. */
.procode-toshik-archive.term-skechers #mk-desc-content {
    font-size: calc(1em + 2px);
}
.procode-toshik-archive.term-skechers #mk-desc-content .nb-faq-question {
    font-size: 15px;
}
.procode-toshik-archive.term-skechers #mk-desc-content .nb-faq-answer {
    font-size: 17px;
}

.procode-toshik-archive.term-skechers #mk-products-grid .mk-card-sku {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0 4px;
    margin-block-start: 4px;
    color: #555;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.procode-toshik-archive.term-skechers #mk-products-grid > .mk-product-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.procode-toshik-archive.term-skechers #mk-products-grid > .mk-product-card > .mk-card-link {
    flex: 1 1 auto;
    height: auto;
}
.procode-toshik-archive.term-skechers #mk-products-grid .mk-product-card .mk-card-price {
    margin-block-start: auto;
    padding-block-start: 10px;
}

.procode-toshik-archive.term-skechers .mk-cat-description-box {
    padding-inline: 15px;
}
.procode-toshik-archive.term-skechers .mk-cat-description-box > #mk-desc-toggle {
    width: 100%;
}
.procode-toshik-archive.term-skechers .mk-cat-description-box:not(.expanded) > #mk-desc-toggle {
    inset-inline-start: 15px;
    width: calc(100% - 30px);
}

@media (min-width: 1025px) {
    .procode-toshik-archive.term-skechers .category-wrapper > .sort-bar {
        padding-inline: 16px;
    }
    .procode-toshik-archive.term-skechers .sort-bar .sort-right {
        gap: 12px;
    }
    .procode-toshik-archive.term-skechers .sort-bar :is(.sort-options, .sort-options > li, .sort-count) {
        margin: 0;
    }
    .procode-toshik-archive.term-skechers #mk-products-grid {
        padding-inline: 16px;
    }
    .procode-toshik-archive.term-skechers #mk-products-grid .mk-product-card :is(.mk-card-title, .mk-card-sku, .mk-card-price) {
        padding-inline: 12px;
    }
    .procode-toshik-archive.term-skechers #mk-products-grid .mk-product-card .mk-card-title {
        margin-block-start: 12px;
    }
    .procode-toshik-archive.term-skechers #mk-products-grid .mk-product-card .mk-card-price {
        padding-block-end: 10px;
    }
}


@media (min-width: 1025px) {
    .website-wrapper > .whb-header {
        position: sticky;
        inset-block-start: var(--wd-admin-bar-h, 0px);
        z-index: 400;
        background: #fff;
    }

    .whb-header .wd-nav-main > .menu-item > .woodmart-nav-link,
    .whb-header .wd-nav-main > .menu-item > .woodmart-nav-link > .nav-link-text {
        font-style: normal;
        font-size: 11px;
    }

    .procode-toshik-archive .category-wrapper {
        --toshik-desktop-header-end: calc(var(--toshik-archive-header-height, 100px) + var(--toshik-admin-bar-offset, var(--wd-admin-bar-h, 0px)));
    }

    .procode-toshik-archive .category-wrapper > .sort-bar {
        top: var(--toshik-desktop-header-end);
    }

    .procode-toshik-archive .category-wrapper .cat-sidebar {
        --toshik-sticky-sidebar-top: max(185px, calc(var(--toshik-desktop-header-end) + var(--toshik-sort-bar-height, 59px) + 12px));
        top: var(--toshik-sticky-sidebar-top);
        max-height: calc(100vh - var(--toshik-sticky-sidebar-top) - 12px);
    }

    .procode-toshik-archive .category-wrapper .cat-sidebar.is-sticky-ended {
        --toshik-sticky-sidebar-top: max(110px, calc(var(--toshik-desktop-header-end) + 10px));
    }
}

body.admin-bar .website-wrapper > .whb-header.toshik-admin-header-offset {
    top: var(--toshik-admin-bar-offset, var(--wp-admin--admin-bar--height, 32px)) !important;
}
@media (max-width: 1024px) {
    body.admin-bar .website-wrapper > .whb-header {
        position: sticky !important;
        top: var(--toshik-admin-bar-offset, var(--wp-admin--admin-bar--height, 46px)) !important;
        z-index: 390;
        background: var(--bgcolor-white, #fff);
    }
}

/* The mobile category controls stay directly below the WoodMart header. */
@media (max-width: 1024px) {
    body.procode-toshik-archive:has(.mobile-catagory-bottom-bar) .website-wrapper > .whb-header {
        position: sticky;
        inset-block-start: var(--toshik-admin-bar-offset, 0px);
        z-index: 450;
        background: #fff;
    }

    body.procode-toshik-archive:has(.mobile-catagory-bottom-bar) .category-wrapper .sort-bar {
        top: calc(var(--toshik-archive-header-height, 51px) + var(--toshik-admin-bar-offset, 0px));
    }
}

footer :is(a[href*="/shoes/nike/"],a[href*="/shoes/hoka-shoes/"],a[href*="/shoes/new-balance/"],a[href*="/shoes/skechers/"],a[href*="/shoes/essex/"],a[href*="/shoes/adidas/"]),
.footer-container :is(a[href*="/shoes/nike/"],a[href*="/shoes/hoka-shoes/"],a[href*="/shoes/new-balance/"],a[href*="/shoes/skechers/"],a[href*="/shoes/essex/"],a[href*="/shoes/adidas/"]) { text-decoration:underline; text-underline-offset:4px; }
