﻿.bm-product-shop {
    width: 100%;
    padding: 0 20px 80px;
    background: #f7f9fc;
    color: #17212b;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.bm-ps-container {
    max-width: 1250px;
    margin: 0 auto;
}


/* =================================================
   SHOP HEADER
================================================= */

.bm-ps-header {
    display: grid;
    grid-template-columns: 1.6fr .9fr;
    gap: 40px;

    margin: 0 -20px 30px;
    padding: 55px max(40px, calc((100vw - 1210px) / 2));

    background: #075d3c;
    color: #ffffff;
    box-sizing: border-box;
}

.bm-ps-header > div:first-child > span {
    display: inline-block;
    margin-bottom: 12px;

    color: #7bc69c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.bm-ps-header h1 {
    max-width: 700px;
    margin: 0 0 18px;

    font-size: 42px;
    line-height: 1.2;
}

.bm-ps-header h1 strong {
    display: block;
    color: #5ee39a;
}

.bm-ps-header p {
    max-width: 700px;
    margin: 0;

    color: #d5e9df;
    font-size: 14px;
    line-height: 1.8;
}


/* Header Info */

.bm-ps-header-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.bm-ps-header-info > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bm-ps-header-info b {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;

    color: #7bc69c;
}

.bm-ps-header-info span {
    display: flex;
    flex-direction: column;

    color: #c9ded5;
    font-size: 11px;
    line-height: 1.5;
}

.bm-ps-header-info strong {
    color: #ffffff;
    font-size: 12px;
}


/* =================================================
   SHOP LAYOUT
================================================= */

.bm-ps-shop {
    display: grid;
    grid-template-columns: 235px 1fr;
    gap: 20px;
}


/* =================================================
   SIDEBAR
================================================= */

.bm-ps-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bm-ps-category-box {
    overflow: hidden;

    border: 1px solid #e2e7eb;
    border-radius: 8px;

    background: #ffffff;
}

.bm-ps-sidebar-title {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 16px;

    background: #1d6f42;
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;
}

.bm-ps-sidebar-title span {
    font-size: 19px;
}

.bm-ps-category-box a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 11px 14px;

    border-bottom: 1px solid #edf0f2;

    color: #4d5963;
    font-size: 11px;
    text-decoration: none;

    transition: all .2s ease;
}

.bm-ps-category-box a:hover {
    padding-left: 18px;
    background: #f1f7f3;
    color: #1d6f42;
}

.bm-ps-category-box a b {
    min-width: 28px;
    padding: 4px 5px;

    border-radius: 10px;

    background: #eef2f4;
    color: #68737e;

    font-size: 9px;
    text-align: center;
}

.bm-ps-more {
    display: flex;
    justify-content: space-between;

    width: 100%;
    padding: 14px;

    border: 0;
    background: #ffffff;

    color: #34414b;
    font-size: 11px;
    cursor: pointer;
}


/* Featured Sidebar */

.bm-ps-feature-box {
    padding: 22px;
    border-radius: 8px;
    background: #eef8f2;
}

.bm-ps-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;
    margin-bottom: 15px;

    border-radius: 7px;
    background: #1d6f42;
    color: #ffffff;
}

.bm-ps-feature-box h3 {
    margin: 0 0 8px;

    color: #155f3c;
    font-size: 15px;
}

.bm-ps-feature-box p {
    margin: 0 0 18px;

    color: #68737e;
    font-size: 11px;
    line-height: 1.7;
}

.bm-ps-feature-box a {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 12px 14px;

    border-radius: 5px;
    background: #1d6f42;

    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}


/* =================================================
   TOOLBAR
================================================= */

.bm-ps-toolbar {
    display: grid;
    grid-template-columns: 1.5fr .8fr .8fr .8fr;
    gap: 10px;

    margin-bottom: 15px;
}

.bm-ps-search {
    display: flex;

    overflow: hidden;

    border: 1px solid #dfe5e9;
    border-radius: 6px;

    background: #ffffff;
}

.bm-ps-search input {
    width: 100%;
    min-width: 0;

    padding: 12px 14px;

    border: 0;
    outline: none;

    color: #17212b;
    font-size: 11px;
}

.bm-ps-search button {
    width: 45px;

    border: 0;
    background: #1d6f42;

    color: #ffffff;
    cursor: pointer;
}

.bm-ps-toolbar select {
    width: 100%;

    padding: 0 12px;

    border: 1px solid #dfe5e9;
    border-radius: 6px;
    outline: none;

    background: #ffffff;
    color: #4e5a63;

    font-size: 11px;
}


