.mtn-wrap {
    --mtn-sticky-top: 0px;
    position: relative;
    box-sizing: border-box;
    z-index: 4;
    margin: 0 0 24px;
    padding: 0 0 11px;
    background: #fff;
    border-bottom: 0;
    transition: box-shadow .2s ease, border-color .2s ease;
}

.mtn-wrap.is-loading {
    opacity: .94;
    pointer-events: none;
}

.mtn-wrap.is-stuck {
    position: fixed;
    top: var(--mtn-sticky-top, 0px);
    left: var(--mtn-sticky-left, 0px);
    width: var(--mtn-sticky-width, auto);
    z-index: 90;
    margin: 0;
    background: #f5f5f5;
    padding: 14px 20px 9px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}

.mtn-wrap.is-drawer-open {
    z-index: 320;
}

.mtn-sticky-placeholder {
    display: none;
}

.mtn-sticky-placeholder.is-active {
    display: block;
}

.mtn-toolbar-row,
.mtn-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
}

.mtn-toolbar-row {
    position: relative;
    align-items: center;
    padding: 0 0 8px;
}

.mtn-meta-row {
    position: relative;
    z-index: 1;
    padding: 10px 0 0;
    border-top: 0;
}

.mtn-filters-left,
.mtn-pills {
    position: relative;
}

.mtn-filters-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
}

.mtn-toolbar-aside {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    margin-left: auto;
    padding-top: 2px;
}

.mtn-toolbar-sort-host:empty {
    display: none;
}

.mtn-toolbar-sort-host .toolbar-sorter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.mtn-toolbar-sort-host .sorter-label {
    margin: 0;
    color: #000;
    font-size: 14px;
    font-weight: 400;
}

.mtn-toolbar-sort-host .sorter-options {
    min-width: 170px;
    height: 30px;
    border: 1px solid #898787;
    border-radius: 999px;
    background: #fff;
    color: #595959;
    font-size: 14px;
    font-weight: 400;
    padding: 0 34px 0 12px;
    box-shadow: none;
}

.mtn-toolbar-sort-host .sorter-options:focus {
    border-color: #9ea8b5;
    box-shadow: none;
}

