body:has(.va-catalog) #content {
    background: #f3f6f7;
    border-top: 3px solid #d5e8f1;
}

:is(.va-catalog, .va-home-products) { --va-card-button-height: 36px; }
#primary.va-catalog {
    --va-filter-height: 36px;
    width: 100%;
    min-width: 0;
    margin: 0 0 54px;
}

.va-catalog-path {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 9px;
    padding-top: 16px;
    color: var(--va-muted);
    font-size: 13px;
}

.va-catalog-path a { color: var(--va-action); }
.va-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding-block: 12px; }
.va-title h1 { margin: 0; color: var(--va-ink); font-size: clamp(29px, 3vw, 45px); letter-spacing: -.045em; line-height: 1.12; }
.va-title span { color: var(--va-muted); font-size: 14px; }
.va-categories { display: flex; gap: 8px; overflow-x: auto; padding: 3px 3px 9px; margin-bottom: 12px; scrollbar-width: thin; }
.va-categories a { flex: none; padding: 5px 10px; border-bottom: 2px solid transparent; color: var(--va-ink); font-size: 14px; }
.va-categories a[aria-current] { border-color: var(--va-action); color: var(--va-action); font-weight: 700; }
.va-category-controls { display: none; }
@media (max-width: 760px) {
    .va-category-strip { margin-bottom: 12px; }
    .va-categories {
        position: relative;
        margin-bottom: 0;
        padding: 2px;
        scroll-padding-inline: 2px;
        scroll-snap-type: x mandatory;
    }
    .va-category-strip:has(.va-category-controls:not([hidden])) .va-categories { scrollbar-width: none; }
    .va-categories a {
        display: grid;
        place-items: center;
        box-sizing: border-box;
        flex: 0 0 calc((100% - 8px) / 2);
        min-height: 44px;
        padding: 6px 5px;
        text-align: center;
        line-height: 1.25;
        overflow-wrap: anywhere;
        scroll-snap-align: start;
    }
    .va-catalog .va-categories a:focus-visible { outline-offset: -2px; }
    .va-category-controls:not([hidden]) {
        display: flex;
        align-items: center;
        gap: 6px;
        padding-top: 6px;
    }
    .va-category-range { margin-inline-end: auto; padding-inline-start: 4px; color: var(--va-muted); font-size: 13px; }
    .va-catalog .va-category-controls button {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid var(--va-line);
        border-radius: 50%;
        background: white;
        color: var(--va-action);
    }
    .va-category-controls button::before {
        content: '';
        width: 8px;
        height: 8px;
        border-top: 2px solid currentColor;
        border-right: 2px solid currentColor;
        transform: rotate(45deg);
    }
    .va-category-controls .va-category-prev::before { transform: rotate(-135deg); }
    .va-catalog .va-category-controls button[aria-disabled="true"] { opacity: .45; cursor: default; }
}
.va-filter-panel { margin-bottom: 14px; }
.va-filter-panel > summary { cursor: pointer; width: fit-content; min-height: var(--va-filter-height); padding: 5px 14px; border: 1px solid var(--va-action); border-radius: 24px; background: var(--va-wash); color: var(--va-action); font-weight: 650; }
.va-filter-panel > summary span { color: var(--va-action); margin-left: 5px; }
.va-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--va-ink); font-size: 14px; }
.va-filters label { margin: 0; min-width: 0; }
.va-catalog .va-filters :is(input, select, .va-filter-submit),
.va-catalog .va-price > summary {
    box-sizing: border-box;
    height: var(--va-filter-height);
    min-height: var(--va-filter-height);
    margin: 0;
    padding: 0 14px;
    border: 1px solid #c7d7e1;
    border-radius: 22px;
    color: var(--va-ink);
    background-color: white;
    font: inherit;
    line-height: 1.2;
}
.va-filter-select { position: relative; }
.va-catalog .va-filters select {
    display: block;
    appearance: none;
    background-image: none;
    max-width: 190px;
    padding-right: 34px;
}
.va-filter-search { flex: 1 1 175px; }
.va-catalog .va-filter-search input { display: block; width: 100%; }
.va-price { position: relative; }
.va-catalog .va-price > summary {
    cursor: pointer;
    position: relative;
    padding-right: 34px;
    line-height: calc(var(--va-filter-height) - 2px);
    list-style: none;
}
.va-price > summary::-webkit-details-marker { display: none; }
.va-filter-select::after,
.va-price > summary::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    right: 15px;
    width: 7px;
    height: 7px;
    border: solid var(--va-ink);
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}
.va-price[open] > summary::after { transform: translateY(-30%) rotate(225deg); }

