/* ═══════════════════════════════════════════════════════════════════
   Techvizo Woo Filters — Frontend CSS (Premium)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Wrapper ─────────────────────────────────────────────────────── */
.tvz-woo-filters-wrapper {
    background: var(--tvz-bg, #ffffff);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--tvz-radius, 12px);
    padding: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: var(--tvz-font-size, 14px);
    color: var(--tvz-text, #333);
}

/* ── Header ──────────────────────────────────────────────────────── */
.tvz-filters-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px; padding-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.tvz-filters-header h3 {
    margin: 0; font-size: 18px; font-weight: 700;
    color: var(--tvz-secondary, #1a3c34);
}
.tvz-clear-all {
    font-size: 13px; color: var(--tvz-primary, #2d7a4f);
    text-decoration: none; font-weight: 500; cursor: pointer;
    background: none; border: none; padding: 4px 0;
    transition: opacity 0.2s;
}
.tvz-clear-all:hover { opacity: 0.7; text-decoration: underline; }

/* ── Filter Group ────────────────────────────────────────────────── */
.tvz-filter-group {
    margin-bottom: 22px; padding-bottom: 18px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.tvz-filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

/* ── Title + Toggle ──────────────────────────────────────────────── */
.tvz-filter-title {
    font-size: 15px; font-weight: 600; margin: 0 0 14px;
    color: var(--tvz-secondary, #1a3c34);
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; transition: color 0.2s;
}
.tvz-filter-title:hover { color: var(--tvz-primary, #2d7a4f); }

.tvz-filter-toggle {
    width: 14px; height: 14px; position: relative; flex-shrink: 0;
}
.tvz-filter-toggle::before {
    content: ''; position: absolute;
    top: 5px; left: 3px;
    width: 8px; height: 8px;
    border-right: 2px solid var(--tvz-secondary, #1a3c34);
    border-top: 2px solid var(--tvz-secondary, #1a3c34);
    transform: rotate(-45deg);
    transition: transform 0.3s ease, top 0.3s ease;
}
.tvz-filter-group.is-collapsed .tvz-filter-toggle::before {
    transform: rotate(135deg);
    top: 1px;
}

/* ── Collapse animation ──────────────────────────────────────────── */
.tvz-filter-options-wrap {
    max-height: 500px; overflow-y: auto; opacity: 1;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.3s;
    padding-top: 2px;
}
.tvz-filter-group.is-collapsed .tvz-filter-options-wrap {
    max-height: 0; overflow: hidden; opacity: 0; padding-top: 0;
}

/* ── Search ──────────────────────────────────────────────────────── */
.tvz-filter-search {
    width: 100%; padding: 8px 12px 8px 36px;
    border: 1px solid #e0e0e0; border-radius: 8px;
    font-size: 13px; margin-bottom: 12px; background: #fafafa;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: 10px center;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.tvz-filter-search:focus {
    border-color: var(--tvz-primary, #2d7a4f); outline: none;
    box-shadow: 0 0 0 3px rgba(45,122,79,0.1);
}

/* ── Options Container ───────────────────────────────────────────── */
.tvz-filter-options {
    display: flex; flex-direction: column; gap: 4px;
    animation: tvzFadeIn 0.3s ease;
}

/* ── Checkbox / Radio Label ──────────────────────────────────────── */
.tvz-filter-option {
    display: flex; align-items: center; cursor: pointer;
    padding: 6px 10px; border-radius: 6px;
    transition: background 0.15s;
}
.tvz-filter-option:hover { background: rgba(45,122,79,0.04); }

/* Hidden real input */
.tvz-filter-checkbox { position: absolute; opacity: 0; width: 0; height: 0; }

/* ── Custom Checkbox ─────────────────────────────────────────────── */
.tvz-checkbox-custom {
    width: 18px; height: 18px; border: 1.5px solid #ccc; border-radius: 4px;
    margin-right: 10px; flex-shrink: 0; background: #fff;
    position: relative; transition: all 0.2s;
}
.tvz-filter-option:hover .tvz-checkbox-custom {
    border-color: var(--tvz-filter-active, var(--tvz-primary, #2d7a4f));
}
.tvz-filter-checkbox:checked ~ .tvz-checkbox-custom {
    background: var(--tvz-filter-active, var(--tvz-primary, #2d7a4f));
    border-color: var(--tvz-filter-active, var(--tvz-primary, #2d7a4f));
    animation: tvzCheckPop 0.25s ease;
}
.tvz-checkbox-custom::after {
    content: ''; position: absolute; display: none;
    left: 6px; top: 2px; width: 4px; height: 9px;
    border: solid var(--tvz-filter-text, #fff);
    border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.tvz-filter-checkbox:checked ~ .tvz-checkbox-custom::after { display: block; }

/* ── Custom Radio ────────────────────────────────────────────────── */
.tvz-radio-custom {
    width: 18px; height: 18px; border: 1.5px solid #ccc; border-radius: 50%;
    margin-right: 10px; flex-shrink: 0; background: #fff;
    position: relative; transition: all 0.2s;
}
.tvz-filter-option:hover .tvz-radio-custom {
    border-color: var(--tvz-filter-active, var(--tvz-primary, #2d7a4f));
}
.tvz-filter-checkbox:checked ~ .tvz-radio-custom {
    border-color: var(--tvz-filter-active, var(--tvz-primary, #2d7a4f));
    animation: tvzCheckPop 0.25s ease;
}
.tvz-radio-custom::after {
    content: ''; position: absolute; display: none;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--tvz-filter-active, var(--tvz-primary, #2d7a4f));
    top: 4px; left: 4px;
}
.tvz-filter-checkbox:checked ~ .tvz-radio-custom::after { display: block; }

/* ── Term Name & Count ───────────────────────────────────────────── */
.tvz-term-name {
    flex-grow: 1; font-size: var(--tvz-font-size, 14px);
    color: var(--tvz-text, #333);
}
.tvz-filter-checkbox:checked ~ .tvz-term-name { font-weight: 600; }

.tvz-term-count {
    font-size: 11px; color: #999;
    background: rgba(0,0,0,0.04); padding: 2px 7px;
    border-radius: 10px; margin-left: 8px;
}

/* ── Dropdown ────────────────────────────────────────────────────── */
.tvz-filter-select {
    width: 100%; padding: 10px 14px; border: 1px solid #e0e0e0;
    border-radius: 8px; font-size: 14px; appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center no-repeat;
    cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s;
}
.tvz-filter-select:focus {
    border-color: var(--tvz-primary, #2d7a4f); outline: none;
    box-shadow: 0 0 0 3px rgba(45,122,79,0.1);
}

/* ── Button Pills ────────────────────────────────────────────────── */
.tvz-filter-options--buttons {
    flex-direction: row; flex-wrap: wrap; gap: 8px;
}
.tvz-filter-option--button { padding: 0; }

.tvz-btn-option {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 6px 16px; border: 1.5px solid #e0e0e0; border-radius: 20px;
    font-size: 13px; font-weight: 500; cursor: pointer;
    transition: all 0.2s; background: #fff;
    color: var(--tvz-text, #333);
}
.tvz-btn-option:hover {
    border-color: var(--tvz-filter-active, var(--tvz-primary, #2d7a4f));
    color: var(--tvz-filter-active, var(--tvz-primary, #2d7a4f));
}
.tvz-filter-checkbox:checked ~ .tvz-btn-option {
    background: var(--tvz-filter-active, var(--tvz-primary, #2d7a4f));
    color: var(--tvz-filter-text, #fff);
    border-color: var(--tvz-filter-active, var(--tvz-primary, #2d7a4f));
}
.tvz-btn-option small { margin-left: 4px; opacity: 0.7; }

/* ── Color Swatches ──────────────────────────────────────────────── */
.tvz-filter-options--swatches {
    flex-direction: row; flex-wrap: wrap; gap: 10px;
}
.tvz-filter-option--swatch { padding: 0; }

.tvz-swatch-option {
    width: 30px; height: 30px; border-radius: 50%;
    border: 2px solid #e0e0e0; cursor: pointer; display: block;
    transition: transform 0.2s, box-shadow 0.2s;
}
.tvz-swatch-option:hover {
    transform: scale(1.15);
    box-shadow: 0 0 0 3px rgba(45,122,79,0.15);
}
.tvz-filter-checkbox:checked ~ .tvz-swatch-option {
    box-shadow: 0 0 0 3px var(--tvz-filter-active, var(--tvz-primary, #2d7a4f));
    transform: scale(1.1);
}

/* ── Price Range Slider ──────────────────────────────────────────── */
.tvz-price-slider { padding: 8px 0; }

.tvz-price-display {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; margin-bottom: 18px;
}
.tvz-price-label {
    font-size: 15px; font-weight: 700;
    color: var(--tvz-secondary, #1a3c34);
    background: rgba(45,122,79,0.06); padding: 6px 14px;
    border-radius: 8px; min-width: 60px; text-align: center;
}
.tvz-price-sep { color: #bbb; font-size: 14px; }

.tvz-range-slider {
    position: relative; width: 100%; height: 6px;
    margin: 20px 0 10px;
}
.tvz-range-track {
    position: absolute; width: 100%; height: 6px;
    background: #e8e8e8; border-radius: 3px; top: 0;
}
.tvz-range-fill {
    position: absolute; height: 6px;
    background: var(--tvz-filter-active, var(--tvz-primary, #2d7a4f));
    border-radius: 3px; top: 0;
}

.tvz-range-input {
    position: absolute; width: 100%; top: -7px;
    -webkit-appearance: none; appearance: none;
    background: transparent; pointer-events: none;
    margin: 0; padding: 0; height: 20px;
}
.tvz-range-input::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--tvz-filter-active, var(--tvz-primary, #2d7a4f));
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    cursor: pointer; pointer-events: all;
    transition: transform 0.15s, box-shadow 0.15s;
}
.tvz-range-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 2px 10px rgba(45,122,79,0.35);
}
.tvz-range-input::-moz-range-thumb {
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--tvz-filter-active, var(--tvz-primary, #2d7a4f));
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    cursor: pointer; pointer-events: all;
}

/* ── Loading Overlay ─────────────────────────────────────────────── */
.tvz-products-loading { position: relative; }
.tvz-products-loading::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(255,255,255,0.75); z-index: 999;
    backdrop-filter: blur(2px); border-radius: 8px;
}

/* ── Animations ──────────────────────────────────────────────────── */
@keyframes tvzFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes tvzCheckPop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .tvz-woo-filters-wrapper { padding: 16px; border-radius: 8px; }
    .tvz-filter-title { font-size: 14px; }
    .tvz-filters-header h3 { font-size: 16px; }
}

/* ── Smart child theme layout bridge ─────────────────────────────── */
.tvz-woo-filters-wrapper--theme {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

.tvz-woo-filters-wrapper--theme .tvz-plugin-filter-head h2 {
    margin: 0 0 28px;
}

.tvz-woo-filters-wrapper--theme .tvz-filter-group {
    margin: 0 0 0px;
    padding: 0;
    border: 1px solid #e7eaf0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.04);
}

.tvz-woo-filters-wrapper--theme .tvz-filter-title {
    margin: 0;
    color: inherit;
    cursor: pointer;
}

.tvz-woo-filters-wrapper--theme .tvz-filter-title:hover {
    color: inherit;
}

.tvz-woo-filters-wrapper--theme .smart-shop-filter-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 15px;
    position: relative;
}

.tvz-woo-filters-wrapper--theme .smart-shop-filter-card__toggle {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    position: relative;
    text-align: left;
}

.tvz-woo-filters-wrapper--theme .smart-shop-filter-card__toggle::after {
    font-family: "TechvizoElementsKit";
    content: "\e994";
    position: absolute;
    right: 2px;
    top: 0px;
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 12px;
}

.tvz-woo-filters-wrapper--theme .is-collapsed .smart-shop-filter-card__toggle::after {
    transform: rotateX(190deg);
/*    top: 20px;*/
}

.tvz-woo-filters-wrapper--theme .smart-shop-filter-card__label {
    display: grid;
    gap: 8px;
}

.tvz-woo-filters-wrapper--theme .smart-shop-filter-card__label strong {
    color: #111827;
    font-size: 15px;
    font-weight: 600!important;
    line-height: 1.25;
}

.tvz-woo-filters-wrapper--theme .smart-shop-filter-card__label small {
    color: #98a2b3;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
}

.tvz-woo-filters-wrapper--theme .smart-shop-filter-card__reset {
    border: 0;
    background: transparent;
    color: #98a2b3;
    cursor: pointer;
    font-size: 13px;
    padding: 0;
    position: absolute;
    right: 15px;
    bottom: 12px;
    white-space: nowrap;
    z-index: 1;
}

.tvz-woo-filters-wrapper--theme .tvz-filter-options-wrap {
    max-height: none;
    overflow: visible;
    opacity: 1;
    padding: 10px 12px 15px;
    transition: none;
}

.tvz-woo-filters-wrapper--theme .is-collapsed .tvz-filter-options-wrap,
.tvz-woo-filters-wrapper--theme .tvz-filter-options-wrap[hidden] {
    display: none;
}

.tvz-woo-filters-wrapper--theme .tvz-filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tvz-woo-filters-wrapper--theme .tvz-filter-option {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    margin: 0;
}

.tvz-woo-filters-wrapper--theme .tvz-filter-option:hover {
    background: transparent;
}

.tvz-woo-filters-wrapper--theme .tvz-checkbox-custom,
.tvz-woo-filters-wrapper--theme .tvz-radio-custom {
    width: 18px;
    height: 18px;
    border: 1px solid #d0d5dd;
    border-radius: 3px;
    margin: 0px 0 0;
    background: #fff;
    box-shadow: none;
}

.tvz-woo-filters-wrapper--theme .tvz-radio-custom {
    border-radius: 50%;
}

.tvz-woo-filters-wrapper--theme .tvz-filter-checkbox:checked ~ .tvz-checkbox-custom,
.tvz-woo-filters-wrapper--theme .tvz-filter-checkbox:checked ~ .tvz-radio-custom {
    background: #ef2331;
    border-color: #ef2331;
}

.tvz-woo-filters-wrapper--theme .tvz-filter-checkbox:checked ~ .tvz-checkbox-custom::after {
    left: 6px;
    top: 2px;
}

.tvz-woo-filters-wrapper--theme .tvz-term-name {
    color: #344054;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
}

.tvz-woo-filters-wrapper--theme .tvz-term-name small {
    display: block;
    color: #667085;
    font-size: 12px;
    line-height: 1.35;
    margin-top: 2px;
}

.tvz-woo-filters-wrapper--theme .tvz-term-count {
    display: none;
}

.tvz-woo-filters-wrapper--theme .smart-shop-filter-search {
    margin: 0 0 14px;
}

.tvz-woo-filters-wrapper--theme .tvz-filter-search {
    width: 100%;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    background-color: #fff;
    background-image: none;
    color: #344054;
    font-size: 13px;
    margin: 0;
    padding: 10px 14px;
}
.tvz-woo-filters-wrapper--theme .tvz-filter-search::placeholder{
    font-size: 13px;
}
.tvz-woo-filters-wrapper--theme .smart-shop-filter-select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    color: #344054;
    font-size: 16px;
    padding: 0 42px 0 14px;
}

.tvz-woo-filters-wrapper--theme .tvz-price-display {
    justify-content: space-between;
    margin-bottom: 16px;
}

.tvz-woo-filters-wrapper--theme .tvz-price-label {
    background: #f8fafc;
    color: #111827;
}

.tvz-woo-filters-wrapper--theme .tvz-range-fill,
.tvz-woo-filters-wrapper--theme .tvz-range-input::-webkit-slider-thumb {
    background: #ef2331;
}

.tvz-woo-filters-wrapper--theme .tvz-stock-toggle {
    margin-top: 4px;
}

.smart-shop-products__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
}
.smart-shop-stock-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.smart-shop-stock-toggle input {
    position: absolute;
    opacity: 0;
}

.smart-shop-stock-toggle span {
    position: relative;
    width: 35px;
    height: 20px;
    background: #e5e7eb;
    border-radius: 999px;
}

.smart-shop-stock-toggle span::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    transition: transform .18s ease;
}

.smart-shop-stock-toggle input:checked + span {
    background: var(--smart-red);
}

.smart-shop-stock-toggle input:checked + span::after {
    left: auto;
    right: 3px;
}
.smart-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 58px;
    padding: 0 40px;
    margin-bottom: 26px;
    background: #fff;
    border: 1px solid #f0f1f4;
    border-radius: var(--smart-card-radius);
}

.smart-shop-toolbar__left,
.smart-shop-toolbar__filter {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.smart-shop-toolbar__filter {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--smart-ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    cursor: default;
}

.smart-shop-toolbar__filter strong {
    font: inherit;
    text-transform: capitalize;
}

.smart-shop-toolbar__filter span {
    position: relative;
    width: 15px;
    height: 15px;
    border: 2px solid var(--smart-red);
    border-radius: 50%;
}

.smart-shop-toolbar__filter span::before {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--smart-red);
}

.smart-shop-toolbar__count {
    color: #475467;
    font-size: 11px;
    font-weight: 600;
}

.smart-shop-selected-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.smart-shop-selected-filters:empty,
.smart-shop-selected-filters[hidden] {
    display: none;
}

.smart-shop-global-reset {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 11px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #667085;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.smart-shop-global-reset:hover {
    border-color: rgba(239, 37, 40, .24);
    background: rgba(239, 37, 40, .06);
    color: var(--smart-red);
}

.smart-shop-global-reset[hidden] {
    display: none;
}

.smart-shop-selected-filter {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 220px;
    min-height: 28px;
    padding: 0 9px 0 11px;
    border: 1px solid rgba(239, 37, 40, .18);
    border-radius: 999px;
    background: rgba(239, 37, 40, .07);
    color: var(--smart-red);
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
}

.smart-shop-selected-filter span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.smart-shop-selected-filter i {
    position: relative;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--smart-red);
}

.smart-shop-selected-filter i::before,
.smart-shop-selected-filter i::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 3px;
    width: 8px;
    height: 1.5px;
    border-radius: 999px;
    background: #fff;
}

.smart-shop-selected-filter i::before {
    transform: rotate(45deg);
}

.smart-shop-selected-filter i::after {
    transform: rotate(-45deg);
}

.smart-shop-toolbar__mobile-filter {
    appearance: none;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: var(--smart-ink);
    box-shadow: 0 6px 18px rgba(17, 24, 39, .06);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.smart-shop-toolbar__mobile-filter span {
    position: relative;
    width: 15px;
    height: 11px;
}

.smart-shop-toolbar__mobile-filter span::before,
.smart-shop-toolbar__mobile-filter span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 15px;
    height: 2px;
    border-radius: 999px;
    background: var(--smart-red);
}

.smart-shop-toolbar__mobile-filter span::before {
    top: 1px;
    box-shadow: 0 4px 0 var(--smart-red);
}

.smart-shop-toolbar__mobile-filter span::after {
    bottom: 0;
}

.smart-shop-toolbar .woocommerce-ordering {
    margin: 0;
}

.smart-shop-toolbar .orderby {
    min-width: 156px;
    height: 36px;
    padding: 0 34px 0 12px;
    border: 0;
    background: transparent;
    color: #344054;
    font-size: 12px;
    font-weight: 600;
}

.smart-shop-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.smart-shop-sidebar h2 {
    margin: 0 0 22px;
    color: var(--smart-ink);
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 0;
}


.smart-shop-sidebar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.smart-shop-sidebar__close,
.smart-shop-filter-backdrop {
    display: none;
}

.smart-shop-filter-form {
    display: grid;
    gap: 12px;
}

.smart-shop-filter-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #eceef3;
    border-radius: var(--smart-card-radius);
    box-shadow: 0 4px 14px rgba(17, 24, 39, .035);
}

.smart-shop-filter-card__head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}
