/* Morganic — Show More */

.morganic-show-more {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: min(100%, 280px);
    min-height: 48px;
    margin: 28px auto 22px;
    padding: 12px 26px;
    border: 1px solid #0bb34b;
    border-radius: 8px;
    background: #0bb34b;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .15px;
    line-height: 1.4;
    cursor: pointer;
    box-shadow: 0 3px 9px rgba(11, 179, 75, .16);
    transition: background .2s ease, border-color .2s ease,
                box-shadow .2s ease, transform .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.morganic-show-more:hover {
    background: #099c40;
    border-color: #099c40;
    color: #fff;
    box-shadow: 0 5px 14px rgba(11, 179, 75, .25);
    transform: translateY(-2px);
}

.morganic-show-more:active {
    background: #078b39;
    border-color: #078b39;
    color: #fff;
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(11, 179, 75, .18);
}

.morganic-show-more:focus-visible {
    outline: 3px solid rgba(11, 179, 75, .25);
    outline-offset: 3px;
}

.morganic-show-more:disabled {
    cursor: wait;
    opacity: .8;
}

.morganic-show-more__loader {
    display: none;
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: morganic-show-more-spin .7s linear infinite;
}

.morganic-show-more.is-loading .morganic-show-more__loader {
    display: inline-block;
}

.morganic-show-more.has-error {
    background: #c0392b;
    border-color: #c0392b;
}

@keyframes morganic-show-more-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 767px) {
    .morganic-show-more {
        width: min(100% - 30px, 280px);
        min-height: 46px;
        margin: 22px auto 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .morganic-show-more,
    .morganic-show-more__loader {
        transition: none;
        animation: none;
    }
}


/* Morganic: компактное сообщение об окончании списка товаров */
.morganic-show-more-end {
    display: flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    margin: 18px auto;
    padding: 0 10px;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    color: #222;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

.morganic-show-more-end::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    margin-right: 7px;
    border: 1px solid #078b39;
    border-radius: 50%;
    color: #078b39;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 767px) {
    .morganic-show-more-end {
        margin: 16px auto;
        padding: 0 7px;
        font-size: 13px;
    }
}
