/* =========================================================
   FASHION STORE - SHOP ARCHIVE
   ========================================================= */

.fashion-shop-page {
    padding: 20px 0 70px;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.fashion-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0 18px;
    font-size: 12px;
    color: #94969f;
}

.fashion-breadcrumb a {
    color: #696e79;
}

.fashion-breadcrumb a:hover {
    color: #ff3f6c;
}

.fashion-breadcrumb span:last-child {
    color: #282c3f;
    font-weight: 700;
}


/* =========================================================
   SHOP HEADER
   ========================================================= */

.fashion-shop-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 200px;
    padding: 10px 0 10px;
    border-bottom: 2px solid #eaeaec;
}

.fashion-shop-heading {
    min-width: 0;
}


.fashion-shop-heading h1 {
    margin: 0;

    font-size: 28px;
    line-height: 1.25;

    color: #282c3f;

    font-weight: 700;
}


.fashion-shop-description {
    max-width: 720px;

    margin-top: 8px;

    color: #696e79;

    font-size: 13px;
    line-height: 1.7;
}


.fashion-shop-description p {
    margin: 0;
}


/* =========================================================
   SHOP META
   ========================================================= */

.fashion-shop-meta {
    display: flex;
    align-items: center;
    gap: 18px;

    flex-shrink: 0;
}


.fashion-product-count {
    color: #696e79;

    font-size: 13px;
    white-space: nowrap;
}


/* =========================================================
   SORTING
   ========================================================= */

.fashion-shop-meta .woocommerce-ordering {
    margin: 0 !important;
}


.fashion-shop-meta .woocommerce-ordering select {
    min-width: 170px;

    height: 40px;

    padding: 0 35px 0 12px;

    border: 1px solid #d4d5d9;

    background: #fff;

    color: #282c3f;

    font-size: 13px;

    outline: none;
}


/* =========================================================
   MAIN SHOP LAYOUT
   ========================================================= */

.fashion-shop-layout {
    display: grid;

    grid-template-columns: 250px minmax(0, 1fr);

    gap: 28px;

    margin-top: 25px;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.fashion-shop-sidebar {
    min-width: 0;

    border-right: 1px solid #eaeaec;
}


.fashion-shop-sidebar .shop-filters {
    padding: 0 24px 0 0;
}


/* =========================================================
    PRODUCT AREA
   ========================================================= */

.fashion-shop-products {
    min-width: 0;
}


/* Hide duplicate default WooCommerce result count */

.fashion-shop-products .woocommerce-result-count {
    display: none;
}


/* =========================================================
   PRODUCT GRID
   ========================================================= */

.fashion-products-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 28px 18px;
}


/* =========================================================
   PRODUCT CARD
   ========================================================= */

.fashion-products-grid .product {
    position: relative;

    width: 100%;

    margin: 0 !important;

    padding: 0 !important;

    list-style: none;
}


.fashion-products-grid .product a {
    text-decoration: none;
}


/* =========================================================
   PRODUCT IMAGE
   ========================================================= */

.fashion-products-grid .woocommerce-loop-product__link {
    display: block;

    position: relative;

    overflow: hidden;

    background: #f5f5f6;
}


.fashion-products-grid .woocommerce-loop-product__link img {
    display: block;

    width: 100%;

    height: auto;

    aspect-ratio: 3 / 4;

    object-fit: cover;

    margin: 0 !important;

    transition:
        transform .35s ease,
        opacity .35s ease;
}


.fashion-products-grid .product:hover
.woocommerce-loop-product__link img {
    transform: scale(1.035);
}


/* =========================================================
   SALE BADGE
   ========================================================= */

.fashion-products-grid .onsale {
    position: absolute;

    top: 10px;
    left: 10px;

    z-index: 3;

    min-width: auto;
    min-height: auto;

    margin: 0;

    padding: 5px 8px;

    border-radius: 0;

    background: #ff3f6c;

    color: #fff;

    font-size: 10px;

    font-weight: 700;

    line-height: 1.2;

    text-transform: uppercase;
}


/* =========================================================
    PRODUCT TITLE
========================================================= */

/* .fashion-products-grid
.woocommerce-loop-product__title {
    margin: 11px 0 5px !important;
    padding: 0 !important;
    color: #282c3f;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
} */


