#sidebar .catalogue-tools__content {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.catalogue-tools__icon {
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
}

.recent-products {
    margin: 48px 0 0;
    padding-top: 32px;
    border-top: 1px solid #e1e6da;
}

.recent-products__heading h2 {
    margin: 0 0 8px;
    color: #253326;
    font-family: var(--smpls-font-secondary, Raleway, sans-serif);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.3;
}

.recent-products__heading > p {
    margin: 0 0 24px;
    color: #687163;
    font-size: 15px;
}

.recent-products__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.recent-products__card {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
    margin: 0;
    padding: 20px;
    border: 1px solid #e1e6da;
    border-radius: 10px;
    background: #fff;
}

.recent-products__image {
    flex: 0 0 90px;
    width: 90px;
}

.recent-products__image img {
    display: block;
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.recent-products__info {
    flex: 1;
    min-width: 0;
}

.recent-products__info h3 {
    margin: 0 0 8px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.recent-products__info h3 a {
    color: #253326;
    text-decoration: none;
}

.recent-products__info h3 a:hover {
    color: var(--smpls-color-theme, #075108);
}

.recent-products__price {
    margin: 0 0 14px;
    color: var(--smpls-color-theme, #075108);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.recent-products__price del {
    margin-left: 8px;
    color: #687163;
    font-size: 13px;
    font-weight: 400;
}

.recent-products__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid #c8d2bf;
    border-radius: 6px;
    color: var(--smpls-color-theme, #075108);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.recent-products__button:hover {
    border-color: var(--smpls-color-theme, #075108);
    background: #f3f6ef;
    color: var(--smpls-color-theme, #075108);
    text-decoration: none;
}

.recent-products a:focus-visible {
    outline: 2px solid var(--smpls-color-theme, #075108);
    outline-offset: 3px;
}

html.categories-drawer-open {
    overflow: hidden;
}

.catalogue-categories {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(88vw, 380px);
    max-width: none;
    height: 100%;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #fafbf7;
    color: #253326;
    overflow: hidden;
    color-scheme: light;
}

.catalogue-categories[open] {
    display: flex;
    flex-direction: column;
    animation: categories-enter .2s ease-out;
}

.catalogue-categories::backdrop {
    background: #17201499;
}

.catalogue-categories__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 24px;
    border-bottom: 1px solid #e1e6da;
}

.catalogue-categories__header p {
    margin: 0 0 6px;
    color: #687163;
    font-size: 12px;
    line-height: 1.4;
}

.catalogue-categories__header h2 {
    margin: 0;
    color: #253326;
    font: 500 23px/1.3 var(--smpls-font-primary, 'Roboto Condensed', sans-serif);
}

.catalogue-categories__header button {
    display: grid;
    flex: 0 0 44px;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 10px;
    border: 1px solid #dce2d4;
    border-radius: 8px;
    background: #fff;
    color: #253326;
    cursor: pointer;
}

.catalogue-categories__header svg {
    width: 24px;
    height: 24px;
}

.catalogue-categories__body {
    flex: 1;
    padding: 16px 24px 32px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.catalogue-categories #tree_categories ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.catalogue-categories #tree_categories li {
    position: relative;
    margin: 0;
    list-style: none;
}

.catalogue-categories #tree_categories a {
    display: block;
    min-height: 44px;
    padding: 12px 44px 12px 0;
    border-bottom: 1px solid #e1e6da;
    color: #253326;
    font-size: 16px;
    line-height: 1.4;
    text-decoration: none;
}

.catalogue-categories #tree_categories ul ul {
    padding-left: 16px;
}

.catalogue-categories .head {
    position: absolute;
    top: 0;
    right: 0;
}

.catalogue-categories #tree_categories .accordion-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    padding: 10px;
    border: 0;
    color: var(--smpls-color-theme, #075108);
    font-size: 22px;
}

.catalogue-categories .accordion-toggle .minus,
.catalogue-categories .accordion-toggle[aria-expanded="true"] .plus {
    display: none;
}

.catalogue-categories .accordion-toggle[aria-expanded="true"] .minus {
    display: inline;
}

.catalogue-categories #tree_categories a.active {
    color: var(--smpls-color-theme, #075108);
    font-weight: 600;
}

.catalogue-categories .count {
    margin-left: 6px;
    color: #687163;
    font-size: 13px;
}

.catalogue-categories :is(a, button):focus-visible {
    outline: 2px solid var(--smpls-color-theme, #075108);
    outline-offset: 2px;
}

@media (max-width: 1199.98px) {
    .recent-products__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .categories-drawer-ready #form_cats { display: none; }
}

@media (max-width: 639.98px) {
    .recent-products__list { grid-template-columns: minmax(0, 1fr); }
    .recent-products__card { gap: 18px; padding: 16px; }
    .recent-products__heading h2 { font-size: 24px; }
    .recent-products__image, .recent-products__image img { width: 80px; }
    .recent-products__image { flex-basis: 80px; }
    .recent-products__image img { height: 90px; }
}

@media (prefers-reduced-motion: reduce) {
    .catalogue-categories[open] { animation: none; }
}

@keyframes categories-enter {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}
