/************ PAGE WITH A STEP FORM ************/
.steps-style:not(.sidebar-form){
    height: 100%;
    width: 100%
}
.steps-style .racc-style_wrapper.gform_wrapper{
    height: 100%;
    margin-bottom: 0;
}
.steps-style .racc-style_wrapper.gform_wrapper.gravity-theme .gf_stylespro.racc-style {
    --max-width-choices: 450px;

    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/************ PROGRESS BAR ************/
.steps-style .racc-style_wrapper .gf_progressbar_wrapper{
    width: 100%;
    margin-bottom: calc(var(--break) * 4);
}
.steps-style .racc-style_wrapper .gf_progressbar_wrapper .gf_progressbar{
    width: 100%;
    margin-bottom: 0 !important;
}
.steps-style .racc-style_wrapper.gform_wrapper.gravity-theme .gf_progressbar_title{
    color: var(--color-fog);
}
.steps-style .racc-style_wrapper.gform_wrapper.gravity-theme .gf_progressbar_blue{
    background-color: #D4D4D6;
    border-radius: 2px;
}
.steps-style .racc-style_wrapper.gform_wrapper.gravity-theme .gf_progressbar_percentage{
    height: 28px;
}
.steps-style .racc-style_wrapper.gform_wrapper.gravity-theme .gf_progressbar_percentage.percentbar_blue {
    background-color: var(--color-racc);
    border-radius: 2px;
}
.steps-style .racc-style_wrapper.gform_wrapper.gravity-theme .gf_progressbar_percentage span{
    color: var(--color-base);
    font-size: var(--font-base);
    line-height: 28px;
}

@media screen and (max-width: 480px) {
    .steps-style .racc-style_wrapper .gf_progressbar_wrapper{
        width: calc(100vw - calc(var(--break) * 2));
    }
}


/************ FORM CONTENT ************/
.steps-style .racc-style_wrapper .gform-body .gform_page{
    height: 100%;
    /*width: calc(100vw - calc(var(--break) * 2));*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.steps-style .racc-style_wrapper .gform-body .gform_page .gform_page_fields{
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-block-end: 0;
}
.steps-style .racc-style_wrapper .gform-body .gform_page .gform_page_footer{
    width: 100%;
    max-width: var(--max-width-choices);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: calc(var(--break) * 1.25);
    margin-top: calc(var(--break) * 3);
    margin-bottom: calc(var(--break) * 3);
    padding: 0;
}
.steps-style .racc-style_wrapper .gform-body .gform_page .gform_page_fields > .gform_fields  > *:not(:where(.gfield.gfield_visibility_hidden,.gfield--input-type-adminonly_hidden)) + *{
    margin-inline: auto;
    margin-top: calc(var(--break) * 1.5);
}
.steps-style .racc-style_wrapper.gform_wrapper.gravity-theme .gf_stylespro.racc-style .gfield:not(:where(.gfield--type-radio, :where(.html-fullwitdh,.html-fullwidth), :where(.html-fullwitdh,.html-fullwidth))){
    width: 100%;
    max-width: var(--max-width-choices);
    margin-inline: auto;
}
.steps-style .racc-style_wrapper.gform_wrapper.gravity-theme .gf_stylespro.racc-style .gfield.gfield--type-consent{
    max-width: calc(var(--max-width-choices) * 2 + calc(var(--break) * 2));
    margin-top: calc(var(--break) * 3);
}
@media screen and (max-width: 400px) {
    .steps-style .racc-style_wrapper .gform-body .gform_page .gform_page_footer{
        flex-direction: column-reverse;
    }
}


/************ PAGE TITLE H1 + P ************/
.steps-style .steps-page-title{
    text-align: center;
}
.steps-style .steps-page-title h1{
    margin-top: calc(var(--break) * -0.65);
    margin-bottom: calc(var(--break) / 2);
}
.steps-style .steps-page-title h1 + p{
    font-size: var(--font-h4);
}


/************ SECTIONS ************/
.steps-style .racc-style_wrapper.gf_stylespro_wrapper .gf_stylespro .gfield.gfield--input-type-section{
    border: none;
    text-align: center;
}
.steps-style .racc-style_wrapper.gf_stylespro_wrapper .gf_stylespro .gfield.gfield--input-type-section{
    margin-bottom: 0;
}
.steps-style .racc-style_wrapper .gfield--input-type-section :where(h2, h3, h4){
    font-weight: var(--font-semibold);
    margin-top: var(--break);
    margin-bottom: 0;
}


/************ ERRORS ************/

.steps-style .racc-style_wrapper .gf_stylespro .validation_error,
.steps-style .racc-style_wrapper.gf_stylespro_wrapper .gf_stylespro .gfield_description.validation_message,
.steps-style .racc-style_wrapper.gf_stylespro_wrapper .gfield_validation_message,
.steps-style .racc-style_wrapper.gf_stylespro_wrapper .gform_validation_errors,
.steps-style .racc-style_wrapper.gf_stylespro_wrapper .validation_message {
    max-width: var(--max-width-choices);
    margin-inline: auto;
    padding-top: 0 !important;
    margin-top: calc(var(--break) / 1.5) !important;
}
.steps-style .racc-style_wrapper.gf_stylespro_wrapper .gform_validation_errors{
    margin-block-end: calc(var(--break) * 2);
    padding-top: calc(var(--break) / 1.5) !important;
}

@media screen and (max-width: 480px) {
    .steps-style .racc-style_wrapper.gf_stylespro_wrapper .gform_validation_errors{
        width: calc(100vw - calc(var(--break) * 2));
        margin-left: calc(var(--break) * -1);
    }
}

/************ LAST STEP ************/

.steps-style.last-step-style .racc-style_wrapper.gform_wrapper.gravity-theme .gf_stylespro .gform_body{
    width: auto;
    max-width: calc(var(--max-width-choices) * 2);
}
.steps-style.last-step-style.fullwidth-style .racc-style_wrapper.gform_wrapper.gravity-theme .gf_stylespro .gform_body,
.steps-style.last-step-style.fullwidth-style .racc-style_wrapper.gform_wrapper.gravity-theme .racc-style .gfield_label{
    width: 100%;
    max-width: 100%;
}
.steps-style .racc-style_wrapper.gform_wrapper .last-step .gfield:where(.html-fullwitdh,.html-fullwidth) legend,
.steps-style.last-step-style .racc-style_wrapper.gform_wrapper .gfield:where(.html-fullwitdh,.html-fullwidth) legend{
    margin-inline: initial;
}
.steps-style .racc-style_wrapper.gform_wrapper .last-step .gfield:where(.html-fullwitdh,.html-fullwidth) .ginput_complex.ginput_container_name input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),
.steps-style.last-step-style .racc-style_wrapper.gform_wrapper .gfield:where(.html-fullwitdh,.html-fullwidth) .ginput_complex.ginput_container_name input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]){
    width: 100%  !important;
}
.steps-style .racc-style_wrapper.gform_wrapper .last-step .gfield--type-tos,
.steps-style.last-step-style .racc-style_wrapper.gform_wrapper .gfield--type-tos{
    /*max-width: 100% !important;*/
    max-width: calc(var(--max-width-choices) * 2) !important;
}
.steps-style .racc-style_wrapper.gform_wrapper .last-step .gfield.gfield--width-full .gfield_label{
    margin-inline: initial;
}

