.woocommerce-account:not(.logged-in) .page-header,
.woocommerce-account:not(.logged-in) .elementor-location-header,
.woocommerce-account:not(.logged-in) .elementor-location-footer,
.page-id-733 .page-header,
.page-id-733 .elementor-location-header,
.page-id-733 .elementor-location-footer{
    display: none;
}

body {
    background: linear-gradient(180deg, #FFF 3.08%, #808080 54.95%, #000 94.83%);
}

#content,
.site-content,
.woocommerce-account .site-main {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.rg-wrap,
.rg-wrap * {
    box-sizing: border-box;
}


.cre-header-login {
    width: 100%;
    padding: 53px 73px 0;
    box-sizing: border-box;
}

.cre-header-login-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.cre-header-login a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #434343;
    font-family: "Zalando Sans Expanded", "Manrope", Arial, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    text-decoration: none;
}

.cre-header-login svg {
    flex: 0 0 auto;
}

@media(max-width:911px) {
    .cre-header-login {
        padding: 37px 16px 20px;
    }

    .cre-header-login a {
        font-size: 16px;
    }

    .cre-header-login svg {
        width: 22px;
        height: auto;
    }

    .cre-header-login .logosupermaxx svg {
        width: 129px;
        height: auto;
    }
}

.rg-wrap {
    max-width: 976px;
    margin: 0 auto;
    padding: 37px 16px;
    color: #101828;
    font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rg-card {
    background: #FBFBFB;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.10), 0 8px 10px -6px rgba(0, 0, 0, 0.10);
}

.rg-main-card {
    padding: 34px;
}

.rg-header {
    display: flex;
    gap: 13px;
    align-items: center;
    margin-bottom: 60px;
    justify-content: center;
    flex-direction: column;
}

.rg-header h1,
.rg-header p {
    margin: 0 !important;
    text-align: center;
}

.rg-header h1 {
    color: var(--Color-Black-black-11, #1F1F1F);
    font-family: "Zalando Sans Expanded";
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -1.8px;
}

.rg-header p {
    color: var(--Color-Black-black-11, #1F1F1F);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;

    & strong {
        font-weight: 700;
    }
}


.rg-eyebrow {
    margin: 0 0 4px;
    color: #e7000b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.rg-header h2,
.rg-modal-dialog h2 {
    margin: 0;
    color: #101828;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 500;
}

.rg-modal-dialog p {
    margin: 8px 0 0;
    color: #4A5565;
    font-size: 15px;

    & strong {
        color: #262626;
        font-weight: 500;
    }
}

.rg-section {
    padding-top: 28px;
    margin-top: 28px;
    border-top: 1px solid #e4e7ec;
}

.rg-section:first-of-type {
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
}

.rg-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.rg-section-title span {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rg-section-title h3 {
    margin: 0;
    color: #101828;
    font-size: 20px;
    font-weight: 800;
}

.rg-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.rg-field-full {
    grid-column: 1 / -1;
}

.rg-field label {
    display: block;
    margin-bottom: 10px;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.28px;
}

.rg-field label span {
    color: #364153;
}

.rg-field input,
.rg-field select,
.rg-field textarea {
    width: 100%;
    padding: 0 14px;
    border: 1px solid #bfbfbf;
    border-radius: 6px;
    background: #fff;
    color: #101828;
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rg-field input,
.rg-field select {
    height: 50px;
}

.rg-field textarea {
    min-height: 112px;
    padding: 14px;
    resize: vertical;
}

.rg-field input[readonly] {
    background: #f5f5f5;
    color: #667085;
    cursor: not-allowed;
}

.rg-field select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20d%3D%22M4%206L8%2010L12%206%22%20stroke%3D%22black%22%20stroke-width%3D%221.25%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E) 97% center / 24px no-repeat;
}

.rg-field input#fecha_compra{
    background: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20d%3D%22M6.6665%201.66666V5%22%20stroke%3D%22%231F1F1F%22%20stroke-width%3D%221.66667%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M13.3335%201.66666V5%22%20stroke%3D%22%231F1F1F%22%20stroke-width%3D%221.66667%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M15.8333%203.33334H4.16667C3.24619%203.33334%202.5%204.07953%202.5%205V16.6667C2.5%2017.5871%203.24619%2018.3333%204.16667%2018.3333H15.8333C16.7538%2018.3333%2017.5%2017.5871%2017.5%2016.6667V5C17.5%204.07953%2016.7538%203.33334%2015.8333%203.33334Z%22%20stroke%3D%22%231F1F1F%22%20stroke-width%3D%221.66667%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M2.5%208.33334H17.5%22%20stroke%3D%22%231F1F1F%22%20stroke-width%3D%221.66667%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E) 97% center / 20px no-repeat;
}

.rg-field select:disabled {
    background: #f5f5f5;
    color: #98a2b3;
}

.rg-field input:focus,
.rg-field select:focus,
.rg-field textarea:focus {
    /* border-color: #e7000b; */
    /* box-shadow: 0 0 0 3px rgba(231, 0, 11, 0.12); */
}

.rg-field.has-error input,
.rg-field.has-error select,
.rg-field.has-error textarea,
.rg-confirm-card.has-error {
    border-color: #e7000b;
    background-color: #FFEBEC;
}

.rg-error {
    display: block;
    min-height: 18px;
    margin-top: 6px;
    color: #e7000b;
    font-size: 12px;
    font-weight: 600;
}

.rg-warranty-message {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 7px;
    border-radius: 999px;
    color: #141414;
    font-size: 13px;
    font-weight: 500;
    position: absolute;

    & strong {
        font-weight: 600;
    }
}

.rg-warranty-message svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.rg-hidden {
    display: none;
}

.rg-checkbox-field {
    display: flex;
    grid-area: 4 / 1 / 5 / 3;
}


.rg-check {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #101828;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.rg-check input {
    width: 20px;
    height: 20px;
    accent-color: #364153;
    border-radius: 11px;
}

.rg-client-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.rg-client-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid #bfbfbf;
    border-radius: 8px;
    background: #fff;
    color: #101828;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rg-client-option span {
    width: 20px;
    height: 20px;
    border: 2px solid currentColor;
    border-radius: 100%;
    background: transparent;
}

.rg-client-option:hover,
.rg-client-option:focus {
    border: 2px solid var(--Color-Black-black-11, #1F1F1F);
    background: var(--Color-Black-black-6, #BFBFBF);
    color: #1F1F1F;
}

.rg-client-option.is-active {
    background: #454545;
    border-color: #454545;
    color: #fff;
}

.rg-client-option.is-active span {
    box-shadow: inset 0 0 0 3px #454545;
    background: #fff;
}

.rg-confirm-card {
    max-width: 1100px;
    margin: 24px auto 0;
    padding: 24px;
}

.rg-confirm-check {
    margin-bottom: 4px;
}

.rg-submit,
.rg-primary-button,
.rg-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.rg-submit,
.rg-primary-button {
    width: 100%;
    background: #E23E41;
    color: #fff;
    font-family: "Zalando Sans Expanded";
}

.rg-submit:hover,
.rg-submit:focus,
.rg-primary-button:hover,
.rg-primary-button:focus {
    background: #A02C2E;
    color: #fff;
}

.rg-submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

.rg-secondary-button {
    width: fit-content;
    background: transparent;
    border: 0;
    color: #CE383B;
    font-weight: 600;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: 10.5%;
    text-underline-offset: 17.5%;
    text-underline-position: from-font;
    padding: 0;
}

.rg-secondary-button:hover,
.rg-secondary-button:focus {
    color: #CE383B;
    background: transparent;
}

.rg-form-message {
    margin-top: 12px;
    color: #e7000b;
    font-size: 14px;
    font-weight: 700;
}

.rg-permission-message {
    padding: 16px;
    border: 1px solid #f3d0d0;
    border-radius: 8px;
    background: #fff5f5;
    color: #101828;
}

.rg-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.rg-modal.is-open {
    display: flex;
}

.rg-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 24, 40, 0.62);
    backdrop-filter: blur(5px);
}

.rg-modal-dialog {
    position: relative;
    width: min(600px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 32px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    text-align: center;
    font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rg-modal-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 10px;
    border-radius: 100%;
    background: linear-gradient(180deg, #CAFFD9 -12.5%, #0F732B 108.12%);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rg-summary {
    margin-top: 24px;
    margin-bottom: 32px;
    padding: 24px;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    background: #F5F5F5;
    text-align: left;
}

.rg-summary h3 {
    margin: 0 0 16px;
    color: #595959;
    font-size: 14px;
    letter-spacing: 0.7px;
    font-weight: 500;
}

.rg-summary dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #E5E7EB;
}

.rg-summary dl div:last-child {
    border: 0;
}

.rg-summary dt {
    color: #667085;
    font-weight: 700;
}

.rg-summary dd {
    margin: 0;
    color: #1F1F1F;
    font-weight: 400;
    text-align: right;
}

.rg-modal-actions {
    /* display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 22px; */
}

@media (max-width: 768px) {
    .rg-wrap {
        padding: 20px 12px;
    }

    .rg-main-card,
    .rg-confirm-card,
    .rg-modal-dialog {
        padding: 22px;
        border-radius: 14px;
    }

    .rg-header {
        margin-bottom: 37px;
    }

    .rg-header h1 {
        font-size: 22px;
    }

    .rg-header p {
        font-size: 16px;
    }

    .rg-header h2,
    .rg-modal-dialog h2 {
        font-size: 24px;
    }

    .rg-grid,
    .rg-client-toggle,
    .rg-modal-actions {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .rg-checkbox-field {
        grid-area: auto;
    }

    .rg-field-full {
        grid-column: auto;
    }

    .rg-summary dl div {
        display: block;
    }

    .rg-summary dd {
        margin-top: 2px;
        text-align: left;
    }

    .rg-client-toggle {
        gap: 16px;
    }

    .rg-client-option {
        padding: 17px 32px;
        justify-content: flex-start;
    }
}

.rg-help {
    display: block;
    margin-top: 8px;
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
}