.mtn-toolbar-sort-host .sorter-action {
    width: auto;
    min-width: 18px;
    height: 30px;
    margin: 0;
    border: 0;
    display: inline-block;
    vertical-align: top;
    line-height: 30px;
    color: #21293c;
    background: transparent;
    position: relative;
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.mtn-toolbar-sort-host .sorter-action:before {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: '\f840';
    font-family: 'porto-icons';
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    color: currentColor;
    speak: none;
}

.mtn-toolbar-sort-host .sorter-action.sort-desc:before {
    content: '\f842';
}

.mtn-toolbar-sort-host .sorter-action > span {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.mtn-toolbar-sort-host .sorter-action:hover {
    color: #21293c;
    background: transparent;
    text-decoration: none;
}

.mtn-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    min-width: 0;
}

.mtn-pill-wrap,
.mtn-pill,
.mtn-mobile-trigger {
    flex: 0 0 auto;
}

.mtn-pill,
.mtn-mobile-trigger {
    appearance: none;
    border: 1px solid #cbcbcb;
    background: #fff;
    color: #222;
    border-radius: 999px;
    min-height: 38px;
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.mtn-mobile-trigger {
    position: relative;
    justify-content: center;
}

.mtn-mobile-trigger-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.mtn-mobile-trigger-icon::before {
    content: '\f1de';
    font-family: 'porto-icons';
    font-size: 22px;
    line-height: 1;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.mtn-mobile-trigger-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mtn-pill:hover,
.mtn-mobile-trigger:hover,
.mtn-pill-wrap.is-open .mtn-pill {
    border-color: #cbcbcb;
    box-shadow: none;
}

.mtn-pill.is-selected,
.mtn-pill-wrap.is-open .mtn-pill {
    background: #fff;
}

.mtn-pill-summary {
    color: #595959;
    max-width: 110px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mtn-pill-icon,
.mtn-accordion-icon {
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    transition: transform .18s ease;
}

.mtn-pill-icon::before,
.mtn-accordion-icon::before {
    content: '\f807';
    font-family: 'porto-icons';
    font-size: 12px;
    line-height: 1;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.mtn-pill-wrap.is-open .mtn-pill-icon,
.mtn-accordion-item.is-open .mtn-accordion-icon {
    transform: rotate(180deg);
}

.mtn-pill-wrap {
    position: relative;
    z-index: 2;
}

.mtn-pill-wrap.is-open {
    z-index: 240;
}

.mtn-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 241;
    min-width: 320px;
    max-width: 360px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 0;
    box-shadow: none;
    padding: 10px 0 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.mtn-pill-wrap.is-open .mtn-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mtn-dropdown-head {
    display: none;
}

.mtn-filter-search-wrap {
    padding: 0 10px 8px;
}

.mtn-filter-search {
    width: 100%;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid #d8d8d8;
    border-radius: 0;
    background: #fff;
    color: #000;
    font-size: 14px;
    outline: 0;
    box-shadow: none;
}

.mtn-filter-search::placeholder {
    color: #b5b5b5;
}

.mtn-filter-search:focus {
    border-color: #9ea8b5;
}

.mtn-dropdown-body {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 3px;
    background: #fff;
}

.mtn-dropdown-body.is-scrollable {
    max-height: 312px;
    overflow: auto;
}

.mtn-option {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 0 !important;
    border-radius: 0;
    background: transparent;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 4px 12px;
    margin: 0;
    text-decoration: none;
    color: #000;
    font: inherit;
    text-align: left;
    transition: background .15s ease, color .15s ease;
    font-size: 14px;
    cursor: pointer;
    outline: 0;
    box-shadow: none !important;
}

.mtn-option-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.25;
}

.mtn-option:hover {
    background: #e8e8e8;
    text-decoration: none;
    color: #000;
}

.mtn-option:focus,
.mtn-option:active,
.mtn-option:focus-visible {
    border: 0 !important;
    outline: 0;
    box-shadow: none !important;
    text-decoration: none;
    color: #000;
}

.mtn-option.is-selected {
    background: #e8e8e8;
}

.mtn-option.is-hidden {
    display: none;
}

.mtn-option-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 18px;
    min-height: 18px;
}

.mtn-checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid #cbcbcb;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
    flex: 0 0 auto;
}

.mtn-option.is-selected .mtn-checkbox::after {
    content: '';
    width: 8px;
    height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    margin-top: -1px;
}

.mtn-option.is-selected .mtn-checkbox {
    background: #111;
    border-color: #111;
}

.mtn-option--single .mtn-checkbox {
    border-radius: 50%;
}

.mtn-option--single.is-selected .mtn-checkbox {
    background: #fff;
    border-color: #111;
}

.mtn-option--single.is-selected .mtn-checkbox::after {
    width: 6px;
    height: 6px;
    border: 0;
    border-radius: 50%;
    background: #111;
    margin-top: 0;
    transform: none;
}

.mtn-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    flex: 0 0 auto;
}

/* Hide the checkbox UI when a swatch is present — swatch is the visual indicator */
.mtn-option-control:has(.mtn-swatch) .mtn-checkbox {
    display: none;
}

.mtn-option-count {
    color: #9b9b9b;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 400;
}

.mtn-option-count::before {
    content: '(';
}

.mtn-option-count::after {
    content: ')';
}

.mtn-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
}

.mtn-active-group {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.mtn-active-group-label {
    color: #595959;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.mtn-active-group-items {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.mtn-chip {
    appearance: none;
    border: 1px solid #cbcbcb;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff;
    margin: 0;
    color: #1f2937;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease;
}

.mtn-chip:hover {
    border-color: #cbcbcb;
    background: #fff;
}

.mtn-chip-close {
    font-size: 16px;
    line-height: 1;
    margin-top: -1px;
}

.mtn-clear,
.mtn-result-count {
    color: #5f6b79;
    font-size: 14px;
}

.mtn-clear {
    appearance: none;
    border: 0;
    border-radius: 0;
    background: #fff;
    padding: 0;
    margin: 0;
    font: inherit;
    line-height: 1.2;
    text-decoration: underline;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease;
}

.mtn-clear:hover {
    border-color: transparent;
    background: transparent;
}

.mtn-result-count {
    white-space: nowrap;
    color: #595959;
    flex: 0 0 auto;
}

.mtn-mobile-trigger {
    display: none;
}

.mtn-drawer {
    position: fixed;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 260;
}

.mtn-drawer.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mtn-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .28);
}

