.ep-home.ep-home-v2 .ep-category-gallery {
    background: #e8eddd;
}

html body.home.elenpriv-store .ep-service-notice {
    margin-bottom: 7px !important;
}

html body.home.elenpriv-store:has(.ep-service-notice) .site .ep-home.ep-home-v2 {
    padding-top: 7px !important;
}

.ep-home.ep-home-v2 .ep-home-categories:has(> .ep-category-gallery) {
    margin-bottom: 14px;
}

@media (min-width: 701px) {
    .ep-home.ep-home-v2 .ep-home-categories:has(> .ep-category:nth-child(2):last-child) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.ep-catalog-stock {
    display: flex;
    gap: 5px;
    margin: 0;
}

.ep-catalog-stock a {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 5px 10px;
    border: 1px solid #d8d1c8;
    border-radius: 5px;
    background: #fff;
    color: #333;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.ep-catalog-stock a[aria-current="page"],
.ep-catalog-stock a:hover {
    background: #e8eddd;
    border-color: #8a9b75;
    color: #34422b;
    text-decoration: none;
}

.ep-catalog-stock a[aria-current="page"] { font-weight: 650; }

.ep-catalog-stock a:focus-visible {
    outline: 2px solid #984b2e;
    outline-offset: 3px;
}

.elenpriv-gallery-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (min-width: 850px) {
    .elenpriv-navigation-panel:has(.elenpriv-gallery-toolbar) > .elenpriv-shell {
        flex-wrap: wrap;
    }

    body.elenpriv-store .elenpriv-navigation-panel:has(.elenpriv-gallery-toolbar) .elenpriv-nav {
        flex: 1 0 auto;
    }

    .elenpriv-gallery-toolbar {
        margin-inline-start: auto;
    }

    .elenpriv-gallery-toolbar .elenpriv-navigation-sort {
        flex: 0 0 auto;
    }
}

@media (max-width: 849px) {
    .single-product #reviews .woocommerce-review__dash {
        display: none;
    }

    .single-product #reviews .woocommerce-review__published-date {
        display: block;
        clear: right;
        margin-top: 2px;
        white-space: nowrap;
    }

    .elenpriv-navigation-panel:has(.elenpriv-gallery-toolbar) {
        padding: 8px 0;
    }

    .elenpriv-gallery-toolbar {
        flex-wrap: wrap;
    }

    .elenpriv-gallery-toolbar .ep-catalog-stock {
        flex: 1 0 auto;
    }

    .elenpriv-gallery-toolbar .elenpriv-navigation-sort {
        margin-inline-start: auto;
    }
}

@media (max-width: 700px) {
    .elenpriv-navigation-panel:has(.elenpriv-gallery-toolbar) {
        padding-bottom: 0;
    }

    .elenpriv-gallery-toolbar .ep-catalog-stock,
    .elenpriv-gallery-toolbar .elenpriv-navigation-sort,
    .elenpriv-gallery-toolbar .woocommerce-ordering,
    .elenpriv-gallery-toolbar .woocommerce-ordering select {
        width: 100%;
    }

    body.elenpriv-store .elenpriv-gallery-toolbar .elenpriv-navigation-sort .woocommerce-ordering select {
        height: 40px !important;
    }

    .site:has(> .elenpriv-navigation-panel .elenpriv-gallery-toolbar) > .elenpriv-woo-main {
        padding-top: 0 !important;
    }
}

@media (max-width: 480px) {
    .elenpriv-gallery-toolbar .ep-catalog-stock a {
        flex: 1;
        padding-inline: 6px;
    }
}

.elenpriv-woo-main nav.woocommerce-pagination > ul.page-numbers {
    --ep-page-button-size: 38px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    overflow: visible;
}

.woocommerce .elenpriv-woo-main nav.woocommerce-pagination > ul.page-numbers > li {
    display: block;
    float: none;
    margin: 0 !important;
}

.woocommerce .elenpriv-woo-main nav.woocommerce-pagination li > .page-numbers {
    width: var(--ep-page-button-size);
    min-width: var(--ep-page-button-size);
    height: var(--ep-page-button-size);
    padding: 0 3px;
    box-sizing: border-box;
}

