a {
    color: #8B0002;
}
.page-header .entry-title, .site-footer .footer-inner, .site-footer:not(.dynamic-footer), .site-header .header-inner, .site-header:not(.dynamic-header), body:not([class*=elementor-page-]) .site-main {
        max-width: 90%!important;
    }
.elementor-button span {
    text-decoration: inherit;
    color: #fff;
}

.header_title_cart {
    text-align: center;
    margin-top: 2%;
}

.header_title_cart span {
    color: #8B0002;
    font-size: 20px;
    font-weight: bold;
}

/* Product list styles */
.woocommerce ul.products li.product {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.woocommerce ul.products li.product img {
    border-radius: 8px;
    transition: transform 0.3s ease, filter 0.3s ease;
    max-width: 100%;
    height: auto;
}

.woocommerce ul.products li.product .separator-line {
    width: 100%;
    height: 1px;
    background-color: #ddd;
    margin: 15px 0;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title, 
.woocommerce ul.products li.product .woocommerce-loop-product__title, 
.woocommerce ul.products li.product h3 {
    padding: 1em;
    margin: 0;
    font-size: 1.1em;
    color: #515151;
    font-weight: 900;
}

.cf_archive_product {
    color: #8B0002;
}

.woocommerce:not(.woocommerce-uses-block-theme) ul.products li.product .price {
    color: #8B0002;
    font-size: 1.1em;
}

.woocommerce ul.products li.product .button {
    background: #8B0002;
    color: #fff;
}

.woocommerce:not(.woocommerce-uses-block-theme) .woocommerce-breadcrumb {
    font-family: 'IranSansDN' !important;
}

h1.woocommerce-products-header__title.page-title {
    font-family: 'IranSansDN' !important;
    text-align: center;
    color: #8B0002;
}

nav.woocommerce-breadcrumb {
    margin-top: 3% !important;
}
p.woocommerce-result-count {
    display: none;
}
div[itemprop="description"] {
    display:none;
}

.term-description {
    border-top: 2px solid #000;
    margin-top: 2%;
}

.category-images-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
    justify-content: center;
    margin-top: 2%;
}

.category-image {
    flex: 0 1 160px;
    text-align: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-image img {
    width: 100px;
    height: 100px;
    border: 3px solid #8B0002;
    border-radius: 10px;
    padding: 5px;
}

.category-image p {
    margin: 10px 0 0;
    font-size: 16px;
    font-weight: bold;
    color: #8B0002;
}

.category-navigation {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.category-navigation button {
    background-color: #8B0002;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.category-navigation button:hover {
    background-color: #A50002;
}

.category-separator {
    width: 100%;
    max-width: 70%;
    height: 2px;
    background-color: #8B0002;
    margin: 20px auto 0;
    border-radius: 1px;
}
.category-images-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
    justify-content: center;
    margin-top: 2%;
}

.category-image {
    flex: 0 1 160px;
    text-align: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-image img {
    width: 100px;
    height: 100px;
    border: 3px solid #8B0002;
    border-radius: 10px;
    padding: 5px;
}

.category-image p {
    margin: 10px 0 0;
    font-size: 16px;
    font-weight: bold;
    color: #8B0002;
}

.category-navigation {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.category-navigation button {
    background-color: #8B0002;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.category-navigation button:hover {
    background-color: #A50002;
}

.category-separator {
    width: 100%;
    max-width: 70%;
    height: 2px;
    background-color: #8B0002;
    margin: 20px auto 0;
    border-radius: 1px;
}

@media (max-width: 1024px) {
    .category-images-container {
        gap: 20px;
        margin-top: 5%;
    }

    .category-image {
        flex: 0 1 120px;
        margin-bottom: 15px;
    }

    .category-image img {
        width: 80px;
        height: 80px;
    }

    .category-image p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .category-images-container {
        gap: 1px;
        margin-top: 5%;
    }

    .category-image {
        flex: 0 1 100px;
        margin-bottom: 10px;
    }

    .category-image img {
        width: 60px;
        height: 60px;
    }

    .category-image p {
        font-size: 12px;
    }
}
