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

.aanry-shop {
    --aanry-shop-sidebar-width: 285px;
    --aanry-shop-columns-desktop: 3;
    --aanry-shop-columns-tablet: 2;
    --aanry-shop-columns-mobile: 1;
    position: relative;
    display: grid;
    grid-template-columns: var(--aanry-shop-sidebar-width) minmax(0, 1fr);
    align-items: start;
    column-gap: 34px;
    width: 100%;
}


.aanry-shop--no-sidebar,
.aanry-shop--no-sidebar.aanry-shop--sidebar-right {
    grid-template-columns: minmax(0, 1fr);
}

.aanry-shop--no-sidebar .aanry-shop__main {
    grid-column: 1;
    grid-row: 1;
}

.aanry-shop--sidebar-right {
    grid-template-columns: minmax(0, 1fr) var(--aanry-shop-sidebar-width);
}

.aanry-shop--sidebar-right .aanry-shop__sidebar {
    grid-column: 2;
}

.aanry-shop--sidebar-right .aanry-shop__main {
    grid-column: 1;
    grid-row: 1;
}

.aanry-shop__main {
    position: relative;
    min-width: 0;
}

.aanry-shop__sidebar {
    width: 100%;
    min-width: 0;
    padding: 24px;
    border: 1px solid #e3d7c8;
    background: #fffdf9;
}

.aanry-shop--sticky-sidebar .aanry-shop__sidebar {
    position: sticky;
    top: 30px;
}

.aanry-shop__sidebar-head {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    color: #343729;
    font-size: 18px;
}

.aanry-shop__mobile-filter-close {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #ded5c8;
    background: transparent;
    color: inherit;
    font-size: 25px;
    line-height: 1;
}

.aanry-shop__mobile-filter-toggle {
    display: none;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 20px;
    padding: 12px 18px;
    border: 1px solid #4a5135;
    background: #4a5135;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.aanry-shop__filters {
    margin: 0;
}

.aanry-shop__filter-group {
    margin: 0;
    border: 0;
    border-bottom: 1px solid #e8ded0;
}

.aanry-shop__filter-group:first-child {
    border-top: 1px solid #e8ded0;
}

.aanry-shop__filter-group summary {
    position: relative;
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 24px 14px 0;
    color: #343729;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .65px;
    list-style: none;
    text-transform: uppercase;
}

.aanry-shop__filter-group summary::-webkit-details-marker {
    display: none;
}

.aanry-shop__filter-group summary::after {
    position: absolute;
    right: 2px;
    content: "+";
    font-size: 17px;
    font-weight: 400;
}

.aanry-shop__filter-group[open] summary::after {
    content: "−";
}

.aanry-shop__filter-body {
    padding: 0 0 18px;
}

.aanry-shop__check-list {
    display: grid;
    gap: 11px;
}

.aanry-shop__check {
    display: grid;
    grid-template-columns: 17px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #5f5b54;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.35;
}

.aanry-shop__check input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #4a5135;
}

.aanry-shop__check small {
    color: #9a968f;
    font-size: 11px;
}

.aanry-shop__search-wrap {
    display: flex;
    width: 100%;
}

.aanry-shop__search-wrap input {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 9px 12px;
    border: 1px solid #ded5c8;
    border-right: 0;
    border-radius: 0;
    background: #fff;
    color: #343729;
    box-shadow: none;
}

.aanry-shop__search-wrap button {
    width: 44px;
    flex: 0 0 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #4a5135;
    border-radius: 0;
    background: #4a5135;
    color: #fff;
    font-size: 19px;
}

.aanry-shop__price-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    color: #5f5b54;
}

.aanry-shop__price-fields label {
    display: grid;
    gap: 5px;
    margin: 0;
    font-size: 11px;
}

.aanry-shop__price-fields input {
    width: 100%;
    height: 42px;
    padding: 8px 10px;
    border: 1px solid #ded5c8;
    border-radius: 0;
    background: #fff;
    color: #343729;
    box-shadow: none;
}

.aanry-shop__apply-price,
.aanry-shop__reset {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 11px 12px;
    border: 1px solid #4a5135;
    border-radius: 0;
    background: transparent;
    color: #4a5135;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .75px;
    text-transform: uppercase;
}

.aanry-shop__apply-price:hover,
.aanry-shop__reset:hover {
    background: #4a5135;
    color: #fff;
}

.aanry-shop__reset {
    margin-top: 22px;
}

.aanry-shop__toolbar {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 28px;
    padding: 0 0 18px;
    border-bottom: 1px solid #e5dbcd;
    color: #5f5b54;
}

.aanry-shop__result-count {
    margin: 0;
    font-size: 14px;
}

.aanry-shop__sorting-label {
    margin: 0;
}

.aanry-shop__sorting {
    min-width: 175px;
    height: 48px;
    margin: 0;
    padding: 8px 38px 8px 14px;
    border: 1px solid #e3d7c8;
    border-radius: 0;
    background: #fffdf9;
    color: #343729;
    box-shadow: none;
}

.aanry-shop__products {
    display: grid;
    grid-template-columns: repeat(var(--aanry-shop-columns-desktop), minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 30px;
}

.aanry-shop__card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    padding: 12px 12px 16px;
    border: 1px solid #e5d8c6;
    background: #fffdf9;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.aanry-shop__card:hover {
    transform: translateY(-5px);
    border-color: #c8ad75;
    box-shadow: 0 14px 34px rgba(66, 66, 42, .11);
}

.aanry-shop__media {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: #f8f3eb;
}

.aanry-shop__image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.aanry-shop__image {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 14px;
    object-fit: contain;
    object-position: center;
    transition: transform .4s ease;
}

