/* Catalog listing (shop.pen S5oX9T / eg7AD). Scope to .pen-catalog — do not set * / body font-family. */

.pen-catalog {
    font-family: var(--pen-font-body);
    color: var(--pen-text);
}

.pen-catalog__title,
.pen-catalog__filters-title,
.pen-catalog__apply,
.pen-catalog__filters-toggle,
.pen-catalog .panel-title,
.pen-catalog .result-category h2 {
    font-family: var(--pen-font-head);
}

.pen-catalog__header {
    margin: 0 0 20px;
}

.pen-catalog__header .pen-bc {
    margin-bottom: 12px;
}

.pen-catalog__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.pen-catalog__title {
    margin: 0 0 4px;
    color: var(--pen-ink-navy);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
}

.pen-catalog__count {
    margin: 0;
    color: var(--pen-text-muted);
    font-size: 14px;
}

.pen-catalog__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.pen-catalog__filters-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 41px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--pen-line);
    border-radius: 12px;
    color: var(--pen-ink-navy);
    font-size: 14px;
    font-weight: 700;
}

.pen-catalog__filters-toggle:hover,
.pen-catalog__filters-toggle:focus {
    background: var(--pen-bg-soft);
    color: var(--pen-ink-navy);
    text-decoration: none;
}

.pen-catalog__sorts {
    margin: 0;
}

.pen-catalog__sorts .sort-list-btn h3 {
    display: none;
}

.pen-catalog #input-sort,
.pen-catalog #input-limit {
    min-height: 41px;
    border: 1px solid var(--pen-line);
    border-radius: 12px;
    background: #fff;
    color: var(--pen-text);
    font-family: var(--pen-font-body);
}

.pen-catalog__sidebar .filter-by-block,
.pen-catalog__sidebar {
    margin-bottom: 24px;
}

.pen-catalog form.pen-catalog__filters {
    background: var(--pen-bg);
    border: 1px solid var(--pen-line);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(18, 57, 71, 0.06);
}

