select#point-type-select {
    margin-bottom: 15px;
}

.mwp-my-account-item {
    border: 1px solid gainsboro;
    float: left;
    width: 45%;
    margin: 10px;
    padding: 5px;
    min-height: 160px;
    border-radius: 5px;
    box-shadow: 12px 10px 16px -17px rgba(0,0,0,0.75);
}

.mwp-my-account-item > h4 {
    padding: 0px;
    margin: 0px;
    margin-left: 4px;
}

.mwp-my-account-item.level .mwp-my-account-item-body {
    margin-left: 4px;
    text-align: center;
    font-size: 50px;
}

.mwp-my-account-item.balance .mwp-my-account-item-body .loop {
    border-bottom: 1px solid #e2e2e2;
    margin-left: 4px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.mwp-my-account-item.ranks .mwp-my-account-item-body .loop {
    border-bottom: 1px solid #e2e2e2;
    margin-left: 4px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.mwp-my-account-item.ranks .mwp-my-account-item-body .loop:last-child {
    border-bottom: none;
}
.mwp-my-account-item.balance .mwp-my-account-item-body .loop:last-child {
    border-bottom: none;
}

.mwp-my-account-container--classic .mwp-my-account-item-title {
    font-weight: 700;
}

.mwp-my-account-container--minimal,
.mwp-my-account-container--stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1em;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
}

.mwp-my-account-container--stack {
    grid-template-columns: 1fr;
    gap: 0.85em;
}

@media (max-width: 600px) {
    .mwp-my-account-container--minimal {
        grid-template-columns: 1fr;
    }
}

.mwp-my-account-container--minimal .mwp-my-account-item,
.mwp-my-account-container--stack .mwp-my-account-item {
    float: none;
    box-sizing: border-box;
    width: auto;
    margin: 0;
    padding: 1.1em 1.2em 1em;
    min-height: 0;
    border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
    border-radius: 0.5em;
    box-shadow: none;
    background: color-mix(in srgb, currentColor 4%, transparent);
}

.mwp-my-account-container--minimal .mwp-my-account-item-title,
.mwp-my-account-container--stack .mwp-my-account-item-title {
    margin: 0 0 0.85em;
    padding: 0 0 0.55em;
    font-size: 0.95em;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.01em;
    border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}

.mwp-my-account-container--minimal .mwp-my-account-item-body,
.mwp-my-account-container--stack .mwp-my-account-item-body {
    margin: 0;
}

.mwp-my-account-container--minimal .mwp-my-account-item.balance .mwp-my-account-item-body .loop,
.mwp-my-account-container--minimal .mwp-my-account-item.ranks .mwp-my-account-item-body .loop,
.mwp-my-account-container--stack .mwp-my-account-item.balance .mwp-my-account-item-body .loop,
.mwp-my-account-container--stack .mwp-my-account-item.ranks .mwp-my-account-item-body .loop {
    margin: 0;
    padding: 0.45em 0;
    gap: 1em;
    border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}

.mwp-my-account-container--minimal .loop:last-child,
.mwp-my-account-container--stack .loop:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.mwp-my-account-container--minimal .mycred-points-lable,
.mwp-my-account-container--stack .mycred-points-lable {
    opacity: 0.72;
}

.mwp-my-account-container--minimal .mycred-points,
.mwp-my-account-container--stack .mycred-points {
    font-weight: 600;
}

.mwp-my-account-container--minimal .mwp-my-account-item.badges .mwp-my-account-item-body,
.mwp-my-account-container--stack .mwp-my-account-item.badges .mwp-my-account-item-body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65em;
}

.mwp-my-account-container--minimal .mwp-my-account-item.badges img,
.mwp-my-account-container--stack .mwp-my-account-item.badges img {
    max-height: 3.5em;
    width: auto;
    height: auto;
}

