/* Keep the order summary readable inside Gravity Forms theme resets. */
html body #gform_wrapper_23 #field_23_97 .sa-order-summary {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 1rem 0;
    padding: 0;
    border: 2px solid #262626 !important;
    border-radius: 8px !important;
    background: #fff8d6 !important;
    color: #202020 !important;
    font-family: inherit;
    font-size: 18px !important;
    line-height: 1.5 !important;
    overflow-wrap: anywhere;
}

html body #gform_wrapper_23 #field_23_97 .sa-order-summary *,
html body #gform_wrapper_23 #field_23_97 .sa-order-summary *::before,
html body #gform_wrapper_23 #field_23_97 .sa-order-summary *::after {
    box-sizing: border-box;
}

html body #gform_wrapper_23 #field_23_97 .sa-order-summary .sa-order-summary__title,
html body #gform_wrapper_23 #field_23_97 .sa-order-summary > h2,
html body #gform_wrapper_23 #field_23_97 .sa-order-summary > h3 {
    margin: 0;
    padding: 1rem;
    border-bottom: 1px solid #262626;
    border-radius: 6px 6px 0 0;
    background: #fff !important;
    color: #202020 !important;
    font-size: 22px !important;
    font-weight: 800;
    line-height: 1.3;
}

html body #gform_wrapper_23 #field_23_97 .sa-order-summary [data-sa-summary-content] {
    padding: 0 1rem;
    background: transparent !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
}

html body #gform_wrapper_23 #field_23_97 .sa-order-summary .sa-order-summary__rows,
html body #gform_wrapper_23 #field_23_97 .sa-order-summary .sa-order-summary__totals {
    margin: 0;
    padding: 0;
}

html body #gform_wrapper_23 #field_23_97 .sa-order-summary .sa-order-summary__row,
html body #gform_wrapper_23 #field_23_97 .sa-order-summary .sa-order-summary__total {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) !important;
    gap: 0.35rem 1rem;
    align-items: start;
    margin: 0;
    padding: 0.85rem 0;
}

html body #gform_wrapper_23 #field_23_97 .sa-order-summary .sa-order-summary__row + .sa-order-summary__row {
    border-top: 1px solid #d7cb9b;
}

html body #gform_wrapper_23 #field_23_97 .sa-order-summary dt,
html body #gform_wrapper_23 #field_23_97 .sa-order-summary dd {
    min-width: 0;
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: 18px !important;
    line-height: 1.5 !important;
}

html body #gform_wrapper_23 #field_23_97 .sa-order-summary dt {
    font-weight: 700;
}

html body #gform_wrapper_23 #field_23_97 .sa-order-summary .sa-order-summary__value,
html body #gform_wrapper_23 #field_23_97 .sa-order-summary .sa-order-summary__price,
html body #gform_wrapper_23 #field_23_97 .sa-order-summary .sa-order-summary__notice {
    display: block;
    font-size: inherit !important;
    line-height: inherit !important;
}

html body #gform_wrapper_23 #field_23_97 .sa-order-summary .sa-order-summary__price {
    margin-top: 0.2rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

html body #gform_wrapper_23 #field_23_97 .sa-order-summary .sa-order-summary__notice {
    margin-top: 0.2rem;
    font-weight: 700;
}

html body #gform_wrapper_23 #field_23_97 .sa-order-summary .sa-order-summary__totals {
    border-top: 2px solid #262626;
    padding: 0.15rem 0 0.35rem;
}

html body #gform_wrapper_23 #field_23_97 .sa-order-summary .sa-order-summary__total {
    padding: 0.5rem 0;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

html body #gform_wrapper_23 #field_23_97 .sa-order-summary [data-sa-summary-edit] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 36px !important;
    height: auto !important;
    width: auto !important;
    max-width: calc(100% - 2rem) !important;
    margin: 0.5rem 1rem 1rem;
    padding: 0.35rem 0.75rem !important;
    border: 1px solid #79766b !important;
    border-radius: 6px !important;
    background: #fff9e3 !important;
    color: #202020 !important;
    font: inherit;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    text-align: center;
    white-space: normal;
    cursor: pointer;
}

html body #gform_wrapper_23 #field_23_97 .sa-order-summary [data-sa-summary-edit]:hover {
    background: #fff9e3 !important;
    border-color: #262626 !important;
}

html body #gform_wrapper_23 #field_23_97 .sa-order-summary [data-sa-summary-edit]:focus-visible {
    outline: 3px solid #202020 !important;
    outline-offset: 3px !important;
}

html body #gform_wrapper_23 #field_23_97 .sa-order-summary [data-sa-summary-edit]:disabled {
    opacity: 0.65;
    cursor: wait;
}

html body #gform_wrapper_23 #field_23_97 .sa-order-summary [hidden] {
    display: none !important;
}

@media (max-width: 600px) {
    html body #gform_wrapper_23 #field_23_97 .sa-order-summary .sa-order-summary__row,
    html body #gform_wrapper_23 #field_23_97 .sa-order-summary .sa-order-summary__total {
        grid-template-columns: minmax(0, 1fr) !important;
    }

}