.mtn-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(446px, 100vw);
    height: 100%;
    background: #fff;
    box-shadow: -16px 0 40px rgba(15, 23, 42, .18);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .2s ease;
}

.mtn-drawer.is-open .mtn-drawer-panel {
    transform: translateX(0);
}

.mtn-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 14px;
    border-bottom: 1px solid #dcdcdc;
}

.mtn-drawer-title {
    font-size: 16px;
    font-weight: 700;
    color: #595959;
}

.mtn-drawer-close {
    appearance: none;
    border: 0;
    background: transparent;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    color: #111827;
}

.mtn-drawer-body {
    overflow: auto;
    padding: 10px 0 24px;
}

.mtn-accordion-trigger {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #dcdcdc;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 400;
    color: #595959;
    cursor: pointer;
    line-height: 1.2;
    box-shadow: none !important;
    outline: 0;
}

.mtn-accordion-panel {
    display: none;
    padding: 8px 0 10px;
    background: #fff;
}

.mtn-accordion-item.is-open .mtn-accordion-panel {
    display: block;
}

.mtn-drawer-body .mtn-filter-search-wrap {
    padding: 0 10px 8px;
}

.mtn-drawer-body .mtn-option {
    padding: 5px 12px;
}

.mtn-lock {
    overflow: hidden;
}

body.mtn-is-loading {
    cursor: wait;
}

body.mtn-is-loading .loading-mask {
    position: fixed;
    inset: 0;
    z-index: 450;
    background: rgba(255, 255, 255, .48);
    pointer-events: auto;
    cursor: wait;
}

body.mtn-is-loading .loading-mask .loader {
    background: transparent;
    box-shadow: none;
    pointer-events: none;
}

body.mtn-is-loading .loading-mask .loader img {
    opacity: 1;
}

.catalog-category-view.page-layout-2columns-left:not(.category-collections) .sidebar.sidebar-main,
.catalogsearch-result-index.page-layout-2columns-left .sidebar.sidebar-main {
    display: none !important;
}

.catalog-category-view.page-layout-2columns-left:not(.category-collections) .column.main,
.catalogsearch-result-index.page-layout-2columns-left .column.main {
    float: none !important;
    width: 100% !important;
}

@media (min-width: 1025px) {
    .catalog-category-view.page-layout-2columns-left.category-collections .sidebar.sidebar-main {
        display: block !important;
    }

    .catalog-category-view.page-layout-2columns-left.category-collections .column.main {
        float: right !important;
        width: 75% !important;
    }
}

@media (min-width: 1500px) {
    .catalog-category-view.page-layout-2columns-left.category-collections .sidebar.sidebar-main {
        width: 20% !important;
    }

    .catalog-category-view.page-layout-2columns-left.category-collections .column.main {
        width: 80% !important;
    }
}

@media (min-width: 1025px) and (max-width: 1499px) {
    .catalog-category-view.page-layout-2columns-left.category-collections .sidebar.sidebar-main {
        width: 25% !important;
    }
}

@media (min-width: 1025px) {
    .sidebar .block.filter,
    .sidebar.sidebar-main .block.filter,
    .column.main .filter.block,
    .filter.block,
    .mp-sidebar,
    .block-content.filter-content,
    .catalog-category-view .sidebar .block.filter,
    .catalogsearch-result-index .sidebar .block.filter {
        display: none !important;
    }
}

@media (max-width: 1200px) {
    .mtn-toolbar-row {
        gap: 16px;
    }

    .mtn-pill-summary {
        max-width: 120px;
    }

    .mtn-toolbar-sort-host .sorter-options {
        min-width: 148px;
    }
}

