﻿/* Extracted legacy search layout styles from view/search/index.php. */
.daste-bar-asas {
                float: right;
            }

            .daste-bar-asas .daste-bar-asas-1, .tedad-namayesh .daste-bar-asas-1 {
                margin-left: 8px;
            }

            .daste-bar-asas select, .tedad-namayesh select {
                font-family: 'matiket-font', Arial;
            }

            .left-search-inner .tools-inner {
                border: 1px solid #ddd;
                padding: 8px;
            }

            .tedad-namayesh {
                float: left;
            }

            .safheha {
                margin-top: 12px;
                margin-bottom: 12px;
                text-align: left;
            }

            .safheha ul, .products ul {
                padding: 0;
                margin: 0;
            }

            .safheha li, .safheha .arrow-safhe-li {
                cursor: pointer;
                border: 1px solid #bbb;
                padding: 2px 8px;
                display: inline-block;
            }

            .safheha li.active {
                background: #e2e5f1;
            }

            .safheha ul {
                display: inline-block;
            }

            .safheha .arrow-safhe {
                background: url(../images/icons/arrows2.png);
                display: block;
                width: 10px;
                height: 10px;
            }

            .safheha .arrow-safhe-li {
                vertical-align: middle;
                padding: 10px 6px;
            }

            .safheha .arrow-safhe.prev {
                background-position: -14px 0;
            }

            .products .details-product {
                position: relative;
                padding: 8px;
                border: 1px solid #d9d9d9;
                overflow: hidden;
                height: 361px;
                border-radius: 4px;
            }

            .details-product h2 {
                font-size: 12pt;
                line-height: 1.85;
                font-weight: normal;
                margin: 0;
                height: 60px;
                border-bottom: 2px solid #707fb7;
                margin-bottom: 12px;
            }

            .details-product h2 a {
                color: #556080;
            }

            .details-product .price_p {
                margin-top: 20px;
                color: #26882a;
            }

            .details-product .details_p {
                cursor: pointer;
                width: 112px;
                height: 42px;
                background: #707fb7;;
                position: absolute;
                bottom: 10px;
                left: -40px;
                -moz-transform: skewX(25deg);
                -webkit-transform: skewX(25deg);
                transform: skewX(25deg);
                -webkit-transition: all 200ms linear;
                -moz-transition: all 200ms linear;
                -o-transition: all 200ms linear;
                transition: all 200ms linear;
            }

            .details-product .details_p:hover {
                transition: all 200ms linear;
                -webkit-transition: all 200ms linear;
                -moz-transition: all 200ms linear;
                -o-transition: all 200ms linear;
                left: -20px;
            }

            .details-product .details_p span {
                margin-top: 9px;
                background: url(../images/icons/text-file-double.png);
                width: 24px;
                height: 24px;
                display: block;
                -moz-transform: skewX(-25deg);
                -webkit-transform: skewX(-25deg);
                transform: skewX(-25deg);
                margin-right: 20px;
            }

            .details-product .details_p a {
                display: flex;
                width: 100%;
                height: 100%;
            }

            .faild_product p {
                width: 100%;
                color: #bf0909;
                padding: 8px 0;
                text-align: center;
                font-size: 14pt;
                box-shadow: 0 0 2px red;
            }

            .daste-bar-asas-2 {
                margin-right: 15px;
            }

            .free_prices {
                vertical-align: middle;
            }

            .dipircet_discount {
                font-size: 9.8pt;
                color: #cc2f2f;
            }

            .product_new_price {
                color: green;
            }

            .product_new_price .avl_dis_p {
                padding-right: 12px;
                font-size: 12pt;
            }

            .products .namojodas {
                border-top-right-radius: 20px;
                background: #ff5a5a;
                margin-top: 23px;
                margin-right: 10px;
                color: #fff;
                height: 42px;
                font-size: 12pt;
                padding: 6px 20px;
            }

            .pro_image {
                margin: auto;
            }

            .pro_image_div {
                text-align: center;
                padding-top: 4px;
                padding-bottom: 4px;
            }

