```css
/* =========================================================
   Tamland Product Slider
   Clean & Organized Styles
   ========================================================= */

/* -------------------------
   Variables
------------------------- */

:root {
    --primary: #c5161c;
    --primary-hover: #a51414;
    --text: #222;
    --text-muted: #58595b;
    --border: #d7d7d7;
    --card-border: #ebebeb;
    --white: #fff;
    --price: #111;
    --old-price: #bbb;
    --loader-blue: #1a73e8;

    --font-fa: "YekanBakhFaNum", sans-serif;

    --card-radius: 16px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}


/* =========================================================
   Filters
   ========================================================= */

.tamland-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    font-family: var(--font-fa);
    font-size: 16px !important;
}

.filter-group label {
    color: #333;
    font-weight: 700;
}

.tamland-category-filter,
.tamland-tag-filter {
    width: 250px;
    max-width: 500px !important;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--white);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition-fast),
                box-shadow var(--transition-fast);
}

.tamland-category-filter:focus,
.tamland-tag-filter:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(197, 22, 28, 0.08);
}

.filter-group.teacher {
    display: none;
}


/* =========================================================
   Main Product Slider Wrapper
   ========================================================= */

.product-categories-slider-wrapper {
    direction: rtl;
    margin: 20px 0;
    font-family: var(--font-fa);
}


/* =========================================================
   Swiper
   ========================================================= */

.tamland-swiper {
    padding: 10px 5px 40px !important;
}

.product-slider-container {
    position: relative;
}

.product-slider-container .swiper {
    padding: 10px 0 50px !important;
}


/* Center slides */

.product-slider-container .swiper-slide,
.tamland-swiper .swiper-slide {
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
}


/* =========================================================
   Product Tabs
   ========================================================= */

.product-tabs {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;

    margin-bottom: 14px;
    padding: 0;

    background: transparent;
    border-radius: 0;

    overflow-x: auto;
    overflow-y: visible;

    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.product-tabs::-webkit-scrollbar {
    display: none;
}

.product-tab {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;

    height: 32px;
    padding: 0 16px;

    border: 1px solid rgba(68, 68, 68, 0.25);
    border-radius: 20px;

    background: transparent;
    color: #444;

    font-family: var(--font-fa);
    font-size: 12px;
    font-weight: 500;

    cursor: pointer;
    white-space: nowrap;

    scroll-snap-align: center;

    transition:
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast);
}

.product-tab:hover {
    border-color: var(--primary);
    background-color: var(--white);
    color: var(--primary);
}

.product-tab.active {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--white);
    font-weight: 700;
}


/* =========================================================
   Product Card
   ========================================================= */

.product-card {
    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;
    max-width: 245px;
    height: 285px;

    box-sizing: border-box;

    padding: 0;

    overflow: hidden;

    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);

    background-color: var(--white);

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);

    transition:
        transform var(--transition-fast),
        box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}


/* =========================================================
   Product Card Link
   ========================================================= */

.product-card-link {
    display: flex;

    width: 100%;
    height: 100%;

    color: inherit;
    text-decoration: none;
}

.product-card-link:hover {
    color: inherit;
    text-decoration: none;
}

.product-card-link:hover .product-card {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}


/* =========================================================
   Product Card Inner
   ========================================================= */

.product-card-inner {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    width: 100%;
    height: 100%;

    gap: 0;
}


/* =========================================================
   Product Image
   ========================================================= */

.product-image-wrapper {
    position: relative;

    width: 100%;
    height: 168px;

    flex-shrink: 0;

    overflow: hidden;

    border: none;
    border-radius: 0;

    box-shadow: none;
}

.product-image-wrapper img,
.product-image,
.product-card-inner > img {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.product-image-wrapper img,
.product-image {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   Product Title
   ========================================================= */

.product-title-wrapper {
    position: relative;

    display: block;

    width: 100%;

    padding: 0;

    align-self: stretch;
    flex: 0 0 auto;

    border-bottom: none;
}

.product-title {
    position: relative;

    display: -webkit-box;

    width: 100%;
    min-height: 38px;

    box-sizing: border-box;

    margin: 0;
    padding: 10px 12px 4px;

    overflow: hidden;

    color: var(--text);

    direction: rtl;
    text-align: right;

    font-family: var(--font-fa);
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.6;

    letter-spacing: 0;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


/* =========================================================
   Price Section
   ========================================================= */

.product-price-wrapper {
    position: relative;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end;

    align-self: stretch;

    width: 100%;

    box-sizing: border-box;

    margin-top: auto;
    padding: 6px 12px 12px;

    gap: 2px;

    flex: 0 0 auto;
}

.product-price-discount-container {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: space-between;

    align-self: stretch;

    width: 100%;

    gap: 10px;

    flex: 0 0 auto;
}

.product-price-column {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: flex-end !important;

    flex-grow: 1;

    gap: 0;
}

.product-price-column * {
    position: static !important;
    width: auto !important;
}


/* =========================================================
   Current Price
   ========================================================= */

.current-price-row {
    position: relative;

    display: flex;

    align-items: baseline;
    justify-content: flex-end;

    align-self: stretch;

    width: 100%;

    gap: 3px;

    flex: 0 0 auto;
}

.current-price {
    display: inline-flex;

    align-items: baseline;
    justify-content: flex-end;

    height: auto;

    color: var(--price);

    font-family: var(--font-fa);
    font-size: 15px;
    font-weight: 800;
    line-height: 1;

    text-align: right;
    white-space: nowrap;
    letter-spacing: 0;
}


/* =========================================================
   Toman Icon
   ========================================================= */

.toman-icon {
    width: 10px;
    height: 14px;

    aspect-ratio: 0.73;

    margin-right: 3px;

    object-fit: cover;
}


/* =========================================================
   Original Price
   ========================================================= */

.original-price-container {
    width: auto;
    height: auto;

    margin-right: 0;

    align-self: auto;
}

.original-price {
    display: inline-flex;

    align-items: center;
    justify-content: flex-end;

    height: auto;

    color: var(--old-price);

    font-family: var(--font-fa);
    font-size: 11px;
    font-weight: 500;
    line-height: 1;

    text-align: right;

    text-decoration: line-through;
    white-space: nowrap;
    letter-spacing: 0;
}

.strikethrough {
    display: none;
}


/* =========================================================
   Discount Badge
   ========================================================= */

.discount-badge {
    position: relative;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    flex-shrink: 0;

    box-sizing: border-box;

    padding: 6px;

    gap: 10px;

    border-radius: 8px;

    background-color: var(--primary);
}

.discount-text {
    position: relative;

    display: flex;

    width: fit-content;

    margin-left: -1px;
    margin-right: -1px;

    align-items: center;
    justify-content: center;

    color: var(--white);

    font-family: var(--font-fa);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;

    direction: rtl;
    text-align: center;
    white-space: nowrap;
}


/* =========================================================
   Free Price
   ========================================================= */

.free-price {
    color: #1a1a1a;

    font-family: var(--font-fa);
    font-size: 14px;
    font-weight: 700;
}

.free-price + .toman-icon {
    display: none;
}


/* =========================================================
   View All Button
   ========================================================= */

.view-all-btn-container {
    display: none;
}

.view-all-btn {
    display: flex;

    justify-content: center;

    margin-top: 24px;
}

.view-all-btn button {
    padding: 12px 24px;

    border: 1px solid var(--primary);
    border-radius: 12px;

    background: transparent;
    color: var(--primary);

    font-family: var(--font-fa);
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background-color var(--transition-normal),
        color var(--transition-normal);
}

.view-all-btn button:hover {
    background-color: var(--primary);
    color: var(--white);
}


/* =========================================================
   Swiper Navigation
   ========================================================= */

.swiper-button-next,
.swiper-button-prev {
    width: 32px !important;
    height: 32px !important;

    border: none !important;
    border-radius: 8px !important;

    background-color: var(--primary) !important;
    color: var(--white) !important;

    transition:
        background-color var(--transition-fast) !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--primary-hover) !important;
    color: var(--white) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 14px !important;
    font-weight: 700 !important;
}

.swiper-button-next {
    left: 10px;
}

.swiper-button-prev {
    right: 10px;
}


/* =========================================================
   Swiper Pagination
   ========================================================= */

.swiper-pagination-bullet-active {
    background: #0073aa !important;
}

.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    display: none !important;
}


/* =========================================================
   WooCommerce
   ========================================================= */

span.woocommerce-Price-currencySymbol {
    display: none !important;
}


/* =========================================================
   Loader
   ========================================================= */

.pc-loader {
    width: 40px;
    height: 40px;

    margin: 40px auto;

    border: 4px solid #f3f3f3;
    border-top-color: var(--loader-blue);
    border-radius: 50%;

    animation: pc-spin 1s linear infinite;
}

@keyframes pc-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   Tablet
   768px - 1023px
   ========================================================= */

@media (max-width: 1023px) {

    .product-card {
        height: 255px;
    }

    .product-card-inner {
        width: 100%;
    }

    .product-image-wrapper {
        height: 148px;
    }

    .product-title {
        font-size: 12px;
        line-height: 1.6;
    }

    .current-price {
        font-size: 14px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 32px !important;
        height: 32px !important;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 14px !important;
    }
}


/* =========================================================
   Mobile
   767px and below
   ========================================================= */

@media (max-width: 767px) {

    .product-categories-slider-wrapper {
        margin: 15px 0;
    }

    .product-tabs {
        gap: 6px;
        margin-bottom: 15px;
    }

    .product-tab {
        height: 28px;
        padding: 0 12px;
        font-size: 11px;
    }

    .product-slider-container .swiper {
        padding-bottom: 40px !important;
    }

    .product-card {
        height: auto;
    }

    .product-card-inner {
        width: 100%;
        max-width: 280px;
    }

    .product-image-wrapper {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .product-title-wrapper {
        padding: 0;
    }

    .product-title {
        font-size: 11px;
        line-height: 1.5;

        -webkit-line-clamp: 2;
    }

    .product-price-wrapper {
        gap: 2px;
        padding: 6px 8px 10px;
    }

    .current-price {
        font-size: 13px;
    }

    .toman-icon {
        width: 9px;
        height: 12px;
    }

    .discount-badge {
        width: 28px;
        height: 28px;
    }

    .discount-text {
        font-size: 10px;
    }

    .view-all-btn {
        margin-top: 20px;
    }

    .view-all-btn button {
        padding: 10px 20px;
        font-size: 13px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}


/* =========================================================
   Small Mobile
   480px and below
   ========================================================= */

@media (max-width: 480px) {

    .product-tab {
        height: 26px;
        padding: 0 8px;
        font-size: 12px;
    }

    .product-title {
        font-size: 11px;
        line-height: 1.5;
    }

    .current-price {
        font-size: 13px;
    }

    .view-all-btn button {
        padding: 8px 16px;
        font-size: 12px;
    }
}