.mwp-my-account-container--minimal .mwp-my-account-item.level .mwp-my-account-item-body,
.mwp-my-account-container--stack .mwp-my-account-item.level .mwp-my-account-item-body {
    margin: 0;
    text-align: inherit;
    font-size: 1.75em;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.mwp-history-container > .mwp-history-pagination-wrapper {
    text-align: right;
}

.mwp-history-container > .mwp-history-pagination-wrapper > .page-numbers {
    text-decoration: none;
    border: 1px solid #000000;
    cursor: pointer;
    padding: 5px 10px;
    line-height: 18px;
}

.mwp-history-container > .mwp-history-pagination-wrapper > span.page-numbers.current {
    opacity: 0.3;
}

.mwp-prod-ref-generator-heading {
    margin-top: 0;
    margin-bottom: 10px;
}

.mwp-prod-ref-generator-form button {
    margin-top: 15px;
}

.mwp-prod-ref-generator-links {
    margin-top: 20px;
    background: #ffffff;
    padding: 15px 20px 25px 20px;
}

.mwp-prod-ref-generator-links legend {
    font-size: 22px;
    font-weight: 500;
}

.mwp-prod-ref-generator-links .mwp-prod-ref-generator-links-url {
    font-style: italic;
}

.mwp-prod-ref-generator-links-ref-url {
    margin-top: 20px;
}

.mwp-prod-ref-generator-links-ref-url > div {
    position: relative;
}

.mwp-prod-ref-generator-ref-url {
    width: calc( 100% - 75px );
    display: block;
    font-size: 14px;
    padding: 0.9rem 1.1rem;
    padding-right: 52px;
}

.mwp-prod-ref-generator-links-ref-url > div > button {
    position: absolute;
    top: 1px;
    bottom: 1px;
    right: 3px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding-right: 10px;
}

.mwp-prod-ref-generator-links-ref-url > div > button > span.dashicons-clipboard {
    transform: rotateZ(317deg);
}

.mwp-prod-ref-generator-links-ref-url > div > button > span.dashicons-saved {
    color: green;
}

.mwp-prod-ref-generator-links {
    display: none;
}

.mwp-prod-ref-generator-links.show {
    display: block;
}

.mwp-button-spinner {
    position: relative;
}

.mwp-button-spinner:after {
    animation: mwp_spinner_animation 1s linear infinite;
    backface-visibility: hidden;
    border: 0.2em solid;
    border-left: 0.2em solid transparent;
    border-radius: 50%;
    box-sizing: border-box;
    content: " ";
    height: 1em;
    left: 50%;
    margin: -0.5em 0 0 -0.5em;
    position: absolute;
    top: 50%;
    transform: translateZ(0) scale(.5);
    transform-origin: 50% 50%;
    width: 1em;
}

.mwp-button-spinner > .mwp__text {
    visibility: hidden;
}

@keyframes mwp_spinner_animation {
    0% {
        animation-timing-function: cubic-bezier(.5856,.0703,.4143,.9297);
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(1turn);
    }
}

select.mwp-prod-ref-generator-products {
    height: 3.5rem;
    font-size: var(--wp--preset--font-size--small);
    padding: 0.9rem 1.1rem 0.9rem calc( 1.1rem + 4px );
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
    color: #444;
    line-height: 28px;
}

.mwp-prod-ref-generator-links > h3 {
    margin: 0 0 15px 0;
}

div#mycred-coupon-action {
    padding: 20px;
}

#rewards_points_wrap span.rewards_span {
    background-color: #eeeeee;
    padding: 5px;
    margin: 5px;
    display: inline-block;
    border-radius: 21px;
    padding-right: 12px;
    padding-left: 12px;
}

#rewards_points_wrap {
    display: block;
    margin: 0 0 1em;
}

#rewards_points_wrap .mwp-shop-earn-badge-wrap {
    margin: 0;
    width: auto;
}

.woocommerce-cart-form .product-name .mwp-shop-earn-badge-wrap,
.woocommerce-checkout-review-order-table .product-name .mwp-shop-earn-badge-wrap {
    display: flex;
    float: none;
    clear: both;
    width: 100%;
    max-width: 100%;
    margin: 0.5em 0 0;
}

.wc-block-cart-item .mwp-shop-earn-badge-wrap,
.wc-block-cart-items__row .mwp-shop-earn-badge-wrap,
.wc-block-components-order-summary-item .mwp-shop-earn-badge-wrap,
.wc-block-components-product-details .mwp-shop-earn-badge-wrap {
    display: flex;
    clear: both;
    width: 100%;
    max-width: 100%;
    margin: 0.5em 0 0;
}

.wc-item-meta dt.mwp-earn-badge,
.wc-item-meta:has(.mwp-shop-earn-badge) dt,
dl.variation:has(.mwp-shop-earn-badge) dt,
.variation-mwp_earn_badge,
.wc-block-components-product-details__mwp-earn-badge,
.wc-block-components-product-details li:has(.mwp-shop-earn-badge) .wc-block-components-product-details__name {
    display: none !important;
}

.wc-item-meta:has(.mwp-shop-earn-badge) dd,
.wc-block-components-product-details li:has(.mwp-shop-earn-badge) .wc-block-components-product-details__value {
    margin: 0;
    padding: 0;
}

.mwp-shop-earn-badge-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375em;
    width: 100%;
    margin: 0.5em 0 0;
    clear: both;
}

.mwp-shop-earn-badge {
    --mwp-shop-badge-text: #5e2ced;
    --mwp-shop-badge-bg: #ebe4ff;
    --mwp-shop-badge-border: #5e2ced;
    --mwp-shop-badge-radius: 8px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 0.375em;
    margin: 0;
    padding: 0.25em 0.625em;
    border: 1.5px solid var(--mwp-shop-badge-border);
    border-radius: var(--mwp-shop-badge-radius);
    background: var(--mwp-shop-badge-bg);
    color: var(--mwp-shop-badge-text);
    font-size: 0.8125em;
    font-weight: 600;
    line-height: 1.35;
    vertical-align: middle;
}

.mwp-shop-earn-badge--legacy {
    background: color-mix(in srgb, var(--mwp-shop-badge-border) 10%, transparent);
    border-radius: 0.5rem;
}

.mwp-shop-earn-badge--legacy:not(.mwp-shop-earn-badge--no-star)::before {
    content: "";
    flex: none;
    width: 0.75em;
    height: 0.75em;
    margin-top: 0.05em;
    background-color: currentColor;
    clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.mwp-shop-earn-badge--legacy.mwp-shop-earn-badge--no-star {
    gap: 0;
}

.mwp-shop-earn-badge-icon {
    flex: none;
    width: 1em;
    height: 1em;
    object-fit: contain;
}

.mwp-shop-earn-badge.mwp-shop-earn-badge--no-icon {
    gap: 0;
}

.mwp-shop-earn-badge.mwp-shop-earn-badge--no-icon .mwp-shop-earn-badge-icon {
    display: none;
}