/* ============================================================
   MERCI BOKKU — GENERAL SHOP
   ============================================================ */

.mbk-shop-page {
    background: #fff;
    color: #142033;
    font-family: inherit;
}

.mbk-shop-container {
    width: min(94%, 1440px);
    margin-inline: auto;
}

.mbk-shop-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-top: 24px;
    color: #718096;
    font-size: 14px;
}

.mbk-shop-breadcrumb a {
    color: #718096;
    text-decoration: none;
}

.mbk-shop-intro {
    padding-top: 10px;
}

.mbk-shop-intro h1 {
    margin: 0;
    color: #005c43;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1;
    font-weight: 800;
}

.mbk-shop-intro p {
    margin: 12px 0 0;
    color: #505b66;
    font-size: 15px;
}

.mbk-shop-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 30px;
    padding-bottom: 28px;
}

.mbk-trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mbk-trust-icon {
    color: #006b4f;
    font-size: 27px;
}

.mbk-trust-item div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mbk-trust-item strong {
    color: #064f3e;
    font-size: 14px;
}

.mbk-trust-item span:not(.mbk-trust-icon) {
    color: #59636e;
    font-size: 13px;
}

.mbk-shop-browser {
    width: min(94%, 1440px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    border: 1px solid #e4e8e7;
    border-radius: 10px;
    overflow: hidden;
}

.mbk-shop-filters {
    border-right: 1px solid #e4e8e7;
    padding: 26px 18px;
    background: #fff;
}

.mbk-filter-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #edf0ef;
    color: #064f3e;
}

.mbk-filter-section {
    padding: 20px 0;
    border-bottom: 1px solid #edf0ef;
}

.mbk-filter-section h3 {
    margin: 0 0 15px;
    color: #17202d;
    font-size: 14px;
}

.mbk-filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    color: #3f4853;
    font-size: 13px;
    cursor: pointer;
}

.mbk-filter-check input {
    width: 14px;
    height: 14px;
    accent-color: #00754f;
}

.mbk-filter-check small {
    margin-left: auto;
    color: #7b8490;
}

.mbk-price-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 6px;
}

.mbk-price-inputs input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #dfe4e2;
    border-radius: 6px;
    outline: none;
}

.mbk-apply-filter {
    width: 100%;
    margin-top: 18px;
    padding: 11px;
    border: 1px solid #ff6900;
    border-radius: 6px;
    background: #fff;
    color: #ff6900;
    font-weight: 700;
    cursor: pointer;
}

.mbk-reset-filters {
    display: block;
    margin-top: 14px;
    color: #ff6900;
    text-align: center;
    font-size: 12px;
    text-decoration: none;
}

.mbk-shop-results {
    min-width: 0;
    padding: 18px 14px 20px;
}

.mbk-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.mbk-results-count {
    color: #374151;
    font-size: 14px;
}

.mbk-results-count strong {
    color: #17202d;
}

.mbk-shop-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.mbk-shop-toolbar-actions label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #4b5563;
    font-size: 13px;
}

.mbk-shop-sort {
    padding: 9px 32px 9px 12px;
    border: 1px solid #dfe4e2;
    border-radius: 7px;
    background: #fff;
}

.mbk-grid-view,
.mbk-list-view {
    width: 40px;
    height: 38px;
    border: 1px solid #dfe4e2;
    background: #fff;
    cursor: pointer;
}

.mbk-grid-view.is-active {
    color: #ff6900;
}

.mbk-mobile-filter-button,
.mbk-mobile-filter-close {
    display: none;
}

.mbk-product-grid-shop {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.mbk-shop-product-card {
    position: relative;
    min-width: 0;
    border: 1px solid #e6e9e8;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: transform .18s ease, box-shadow .18s ease;
}

.mbk-shop-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,.07);
}

.mbk-card-image-wrap {
    position: relative;
    aspect-ratio: 1 / .94;
    padding: 8px;
}

.mbk-card-image-wrap > a {
    display: block;
    width: 100%;
    height: 100%;
}

.mbk-card-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mbk-card-new,
.mbk-card-sale {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 5px 7px;
    border-radius: 4px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.mbk-card-new {
    background: #006b4f;
}

.mbk-card-sale {
    background: #ff6900;
}

.mbk-card-favorite {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    width: 28px;
    height: 28px;
    border: 0;
    background: #fff;
    color: #17202d;
    font-size: 20px;
    cursor: pointer;
}

.mbk-card-content {
    position: relative;
    padding: 5px 10px 12px;
}

.mbk-card-title {
    display: block;
    min-height: 38px;
    color: #17202d;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
    text-decoration: none;
}

.mbk-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 7px;
    color: #69727e;
    font-size: 11px;
}

.mbk-stars {
    color: #ff6900;
    letter-spacing: -2px;
}

