#footer {
    position: static;
    background: #f7f9f1;
    border-top: 1px solid #dce3cb;
    color: #425126;
}
#footer-content {
    box-sizing: border-box;
    width: min(100%, 1250px);
    padding: 18px 16px;
}
#footer-links { display: flex; flex-wrap: wrap; gap: 5px 12px; }
#footer-links a { color: #425126; padding: 5px 3px; }
#footer-links a:hover { text-decoration: underline; }
#footer #legal { border-top: 1px solid #dce3cb; color: #535c41; padding: 10px 0 0; overflow-wrap: anywhere; }
.catalog-no-results {
    margin: 0 0 16px;
    padding: 16px;
    border: 1px solid #dce3cb;
    border-radius: 9px;
    background: #f7f9f1;
    color: #425126;
    font-size: 15px;
}
.catalog-slider {
    position: relative;
    margin: 0 0 14px;
    border: 1px solid #dce3cb;
    border-radius: 9px;
    overflow: hidden;
    background: #f7f9f1;
}
.catalog-slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #9bab79 #f7f9f1;
}
.catalog-slider-track > a {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: grid;
    place-items: center;
    background: #f7f9f1;
}
.catalog-slider-track img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 330px;
    object-fit: contain;
}
.catalog-slider button[hidden] { display: none; }
.catalog-slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 1px solid #dce3cb;
    border-radius: 50%;
    background: #fff;
    color: #425126;
    font: 24px/1 Arial, sans-serif;
    cursor: pointer;
}
.catalog-slider button:hover { background: #e7edda; }
.catalog-slider button:focus-visible { outline: 2px solid #61752a; outline-offset: 2px; }
.catalog-slider [data-direction="-1"] { left: 8px; }
.catalog-slider [data-direction="1"] { right: 8px; }

@media screen and (min-width: 1024px) {
    #main:has(> .catalog-with-sidebar) { width: min(calc(100% - 40px), 1250px); }
    #main > .catalog-with-sidebar { width: 100%; }
    .catalog-with-sidebar > #content-left { width: calc(100% - 289px); }
    .catalog-with-sidebar .product-catalog[data-view="grid"] {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}

.catalog-feature {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
}
.catalog-feature .catalog-slider {
    width: 100%;
    max-width: 550px;
    box-sizing: border-box;
    margin: 0;
}
.catalog-slider-track {
    scrollbar-width: none;
    height: 100%;
}
.catalog-slider-track::-webkit-scrollbar { display: none; }
.catalog-slider-track img { max-height: none; }
.catalog-promotion {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    max-width: 550px;
    padding: 12px;
    border: 1px solid #dce3cb;
    border-radius: 9px;
    background: #fff;
    color: #425126;
}
.catalog-promotion:hover { border-color: #94a66d; color: #425126; text-decoration: none; }
.catalog-promotion-badge {
    border-radius: 5px;
    padding: 4px 8px;
    background: #eff3e5;
    color: #425126;
    font-weight: bold;
}
.catalog-promotion img { align-self: center; max-width: 100%; max-height: 112px; object-fit: contain; }
.catalog-promotion-title { font-size: 15px; font-weight: bold; overflow-wrap: anywhere; }
.catalog-promotion-price { margin-top: auto; font-size: 17px; font-weight: bold; }
.catalog-promotion-price small { font-size: 11px; font-weight: normal; }
@media screen and (min-width: 1024px) {
    .catalog-feature.has-promotion { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


.catalog-promotion-track > .catalog-promotion {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    justify-items: center;
    align-items: center;
    gap: 5px;
    border: 0;
    border-radius: 0;
    max-width: none;
    padding: 8px 42px;
    background: #fff;
}
.catalog-promotion-track > .catalog-promotion img {
    grid-row: 2;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: min(100%, 105px);
    object-fit: contain;
}
.catalog-promotion-title { grid-row: 3; text-align: center; }
.catalog-promotion-price {
    grid-row: 4;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 2px 7px;
    color: #a22d36;
    font-size: 19px;
    line-height: 1.15;
}
.catalog-promotion-old-price,
.catalog-promotion-price small { color: #656b57; }
.catalog-promotion-old-price { font-size: 13px; font-weight: normal; }

@media screen and (min-width: 1024px) {
    .catalog-feature.has-promotion .catalog-promotion-slider { contain: size; }
}

.catalog-banner-slider .catalog-slider-track > a { align-items: stretch; }
.catalog-banner-slider .catalog-slider-track img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}
.catalog-slider button[data-direction]:not([hidden]) {
    display: grid;
    place-items: center;
    padding: 0;
    font-size: 0;
}
.catalog-slider button[data-direction]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(50% - 1px);
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translate(-50%, -50%) rotate(45deg);
}
.catalog-slider button[data-direction="-1"]::before {
    left: calc(50% + 1px);
    transform: translate(-50%, -50%) rotate(-135deg);
}
.catalog-slider-pagination {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1px;
    padding: 0 3px;
    border-radius: 12px;
    background: rgba(255,255,255,.92);
}
.catalog-slider .catalog-slider-dot {
    position: static;
    transform: none;
    display: grid;
    place-items: center;
    width: 19px;
    height: 18px;
    padding: 0;
    border: 0;
    background: transparent;
}
.catalog-slider-dot::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9baa84;
}
.catalog-slider-dot[aria-current]::before { background: #425126; }
.catalog-promotion-slider:has(.catalog-slider-pagination) .catalog-promotion { padding-bottom: 24px; }