.woocommerce .elenpriv-woo-main nav.woocommerce-pagination li > .dots {
    width: 20px;
    min-width: 20px;
    border-color: transparent;
    background: transparent;
}

.woocommerce .elenpriv-woo-main nav.woocommerce-pagination li > a > span[aria-hidden] {
    min-width: 0;
    height: auto;
    border: 0;
    background: transparent;
    color: inherit;
}

@media (max-width: 480px) {
    .elenpriv-woo-main nav.woocommerce-pagination > ul.page-numbers {
        --ep-page-button-size: clamp(30px, calc((100vw - 102px) / 7), 38px);
        gap: 3px;
    }
}

.ep-home .ep-gallery-card:not([hidden]) {
    display: flex;
    flex-direction: column;
}

@media (max-width: 639px) {
    .ep-home .ep-gallery-grid:not([style]) > .ep-gallery-card:nth-child(n + 5) {
        display: none;
    }
}

.ep-home .ep-gallery-card > a {
    flex: 1;
    height: auto;
}

.ep-home .ep-gallery-card > .ep-gallery-interest {
    margin: 0 9px 9px;
}

.ep-home .ep-home-latest .ep-gallery-grid {
    --ep-gallery-columns: 4;
}

.ep-home .ep-home-latest .ep-gallery-grid > .ep-gallery-card {
    display: flex;
}

@media (max-width: 700px) {
    .ep-home .ep-home-latest .ep-gallery-grid {
        --ep-gallery-columns: 2;
    }

    .ep-home .ep-home-latest .ep-gallery-grid > .ep-gallery-card:nth-child(n + 5) {
        display: none;
    }
}

.woocommerce ul.products li.product > .ep-product-interest,
.ep-gallery-interest > .ep-product-interest {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-self: stretch;
    flex: none;
}

.woocommerce ul.products li.product > .ep-product-interest {
    margin: auto 8px 0;
    padding-top: 7px;
    row-gap: 0;
}

.woocommerce ul.products li.product > .ep-product-interest > .ep-product-interest-feedback:not(:empty):not(.screen-reader-text) {
    margin-top: 4px;
}

.ep-gallery-interest > .ep-product-interest {
    width: 100%;
}

@media (max-width: 849px) {
    body.single-product div.product > .summary.entry-summary > .ep-product-interest {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    body.single-product div.product > .summary.entry-summary > .ep-product-interest > .ep-product-interest-button {
        box-sizing: border-box;
        width: 100%;
    }
}

.elenpriv-store .ep-product-interest .ep-product-interest-button {
    min-height: 40px;
    padding-inline: 12px;
    border: 1px solid #c6d0b6;
    border-radius: 6px;
    background: #e8eddd;
    color: #3e5034;
    font-family: var(--ep-font-body, Arial, sans-serif);
    font-weight: 600;
}

.elenpriv-store .ep-product-interest .ep-product-interest-button:hover {
    background: #dce5cf;
}

.elenpriv-store .ep-product-interest .ep-product-interest-button[aria-disabled="true"] {
    background: #f0f3ea;
    color: #516048;
}

.single-product .summary .price:empty,
.elenpriv-search-result-price:empty,
.elenpriv-quick-price:empty {
    display: none !important;
}

html body.elenpriv-store .elenpriv-woo-main ul.products > li.product > a.woocommerce-loop-product__link:hover,
html body.elenpriv-store .elenpriv-woo-main ul.products > li.product > a.woocommerce-loop-product__link:hover .woocommerce-loop-product__title {
    text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    html body.elenpriv-store .elenpriv-woo-main ul.products > li.product:hover {
        position: relative;
        z-index: 1;
        box-shadow: 0 8px 17px rgb(36 31 25 / 25%) !important;
    }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    html body.elenpriv-store .elenpriv-woo-main ul.products > li.product {
        transition: transform 160ms ease-out, box-shadow 160ms ease-out !important;
    }

    html body.elenpriv-store .elenpriv-woo-main ul.products > li.product:hover {
        transform: translateY(-2px) scale(1.025);
    }
}