/* =================================================
   RESULT BAR
================================================= */

.bm-ps-result-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 13px;
}

.bm-ps-result-bar p {
    margin: 0;

    color: #68737e;
    font-size: 11px;
}

.bm-ps-result-bar a {
    color: #1d6f42;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}


/* =================================================
   PRODUCT GRID
================================================= */

.bm-ps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}


/* =================================================
   PRODUCT CARD
================================================= */

.bm-ps-card {
    overflow: hidden;

    border: 1px solid #e0e5e8;
    border-radius: 7px;

    background: #ffffff;

    transition: all .25s ease;
}

.bm-ps-card:hover {
    transform: translateY(-4px);

    border-color: #b8d8c5;

    box-shadow: 0 10px 25px rgba(23,33,43,.08);
}


/* Product Image */

.bm-ps-image {
    position: relative;

    height: 175px;

    overflow: hidden;

    background: #f0f2f3;
}

.bm-ps-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .35s ease;
}

.bm-ps-card:hover .bm-ps-image img {
    transform: scale(1.04);
}


/* Badge */

.bm-ps-badge {
    position: absolute;
    z-index: 2;

    top: 9px;
    left: 9px;

    padding: 5px 8px;

    border-radius: 4px;

    background: #1d6f42;
    color: #ffffff;

    font-size: 9px;
    font-weight: 700;
}

.bm-ps-orange {
    background: #ed741c;
}


/* Wishlist */

.bm-ps-wishlist {
    position: absolute;
    z-index: 3;

    top: 8px;
    right: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border: 1px solid #d9e0e3;
    border-radius: 50%;

    background: rgba(255,255,255,.95);

    color: #52616a;
    font-size: 17px;

    cursor: pointer;
}

.bm-ps-wishlist:hover {
    color: #1d6f42;
}


/* Product Content */

.bm-ps-content {
    padding: 13px;
}

.bm-ps-content small {
    display: block;
    margin-bottom: 7px;

    overflow: hidden;

    color: #89939b;
    font-size: 9px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.bm-ps-content small b {
    margin: 0 4px;
    color: #b0b8bd;
}

.bm-ps-content h3 {
    min-height: 34px;

    margin: 0 0 9px;

    color: #25313a;
    font-size: 12px;
    line-height: 1.4;
}


/* Price */

.bm-ps-price {
    margin-bottom: 9px;

    color: #1d6f42;
    font-size: 14px;
    font-weight: 700;
}

.bm-ps-price del {
    margin-left: 5px;

    color: #a1a9ae;
    font-size: 9px;
    font-weight: 400;
}


/* Meta */

.bm-ps-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 12px;
}

.bm-ps-rating {
    color: #e99b00;
    font-size: 10px;
    font-weight: 700;
}

.bm-ps-rating i {
    color: #89939b;
    font-size: 9px;
    font-style: normal;
    font-weight: 400;
}

.bm-ps-stock {
    color: #1d6f42;
    font-size: 9px;
    font-weight: 700;
}


/* Cart */

.bm-ps-cart {
    width: 100%;

    padding: 10px;

    border: 0;
    border-radius: 4px;

    background: #1d6f42;

    color: #ffffff;

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;

    transition: background .2s ease;
}

.bm-ps-cart:hover {
    background: #258653;
}


/* =================================================
   PAGINATION
================================================= */

.bm-ps-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;

    margin-top: 25px;
}

.bm-ps-pagination button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 31px;
    height: 31px;

    border: 1px solid #dfe5e9;
    border-radius: 5px;

    background: #ffffff;

    color: #68737e;
    font-size: 11px;

    cursor: pointer;
}

.bm-ps-pagination button:hover,
.bm-ps-pagination button.active {
    border-color: #1d6f42;
    background: #1d6f42;
    color: #ffffff;
}


/* =================================================
   BOTTOM AREA
================================================= */

.bm-ps-bottom {
    display: grid;
    grid-template-columns: 1fr 250px;
    gap: 20px;

    margin-top: 65px;
}

.bm-ps-features {
    padding: 28px;

    border: 1px solid #e1e7e9;
    border-radius: 8px;

    background: #eef8f3;
}

.bm-ps-bottom-heading {
    margin-bottom: 25px;
}

.bm-ps-bottom-heading h2 {
    margin: 0 0 5px;

    color: #155f3c;
    font-size: 20px;
}

.bm-ps-bottom-heading p {
    margin: 0;

    color: #68737e;
    font-size: 11px;
}