.search-fashion {
    background:
        linear-gradient(135deg, rgba(12, 143, 134, .05) 25%, transparent 25%) 0 0 / 30px 30px,
        #fbfbf8;
    padding: 22px 0 48px;
}

.search-fashion .container_fix {
    width: 1200px;
    max-width: 100%;
}

.search-fashion .row,
.search-fashion .row-dis {
    margin-right: 0;
    margin-left: 0;
}

.search-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding: 24px;
    border: 1px solid #eadfcc;
    border-radius: 8px;
    background:
        radial-gradient(circle at left top, rgba(255, 229, 173, .2), transparent 36%),
        linear-gradient(135deg, #1f2723, #26332d);
    color: #fff;
    box-shadow: 0 18px 42px rgba(31, 39, 35, .12);
}

.search-hero h2 {
    margin: 8px 0 10px;
    font-size: 24px;
    line-height: 1.8;
}

.search-hero p {
    max-width: 620px;
    color: rgba(255, 255, 255, .76);
    line-height: 2;
}

.search-hero-badge {
    min-width: 170px;
    padding: 16px;
    border: 1px solid rgba(255, 229, 173, .34);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    text-align: center;
}

.search-hero-badge strong {
    display: block;
    color: #ffe5ad;
    font-size: 24px;
    line-height: 1.6;
}

.search-hero-badge span {
    color: rgba(255, 255, 255, .74);
}

.search-fashion .search-breadcrumb {
    margin: 0 0 14px;
    padding: 10px 14px;
    border: 1px solid #eee4d5;
    border-radius: 8px;
    background: #fff;
    color: #7b7166;
}

.search-fashion .breadcrumb-count {
    color: #b23a48;
    font-weight: 700;
}

.search-fashion .section-background {
    padding: 0;
    overflow: visible;
    border-radius: 8px;
    background: transparent;
}

.search-layout-form {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.search-fashion .right-search,
.search-fashion .left-search {
    width: auto;
    float: none;
    padding: 0;
}

.search-fashion .right-search-inner {
    position: sticky;
    top: 16px;
}

.search-fashion .category-search {
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid #eadfcc;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(31, 39, 35, .06);
}

.search-fashion .category-search.brand-search,
.search-fashion .category-search.size-search,
.search-fashion .category-search.color-search {
    margin-top: 14px;
}

.search-fashion .category-search .headere_cat_search {
    margin: 0;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid #f0e5d6;
    background: #fbf6ed;
}

.search-fashion .category-search h3 {
    color: #1f2723;
    font-size: 15px;
}

.search-fashion .category-search h3:before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 8px;
    border-radius: 3px;
    background: #b23a48;
}

.search-fashion .category-search .main_cat_search {
    margin-top: 0;
    padding: 12px 14px 14px;
}

.search-fashion .category-search .main_cat_search ul {
    padding-right: 0;
}

.search-fashion .category-search .main_cat_search li,
.search-fashion .category-search .main_cat_search div {
    color: #514940;
    line-height: 2.1;
}

.search-fashion .Search_Cat_Child_Has .icon-more-search {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: #f2e8da url(../images/icons/plus.png) no-repeat center;
}

.search-fashion input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #0c8f86;
    cursor: pointer;
}

.search-fashion .our_menu_chid3 {
    margin-top: 6px;
    padding: 8px 14px 8px 0 !important;
    border-right: 2px solid #e1c99c;
}

.search-results-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    padding: 18px;
    border: 1px solid #eadfcc;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(31, 39, 35, .06);
}

.search-results-heading span {
    color: #0c8f86;
    font-size: 13px;
    font-weight: 700;
}

.search-results-heading h2 {
    margin: 4px 0 0;
    color: #1f2723;
    font-size: 20px;
    line-height: 1.8;
}

