/* =============================================================
   WC Glozin Load More Reviews — style.css v4
   Designed to match Glozin's warm orange aesthetic
   ============================================================= */

/* ── New review items animate in ──────────────────── */
.wclmr-new-item {
    animation: wclmr-slidein 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes wclmr-slidein {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Outer wrapper ────────────────────────────────── */
#wclmr-wrap {
    width: 100%;
    margin-top: 8px;
    font-family: inherit;
    box-sizing: border-box;
}

/* ── Divider line ─────────────────────────────────── */
.wclmr-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0 22px;
    color: #bbb;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.wclmr-divider::before,
.wclmr-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ebebeb;
}

/* ── Center layout ────────────────────────────────── */
.wclmr-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-bottom: 32px;
}

/* ── THE BUTTON ───────────────────────────────────── */
#wclmr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 54px;
    background: #ffffff;
    border: 2px solid #f97316;
    border-radius: 100px;        /* pill — matches Glozin's "Write a review" button */
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #f97316;
    letter-spacing: 0.03em;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

#wclmr-btn:hover {
    background: #f97316;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.28);
}

#wclmr-btn:hover .wclmr-arrow {
    transform: translateY(3px);
    opacity: 1 !important;
}

#wclmr-btn:active {
    transform: translateY(0) scale(0.97);
    box-shadow: none;
}

#wclmr-btn:disabled {
    background: #f5f5f5;
    border-color: #ddd;
    color: #bbb;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    pointer-events: none;
}

/* Inner flex container */
.wclmr-btn-inner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

/* Arrow icon */
.wclmr-arrow {
    display: inline-flex;
    flex-shrink: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ── Loading spinner (3 dots) ─────────────────────── */
.wclmr-spinner {
    display: none;
    align-items: center;
    gap: 6px;
}

.wclmr-spinner span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f97316;
    display: inline-block;
    animation: wclmr-dot 1.1s ease-in-out infinite;
}

.wclmr-spinner span:nth-child(2) { animation-delay: 0.18s; }
.wclmr-spinner span:nth-child(3) { animation-delay: 0.36s; }

@keyframes wclmr-dot {
    0%, 80%, 100% { transform: scale(0.55); opacity: 0.3; }
    40%            { transform: scale(1);   opacity: 1; }
}

/* ── Review count label ───────────────────────────── */
.wclmr-count {
    margin: 0;
    font-size: 13px;
    color: #aaa;
    text-align: center;
    line-height: 1.5;
}

.wclmr-count strong {
    color: #666;
    font-weight: 600;
}

/* ── All-done end state ───────────────────────────── */
#wclmr-done {
    display: none;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #888;
    animation: wclmr-slidein 0.4s ease both;
}

/* Mobile tweaks */
@media (max-width: 600px) {
    #wclmr-btn {
        width: 200px;
        height: 48px;
        font-size: 13px;
    }
}