@media screen and (min-width: 601px) {
    .steps-style .racc-style_wrapper.gform_wrapper.gravity-theme .gf_stylespro.racc-style .last-step .gform_page_fields .gform_fields,
    .steps-style.last-step-style .racc-style_wrapper.gform_wrapper.gravity-theme .gf_stylespro.racc-style .gform_page_fields .gform_fields{
        grid-gap: 0 calc(var(--break) * 1.5);
        max-width: calc(var(--max-width-choices) * 2);
        margin-inline: auto;
    }
    .steps-style .racc-style_wrapper.gform_wrapper.gravity-theme .gf_stylespro.racc-style .last-step .gfield.gfield--input-type-consent,
    .steps-style.last-step-style .racc-style_wrapper.gform_wrapper.gravity-theme .gf_stylespro.racc-style .gfield.gfield--input-type-consent{
        max-width: 100%;
    }
    .steps-style .racc-style_wrapper .gform-body .gform_page .last-step .gform_page_fields > .gform_fields  > * + *,
    .steps-style.last-step-style .racc-style_wrapper .gform-body .gform_page .gform_page_fields > .gform_fields  > * + *{
        margin-top: calc(var(--break) * 0.5);
    }
}

/************ CUSTOM DETAILS ************/
.steps-style .racc-style_wrapper.gform_wrapper.gravity-theme .gf_stylespro.racc-style .gfield .ginput_container > .gfield_radio,
.steps-style .racc-style_wrapper.gform_wrapper.gravity-theme .gf_stylespro.racc-style .gfield .ginput_container_radio > .gfield_radio .gchoice{
    margin-inline: auto;
}
/*.steps-style .racc-style_wrapper.gform_wrapper.gravity-theme .field_sublabel_below .ginput_complex{
    display: flex;
    justify-content: center;
}*/
.steps-style .racc-style_wrapper.gform_wrapper.gravity-theme .ginput_complex .ginput_container_date input{
    text-align: center;
}
.steps-style .racc-style_wrapper.gform_wrapper.gravity-theme label.gfield_consent_label a:not(:is(:hover, :focus-visible)){
    color: var(--color-base);
    text-decoration: underline;
}
.steps-style .racc-style_wrapper.gform_wrapper .gfield .ginput_complex :where(.gfield_date_day,.gfield_date_month,.gfield_date_year) input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]){
    min-width: fit-content !important;
}
.steps-style .racc-style_wrapper.gform_wrapper .gfield .ginput_complex.ginput_container_name input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]){
    min-width: auto !important;
    width: fit-content !important;
}
.steps-style .racc-style_wrapper.gform_wrapper .gfield .ginput_complex.ginput_container_name span input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]){
    width: 100% !important;
}
.steps-style .racc-style_wrapper.gf_stylespro_wrapper .gf_stylespro input.button,
.steps-style .racc-style_wrapper .gform_page_footer input[type="submit"],
.steps-style .racc-style_wrapper.gf_stylespro_wrapper .gf_stylespro.racc-style input[type="submit"]{
    width: 100%;
    max-width: 210px;
}
.steps-style .racc-style_wrapper.gf_stylespro_wrapper .fusion-button_type-3d .gform_wrapper .button.gform_previous_button:is(:hover, :focus-visible),
.steps-style .racc-style_wrapper.gf_stylespro_wrapper .gf_stylespro.racc-style .button.gform_previous_button:is(:hover, :focus-visible){
    background-color: var(--color-contrast) !important;
}
.steps-style .racc-style_wrapper.gf_stylespro_wrapper .gform-page-footer .gform-loader{
    display: none !important;
}
.steps-style .racc-style_wrapper.gform_wrapper.gravity-theme .top_label h3 + .gsection_description{
    font-size: var(--font-h4);
}