.search-results-heading p {
    color: #7b7166;
    line-height: 1.9;
}

.search-fashion .left-search-inner .tools-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding: 12px;
    border: 1px solid #eadfcc;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(31, 39, 35, .06);
}

.search-fashion .daste-bar-asas,
.search-fashion .tedad-namayesh {
    float: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.search-fashion .tedad-namayesh {
    margin-right: auto;
}

.search-fashion .daste-bar-asas-1,
.search-fashion .daste-bar-asas-2 {
    margin: 0;
    color: #63594f;
    font-size: 13px;
    font-weight: 700;
}

.search-fashion .daste-bar-asas select,
.search-fashion .tedad-namayesh select {
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid #e4d6bd;
    border-radius: 8px;
    background: #fbfbf8;
    color: #1f2723;
}

.search-fashion .free_prices {
    margin-right: 4px;
}

.search-fashion .products .row-dis ul {
    display: flex;
    flex-wrap: wrap;
    margin-right: -8px;
    margin-left: -8px;
}

.search-fashion .search-product-li {
    padding: 8px;
}

.search-fashion .products .details-product {
    height: 430px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #eadfcc;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 251, 245, .98)),
        #fff;
    box-shadow: 0 16px 34px rgba(31, 39, 35, .08);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.search-fashion .products .details-product:before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #b23a48, #d19a38, #0c8f86);
}

.search-fashion .products .details-product:hover {
    transform: translateY(-5px);
    border-color: rgba(178, 58, 72, .36);
    box-shadow: 0 26px 48px rgba(31, 39, 35, .14);
}

.search-fashion .product-card-badge {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    min-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 8px;
    background: rgba(31, 39, 35, .88);
    color: #ffe5ad;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(31, 39, 35, .16);
}

.search-fashion .product-card-badge:before {
    content: "";
    width: 18px;
    height: 18px;
    display: block;
    background: currentColor;
    -webkit-mask: url("../images/icons/fashion_ui/sparkles.svg") center / contain no-repeat;
    mask: url("../images/icons/fashion_ui/sparkles.svg") center / contain no-repeat;
}

.search-fashion .product-card-badge.discount-badge {
    background: #b23a48;
    color: #fff;
}

.search-fashion .product-card-badge.discount-badge:before {
    -webkit-mask-image: url("../images/icons/price-tag.png");
    mask-image: url("../images/icons/price-tag.png");
}

.search-fashion .pro_image_div {
    height: 218px;
    padding: 22px;
    background:
        radial-gradient(circle at 50% 45%, rgba(255, 229, 173, .46), transparent 42%),
        linear-gradient(180deg, #fff, #f8f3ea);
}

.search-fashion .pro_image_div a {
    display: block;
    height: 100%;
}

.search-fashion .pro_image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .28s ease;
}

.search-fashion .details-product:hover .pro_image {
    transform: scale(1.055);
}

.search-fashion .search-card-body {
    padding: 0 14px;
}

.search-fashion .details-product h2 {
    height: 54px;
    margin: 13px 0 6px;
    overflow: hidden;
    border-bottom: 0;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.85;
}

.search-fashion .details-product h2 a {
    color: #1f2723;
}

.search-fashion .details-product h2 a:hover {
    color: #b23a48;
}

.search-fashion .search-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 26px;
    margin-bottom: 8px;
}

.search-fashion .color-swatches {
    align-items: center;
}

.search-fashion .color-swatch {
    width: 18px;
    height: 18px;
    display: inline-block;
    border: 2px solid #fff;
    border-radius: 999px;
    box-shadow: 0 0 0 1px #d8c9b2, 0 5px 10px rgba(31, 39, 35, .1);
}

.search-fashion .color-swatches-empty:before {
    content: "";
    width: 42px;
    height: 2px;
    margin-top: 10px;
    border-radius: 999px;
    background: #eee3d3;
}

