.cf-cotizador-quote {
    width: 100%;
    max-width: 1200px;
    color: #2c3338;
}

.cf-cotizador-quote * {
    box-sizing: border-box;
}

.cf-cotizador-quote h2 {
    margin-bottom: 6px;
}

.cf-cotizador-quote-intro,
.cf-cotizador-quote-help {
    color: #50575e;
}

.cf-cotizador-quote-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 197px;
    gap: 18px;
    align-items: start;
}

.cf-cotizador-quote-main {
    min-width: 0;
}

.cf-cotizador-quote-section,
.cf-cotizador-quote-internal,
.cf-cotizador-quote-summary {
    margin: 14px 0;
    border: 1px solid #dcdcde;
    border-radius: 5px;
    background: #fff;
}

.cf-cotizador-quote-section > summary {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    color: #2271b1;
    cursor: pointer;
    list-style-position: inside;
    font-size: 1.08em;
    font-weight: 700;
}

.cf-cotizador-quote-section > summary strong {
    color: #2c3338;
    text-align: right;
    font-size: .92em;
}

.cf-cotizador-quote-section[open] > summary {
    border-bottom: 1px solid #dcdcde;
}

.cf-cotizador-quote-section-body {
    padding: 16px;
}

.cf-cotizador-quote-service-grid,
.cf-cotizador-quote-discounts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cf-cotizador-quote-package-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.cf-cotizador-quote-negotiation {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.cf-cotizador-quote-negotiation label,
.cf-cotizador-quote-negotiation label > strong {
    display: block;
}

.cf-cotizador-quote-negotiation label > strong {
    margin-bottom: 6px;
}

.cf-cotizador-quote-negotiation input {
    width: 100%;
    min-height: 42px;
    padding: 6px 8px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    background: #fff;
}

.cf-cotizador-quote-money-input {
    display: grid;
    grid-template-columns: auto minmax(110px, 1fr) auto;
    gap: 7px;
    align-items: center;
}

.cf-cotizador-quote-choice,
.cf-cotizador-quote-discount-choice {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid #c3c4c7;
    border-radius: 5px;
    background: #f6f7f7;
    cursor: pointer;
}

.cf-cotizador-quote-choice:has(input:checked),
.cf-cotizador-quote-discount-choice:has(input:checked),
.cf-cotizador-quote-package-card.is-selected > .cf-cotizador-quote-choice {
    border-color: #2271b1;
    box-shadow: inset 4px 0 0 #2271b1;
    background: #f0f6fc;
}

.cf-cotizador-quote-choice input,
.cf-cotizador-quote-discount-choice input {
    flex: 0 0 auto;
    margin: 0;
}

.cf-cotizador-quote-choice > span {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;
}

.cf-cotizador-quote-service {
    justify-content: center;
    min-height: 52px;
}

.cf-cotizador-quote-service strong {
    letter-spacing: .03em;
}

.cf-cotizador-quote-package-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #dcdcde;
    border-radius: 5px;
    background: #fff;
}

.cf-cotizador-quote-package-card > .cf-cotizador-quote-choice {
    padding-right: 112px;
    border: 0;
    border-radius: 0;
}

.cf-cotizador-quote-package-details {
    padding: 0 12px;
    background: #fff;
}

.cf-cotizador-quote-package-details summary {
    position: absolute;
    top: 17px;
    right: 12px;
    color: #2271b1;
    cursor: pointer;
    font-weight: 600;
}

.cf-cotizador-quote-package-details[open] {
    padding-top: 8px;
    padding-bottom: 10px;
    border-top: 1px solid #dcdcde;
}

.cf-cotizador-quote-package-details p,
.cf-cotizador-quote-package-details ul {
    margin-bottom: 5px;
}

.cf-cotizador-quote-table-wrap {
    overflow-x: auto;
}

.cf-cotizador-quote-payment-table,
.cf-cotizador-quote-schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.cf-cotizador-quote-payment-table {
    min-width: 660px;
}

.cf-cotizador-quote-payment-table th,
.cf-cotizador-quote-payment-table td,
.cf-cotizador-quote-schedule-table th,
.cf-cotizador-quote-schedule-table td {
    padding: 10px 11px;
    border-bottom: 1px solid #dcdcde;
    text-align: left;
    vertical-align: top;
}

.cf-cotizador-quote-payment-table th,
.cf-cotizador-quote-schedule-table th {
    white-space: normal;
    font-weight: 700;
}

