/* ==========================================================================
   Wizutech ProductQA — Velgrina Q&A Styles
   Colors: teal #2E7D8C, black #1E2022, border #D1D5DB, light #F4F5F4
   Fonts: Jost (sans), Cormorant Garamond (display)
   ========================================================================== */

.velgrina-qa {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Jost', sans-serif;
}

/* ---------- List ---------- */

.velgrina-qa__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ---------- Item ---------- */

.velgrina-qa__item {
    border-bottom: 1px solid #D1D5DB;
    padding: 20px 0;
}

.velgrina-qa__item:last-child {
    border-bottom: none;
}

/* ---------- Question row ---------- */

.velgrina-qa__question {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.velgrina-qa__badge-q {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background-color: #2E7D8C;
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
}

.velgrina-qa__question-text {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 500;
    color: #1E2022;
    line-height: 1.5;
}

.velgrina-qa__meta {
    display: block;
    font-size: 12px;
    color: #6B7280;
    line-height: 1.4;
}

/* ---------- Answer row ---------- */

.velgrina-qa__answer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 12px;
    padding-left: 40px;
}

.velgrina-qa__badge-a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background-color: #1E2022;
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
}

.velgrina-qa__answer-text {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 400;
    color: #1E2022;
    line-height: 1.55;
}

/* ---------- Empty state ---------- */

.velgrina-qa__empty {
    text-align: center;
    padding: 32px 16px;
    color: #6B7280;
    font-size: 14px;
    line-height: 1.5;
}

/* ---------- Ask button ---------- */

.velgrina-qa__ask-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 10px 24px;
    background-color: #2E7D8C;
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.velgrina-qa__ask-btn:hover {
    background-color: #245f6b;
}

.velgrina-qa__ask-btn:focus-visible {
    outline: 2px solid #2E7D8C;
    outline-offset: 2px;
}

/* ---------- Form ---------- */

.velgrina-qa__form {
    margin-top: 16px;
    padding: 20px;
    background-color: #F4F5F4;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
}

.velgrina-qa__form-row {
    margin-bottom: 12px;
}

.velgrina-qa__form-row:last-child {
    margin-bottom: 0;
}

.velgrina-qa__form-input,
.velgrina-qa__form-textarea {
    display: block;
    width: 100%;
    padding: 10px 12px;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    color: #1E2022;
    background-color: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.velgrina-qa__form-input::placeholder,
.velgrina-qa__form-textarea::placeholder {
    color: #9CA3AF;
}

.velgrina-qa__form-input:focus,
.velgrina-qa__form-textarea:focus {
    outline: none;
    border-color: #2E7D8C;
    box-shadow: 0 0 0 3px rgba(46, 125, 140, 0.15);
}

.velgrina-qa__form-textarea {
    resize: vertical;
    min-height: 80px;
}

.velgrina-qa__form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 10px 28px;
    background-color: #2E7D8C;
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.velgrina-qa__form-submit:hover {
    background-color: #245f6b;
}

.velgrina-qa__form-submit:focus-visible {
    outline: 2px solid #2E7D8C;
    outline-offset: 2px;
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
    .velgrina-qa__answer {
        padding-left: 0;
    }

    .velgrina-qa__form {
        padding: 16px;
    }
}