.search-fashion .details-product .price_p,
.search-fashion .product_new_price {
    margin: 0 0 8px;
    color: #0c8f86;
    font-weight: 700;
    font-size: 14px;
}

.search-fashion .dipircet_discount {
    color: #ad827e;
}

.search-fashion .products .namojodas {
    display: inline-flex;
    align-items: center;
    height: auto;
    margin: 0 0 8px;
    padding: 6px 12px;
    border-radius: 8px;
    background: #b23a48;
    font-size: 13px;
}

.search-fashion .details-product .details_p {
    position: absolute;
    right: 14px;
    left: 14px;
    bottom: 8px;
    width: auto;
    height: 42px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1f2723, #303c35);
    transform: none;
    box-shadow: 0 12px 24px rgba(31, 39, 35, .12);
}

.search-fashion .details-product .details_p:hover {
    left: 14px;
    background: linear-gradient(135deg, #0c8f86, #0f6f69);
}

.search-fashion .details-product .details_p a {
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
}

.search-fashion .details-product .details_p span {
    display: inline-block;
    width: 17px;
    height: 17px;
    margin: 0;
    background: currentColor;
    -webkit-mask: url("../images/icons/fashion_ui/shopping-bag.svg") center / contain no-repeat;
    mask: url("../images/icons/fashion_ui/shopping-bag.svg") center / contain no-repeat;
    transform: none;
}

.search-fashion .details-product .details_p strong {
    font-weight: 700;
}

.search-fashion .safheha {
    margin: 14px 0;
    text-align: center;
}

.search-fashion .safheha li,
.search-fashion .safheha .arrow-safhe-li {
    min-width: 36px;
    min-height: 36px;
    padding: 8px 10px;
    border: 1px solid #e2d6c4;
    border-radius: 8px;
    background: #fff;
    color: #514940;
    box-shadow: 0 8px 18px rgba(31, 39, 35, .05);
}

.search-fashion .safheha li.active {
    background: #1f2723;
    color: #ffe5ad;
    border-color: #1f2723;
}

.search-fashion .safheha .arrow-safhe-li {
    vertical-align: middle;
}

.search-loading {
    padding: 26px;
    text-align: center;
}

.search-loading span {
    display: inline-block;
    width: 34px;
    height: 34px;
    border: 3px solid #eadfcc;
    border-top-color: #0c8f86;
    border-radius: 999px;
    animation: searchSpin .8s linear infinite;
}

.search-loading p {
    margin-top: 10px;
    color: #6f665c;
}

@keyframes searchSpin {
    to {
        transform: rotate(360deg);
    }
}

.search-fashion .faild_product p {
    margin: 0;
    padding: 26px;
    border: 1px solid rgba(178, 58, 72, .22);
    border-radius: 8px;
    background: #fff8f8;
    box-shadow: none;
    color: #b23a48;
}

@media only screen and (max-width: 992px) {
    .search-layout-form {
        grid-template-columns: 1fr;
    }

    .search-fashion .right-search-inner {
        position: static;
    }

    .search-fashion .right-search {
        order: 1;
    }

    .search-fashion .left-search {
        order: 2;
    }

    .search-fashion .left-search-inner .tools-inner {
        flex-wrap: wrap;
    }

    .search-fashion .tedad-namayesh {
        margin-right: 0;
    }
}

@media only screen and (max-width: 600px) {
    .search-fashion {
        padding-top: 14px;
    }

    .search-hero {
        display: block;
        padding: 18px;
    }

    .search-hero h2 {
        font-size: 20px;
    }

    .search-hero-badge {
        margin-top: 14px;
    }

    .search-results-heading {
        display: block;
    }

    .search-fashion .left-search-inner .tools-inner,
    .search-fashion .daste-bar-asas,
    .search-fashion .tedad-namayesh {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr;
    }

    .search-fashion .products .details-product {
        height: 416px;
    }

    .search-fashion .pro_image_div {
        height: 200px;
    }
}