.cf-cotizador-quote-payment-table th:first-child,
.cf-cotizador-quote-payment-table td:first-child {
    width: 45px;
    text-align: center;
}

.cf-cotizador-quote-payment-table th:nth-child(3),
.cf-cotizador-quote-payment-table td:nth-child(3) {
    width: 97px;
    text-align: right;
}

.cf-cotizador-quote-payment-table th:nth-child(2),
.cf-cotizador-quote-payment-table td:nth-child(2) {
    width: 97px;
}

.cf-cotizador-quote-payment-table th:nth-child(4),
.cf-cotizador-quote-payment-table td:nth-child(4) {
    width: 187px;
}

.cf-cotizador-quote-payment-table th:nth-child(5),
.cf-cotizador-quote-payment-table td:nth-child(5) {
    width: 167px;
}

.cf-cotizador-quote-payment-table tr.is-selected td {
    background: #f0f6fc;
}

.cf-cotizador-quote-internal {
    position: sticky;
    top: 18px;
    padding: 16px;
    border-color: #72aee6;
    background: #f6fbff;
}

.cf-cotizador-quote-internal > h3,
.cf-cotizador-quote-summary > h3 {
    margin: 0 0 12px;
    color: #2271b1;
}

.cf-cotizador-quote-private {
    margin: -4px 0 12px;
    color: #50575e;
    font-size: .9em;
}

.cf-cotizador-quote-internal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.cf-cotizador-quote-internal-grid > div {
    padding: 9px 10px;
    border: 1px solid #c3d9ea;
    border-radius: 4px;
    background: #fff;
}

.cf-cotizador-quote-internal-grid span,
.cf-cotizador-quote-internal-grid strong {
    display: block;
}

.cf-cotizador-quote-internal-grid span {
    margin-bottom: 3px;
    color: #646970;
    font-size: .82em;
}

.cf-cotizador-quote-internal-grid strong {
    overflow-wrap: anywhere;
    font-size: .96em;
}

.cf-cotizador-quote-internal-grid strong.is-safe {
    color: #008a20;
}

.cf-cotizador-quote-internal-grid strong.is-below {
    color: #b32d2e;
}

.cf-cotizador-quote-message {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-left: 4px solid #72aee6;
    background: #f0f6fc;
}

.cf-cotizador-quote-message--warning {
    border-left-color: #dba617;
    background: #fcf9e8;
}

.cf-cotizador-quote-summary {
    padding: 18px;
    border-color: #00a32a;
}

.cf-cotizador-quote-summary dl {
    display: grid;
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
    margin: 0 0 18px;
}

.cf-cotizador-quote-summary dt,
.cf-cotizador-quote-summary dd {
    margin: 0;
    padding: 8px 9px;
    border-bottom: 1px solid #dcdcde;
}

.cf-cotizador-quote-summary dt {
    font-weight: 700;
}

.cf-cotizador-quote-schedule-table {
    min-width: 650px;
}

.cf-cotizador-quote-schedule-table th:first-child,
.cf-cotizador-quote-schedule-table td:first-child {
    width: 107px;
}

.cf-cotizador-quote-schedule-table th:nth-child(3),
.cf-cotizador-quote-schedule-table td:nth-child(3) {
    width: 127px;
}

.cf-cotizador-quote-schedule-table th:nth-child(4),
.cf-cotizador-quote-schedule-table td:nth-child(4) {
    width: 157px;
    text-align: right;
}

.cf-cotizador-quote-schedule-table td.has-payment {
    font-weight: 700;
}

@media (max-width: 900px) {
    .cf-cotizador-quote-layout {
        grid-template-columns: 1fr;
    }

    .cf-cotizador-quote-internal {
        position: static;
    }
}

@media (max-width: 782px) {
    .cf-cotizador-quote-service-grid,
    .cf-cotizador-quote-package-grid,
    .cf-cotizador-quote-discounts,
    .cf-cotizador-quote-negotiation {
        grid-template-columns: 1fr;
    }

    .cf-cotizador-quote-section > summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .cf-cotizador-quote-section > summary strong {
        text-align: left;
    }

    .cf-cotizador-quote-summary dl {
        display: block;
    }

    .cf-cotizador-quote-summary dt {
        padding-bottom: 2px;
        border-bottom: 0;
    }

    .cf-cotizador-quote-summary dd {
        padding-top: 2px;
    }
}
