.vksl-shop {
    display: grid;
    grid-template-columns: minmax(200px, 230px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    width: 100%;
}

.vksl-shop,
.vksl-shop * {
    box-sizing: border-box;
}

.vksl-sidebar {
    position: sticky;
    top: 24px;
}

.vksl-filter-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    font-weight: 700;
    font-size: 26px;
    color: #111111;
}

.vksl-filter-icon {
    font-size: 18px;
    line-height: 1;
}

.vksl-filter-group + .vksl-filter-group {
    margin-top: 28px;
}

.vksl-filter-group h4 {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #191919;
}

.vksl-categories-scroll {
    max-height: 208px;
    overflow-y: auto;
    padding-right: 8px;
}

.vksl-categories-scroll::-webkit-scrollbar {
    width: 6px;
}

.vksl-categories-scroll::-webkit-scrollbar-thumb {
    background: #9d9d9d;
    border-radius: 999px;
}

.vksl-categories-scroll::-webkit-scrollbar-track {
    background: #ececec;
    border-radius: 999px;
}

.vksl-cat-link {
    display: block;
    width: 100%;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0 0 12px;
    text-align: left;
    cursor: pointer;
    color: #767676;
    font-size: 16px;
    line-height: 1.35;
    transition: color 0.2s ease, transform 0.2s ease;
}

.vksl-cat-link:hover,
.vksl-cat-link.is-active {
    color: #111111;
    font-weight: 700;
    transform: translateX(2px);
}

.vksl-price-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vksl-check-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    position: relative;
    cursor: pointer;
    color: #707070;
    font-size: 15px;
}

.vksl-check-row input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.vksl-checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #cfcfcf;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    background: #ffffff;
    transition: all 0.2s ease;
}

.vksl-checkmark::after {
    content: "✓";
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
}

.vksl-check-row input:checked + .vksl-checkmark {
    background: #111111;
    border-color: #111111;
}

.vksl-check-row input:checked + .vksl-checkmark::after {
    opacity: 1;
}

.vksl-main {
    min-width: 0;
}

.vksl-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.vksl-toolbar-title {
    margin: 0;
    font-size: 34px;
    line-height: 1.1;
    color: #111111;
}

.vksl-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.vksl-sort-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #111111;
    font-size: 15px;
    font-weight: 600;
}

.vksl-sort {
    min-width: 175px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #dedede;
    border-radius: 10px;
    background: #ffffff;
    color: #222222;
}

.vksl-view-switcher {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dfdfdf;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
}

.vksl-view-btn {
    border: 0;
    background: transparent;
    min-width: 42px;
    height: 42px;
    cursor: pointer;
    color: #7d7d7d;
    font-size: 17px;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease;
}

.vksl-view-btn + .vksl-view-btn {
    border-left: 1px solid #efefef;
}

.vksl-view-btn:hover,
.vksl-view-btn.is-active {
    background: #111111;
    color: #ffffff;
}

.vksl-products-wrap {
    width: 100%;
}

.vksl-products {
    display: grid;
    gap: 24px 18px;
}

.vksl-products.vksl-view-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vksl-products.vksl-view-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vksl-products.vksl-view-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vksl-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.vksl-card-media {
    position: relative;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    aspect-ratio: 0.88;
}

.vksl-card-image-link,
.vksl-card-image-link img {
    display: block;
    width: 100%;
    height: 100%;
}

.vksl-card-image-link img {
    object-fit: contain;
    padding: 16px;
}

.vksl-badges {
    position: absolute;
    left: 12px;
    top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.vksl-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 24px;
    padding: 0 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.vksl-badge-new {
    background: #ffffff;
    color: #111111;
    border: 1px solid #efefef;
}

.vksl-badge-sale {
    background: #33c377;
    color: #ffffff;
}

.vksl-card-actions {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    pointer-events: none;
}

.vksl-heart {
    margin-left: auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666666;
    pointer-events: auto;
}

.vksl-add-to-cart,
.vksl-card .added_to_cart {
    width: calc(100% - 12px);
    margin: auto auto 0;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.22s ease;
    pointer-events: auto;
    text-align: center;
    border-radius: 8px;
    padding: 12px 14px;
    background: #ff7a00;
    color: #ffffff;
    border: 0;
    text-decoration: none;
    font-weight: 700;
}

.vksl-card:hover .vksl-add-to-cart,
.vksl-card:hover .added_to_cart {
    opacity: 1;
    transform: translateY(0);
}

.vksl-card-body {
    padding-top: 12px;
}

.vksl-rating {
    margin-bottom: 6px;
    color: #161616;
    font-size: 16px;
    letter-spacing: 0.08em;
}

.vksl-title {
    margin: 0 0 4px;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
}

.vksl-title a {
    text-decoration: none;
    color: #111111;
}

.vksl-price {
    color: #111111;
    font-size: 19px;
    font-weight: 700;
}

.vksl-price del {
    color: #9b9b9b;
    font-weight: 500;
    margin-left: 8px;
    opacity: 1;
}

.vksl-price ins {
    background: transparent;
    text-decoration: none;
}

.vksl-empty {
    grid-column: 1 / -1;
    padding: 44px 20px;
    text-align: center;
    border: 1px dashed #d8d8d8;
    border-radius: 14px;
    color: #666666;
}

.vksl-load-more {
    display: block;
    margin: 34px auto 0;
    min-width: 170px;
    height: 50px;
    padding: 0 22px;
    border: 1.5px solid #9e9e9e;
    background: transparent;
    border-radius: 999px;
    color: #111111;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vksl-load-more:hover {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

.vksl-load-more.is-hidden {
    display: none;
}

.vksl-shop.is-loading .vksl-products {
    opacity: 0.55;
    transition: opacity 0.2s ease;
}

.vksl-products.vksl-view-list {
    grid-template-columns: 1fr;
}

.vksl-products.vksl-view-list .vksl-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.vksl-products.vksl-view-list .vksl-card-media {
    aspect-ratio: 1;
}

.vksl-products.vksl-view-list .vksl-card-body {
    padding-top: 6px;
}

@media (max-width: 1200px) {
    .vksl-products.vksl-view-grid-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .vksl-shop {
        grid-template-columns: 1fr;
    }

    .vksl-sidebar {
        position: static;
    }

    .vksl-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .vksl-products.vksl-view-grid-4,
    .vksl-products.vksl-view-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .vksl-filter-head {
        font-size: 22px;
    }

    .vksl-toolbar-title {
        font-size: 28px;
    }

    .vksl-toolbar-actions {
        width: 100%;
        justify-content: space-between;
    }

    .vksl-sort-wrap {
        width: 100%;
        justify-content: space-between;
    }

    .vksl-sort {
        flex: 1 1 auto;
    }

    .vksl-products.vksl-view-grid-4,
    .vksl-products.vksl-view-grid-3,
    .vksl-products.vksl-view-grid-2 {
        grid-template-columns: 1fr;
    }

    .vksl-products.vksl-view-list .vksl-card {
        grid-template-columns: 1fr;
    }
}
