.zm-hpmrr-select-wrap {
    width: 100%;
    max-width: 100%;
    margin: 8px 0 12px;
}

.hpm-block-cat .zm-hpmrr-select-wrap {
    margin: 6px 0 10px;
}

.hpm-block-cat .hpm-button-wrapper.d-flex,
.hpm-block-prd .hpm-button-wrapper.d-flex {
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 6px !important;
}

.hpm-block-cat .hpm-button-wrapper.d-flex .hpm-button,
.hpm-block-prd .hpm-button-wrapper.d-flex .hpm-button {
    margin: 0 !important;
}

.rm-product .hpm-block-prd .hpm-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 68px !important;
    min-height: 42px !important;
    padding: 8px 18px !important;
    border: 2px solid #D9EFB9 !important;
    border-radius: 22px !important;
    background: #F2FBDF !important;
    color: #7E832A !important;
    text-decoration: none !important;
    font: 600 16px/1.1 'bahnschrift', Arial, sans-serif !important;
    box-sizing: border-box !important;
}

.rm-product .hpm-block-prd .hpm-button.active {
    border-color: #7E832A !important;
    background: #7E832A !important;
    color: #fff !important;
}

.zm-hpmrr-select {
    width: 100%;
    max-width: 100%;
    min-height: 38px;
    border: 1px solid #DDE7C6;
    border-radius: 19px;
    background: #F8FCEB;
    color: #7F8233;
    font: 600 14px/1.2 'bahnschrift', Arial, sans-serif;
    padding: 8px 36px 8px 14px;
    outline: none;
}

.rm-product .zm-hpmrr-select {
    max-width: 260px;
}

.rm-product .zm-hpmrr-select-wrap {
    display: none !important;
}

.hpm-block.zm-hpmrr-compact .hpm-button-wrapper {
    display: none !important;
}

.hpm-block.zm-hpmrr-card-dropdown .hpm-button-wrapper {
    position: relative;
    overflow: visible !important;
}

.hpm-block.zm-hpmrr-card-dropdown:not(.zm-hpmrr-expanded) .hpm-button-wrapper {
    flex-wrap: nowrap !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    overflow: hidden !important;
}

.hpm-block.zm-hpmrr-card-dropdown.zm-hpmrr-expanded .hpm-button-wrapper {
    flex-wrap: wrap !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.product-layout.zm-hpmrr-card-open,
.rm-module-col.zm-hpmrr-card-open,
.product-layout.zm-hpmrr-card-open > .rm-module-item,
.rm-module-col.zm-hpmrr-card-open > .rm-module-item,
.product-layout.zm-hpmrr-card-open > .rm-module-item .rm-module-caption,
.rm-module-col.zm-hpmrr-card-open > .rm-module-item .rm-module-caption {
    overflow: visible !important;
}

.product-layout.zm-hpmrr-card-open,
.rm-module-col.zm-hpmrr-card-open {
    position: relative !important;
    height: var(--zm-hpmrr-card-height) !important;
    min-height: var(--zm-hpmrr-card-height) !important;
    z-index: 40 !important;
}

.product-layout.zm-hpmrr-card-open > .rm-module-item,
.rm-module-col.zm-hpmrr-card-open > .rm-module-item {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-bottom: 16px !important;
    box-sizing: border-box !important;
    z-index: 60 !important;
    background: #fff !important;
    box-shadow: 0 14px 34px rgba(39, 39, 42, 0.14) !important;
}

html body #content .rm-category-products .product-layout.product-grid.rm-module-col.zm-hpmrr-card-open > .rm-module-item {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
}

.hpm-block.zm-hpmrr-card-dropdown {
    position: relative !important;
    z-index: 5;
}

.hpm-block.zm-hpmrr-card-dropdown .hpm-button.zm-hpmrr-hidden {
    display: none !important;
}

.hpm-block.zm-hpmrr-card-dropdown.zm-hpmrr-expanded .hpm-button.zm-hpmrr-hidden {
    display: inline-flex !important;
}

.hpm-block.zm-hpmrr-card-dropdown .hpm-button {
    order: 10;
}

.zm-hpmrr-more-wrap {
    display: inline-flex;
    align-items: center;
    order: 20;
}

.zm-hpmrr-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-width: 34px;
    height: 28px;
    margin: 0 !important;
    border: 2px solid #7F8233 !important;
    border-radius: 16px;
    background: #F2FBDF;
    color: #7F8233;
    cursor: pointer;
    font-size: 0;
    line-height: 1;
    padding: 0;
    box-sizing: border-box;
}

.zm-hpmrr-more:after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px;
}

.zm-hpmrr-more-wrap.open .zm-hpmrr-more:after {
    transform: rotate(225deg);
    margin-top: 4px;
}

.zm-hpmrr-more-wrap.open .zm-hpmrr-more {
    display: inline-flex !important;
}

@media (max-width: 767px) {
    .rm-product .zm-hpmrr-select {
        max-width: 100%;
    }
}