@media screen and (max-width: 767px) {
    .steps-style .racc-style_wrapper.gform_wrapper .gfield .ginput_complex.ginput_container_name > span{
        grid-column: span 12;
    }
    .steps-style .racc-style_wrapper.gform_wrapper .gfield .ginput_complex.ginput_container_name input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]){
        width: 100% !important;
    }
}
@media screen and (max-width: 480px) {
    .steps-style .racc-style_wrapper.gf_stylespro_wrapper .gf_stylespro input.button,
    .steps-style .racc-style_wrapper .gform_page_footer input[type="submit"],
    .steps-style .racc-style_wrapper.gf_stylespro_wrapper .gf_stylespro.racc-style input[type="submit"]{
        max-width: 100%;
    }
}


/************ PAGE WITH SIDEBAR: FORM + SUMMARY ************/

.steps-sidebar-style-wrapper{
    padding-top: calc(var(--break) * 4);
    padding-bottom: calc(var(--break) * 4);
}
.sidebar-summary .fusion-column-wrapper,
.sidebar-form .fusion-column-wrapper{
    background-color: var(--color-contrast) !important;
    border-radius: var(--radius-small);
    padding: 0;
}
.sidebar-form .fusion-column-wrapper{
    padding: 0 calc(var(--break) * 1.5);
}
.sidebar-form.steps-style .racc-style_wrapper .gf_progressbar_wrapper{
    margin-top: var(--break);
    margin-bottom: calc(var(--break) * 2);
}
.sidebar-form.steps-style .racc-style_wrapper.gform_wrapper.gravity-theme .gf_stylespro.racc-style {
    --max-width-choices: 100%;
}
.sidebar-form.steps-style .racc-style_wrapper.gform_wrapper.gravity-theme .gfield{
    --gfsp--field-margin-bottom: calc(var(--break) / 1.5);
    min-width: 100%;
}
.sidebar-form.steps-style .racc-style_wrapper .gform-body .gform_page .gform_page_fields > .gform_fields > :not(:where(.gfield.gfield_visibility_hidden, .gfield--input-type-adminonly_hidden)) + *{
    margin-inline: initial;
    margin-top: 0;
}
.sidebar-form.steps-style .racc-style_wrapper.gform_wrapper.gravity-theme .gfield + .gfield:not(.gsection):not(.gfield--type-tos){
    margin-block-start: 0 !important;
}
.sidebar-form.steps-style .racc-style_wrapper.gform_wrapper.gravity-theme .gf_stylespro .gsection{
    margin-top: 0;
}
.sidebar-form.steps-style .racc-style_wrapper.gform_wrapper.gravity-theme .racc-style .gfield_label{
    margin-inline: initial;
}
.sidebar-form.steps-style .racc-style_wrapper .gfield--input-type-section h3{
    font-size: var(--font-h4);
}
.sidebar-form.steps-style .racc-style_wrapper .gform-body .gform_page {
    width: 100%;
}
.sidebar-form.steps-style .racc-style_wrapper.gf_stylespro_wrapper .gf_stylespro .gfield.gfield--input-type-section{
    text-align: left;
}
.sidebar-form.steps-style .racc-style_wrapper .gform-body .gform_page .gform_page_footer{
    margin-top: calc(var(--break) * 2);
}
.sidebar-form.steps-style .in-a-row,
.sidebar-form.steps-style .in-a-row > .ginput_container  > *{
   display: flex;
   flex-wrap: wrap;
   gap: 0 1ch;
   align-items: baseline;
}
.sidebar-form.steps-style .in-a-row > .ginput_container  > *{
    flex-wrap: nowrap;
}
.sidebar-form.steps-style .in-a-row > .gfield_description{
    padding-top: 0 !important;
    margin-top: calc(var(--break) * -0.75);
    flex: 1 100%;
}
.sidebar-form.steps-style .racc-style_wrapper.gf_stylespro_wrapper .fusion-button_type-3d .gform_wrapper .button.gform_previous_button:is(:hover, :focus-visible),
.sidebar-form.steps-style .racc-style_wrapper.gf_stylespro_wrapper .gf_stylespro.racc-style .button.gform_previous_button:is(:hover, :focus-visible){
    background-color: var(--color-racc-corn) !important;
}
.sidebar-form.steps-style .in-a-row > .ginput_container input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]).ginput_product_price{
   padding: 0 !important;
   margin-left: -6px;
}
.sidebar-summary .fusion-text:first-of-type{
    padding: 0 calc(var(--break) * 1.25);
}
.sidebar-summary h3{
    margin-bottom: calc(var(--break) / 4);
}
.sidebar-summary h3 + p {
    line-height: var(--font-height-heading);
    margin-bottom: 0;
}
.sidebar-summary small{
    color: var(--color-moon);
}
.sidebar-summary .fusion-text:not(:first-of-type) .cnt_cober_resumen_compra_productos{
    margin-bottom: 0;
    padding: calc(var(--break) * 1.25);
}
.sidebar-summary .fusion-text:not(:first-of-type) .cnt_cober_resumen_compra_total{
    background-color: var( --color-apollo);
    padding: calc(var(--break) * 1.25);
}
.sidebar-summary .fusion-text:not(:first-of-type) .cnt_cober_resumen_compra_total .col-xs-12{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sidebar-summary .fusion-text:not(:first-of-type) .cnt_cober_resumen_compra_productos :where(.cnt_txt_producto, .cnt_val_producto),
.sidebar-summary .fusion-text:not(:first-of-type) .cnt_cober_resumen_compra_total .cnt_txt_precio{
    font-size: var(--font-base);
}
.sidebar-summary .fusion-text:not(:first-of-type) .cnt_cober_resumen_compra_total .cnt_val_precio{
    font-size: var(--font-h4);
}

/*Reset*/
.sidebar-summary #cnt_resumen_compra_mobile {
    max-height: auto;
    background: initial;
    margin: 0;
    padding: 0;
    border-radius: 0 var(--radius-small);
}

@media screen and (max-width: 1024px) {
    .sidebar-summary .fusion-column-wrapper,
    .sidebar-form .fusion-column-wrapper{
        margin-left: 0;
        margin-right: 0;
    }
}
@media screen and (max-width: 480px) {
   .sidebar-form.steps-style .racc-style_wrapper .gf_progressbar_wrapper {
        width: 100%;
    }
    .sidebar-form.steps-style  .racc-style_wrapper.gf_stylespro_wrapper .gform_validation_errors{
        width: 100%;
        margin-left: initial;
    }
}