.va-price > div {
    position: absolute;
    z-index: 3;
    top: calc(100% + 6px);
    left: 0;
    display: flex;
    gap: 8px;
    padding: 12px;
    border: 1px solid #c7d7e1;
    border-radius: 12px;
    background: white;
    box-shadow: 0 8px 20px #17354519;
}
.va-price input { display: block; width: 94px; }
.va-catalog .va-filters .va-filter-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-color: var(--va-action);
    color: white;
    background: var(--va-action);
    font-weight: 650;
}
.va-catalog .va-filters .va-filter-submit:hover { border-color: var(--va-ink); background: var(--va-ink); }
.va-reset { flex-basis: 100%; width: fit-content; color: var(--va-action); }

.va-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 1.4vw, 20px);
    margin: 0;
    padding: 0;
    list-style: none;
}
.va-card { display: flex; flex-direction: column; min-width: 0; background: white; border: 1px solid #dce5eb; border-radius: 16px; }
.va-card-media { position: relative; border-radius: 15px 15px 0 0; background: #eef2f5; }
.va-product-image { display: block; position: relative; aspect-ratio: 1.5; border-radius: inherit; }
.va-card-photo { position: absolute; inset: 7px 8px 19px; }
.va-card-photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.va-card-media-eyewear .va-product-image { overflow: hidden; }
.va-card-media-eyewear .va-card-photo { inset: 0; }
.va-card-media-eyewear .va-card-photo img { display: block; object-fit: cover; mix-blend-mode: normal; }
.va-card-photo .woocommerce-placeholder { mask-image: radial-gradient(ellipse closest-side, #000 68%, transparent 98%); }
.va-card-views { position: absolute; inset: auto 0 0; display: flex; justify-content: center; width: max-content; margin-inline: auto; }
.va-card-views button {
    display: grid;
    place-items: center;
    min-width: 30px;
    min-height: 28px;
    padding: 0;
    border-radius: 8px;
    background: transparent;
}
.va-card-views button::after { content: ''; width: 7px; height: 7px; border-radius: 8px; background: #8596a2; }
.va-card-views button[aria-pressed=true]::after { width: 15px; background: var(--va-action); }
.va-card-wishlist {
    position: absolute;
    z-index: 1;
    inset: 9px 9px auto auto;
}
.va-card-wishlist .yith-wcwl-add-to-wishlist { margin: 0; }

:is(.va-catalog, .va-home-products) .va-card-wishlist :is(.add_to_wishlist, .delete_item, .yith-wcwl-add-to-wishlist-button, .yith-wcwl-wishlistexistsbrowse > a, .yith-wcwl-wishlistaddedbrowse > a) {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border: 1px solid #d5e0e7;
    border-radius: 50%;
    color: var(--va-ink);
    background: white;
    box-shadow: 0 1px 3px #13354912;
    font-size: 0;
    line-height: 1;
    text-decoration: none;
}
:is(.va-catalog, .va-home-products) .va-card-wishlist :is(.add_to_wishlist, .delete_item, .yith-wcwl-add-to-wishlist-button, .yith-wcwl-wishlistexistsbrowse > a, .yith-wcwl-wishlistaddedbrowse > a):hover {
    color: var(--va-action);
    border-color: var(--va-action);
}
.va-card-wishlist :is(.add_to_wishlist, .delete_item, .yith-wcwl-add-to-wishlist-button, .yith-wcwl-wishlistexistsbrowse > a, .yith-wcwl-wishlistaddedbrowse > a)::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background: currentColor;
    mask: url('../../plugins/yith-woocommerce-wishlist/assets/images/icons/heart-outline.svg') center / contain no-repeat;
}
:is(.va-catalog, .va-home-products) .va-card-wishlist :is(.yith-wcwl-wishlistexistsbrowse > a, .yith-wcwl-wishlistaddedbrowse > a, .delete_item) {
    color: var(--va-action);
    border-color: #b6d5e4;
    background: var(--va-wash);
}
.va-card-wishlist :is(.yith-wcwl-wishlistexistsbrowse > a, .yith-wcwl-wishlistaddedbrowse > a, .delete_item)::before {
    mask-image: url('../../plugins/yith-woocommerce-wishlist/assets/images/icons/heart.svg');
}
:is(.va-catalog, .va-home-products) .va-card-wishlist :is(svg, i) { display: none !important; }
.va-card-wishlist :is(.yith-wcwl-add-to-wishlist-button__label, .feedback, .yith-wcwl-add-to-wishlist a > span) {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    white-space: nowrap;
    overflow: hidden;
}
.va-product-info { display: flex; flex: 1; flex-direction: column; gap: 5px; padding: clamp(10px, 1.15vw, 16px); }
.va-product-brand, .va-product-profile, .va-product-specs {
    color: var(--va-muted);
    font-size: 13px;
    overflow-wrap: anywhere;
}
.va-product-profile, .va-product-specs { margin: 4px 0 0; line-height: 1.35; }
.va-product-profile strong, .va-product-specs dd { color: var(--va-ink); }
.va-product-specs div { display: flex; flex-wrap: wrap; gap: 0 6px; }
.va-product-specs dd { margin: 0; }
.va-product-specs div + div { margin-top: 2px; }
.va-product-info .va-product-title { margin: 0; color: var(--va-ink); font-size: clamp(14px, 1.3vw, 19px); line-height: 1.28; overflow-wrap: anywhere; }
.va-product-info .va-product-title:first-letter { text-transform: uppercase; }
.va-product-info .va-product-title a { color: inherit; }
.va-product-title .va-product-model { display: inline-block; max-inline-size: 100%; }
.va-card-details { margin-top: auto; padding-top: 10px; }
.va-product-price { font-size: clamp(16px, 1.5vw, 20px); font-weight: 750; }
.va-product-price del { color: var(--va-muted); font-size: .75em; font-weight: 450; }
.va-product-price ins { text-decoration: none; }
.va-card-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
:where(.va-catalog, #va-collection-products) .va-card-details { margin-top: 0; padding-top: 0; }
:where(.va-catalog, #va-collection-products) .va-product-info > .va-product-price { margin-top: auto; padding-top: 6px; }
:where(.va-catalog, #va-collection-products) .va-card-actions { margin-top: 0; }
:is(.va-catalog, .va-home-products) .va-card-actions :is(.va-card-button, a.button) {
    display: grid;
    place-items: center;
    min-height: var(--va-card-button-height);
    margin: 0;
    padding: 4px 8px;
    border: 1px solid var(--va-action);
    border-radius: 22px;
    text-align: center;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 650;
    color: var(--va-action);
    background: #edf6fb;
}
:is(.va-catalog, .va-home-products) .va-card-actions a.button { border-color: var(--va-action); background: var(--va-action); color: white; }
:is(.va-catalog, .va-home-products) .va-card-actions .va-cart-unavailable:disabled { border-color: var(--va-line); color: #536b79; background: #edf1f3; cursor: default; opacity: 1; }
.va-card-actions .added_to_cart { display: none; }
:is(.va-catalog, .va-home-products) .va-card-actions a.added { grid-template-columns: 1fr auto; }
:is(.va-catalog, .va-home-products) .va-card-actions a:hover { border-color: var(--va-ink); background: var(--va-ink); color: white; }
.va-catalog :focus-visible { outline: 2px solid var(--va-action); outline-offset: 2px; }
:is(.va-catalog, .va-home-products) [hidden] { display: none; }
.va-catalog .woocommerce-pagination { margin-top: 20px; }
.va-empty { padding: 20px; border: 1px solid var(--va-line); border-radius: 12px; background: white; }

@media (min-width: 930px) {
    .va-filter-panel[open] > summary { display: none; }
}
@media (max-width: 929px) {
    .va-filter-panel[open] > summary { margin-bottom: 8px; }
    .va-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
    #primary.va-catalog { --va-filter-height: 40px; }
    :is(.va-catalog, .va-home-products) { --va-card-button-height: 38px; }
    .va-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .va-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .va-catalog .va-filters select { width: 100%; max-width: none; }
    .va-filter-search, .va-filter-actions, .va-reset { grid-column: 1 / -1; }
    .va-card-actions { grid-template-columns: 1fr; }
    .va-price > div { left: auto; right: 0; }
    .va-card-wishlist { inset: 5px 5px auto auto; }
    .va-product-profile, .va-product-specs { font-size: 12px; }
}