/* =========================================================
    PRODUCT PRICE
========================================================= */

.fashion-products-grid .price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 !important;
    color: #282c3f;
    font-size: 14px;
    font-weight: 700;
}


.fashion-products-grid .price del {
    color: #94969f;
    font-size: 12px;
    font-weight: 400;
}


.fashion-products-grid .price ins {
    color: #282c3f;
    text-decoration: none;
}


.fashion-products-grid .price .woocommerce-price-suffix {
    display: none;
}


/* =========================================================
    ADD TO CART
========================================================= */

.fashion-products-grid
.add_to_cart_button,
.fashion-products-grid
.product_type_variable {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    margin-top: 9px;
    padding: 8px 12px;
    border: 1px solid #d4d5d9;
    background: #fff;
    color: #282c3f;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all .2s ease;
}


.fashion-products-grid
.add_to_cart_button:hover,
.fashion-products-grid
.product_type_variable:hover {
    border-color: #ff3f6c;
    background: #ff3f6c;
    color: #fff;
}

/* =========================================================
    EMPTY SHOP
========================================================= */
.fashion-empty-products {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
    border: 1px solid #eaeaec;
    background: #fff;
}

.fashion-empty-icon {
    margin-bottom: 15px;
    font-size: 42px;
}

.fashion-empty-products h2 {
    margin: 0 0 8px;
    color: #282c3f;
    font-size: 22px;
}

.fashion-empty-products p {
    margin: 0 0 20px;
    color: #696e79;
    font-size: 13px;
}

.fashion-reset-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 24px;
    background: #ff3f6c;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* =========================================================
    MOBILE TOOLBAR
========================================================= */
.fashion-mobile-toolbar {
    display: none;
}

/* =========================================================
    MOBILE FILTER OFFCANVAS
========================================================= */

.fashion-filter-offcanvas {
    width: 330px !important;
}

.fashion-filter-offcanvas
.offcanvas-header {
    border-bottom: 1px solid #eaeaec;
}

.fashion-filter-offcanvas
.offcanvas-title {
    color: #282c3f;
    font-size: 18px;
    font-weight: 700;
}

.fashion-filter-offcanvas
.shop-filters {
    padding: 0;
}

/* =========================================================
    TABLET
========================================================= */

@media (max-width: 1100px) {

    .fashion-products-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}

/* =========================================================
    MOBILE
========================================================= */

@media (max-width: 900px) {

    .fashion-shop-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .fashion-shop-meta {
        width: 100%;

        justify-content: space-between;
    }

    .fashion-shop-layout {
        display: block;
    }

    .fashion-shop-sidebar {
        display: none;
    }

    .fashion-mobile-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
        border-bottom: 1px solid #eaeaec;
    }


    .fashion-mobile-filter-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        height: 42px;
        padding: 0 15px;
        border: 0;
        background: transparent;
        color: #282c3f;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        cursor: pointer;
    }

    .fashion-mobile-sort
    .woocommerce-ordering {
        margin: 0 !important;
    }

    .fashion-mobile-sort
    .woocommerce-ordering select {
        height: 42px;
        border: 0;
        background: transparent;
        font-size: 12px;
    }

    .fashion-products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 22px 12px;
    }

    .fashion-shop-description {
        font-size: 12px;
    }
}

@media (max-width: 560px) {
    .fashion-shop-page {
        padding-top: 10px;
    }

    .fashion-breadcrumb {
        padding-top: 8px;
    }

    .fashion-shop-heading h1 {
        font-size: 22px;
    }

    .fashion-product-count {
        font-size: 11px;
    }

    .fashion-shop-meta
    .woocommerce-ordering {
        display: none;
    }

    .fashion-products-grid {
        gap: 18px 10px;
    }

    .fashion-products-grid
    .woocommerce-loop-product__title {
        font-size: 13px !important;
    }

    .fashion-products-grid .price {
        font-size: 13px;
    }

    .fashion-products-grid
    .add_to_cart_button,
    .fashion-products-grid
    .product_type_variable {
        min-height: 36px;
        font-size: 10px;
    }

    .fashion-filter-offcanvas {
        width: 90% !important;
    }    
}