.pen-catalog .category-filter-panel {
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

.pen-catalog .category-filter-panel .panel {
    background: transparent;
    border: 0;
    box-shadow: none;
    margin: 0;
    padding: 8px 0 12px;
    border-bottom: 1px solid var(--pen-line);
    border-radius: 0;
}

.pen-catalog .category-filter-panel .pen-catalog__panel-head {
    padding: 0 0 4px;
    border-bottom: 0;
}

.pen-catalog .category-filter-panel .panel-heading,
.pen-catalog .category-filter-panel .panel-body {
    padding: 0;
    background: transparent;
}

.pen-catalog .category-filter-panel .panel-body {
    padding-top: 12px;
}

.pen-catalog .category-filter-panel .panel:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.pen-catalog .category-filter-panel .panel-title,
.pen-catalog .category-filter-panel .panel-title a,
.pen-catalog .category-filter-panel .panel-title a:hover,
.pen-catalog .category-filter-panel .panel-title a:focus {
    color: var(--pen-ink-navy) !important;
    font-family: var(--pen-font-head);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.pen-catalog .panel-title .fa {
    display: none !important;
}

.pen-catalog .category-filter-panel h2.panel-title.pen-catalog__filters-title {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 18px !important;
    font-weight: 800;
}

.pen-catalog .panel-title a.pen-catalog__reset,
.pen-catalog a.pen-catalog__reset {
    display: inline-block !important;
    color: var(--pen-brand) !important;
    font-family: var(--pen-font-body);
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3;
    float: none !important;
    text-decoration: none !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    opacity: 1 !important;
}

.pen-catalog a.pen-catalog__reset:hover,
.pen-catalog a.pen-catalog__reset:focus {
    color: var(--pen-brand-deep) !important;
    text-decoration: none !important;
    opacity: 1;
}

.pen-catalog .list-group {
    margin-bottom: 0;
}

.pen-catalog label.pen-catalog__check.category-filter-item,
.pen-catalog label.pen-catalog__check.category-filter-item.list-group-item,
.pen-catalog label.pen-catalog__check.category-filter-item.active,
.pen-catalog label.pen-catalog__check.category-filter-item.list-group-item:hover,
.pen-catalog label.pen-catalog__check.category-filter-item.list-group-item:focus {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 7px 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--pen-text) !important;
    font-family: var(--pen-font-body);
    font-size: 14px;
    font-style: normal !important;
    font-weight: 400;
    line-height: 20px;
    cursor: pointer;
}

.pen-catalog label.pen-catalog__check.category-filter-item.active {
    font-weight: 700;
}

.pen-catalog__check input[type="checkbox"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    opacity: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.pen-catalog__check-mark {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border: 1.5px solid var(--pen-line);
    border-radius: 6px;
    background: #fff;
    position: relative;
    box-sizing: border-box;
}

.pen-catalog__check input:checked + .pen-catalog__check-mark {
    background: var(--pen-brand);
    border-color: var(--pen-brand);
}

.pen-catalog__check input:checked + .pen-catalog__check-mark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.pen-catalog__check-name {
    flex: 1;
    min-width: 0;
    color: var(--pen-text) !important;
    font-style: normal !important;
}

.pen-catalog__check-count {
    color: var(--pen-text-muted) !important;
    font-size: 13px;
    font-style: normal !important;
    font-weight: 400;
}

.pen-catalog__price-track {
    position: relative;
    height: 6px;
    margin: 14px 0 16px;
    background: var(--pen-line);
    border-radius: 999px;
}

.pen-catalog__price-fill {
    display: block;
    width: 70%;
    margin-left: 8%;
    height: 100%;
    background: var(--pen-brand);
    border-radius: 999px;
}

.pen-catalog__price-knob {
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    background: #fff;
    border: 3px solid var(--pen-brand);
    border-radius: 50%;
}

.pen-catalog__price-knob--from {
    left: 6%;
}

.pen-catalog__price-knob--to {
    left: 74%;
}

.pen-catalog__price-inputs {
    display: flex;
    gap: 8px;
}

.pen-catalog__price-inputs .form-control {
    width: 50%;
    margin: 0;
    height: 34px;
    padding: 8px 12px;
    text-align: center;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--pen-bg-soft) !important;
    font-family: var(--pen-font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--pen-text);
    box-shadow: none;
}

.pen-catalog__weight-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pen-catalog label.pen-catalog__chip.category-filter-item,
.pen-catalog label.pen-catalog__chip.category-filter-item.list-group-item,
.pen-catalog label.pen-catalog__chip.category-filter-item.list-group-item:hover {
    position: relative;
    display: inline-flex !important;
    flex: 1 1 calc(25% - 8px);
    align-items: center;
    justify-content: center;
    padding: 8px !important;
    margin: 0 !important;
    border: 1px solid var(--pen-line) !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: var(--pen-text) !important;
    font-family: var(--pen-font-body);
    font-size: 13px;
    font-style: normal !important;
    font-weight: 700;
    cursor: pointer;
}

.pen-catalog__chip input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    clip: rect(0, 0, 0, 0) !important;
}

.pen-catalog label.pen-catalog__chip.category-filter-item.active,
.pen-catalog label.pen-catalog__chip.category-filter-item.active:hover {
    background: var(--pen-brand) !important;
    border-color: var(--pen-brand) !important;
    color: #fff !important;
}

.pen-catalog__apply {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 14px;
    background: var(--pen-brand);
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-family: var(--pen-font-head);
    font-size: 15px;
    font-weight: 800;
}

.pen-catalog__apply:hover,
.pen-catalog__apply:focus {
    background: var(--pen-brand-deep);
    color: #fff;
}

.pen-catalog__grid.row.illustration-v2 {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.pen-catalog .pen-product-col {
    width: 50%;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
}

.pen-catalog__pager .pagination-v2 > li > a,
.pen-catalog__pager .pagination-v2 > li > span {
    min-width: 36px;
    height: 36px;
    margin: 0 3px;
    padding: 6px 0;
    border: 1px solid var(--pen-line);
    border-radius: 10px;
    color: var(--pen-ink-navy);
    line-height: 22px;
}

.pen-catalog__pager .pagination-v2 > .active > a,
.pen-catalog__pager .pagination-v2 > .active > span {
    background: var(--pen-brand);
    border-color: var(--pen-brand);
    color: #fff;
}

@media (min-width: 992px) {
    .pen-catalog__filters-toggle {
        display: none !important;
    }

    .pen-catalog__sidebar.collapse {
        display: block !important;
        height: auto !important;
        visibility: visible;
        overflow: visible;
    }

    .pen-catalog .pen-product-col {
        width: 33.33333333%;
    }
}

@media (max-width: 991px) {
    .pen-catalog__filters-toggle {
        display: inline-flex;
    }

    .pen-catalog__title {
        font-size: 24px;
    }
}

