.mobile-menu>ul>li:nth-child(2)>a {
    color: var(--accent);
}


.container {
    max-width: 1500px;
}

.page-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--accent);
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.products-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.filters-sidebar {
    flex: 0 0 280px;
    border: 1px solid var(--shadow-op);
    border-radius: 10px;
    padding: 20px;
}

.filter-group {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--black-hover);
    padding-bottom: 20px;
}

.filter-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--shadow-op);
}

.sort-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sort-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 5px;
    transition: all 0.3s;
    color: var(--border-color);
    font-family: "ali", "iranian-m", sans-serif;
}

.sort-option:hover {
    background-color: var(--hover-accent);
}

.sort-option.active {
    background-color: var(--accent);
    color: var(--white-s);
    font-weight: bold;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-item {
    background-color: var(--bg-khak);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: "ali", "iranian-m", sans-serif;
}

.checkbox-item input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.search-box-products {
    position: relative;
    margin-bottom: 20px;
}

.search-box-products .search-input {
    background: var(--white);
    width: 100%;
    padding: 12px 15px 12px 15px;
    border: 1px solid var(--black-hover);
    border-radius: 8px;
    font-size: .9rem;
    transition: all 0.3s;
    color: var(--black);
    font-family: "iranian-m", sans-serif;
}

.search-box-products .search-input:focus {
    outline: none;
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.search-box-products .search-btn {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--black);
    cursor: pointer;
    font-size: 1.1rem;
}

.products-container {
    flex: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.product-card {
    position: relative;
    background: linear-gradient(to bottom, var(--white) 250px, var(--bg-khak) 250px);
    border: 1px solid var(--shadow-op);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 17px;
    cursor: pointer;
    /* @supports (corner-shape: squircle) {
        border-radius: 40px 40px 40px 0;
        corner-shape: notch;
    } */
}

.product-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.badge {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    color: var(--white-s);
    font-weight: bold;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.466);
    border: 2px solid var(--shadow-op);
}

.badge.in-stock {
    background-color: var(--accent);
}

.badge.sale {
    background-color: var(--sabz);
}

.product-image {
    height: 250px;
    width: auto;
    margin: auto;
    object-fit: cover;
    border-bottom: 1px solid var(--shadow-op);
    background-color: var(--white);
    transition: all .3s ease;
}

.product-image:hover {
    scale: 1.1;
}

.product-info {
    position: relative;
    background: var(--bg-khak);
    padding: 15px;
    z-index: 1;
}

.product-name {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--black-hover);
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-code {
    font-size: 0.8rem;
    color: var(--border-color);
    margin-bottom: 10px;
}

.product-price {
    display: flex;
    justify-content: left;
    text-align: left;
    gap: 10px;
    margin-bottom: 15px;
}

.current-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent);
}

.original-price {
    font-size: 0.9rem;
    color: var(--border-color);
    text-decoration: line-through;
}

.product-buttons {
    display: flex;
    gap: 0px;
    margin-top: 15px;
}

.view-details-btn {
    height: 40px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 5px 7px;
    background: var(--white);
    color: var(--black-hover);
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 0 1px var(--black);
    transition: all 0.3s ease;
    overflow: hidden;


    /* @supports (outline-offset: 5px) {
        outline: 2px solid var(--accent);
        outline-offset: 5px;
        border-radius: 15px;
    } */

    /* @supports (transform: rotateX(10deg)) {
        transform: rotateX(5deg);
        border-radius: 20px 0 0 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    } */

    @supports (corner-shape: squircle) {
        border-radius: 10px 0 0 10px;
        corner-shape: bevel;
    }
}

.view-details-btn:hover {
    color: var(--accent);
}

.view-details-btn:active {
    scale: .98;
}

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.currency {
    font-size: 0.8em;
    font-weight: normal;
}@keyframes pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination-btn {
    padding: 5px 10px;
    background: var(--accent);
    border: 1px solid var(--black-s);
    color: var(--black-s);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination-btn:hover {
    background: var(--accent1);
}

.pagination-btn.active {
    background: var(--bg-khak2);
    color: var(--black);
    border-color: var(--black);
}

.pagination-btn:disabled,
.pagination-btn:disabled:hover {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: var(--accent);
}

.results-info {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
    color: #666;
}

@media (max-width: 992px) {
    .products-section {
        flex-direction: column;
    }

    .filters-sidebar {
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 1.6rem;
    }
}

.no-products {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

/* استایل برای المنت‌های مخفی محصولات */
.products-data {
    display: none;
}