.nrfj-has-sort-dropdown {
    width: 100%;
}

.elementor .elementor-element.elementor-widget.nrfj-has-sort-dropdown {
    padding-inline: 2%;
}

.premium-msection-button-trig.nrfj-shop-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}

.nrfj-sort-control {
    position: relative;
    margin-inline-start: auto;
}

.nrfj-sort-trigger::after {
    display: inline-block;
    width: .4em;
    height: .4em;
    margin-inline-start: .55em;
    border: solid currentColor;
    border-width: 0 1px 1px 0;
    transform: translateY(-.15em) rotate(45deg);
    content: "";
}

.nrfj-has-sort-dropdown [data-filter-type="wpfSortBy"],
.elementor-2651:has(.nrfj-has-sort-dropdown) .woocommerce-ordering {
    display: none !important;
}

.nrfj-sort-options {
    position: absolute;
    z-index: 10;
    inset: calc(100% + .5rem) 0 auto auto;
    width: min(15rem, 85vw);
    margin: 0;
    padding: .25rem;
    border: 1px solid #e7dce2;
    background: #fff;
    box-shadow: 0 .5rem 1.25rem rgb(92 16 58 / 12%);
    color: #5c103a;
    list-style: none;
}

.nrfj-sort-options button {
    width: 100%;
    padding: .55rem .65rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.125rem;
    text-align: start;
}

.nrfj-sort-options button[aria-pressed="true"],
.nrfj-sort-options button:hover,
.nrfj-sort-options button:focus-visible {
    background: #f6eff3;
    color: #5c103a;
}