@media (max-width: 1024px) {
    .mtn-wrap {
        margin: 0 0 16px;
        padding: 14px 0 12px;
    }

    .mtn-toolbar-row,
    .mtn-meta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .mtn-toolbar-row {
        padding: 0 0 12px;
    }

    .mtn-meta-row {
        padding: 12px 0 0;
    }

    .mtn-mobile-trigger {
        display: inline-flex;
        position: fixed;
        top: 22%;
        left: 0;
        width: 51px;
        height: 47px;
        min-height: 47px;
        padding: 0;
        border: 1px solid #dcdcda;
        border-left: 0;
        border-radius: 0 7px 7px 0;
        background: #f5f5f5;
        color: #818181;
        box-shadow: none;
        z-index: 95;
    }

    .mtn-pills {
        display: none;
    }

    .mtn-filters-left {
        justify-content: flex-end;
    }

    .mtn-toolbar-aside {
        justify-content: flex-start;
        margin-left: 0;
        padding-top: 0;
    }

    .mtn-result-count {
        align-self: flex-start;
    }
}

@media (max-width: 767px) {
    .mtn-dropdown {
        min-width: min(330px, calc(100vw - 32px));
        max-width: min(420px, calc(100vw - 32px));
    }

    .mtn-toolbar-sort-host .toolbar-sorter {
        flex-wrap: wrap;
    }
}

/* ── Sort toolbar flash fix ─────────────────────────────────────────────────
   On catalog pages the MTN module always moves the sorter from its native
   .toolbar-products position into .mtn-toolbar-sort-host. Hide it in the
   native position via display:none so it never flashes there. Showing it
   explicitly inside the host overrides the rule once JS moves it.
   ─────────────────────────────────────────────────────────────────────────── */
.catalog-category-view #layer-product-list > .toolbar.toolbar-products .toolbar-sorter.sorter,
.catalogsearch-result-index #layer-product-list > .toolbar.toolbar-products .toolbar-sorter.sorter {
    display: none !important;
}

.mtn-toolbar-sort-host .toolbar-sorter.sorter {
    display: inline-flex !important;
}

/* ── Per-store designs ───────────────────────────────────────────────────────
   Merola Tile  → [data-store="default"]      premium stone/showroom aesthetic
   The Tile Life → [data-store="tile_life_view"]  warm lifestyle aesthetic
   ─────────────────────────────────────────────────────────────────────────── */

/* ── Merola Tile ────────────────────────────────────────────────────────────*/
[data-store="default"].mtn-wrap {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
}

[data-store="default"].mtn-wrap.is-stuck {
    background: #fff;
    border-top: 2px solid #1a1a1a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .10);
}

[data-store="default"] .mtn-pill,
[data-store="default"] .mtn-mobile-trigger {
    border-radius: 3px;
    border-color: #2a2a2a;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #1a1a1a;
    min-height: 34px;
    padding: 8px 14px;
}

[data-store="default"] .mtn-pill:hover,
[data-store="default"] .mtn-mobile-trigger:hover {
    background: #f5f5f5;
    border-color: #1a1a1a;
    box-shadow: none;
}