.mbk-card-rating small {
    color: #777;
}

.mbk-card-price {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 7px;
    padding-right: 38px;
    color: #ff6900;
    font-size: 13px;
    font-weight: 800;
}

.mbk-card-price .woocommerce-Price-amount {
    color: #ff6900;
}

.mbk-card-price del,
.mbk-card-price del .woocommerce-Price-amount {
    color: #8a8f94;
    font-size: 10px;
    font-weight: 400;
}

.mbk-card-cart {
    position: absolute;
    right: 9px;
    bottom: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    border-radius: 7px;
    background: #ff6900;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.mbk-shop-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 22px 0 4px;
}

.mbk-shop-pagination a,
.mbk-shop-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    box-sizing: border-box;
    border: 1px solid #dfe4e2;
    border-radius: 5px;
    color: #27313d;
    text-decoration: none;
    font-size: 12px;
}

.mbk-shop-pagination a.is-current {
    border-color: #ff6900;
    color: #ff6900;
}

.mbk-shop-empty {
    grid-column: 1 / -1;
    padding: 80px 20px;
    text-align: center;
}

.mbk-shop-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 22px;
    margin-bottom: 22px;
    padding: 22px 40px;
    border-radius: 10px;
    background: #fff4e9;
}

.mbk-shop-newsletter > div {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mbk-newsletter-icon {
    color: #006b4f;
    font-size: 34px;
}

.mbk-shop-newsletter h3 {
    margin: 0;
    color: #064f3e;
}

.mbk-shop-newsletter p {
    margin: 4px 0 0;
    color: #5f6264;
    font-size: 12px;
}

.mbk-shop-newsletter form {
    display: flex;
    min-width: 390px;
}

.mbk-shop-newsletter input {
    flex: 1;
    min-width: 0;
    padding: 13px;
    border: 1px solid #e1e3e2;
    border-radius: 7px 0 0 7px;
}

.mbk-shop-newsletter button {
    padding: 13px 22px;
    border: 0;
    border-radius: 0 7px 7px 0;
    background: #ff6900;
    color: #fff;
    font-weight: 700;
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 900px) {

    .mbk-shop-container {
        width: calc(100% - 28px);
    }

    .mbk-shop-breadcrumb {
        padding-top: 15px;
        font-size: 12px;
    }

    .mbk-shop-intro h1 {
        font-size: 34px;
    }

    .mbk-shop-intro p {
        font-size: 13px;
        line-height: 1.5;
    }

    .mbk-shop-trust {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 10px;
        padding-top: 22px;
    }

    .mbk-trust-item {
        gap: 8px;
    }

    .mbk-trust-icon {
        font-size: 21px;
    }

    .mbk-trust-item strong {
        font-size: 11px;
    }

    .mbk-trust-item span:not(.mbk-trust-icon) {
        font-size: 10px;
    }

    .mbk-shop-browser {
        width: 100%;
        display: block;
        border: 0;
        overflow: visible;
    }

    .mbk-shop-filters {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 99999;
        width: min(330px, 88vw);
        overflow-y: auto;
        transform: translateX(-105%);
        transition: transform .25s ease;
        box-shadow: 10px 0 35px rgba(0,0,0,.15);
    }

    .mbk-shop-filters.is-open {
        transform: translateX(0);
    }

    .mbk-mobile-filter-close {
        display: block;
        border: 0;
        background: transparent;
        font-size: 27px;
        cursor: pointer;
    }

    .mbk-shop-results {
        padding: 0;
    }

    .mbk-shop-toolbar {
        flex-wrap: wrap;
        margin: 16px 14px;
    }

    .mbk-results-count {
        width: 100%;
    }

    .mbk-mobile-filter-button {
        display: block;
        padding: 9px 12px;
        border: 1px solid #dfe4e2;
        border-radius: 7px;
        background: #fff;
    }

    .mbk-shop-toolbar-actions label {
        margin-left: auto;
    }

    .mbk-grid-view,
    .mbk-list-view {
        display: none;
    }

    .mbk-product-grid-shop {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 0 14px;
    }

    .mbk-card-image-wrap {
        aspect-ratio: 1 / .92;
    }

    .mbk-card-content {
        padding: 4px 8px 10px;
    }

    .mbk-card-title {
        min-height: 36px;
        font-size: 11px;
    }

    .mbk-card-price {
        font-size: 12px;
    }

    .mbk-card-rating {
        font-size: 10px;
    }

    .mbk-card-cart {
        width: 27px;
        height: 27px;
        right: 7px;
        bottom: 7px;
    }

    .mbk-shop-newsletter {
        width: calc(100% - 28px);
        margin-inline: auto;
        display: block;
        padding: 20px;
    }

    .mbk-shop-newsletter form {
        min-width: 0;
        width: 100%;
        margin-top: 15px;
    }
}
