/* =============================================
   List Post (Cupons / Listas) — list-post.css
   Carregado apenas em single-list-post
   ============================================= */

.page-single-list-post .list-post__subtitle {
    font-size: 1rem;
    color: var(--gray--500, #3d3d3d);
    margin-bottom: 1.5rem;
}

/* ---- Items wrapper ---- */
.list-post__items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

/* ---- Single item ---- */
.list-post__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1rem;
    transition: box-shadow 0.2s ease;
}

.list-post__item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.list-post__item--expired {
    opacity: 0.55;
    pointer-events: none;
}

/* Logo */
.list-post__item-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-post__item-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Body */
.list-post__item-body {
    flex: 1;
    min-width: 0;
}

.list-post__item-discount {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.list-post__item-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-post__item-description {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 8px;
}

/* Coupon code */
.list-post__item-coupon {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.list-post__coupon-code {
    font-family: monospace;
    font-size: 0.95rem;
    font-weight: 700;
    background: #f5f5f5;
    border: 1.5px dashed #bbb;
    border-radius: 6px;
    padding: 4px 10px;
    letter-spacing: 0.08em;
    color: var(--black-800, #181a1f);
    user-select: all;
}

.list-post__copy-btn {
    cursor: pointer;
    background: #fff;
    border: 1.5px solid #1565c0;
    color: #1565c0;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: background 0.15s, color 0.15s;
}

.list-post__copy-btn:hover {
    background: #1565c0;
    color: #fff;
}

.list-post__copy-btn--copied {
    background: #2e7d32;
    border-color: #2e7d32;
    color: #fff;
}

/* CTA */
.list-post__item-cta {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.list-post__badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 20px;
    white-space: nowrap;
}

.list-post__badge--verified  { background: #e8f5e9; color: #2e7d32; }
.list-post__badge--exclusive { background: #fff3e0; color: #e65100; }
.list-post__badge--expired   { background: #fce4ec; color: #b71c1c; }
.list-post__badge--new       { background: #e3f2fd; color: #0d47a1; }

.list-post__offer-btn {
    white-space: nowrap;
    font-size: 0.85rem;
    padding: 8px 16px;
}

/* ---- FAQ ---- */
.list-post__faqs {
    margin: 2rem 0;
}

.list-post__faqs h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.list-post__faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
}

.list-post__faq-question {
    cursor: pointer;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.95rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
}

.list-post__faq-question::-webkit-details-marker { display: none; }

.list-post__faq-question::after {
    content: '+';
    font-size: 1.2rem;
    line-height: 1;
    transition: transform 0.2s;
}

.list-post__faq-item[open] .list-post__faq-question::after {
    transform: rotate(45deg);
}

.list-post__faq-answer {
    padding: 12px 16px;
    margin: 0;
    font-size: 0.9rem;
    color: #444;
    border-top: 1px solid #e0e0e0;
}

/* ---- Mobile ---- */
@media (max-width: 640px) {
    .list-post__item {
        flex-wrap: wrap;
    }

    .list-post__item-logo {
        width: 60px;
        height: 60px;
    }

    .list-post__item-body {
        width: calc(100% - 76px);
    }

    .list-post__item-cta {
        width: 100%;
        flex-direction: row;
        justify-content: flex-end;
    }

    .list-post__item-title {
        white-space: normal;
    }
}