.aanry-shop__card:hover .aanry-shop__image {
    transform: scale(1.04);
}

.aanry-shop__badge {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 7px 10px;
    background: #4a5135;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.aanry-shop__card-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 18px 4px 0;
}

.aanry-shop__category {
    margin: 0 0 8px;
    color: #b08032;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.15px;
    text-transform: uppercase;
}

.aanry-shop__title {
    margin: 0 0 10px;
    color: #343729;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.15;
}

.aanry-shop__title a {
    color: inherit;
    text-decoration: none;
}

.aanry-shop__description {
    margin: 0 0 12px;
    color: #68645d;
    font-size: 13px;
    line-height: 1.55;
}

.aanry-shop__attributes {
    display: grid;
    gap: 6px;
    margin: 0 0 13px;
    padding: 0;
    color: #505448;
    font-size: 12px;
    line-height: 1.4;
    list-style: none;
}

.aanry-shop__attributes li {
    position: relative;
    margin: 0;
    padding-left: 14px;
}

.aanry-shop__attributes li::before {
    position: absolute;
    top: .55em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #b08032;
    content: "";
}

.aanry-shop__attributes span {
    font-weight: 600;
}

.aanry-shop__rating {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 10px;
    color: #b48738;
    font-size: 11px;
}

.aanry-shop__rating .star-rating {
    float: none;
    margin: 0;
    color: inherit;
    font-size: 13px;
}

.aanry-shop__price {
    margin: auto 0 12px;
    color: #a97822;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
}

.aanry-shop__price del {
    margin-right: 5px;
    color: #9b978f;
    font-size: .72em;
    opacity: .75;
}

.aanry-shop__price ins {
    text-decoration: none;
}

.aanry-shop__stock-card,
.aanry-shop__delivery {
    margin: 0 0 10px;
    color: #6d6c66;
    font-size: 11px;
    line-height: 1.45;
}

.aanry-shop__stock-card .stock {
    margin: 0;
    color: inherit;
}

.aanry-shop__delivery {
    color: #6f754c;
}

.aanry-shop__button-wrap {
    margin-top: 4px;
}

.aanry-shop__button {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 13px 12px;
    border: 1px solid #3f4630;
    border-radius: 0;
    background: #3f4630;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

.aanry-shop__button:hover,
.aanry-shop__button:focus {
    border-color: #b08335;
    background: #b08335;
    color: #fff;
}

.aanry-shop__pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 38px;
}

.aanry-shop__pagination button {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #dcd2c4;
    background: #fffdf9;
    color: #4a5135;
}

.aanry-shop__pagination button:hover,
.aanry-shop__pagination .is-current {
    border-color: #4a5135;
    background: #4a5135;
    color: #fff;
}

.aanry-shop__empty {
    padding: 55px 24px;
    border: 1px solid #e3d7c8;
    background: #fffdf9;
    color: #5f5b54;
    text-align: center;
}

.aanry-shop__loading {
    position: absolute;
    z-index: 20;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    background: rgba(250, 247, 242, .76);
}

.aanry-shop__loading[hidden] {
    display: none;
}

.aanry-shop__spinner {
    width: 38px;
    height: 38px;
    border: 3px solid rgba(74, 81, 53, .2);
    border-top-color: #4a5135;
    border-radius: 50%;
    animation: aanry-shop-spin .8s linear infinite;
}

.aanry-shop__overlay {
    display: none;
}

@keyframes aanry-shop-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
    .aanry-shop {
        grid-template-columns: 240px minmax(0, 1fr);
        column-gap: 24px;
    }

    .aanry-shop--sidebar-right {
        grid-template-columns: minmax(0, 1fr) 240px;
    }

    .aanry-shop--no-sidebar,
    .aanry-shop--no-sidebar.aanry-shop--sidebar-right {
        grid-template-columns: minmax(0, 1fr);
    }

    .aanry-shop__products {
        grid-template-columns: repeat(var(--aanry-shop-columns-tablet), minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .aanry-shop,
    .aanry-shop--sidebar-right,
    .aanry-shop--no-sidebar,
    .aanry-shop--no-sidebar.aanry-shop--sidebar-right {
        display: block;
    }

    .aanry-shop__mobile-filter-toggle {
        display: flex;
    }

    .aanry-shop__sidebar {
        position: fixed !important;
        z-index: 100002;
        top: 0 !important;
        right: auto;
        bottom: 0;
        left: 0;
        width: min(88vw, 360px);
        max-height: 100vh;
        overflow-y: auto;
        padding: 22px;
        transform: translateX(-105%);
        transition: transform .28s ease;
    }

    .aanry-shop--sidebar-right .aanry-shop__sidebar {
        right: 0;
        left: auto;
        transform: translateX(105%);
    }

    .aanry-shop.is-filter-open .aanry-shop__sidebar {
        transform: translateX(0);
    }

    .aanry-shop__sidebar-head {
        display: flex;
    }

    .aanry-shop__overlay {
        position: fixed;
        z-index: 100001;
        inset: 0;
        display: block;
        background: rgba(38, 39, 31, .42);
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s ease;
    }

    .aanry-shop.is-filter-open .aanry-shop__overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .aanry-shop__toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .aanry-shop__sorting-label,
    .aanry-shop__sorting {
        width: 100%;
    }

    .aanry-shop__products {
        grid-template-columns: repeat(var(--aanry-shop-columns-mobile), minmax(0, 1fr));
        gap: 18px;
    }

    .aanry-shop__media {
        height: 250px;
    }
}

body.aanry-shop-filter-open {
    overflow: hidden;
}