/* Feature Grid */

.bm-ps-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.bm-ps-feature-grid > div {
    padding: 17px;
    border-right: 1px solid #d6e7dd;
    border-bottom: 1px solid #d6e7dd;
}

.bm-ps-feature-grid > div:nth-child(4n) {
    border-right: 0;
}

.bm-ps-feature-grid > div:nth-child(n+5) {
    border-bottom: 0;
}

.bm-ps-feature-grid b {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;
    margin-bottom: 9px;

    border: 1px solid #9dd3b5;
    border-radius: 50%;

    color: #1d6f42;
    font-size: 9px;
}

.bm-ps-feature-grid h3 {
    margin: 0 0 6px;

    color: #315444;
    font-size: 11px;
}

.bm-ps-feature-grid p {
    margin: 0;

    color: #68737e;
    font-size: 9px;
    line-height: 1.6;
}


/* =================================================
   CTA
================================================= */

.bm-ps-cta {
    padding: 30px 24px;

    border-radius: 8px;

    background: #087047;
    color: #ffffff;
}

.bm-ps-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;
    margin-bottom: 20px;

    border-radius: 6px;
    background: rgba(255,255,255,.12);

    color: #ffffff;
}

.bm-ps-cta h2 {
    margin: 0 0 10px;

    font-size: 23px;
    line-height: 1.3;
}

.bm-ps-cta p {
    margin: 0 0 22px;

    color: #d4eee1;
    font-size: 11px;
    line-height: 1.7;
}

.bm-ps-cta a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 12px 14px;

    border-radius: 5px;

    background: #ffffff;

    color: #14633f;

    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.bm-ps-cta small {
    display: block;
    margin-top: 18px;

    color: #b8dfca;
    font-size: 9px;
}


/* =================================================
   RESPONSIVE
================================================= */

@media (max-width: 1100px) {

    .bm-ps-shop {
        grid-template-columns: 210px 1fr;
    }

    .bm-ps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bm-ps-header {
        grid-template-columns: 1fr;
    }

    .bm-ps-header-info {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .bm-ps-bottom {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 900px) {

    .bm-ps-shop {
        grid-template-columns: 1fr;
    }

    .bm-ps-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .bm-ps-toolbar {
        grid-template-columns: 1fr 1fr;
    }

    .bm-ps-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bm-ps-feature-grid > div:nth-child(4n) {
        border-right: 1px solid #d6e7dd;
    }

    .bm-ps-feature-grid > div:nth-child(2n) {
        border-right: 0;
    }

    .bm-ps-feature-grid > div:nth-child(n+5) {
        border-bottom: 1px solid #d6e7dd;
    }

    .bm-ps-feature-grid > div:nth-child(n+7) {
        border-bottom: 0;
    }

}


@media (max-width: 700px) {

    .bm-product-shop {
        padding: 0 14px 60px;
    }

    .bm-ps-header {
        margin-left: -14px;
        margin-right: -14px;
        padding: 45px 25px;
    }

    .bm-ps-header h1 {
        font-size: 32px;
    }

    .bm-ps-header-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .bm-ps-sidebar {
        grid-template-columns: 1fr;
    }

    .bm-ps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bm-ps-image {
        height: 170px;
    }

}


@media (max-width: 480px) {

    .bm-ps-header {
        padding: 38px 20px;
    }

    .bm-ps-header h1 {
        font-size: 27px;
    }

    .bm-ps-header p {
        font-size: 13px;
    }

    .bm-ps-header-info {
        grid-template-columns: 1fr;
    }

    .bm-ps-toolbar {
        grid-template-columns: 1fr;
    }

    .bm-ps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .bm-ps-image {
        height: 135px;
    }

    .bm-ps-content {
        padding: 10px;
    }

    .bm-ps-content h3 {
        font-size: 11px;
    }

    .bm-ps-price {
        font-size: 12px;
    }

    .bm-ps-price del {
        display: block;
        margin: 3px 0 0;
    }

    .bm-ps-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .bm-ps-feature-grid {
        grid-template-columns: 1fr;
    }

    .bm-ps-feature-grid > div,
    .bm-ps-feature-grid > div:nth-child(2n),
    .bm-ps-feature-grid > div:nth-child(4n) {
        border-right: 0;
        border-bottom: 1px solid #d6e7dd;
    }

    .bm-ps-feature-grid > div:last-child {
        border-bottom: 0;
    }

    .bm-ps-features {
        padding: 20px;
    }

}
