.dl-installments {
    width: 100%;
    max-width: 420px;
    margin: 10px 0 18px;
    color: #111827;
    font-size: 14px;
    line-height: 1.35;
}

.dl-installments-summary {
    margin: 0 0 12px;
    color: #111827;
}

.dl-installments-summary strong {
    font-weight: 800;
}

.dl-installments-pix {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    margin: 0 0 10px;
    padding: 9px 12px;
    background: #f3f4f6;
    border-radius: 4px;
    color: #111827;
}

.dl-installments-pix strong,
.dl-installments-pix-row strong {
    font-weight: 800;
}

.dl-pix-image {
    display: inline-block;
    width: 38px;
    height: 24px;
    flex: 0 0 38px;
    object-fit: contain;
}

.dl-pix-icon {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.dl-pix-icon::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 7px;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: #22c7b8;
    transform: rotate(45deg);
    box-shadow:
        6px 6px 0 #22c7b8,
        -6px 6px 0 #22c7b8,
        0 12px 0 #22c7b8;
}

.dl-pix-icon::after {
    content: none;
}

.dl-installments-details {
    width: 100%;
}

.dl-installments-details summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #111827;
    text-decoration: underline;
    list-style: none;
}

.dl-installments-details summary::-webkit-details-marker {
    display: none;
}

.dl-card-icon {
    position: relative;
    width: 15px;
    height: 11px;
    flex: 0 0 15px;
    border: 1.5px solid #111827;
    border-radius: 2px;
}

.dl-card-icon::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 0;
    right: 0;
    height: 2px;
    background: #111827;
}

.dl-installments-panel {
    margin-top: 8px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.dl-installments-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.dl-card-flags {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    max-width: calc(100% - 80px);
}

.dl-card-flags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 20px;
    padding: 0 5px;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    background: #f8fafc;
    color: #2563eb;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
}

.dl-installments .dl-card-flags img {
    display: inline-block !important;
    width: 42px !important;
    max-width: 42px !important;
    min-width: 0 !important;
    height: 24px !important;
    max-height: 24px !important;
    padding: 3px 5px !important;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    background: #f8fafc;
    object-fit: contain !important;
    object-position: center !important;
    box-sizing: border-box;
    vertical-align: middle;
}

.dl-card-flags span:nth-child(2) {
    color: #dc2626;
}

.dl-card-flags span:nth-child(3) {
    color: #047857;
}

.dl-card-flags span:nth-child(4) {
    color: #2563eb;
}

.dl-installments-panel-label {
    color: #374151;
    font-size: 12px;
}

.dl-installments-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 7px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.dl-installment-row {
    display: flex;
    gap: 4px;
    min-width: 0;
    color: #111827;
    font-size: 13px;
}

.dl-installment-row strong {
    flex: 0 0 auto;
    font-weight: 800;
}

.dl-installment-row span {
    min-width: 0;
}

.dl-installments-pix-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
}

@media (max-width: 480px) {
    .dl-installments {
        max-width: 100%;
    }

    .dl-installments-grid {
        grid-template-columns: 1fr;
        row-gap: 8px;
    }

    .dl-installments-pix {
        display: flex;
    }
}
