/* DB FAQ - Keidea Muebles Custom Styles */

.dbfaqs {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.dbfaqs-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    padding: 32px 36px;
    border: 1px solid #eee;
}

/* Header */
.dbfaqs-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #8dbc13;
}

.dbfaqs-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.dbfaqs-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #383838;
    margin: 0;
    letter-spacing: -0.01em;
}

/* Cards */
.dbfaqs .card {
    border: 0;
    border-bottom: 1px solid #f0f0f0;
    background-color: transparent;
    border-radius: 0;
}

.dbfaqs .card:last-child {
    border-bottom: 0;
}

.dbfaqs .card-header {
    padding: 0;
    border: 0;
    background: transparent;
}

/* Question button */
.dbfaqs .card-header .btn-link {
    padding: 16px 4px;
    font-weight: 600;
    font-size: 0.95rem;
    width: 100%;
    text-align: left;
    color: #383838;
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color 0.2s ease;
    text-decoration: none;
    line-height: 1.4;
}

.dbfaqs .card-header .btn-link:hover {
    color: #8dbc13;
    text-decoration: none;
}

.dbfaqs .card-header .btn-link:focus {
    outline: 0;
    text-decoration: none;
    box-shadow: none;
}

/* Arrow icon */
.dbfaqs-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f5f9ec;
    transition: transform 0.3s ease, background 0.2s ease;
}

.dbfaqs-arrow svg {
    width: 12px;
    height: 12px;
    fill: #8dbc13;
    transition: fill 0.2s ease;
}

/* Arrow rotation when open */
.dbfaqs .btn-link:not(.collapsed) .dbfaqs-arrow {
    transform: rotate(180deg);
    background: #8dbc13;
}

.dbfaqs .btn-link:not(.collapsed) .dbfaqs-arrow svg {
    fill: #fff;
}

/* Answer body */
.dbfaqs .card-body {
    padding: 0 4px 16px 4px;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.7;
}

.dbfaqs .card-body p {
    margin-bottom: 0.5rem;
    color: #555;
}

.dbfaqs .card-body p:last-child {
    margin-bottom: 0;
}

.dbfaqs .card-body strong {
    color: #383838;
}

.dbfaqs .card-body ul {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.dbfaqs .card-body ul li {
    list-style: disc;
    font-size: 0.9rem;
    color: #555;
    font-weight: 400;
    margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 991px) {
    .dbfaqs-container {
        padding: 20px 18px;
        border-radius: 8px;
    }

    .dbfaqs-title {
        font-size: 1.15rem;
    }

    .dbfaqs .card-header .btn-link {
        font-size: 0.9rem;
        padding: 14px 2px;
    }
}