[data-store="default"] .mtn-pill.is-selected,
[data-store="default"] .mtn-pill-wrap.is-open .mtn-pill {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

[data-store="default"] .mtn-pill.is-selected .mtn-pill-icon::before,
[data-store="default"] .mtn-pill-wrap.is-open .mtn-pill-icon::before {
    color: #fff;
}

[data-store="default"] .mtn-dropdown {
    border-radius: 2px;
    border: 1px solid #d0d0d0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .10);
    min-width: 280px;
}

[data-store="default"] .mtn-filter-search {
    border-radius: 2px;
    border-color: #c8c8c8;
    font-size: 13px;
}

[data-store="default"] .mtn-option:hover {
    background: #f0f0f0;
}

[data-store="default"] .mtn-option.is-selected {
    background: #f0f0f0;
}

[data-store="default"] .mtn-option.is-selected .mtn-checkbox {
    background: #1a1a1a;
    border-color: #1a1a1a;
}

[data-store="default"] .mtn-chip {
    border-radius: 2px;
    border-color: #2a2a2a;
    font-size: 12px;
    letter-spacing: .03em;
}

[data-store="default"] .mtn-chip:hover {
    background: #f5f5f5;
}

[data-store="default"] .mtn-toolbar-sort-host .sorter-options {
    border-radius: 2px;
    border-color: #2a2a2a;
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

[data-store="default"] .mtn-active-group-label {
    color: #1a1a1a;
    letter-spacing: .06em;
}

[data-store="default"] .mtn-pill-all {
    border-style: dashed;
}

/* Responsive overflow + staged mobile */
.mtn-pills {
    width: 100%;
}

.mtn-pills-track {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    width: 100%;
}

.mtn-pill-wrap--overflow[hidden] {
    display: none !important;
}

.mtn-overflow-wrap .mtn-dropdown {
    min-width: 260px;
    max-width: 300px;
    padding: 8px 0;
}

.mtn-overflow-list {
    display: flex;
    flex-direction: column;
}

.mtn-overflow-list .mtn-pill-wrap {
    width: 100%;
    z-index: auto;
}

.mtn-overflow-list .mtn-pill {
    width: 100%;
    min-height: 0;
    justify-content: space-between;
    border: 0;
    border-radius: 0;
    padding: 10px 14px;
    box-shadow: none;
}

.mtn-overflow-list .mtn-pill:hover,
.mtn-overflow-list .mtn-pill-wrap.is-open .mtn-pill {
    background: #f5f5f5;
}

.mtn-overflow-list .mtn-pill-summary {
    display: none;
}

.mtn-overflow-list .mtn-pill-label {
    position: relative;
    padding-left: 14px;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.mtn-overflow-list .mtn-pill-label::before {
    content: '+';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.mtn-overflow-list .mtn-dropdown {
    position: static;
    top: auto;
    left: auto;
    min-width: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    border-top: 1px solid #e9e9e9;
    padding: 8px 0 10px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
}

.mtn-overflow-list .mtn-pill-wrap.is-open .mtn-dropdown {
    display: block;
}

.mtn-mobile-bar,
.mtn-mobile-result-count,
.mtn-sorter-sheet,
.mtn-drawer-foot {
    display: none;
}

.mtn-mobile-action {
    appearance: none;
    border: 0;
    background: transparent;
    color: #4b4b4b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 18px;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    box-shadow: none;
}

.mtn-mobile-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.mtn-mobile-action--sort .mtn-mobile-action-icon::before {
    content: '\2195';
    font-size: 24px;
    line-height: 1;
    font-family: inherit;
}

.mtn-mobile-action--filters .mtn-mobile-action-icon::before {
    content: '\f1de';
    font-family: 'porto-icons';
    font-size: 16px;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.mtn-mobile-action-label {
    white-space: nowrap;
}

.mtn-drawer-clear {
    appearance: none;
    border: 0;
    background: transparent;
    color: #1b1b1b;
    font: inherit;
    font-size: 14px;
    letter-spacing: .03em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
}

.mtn-drawer-clear.is-disabled,
.mtn-drawer-clear:disabled {
    color: #bcbcbc;
    cursor: default;
}

.mtn-drawer-foot {
    align-items: center;
    gap: 18px;
    padding: 18px 24px calc(18px + env(safe-area-inset-bottom));
    border-top: 1px solid #ededed;
    background: #fff;
}

.mtn-drawer-foot-button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #111;
    font: inherit;
    font-size: 18px;
    cursor: pointer;
    min-height: 48px;
    width: 100%;
    box-shadow: none;
}

.mtn-drawer-foot-button--primary {
    background: #e5e5e5;
    color: #fff;
}

.mtn-drawer-foot-button--primary:not(:disabled) {
    background: #111;
}

.mtn-drawer-foot-button--primary:disabled {
    cursor: default;
}

.mtn-sorter-sheet {
    position: fixed;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 360;
}

.mtn-sorter-sheet.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mtn-sorter-panel {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 55vh;
    background: #fff;
    transform: translateY(100%);
    transition: transform .2s ease;
}

.mtn-sorter-sheet.is-open .mtn-sorter-panel {
    transform: translateY(0);
}

.mtn-sorter-head {
    padding: 34px 32px 18px;
}

.mtn-sorter-title {
    color: #1b1b1b;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1;
}

.mtn-sorter-body {
    padding: 0 0 36px;
}

.mtn-sort-option {
    appearance: none;
    border: 0;
    background: transparent;
    color: #5b5b5b;
    display: block;
    width: 100%;
    padding: 20px 32px;
    text-align: left;
    font: inherit;
    font-size: 18px;
    cursor: pointer;
    box-shadow: none;
}

.mtn-sort-option.is-selected,
.mtn-sort-option:hover {
    color: #111;
    background: transparent;
}

@media (max-width: 1024px) {
    .mtn-wrap {
        margin: 0 0 20px;
        padding: 0;
        border-top: 0;
    }

    .mtn-toolbar-row {
        display: none;
    }

    .mtn-mobile-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-top: 1px solid #d9d9d9;
        border-bottom: 1px solid #d9d9d9;
        background: #fff;
    }

    .mtn-mobile-action + .mtn-mobile-action {
        border-left: 1px solid #ececec;
    }

    .mtn-mobile-action {
        min-height: 52px;
        padding: 15px 18px;
        gap: 10px;
    }

    .mtn-mobile-result-count {
        display: block;
        padding: 14px 2px 0;
        color: #595959;
        font-size: 14px;
        line-height: 1.35;
    }

    .mtn-sorter-sheet {
        display: block;
    }

    .mtn-meta-row {
        padding: 0;
        border: 0;
    }

    .mtn-active-filters,
    .mtn-result-count {
        display: none;
    }

    .mtn-drawer {
        z-index: 360;
    }

    .mtn-drawer-panel {
        position: absolute;
        inset: auto 0 0;
        width: 100vw;
        height: 100dvh;
        max-width: none;
        transform: translateY(100%);
        box-shadow: none;
    }

    .mtn-drawer.is-open .mtn-drawer-panel {
        transform: translateY(0);
    }

    .mtn-drawer-head {
        padding: 32px 28px 20px;
        border-bottom: 0;
    }

    .mtn-drawer-title {
        color: #1b1b1b;
        font-size: 30px;
        font-weight: 400;
        line-height: 1.1;
    }

    .mtn-drawer-body {
        flex: 1 1 auto;
        padding: 10px 0 108px;
    }

    .mtn-accordion-trigger {
        padding: 24px 28px;
        color: #353535;
        font-size: 20px;
        font-weight: 400;
        letter-spacing: .01em;
        text-transform: uppercase;
        border-bottom-color: #ececec;
    }

    .mtn-accordion-panel {
        padding: 8px 0 22px;
    }

    .mtn-drawer-body .mtn-filter-search-wrap {
        padding: 0 28px 16px;
    }

    .mtn-drawer-body .mtn-option {
        padding: 14px 28px;
        min-height: 52px;
        font-size: 16px;
        line-height: 1.45;
        gap: 12px;
    }

    .mtn-drawer-body .mtn-option-control {
        align-self: flex-start;
        margin-top: 2px;
    }

    .mtn-drawer-body .mtn-option-label {
        white-space: normal;
        line-height: 1.45;
    }

    .mtn-drawer-foot {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 14px;
        padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
    }

    .mtn-sorter-head {
        padding: 30px 28px 16px;
    }

    .mtn-sorter-body {
        padding: 8px 0 32px;
    }

    .mtn-sort-option {
        padding: 18px 28px;
        line-height: 1.35;
    }
}

@media (max-width: 640px) {
    .mtn-mobile-action {
        min-height: 50px;
        padding: 14px 14px;
    }

    .mtn-mobile-action-label {
        font-size: 14px;
    }

    .mtn-mobile-result-count {
        padding-top: 12px;
        font-size: 13px;
    }

    .mtn-drawer-head {
        padding: 28px 22px 18px;
    }

    .mtn-drawer-title {
        font-size: 28px;
    }

    .mtn-accordion-trigger {
        padding: 22px;
        font-size: 18px;
    }

    .mtn-drawer-body .mtn-filter-search-wrap,
    .mtn-sort-option,
    .mtn-sorter-head {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mtn-drawer-body .mtn-option {
        padding: 13px 22px;
        min-height: 48px;
    }
}
