:root {
    --red-50: #fbe7e7;
    --red-100: #f4b5b5;
    --red-200: #ee9191;
    --red-300: #e75e5e;
    --red-400: #e32f3f;
    --red-500: #db0f0f;
    --red-600: #c70e0e;
    --red-700: #9b0b0b;
    --red-800: #780808;
    --red-900: #5c0606;
    --dark-grey: #333;
    --medium-grey: #666;
    --light-grey: #f0f0f0;
    --neutral-100: #fcfcfc;
    --neutral-200: #f5f5f5;
    --neutral-300: #cdd0d6;
    --neutral-400: #d9d9d9;
    --neutral-500: #bfbfbf;
    --neutral-600: #8c8c8c;
    --neutral-650: #676868;
    --neutral-750: #737b7d;
    --neutral-950: #111827;
    --white: #fff;
    --border-color: #ddd;
    --primary-orange: #fdca33;
    --accent-naranja: #f03000;

    --overlay-dark: rgba(0, 0, 0, 0.5);
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-strong: rgba(0, 0, 0, 0.15);
    --black-text: #000;
    --neutral-700: #595959;
    --white-10-opacity: rgba(255, 255, 255, 0.1);
    --white-20-opacity: rgba(255, 255, 255, 0.2);
    --dark-neutral-800: #454545;
    --dark-neutral-900: #262626;
    --dark-neutral-950: #1f1f1f;
    --blue-promo-bg: #8d5af0;
    --blue-selected-bg: #ebeeff;
}

.custom-radio {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    border: 2px solid #595959;
    background-color: var(--white);
    display: inline-block;
    position: relative;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.2s ease-in-out;
}

.custom-radio::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #262626;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

#finalizeOrderPage .custom-radio::after {
    background: #c70e0e;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: var(--light-grey);
    border: 1px solid var(--neutral-400);
    border-radius: 3px;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.selection-option:hover input ~ .checkmark {
    background-color: var(--neutral-500);
}

.selection-option input:checked ~ .checkmark {
    background-color: var(--accent-naranja);
    border-color: var(--accent-naranja);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.selection-option input:checked ~ .checkmark:after {
    display: block;
}

.checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
}

.carta {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px var(--shadow-light);
    margin-bottom: 30px;
}

.woocommerce-MyAccount-content:has(#successOrderPage) {
    padding-left: 0 !important;
}

.btn_stroke {
    border: 2px solid #c70e0e;
    border-radius: 8px !important;
    background: transparent !important;
    padding: 12px;
    height: 48px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c70e0e;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    font-family: "Plus Jakarta Sans";
}

.btn_stroke:hover {
    border-color: #9b0b0b !important;
    color: #9b0b0b !important;
}

.btn_stroke:focus {
    border-color: #9b0b0b !important;
}

.btn_stroke.btn_confirmar_pedido {
    font-size: 16px;
    font-weight: 700;
    padding: 0;
    width: 321px;
    max-width: 100%;
    margin: 0 auto;
}

.btnlinealcre {
    color: #1f1f1f;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration: underline;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 45px;
    margin-top: 7px;
}

.btnlinealcre:hover {
    color: #1f1f1f !important;
}

.btn-linear-convertir {
    font-size: 14px;
    text-decoration: underline;
    font-weight: 600;
    display: block;
    text-align: center;
    margin-top: 5px;
}

.btn_stroke.btnsolid-lineal {
    width: 226px;
    max-width: 100%;
    margin: 15px auto 15px;
    border: 2px solid var(--Negro_01, #191c1f);
    background: #f6f8fb !important;
    color: var(--Negro_01, #191c1f) !important;
    gap: 6px;
}

.btn_stroke.btnsolid-lineal:hover,
.btn_stroke.btnsolid-lineal:focus {
    border: 2px solid var(--Rojo_05, #612525);
    color: var(--Rojo_05, #612525) !important;
}

.btn_stroke.btnsolid-lineal:hover svg > path:not(:first-child),
.btn_stroke.btnsolid-lineal:focus svg > path:not(:first-child) {
    stroke: #612525;
}

.btn_stroke.btnsolid-lineal:hover svg > path:first-child,
.btn_stroke.btnsolid-lineal:focus svg > path:first-child {
    fill: #612525;
}

.btn_lineal_cotizador {
    color: #780808;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: row;
    padding: 12px 4px;
    width: fit-content;
    color: var(--Color-Text-color-text-link, #780808);
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.btn_lineal_cotizador:hover {
    color: #780808 !important;
    background-color: #fbe7e7 !important;
    border-radius: 8px;
}

/* contenedor */
@media (min-width: 969px) {
    .btnlinealcre {
        margin-top: 0;
        margin-bottom: 23px;
    }

    .listado-cotizaciones .woocommerce-MyAccount-content {
        width: 80% !important;
    }

    .listado-cotizaciones .woocommerce-MyAccount-navigation {
        width: 20% !important;
    }
}

@media (max-width: 969px) {
    .btn-linear-convertir {
        font-size: 16px;
        margin-top: 15px;
    }

    .btn_stroke {
        width: 226px;
        max-width: 100%;
        margin: auto;
        font-size: 14px;
    }
}

/* =================================== */
/* Estilos Mi cuenta, mis cotizaciones */
/* =================================== */

h2.h2miscotizaciones {
    color: #1f1f1f;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    padding-top: 7px;
}

.tabla-miscotizaciones {
    border-radius: 10px;
    min-height: 350px;
    font-family: "Plus Jakarta Sans", sans-serif !important;
}

.tabla-miscotizaciones .miscotizaciones-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 13px 20px;
    background: #d9d9d9;
    border-radius: 4px;
    color: #151617;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    margin-bottom: 6px;
}

.tabla-miscotizaciones .miscotizaciones-header > div {
    width: 16%;
}

.tabla-miscotizaciones .miscotizaciones-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    min-height: 68px;
    height: auto;
    border-radius: 4px;
    border: 1px solid #f0f0f0;
    background: #fff;
    color: #262626;
    font-family: "Plus Jakarta Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    margin-bottom: 13px;
}

.tabla-miscotizaciones .miscotizaciones-row .span-fecha {
    color: #5f6c72;
}

.tabla-miscotizaciones .miscotizaciones-row .span-total {
    color: #475156;
    font-weight: 700;
}

.tabla-miscotizaciones .miscotizaciones-row > div {
    width: 16%;
}

@media (max-width: 768px) {
    .tabla-miscotizaciones {
        padding: 17px 15px;
    }

    .tabla-miscotizaciones .miscotizaciones-row {
        flex-wrap: wrap;
        height: auto;
        padding: 19px 19px 24px;
        row-gap: 20px;
        align-items: flex-start;
    }

    .tabla-miscotizaciones .miscotizaciones-row > div {
        width: 50% !important;
    }

    .tabla-miscotizaciones .miscotizaciones-row > div.botonesmiscotizaciones {
        width: 100% !important;
    }
}

.tabla-miscotizaciones .detalletextocotizador {
    color: #6b7280;
    font-family: "Plus Jakarta Sans";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    margin-bottom: 5px;
    display: none;
}

.cotizacion-detalle-container {
    border-radius: 10px;
    background: #fff;
    padding: 18px 40px 90px;
    border: 1px solid #f1f1f1;
    border-radius: 4px;
    font-family: "Plus Jakarta Sans", sans-serif !important;
}

.cotidetalle-heder {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 30px;
}

.cotidetalle-heder h2 {
    color: #1f1f1f;
    font-family: "Plus Jakarta Sans";
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
    margin: 0;
}

.cotidetalle-heder p {
    color: #532626;
    font-family: "Plus Jakarta Sans";
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 0;
}

.cotidetalle-heder > div:nth-child(2) {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.btn-convertir-pedido {
    background-color: #c70e0e !important;
    color: #ffffff !important;
    border: none !important;
    display: flex;
    gap: 10px;
}

.btn-convertir-pedido:hover {
    background-color: #9b0b0b !important;
    color: #ffffff !important;
}

.contenedor-detalle-cliente {
    border-radius: 2px;
    background: #ebeeff;
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
    margin-bottom: 20px;
}

.contenedor-detalle-cliente .numerocotizacion {
    color: #191c1f;
    font-family: "Plus Jakarta Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
}

.cotidetalle-cliente {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 17px;
}

.cotidetalle-cliente > div {
    max-width: 100%;
    font-size: 16px;
    color: #475156;
}

.cotidetalle-cliente > div strong {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.cotidetalle-cliente > div span {
    font-weight: 400;
    margin-left: 4px;
}

/* productos */
.tabla-detalle-cotizacion {
    margin-top: 6px;
    margin-bottom: 40px;
}

.tabla-detalle-body > div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin: 7px 0;
    padding: 0 20px;
    color: #262626;
    font-family: "Plus Jakarta Sans";
    font-size: 16px;
    font-weight: 500;
    line-height: normal;

    border-radius: 8px;
    border: 1px solid #d9d9d9;
    background: #fff;

    /* shadow-2 */
    box-shadow:
        0 1px 3px 0 rgba(0, 0, 0, 0.1),
        0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.tabla-detalle-cotizacion .tabla-detalle-header {
    border-radius: 10px;
    background: #d9d9d9;
    padding: 13px 20px;
    color: var(--Dark-Colors-Rich-Black, #0c0c0c);
    font-family: "Plus Jakarta Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.cot-w {
    display: flex;
    max-width: 100%;
}

.cot-w.cot-w1 {
    width: 42.38%;
    margin-right: 2.65%;
}

.cot-w.cot-w2 {
    width: 11.92%;
}

.cot-w.cot-w3 {
    width: 17.22%;
}

.cot-w.cot-w4 {
    width: 8.93%;
}

.cot-w.cot-w5 {
    width: 16.54%;
    text-align: right;
    justify-content: flex-end;
}

.tabla-detalle-body .cot-w1 {
    font-size: 14px;
    padding: 12px 16px;
    margin-left: -20px;
    width: calc(42.38% + 20px);
}

.tabla-detalle-body .cot-w.cot-w5 {
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 0;
}

.tabla-detalle-body .cot-w.cot-w5 del {
    color: var(--Gris_03, #616161);
    font-size: 12px;
}

/* total */
.totales-crecoti {
    border-radius: 10px;
    border: 1px solid #191c1f;
    width: 353px;
    padding: 10px 30px;
    margin-left: auto;
}

.totales-crecoti div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-900, #111827);
    font-family: "Plus Jakarta Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 25px;
    margin: 0 0 0 auto;
    width: 328px;
    max-width: 100%;
}

.totales-crecoti div.total-final {
    margin-top: 13px;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
}

.tabla-miscotizaciones .estadocot {
    font-weight: 700;
    color: #2ec456;
}

.tabla-miscotizaciones .estadocot.vencido {
    color: #db0f0f;
}

.tabla-miscotizaciones .estadocot.pedido {
    color: #304ee6;
}

.tabla-miscotizaciones .actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cantidad-items-cotizacion {
    color: var(--gray-900, #111827);
    font-family: "Plus Jakarta Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
    margin: 25px 0 0;
}

@media (max-width: 969px) {
    .cotizacion-detalle-container {
        padding: 25px 18px;
        width: calc(100% + 36px);
        margin: 0 -18px;
    }

    /* .btn_stroke.btn-convertir-pedido{
        display: none;
    } */
    .cotidetalle-heder {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .cotidetalle-cliente {
        /* flex-direction: column; */
        /* padding: 0 12px; */
    }

    .cotidetalle-cliente > div,
    .cotidetalle-cliente > div.nombrecliente,
    .cot-w {
        width: 100% !important;
    }

    .cotidetalle-cliente > div,
    .cotidetalle-cliente > div.nombrecliente {
        width: fit-content !important;
        min-width: 105px !important;
    }

    .cotidetalle-cliente {
        gap: 10%;
    }

    .cot-w {
        display: flex;
        max-width: 100%;
        flex-direction: row;
        gap: 4px;
        align-items: center;
        position: relative;
        font-size: 16px !important;
    }

    .tabla-detalle-cotizacion .tabla-detalle-header {
        display: none;
    }

    .tabla-detalle-body > div {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        border-radius: 5px;
        border: 1px solid #d1d5db;
        padding: 13px 12px;
        gap: 8px;
    }

    .tabla-detalle-body .cot-w1 {
        margin: 0;
        width: 100%;
        margin-top: 27px;
    }

    .cot-w .subtitulo12 {
        color: var(--Dark-Colors-Rich-Black, #0c0c0c);
        font-family: "Plus Jakarta Sans";
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    .tabla-detalle-body .cot-w1 .subtitulo12 {
        position: absolute;
        top: -27px;
        left: 0;
    }

    .tabla-detalle-body .cot-w.cot-w5 {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 4px;
    }

    .totales-crecoti {
        margin: 0;
        width: 100%;
        margin-bottom: 30px;
    }

    .tabla-miscotizaciones .detalletextocotizador {
        display: block !important;
    }

    .tabla-miscotizaciones .miscotizaciones-header {
        display: none;
    }
}

@media (max-width: 520px) {
    .cotidetalle-cliente {
        flex-direction: column;
        padding: 0 12px;
    }

    .cotidetalle-cliente > div,
    .cotidetalle-cliente > div.nombrecliente,
    .cot-w {
        width: 100% !important;
    }

    .cotidetalle-cliente {
        gap: 17px;
    }

    .cotidetalle-heder {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* ============================ */
/* Convertir Cotización a Pedido*/
/* ============================ */
body.cotizador-a-pedido .header-wrapper,
body.cotizador-a-pedido .footer-wrapper,
body.cotizador-a-pedido .woocommerce-MyAccount-navigation {
    display: none !important;
}

body.cotizador-a-pedido .woocommerce-MyAccount-content {
    width: 100%;
    max-width: 100%;
}

body.cotizador-a-pedido #main {
    padding: 0 !important;
    background-color: #fffefc !important;
}

body.cotizador-a-pedido .container-fluid {
    width: 100% !important;
}

body.cotizador-a-pedido .headermaincotizador {
    background: var(--Rojo_03, #9d3a2d);
    padding: 0 15px;
}

body.cotizador-a-pedido .contenedormaincotizador {
    padding: 32px 15px;
}

.contenedor1137 {
    width: 1137px;
    max-width: 100%;
    margin: 0 auto;
}

body.cotizador-a-pedido .headermaincotizador > div {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
}

body.cotizador-a-pedido .contenedormaincotizador {
    padding: 32px 0;
}

body.cotizador-a-pedido .cre-flexrow {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}

body.cotizador-a-pedido .cre-flexrow > div:nth-child(1) {
    width: 700px;
    max-width: 100%;
}

body.cotizador-a-pedido .cre-flexrow .contenedor-resumen {
    width: 368px;
    max-width: 100%;
    border-radius: 4px;
    border: 1px solid var(--Gris40, #c4c4c4);
    background: #fff;
    right: 0;
    top: 0;
    position: absolute;
}

body.cotizador-a-pedido .cre-flexrow .contenedor-resumen h5 {
    border-radius: 4px 4px 0px 0px;
    border-bottom: 2px solid var(--GrisN_02, #cdd0d6);
    background: var(--Rojo_05, #612525);
    padding: 17.068px 20.481px;
    color: #fff;
    font-family: "Plus Jakarta Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20.481px;
}

body.cotizador-a-pedido .cre-flexrow .contenedor-resumen > div {
    padding: 0 20px 22px 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

body.cotizador-a-pedido .cre-flexrow .contenedor-resumen > div span {
    color: var(--Gray-900, #191c1f);
    font-family: "Plus Jakarta Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

body.cotizador-a-pedido
    .cre-flexrow
    .contenedor-resumen
    > div.totalcotizador
    span {
    font-weight: 700;
    font-size: 18px;
}

body.cotizador-a-pedido .h2raleway {
    color: var(--Negro_01, #191c1f);
    font-family: Raleway;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 27px;
}

body.cotizador-a-pedido .pasos-convertir {
    position: relative;
    padding-left: 27px;
    margin-bottom: 30px;
}

body.cotizador-a-pedido .pasos-convertir:before {
    content: "";
    background: #bdbdbd;
    width: 1px;
    display: block;
    height: calc(100% - 30px);
    position: absolute;
    left: 5px;
    top: 33px;
}

body.cotizador-a-pedido .pasos-convertir .titlered,
body.cotizador-a-pedido .pasos-convertir .titlered::before {
    color: #9d3a2d;
    font-family: "Plus Jakarta Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 15.385px;
}

body.cotizador-a-pedido .pasos-convertir .titlered::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 10px;
    text-align: center;
}

body.cotizador-a-pedido .pasos-convertir.paso1 .titlered::before {
    content: "1";
}

body.cotizador-a-pedido .pasos-convertir.paso2 .titlered::before {
    content: "2";
}

body.cotizador-a-pedido .pasos-convertir.paso3 .titlered::before {
    content: "3";
}

body.cotizador-a-pedido .cotizadorcodigocliente {
    margin-bottom: 11px;
    border-radius: 4px;
    border: 1px solid var(--Negro-CK, #343434);
    background: #f6f6f6;
    padding: 9px 20px;
    color: #f00;
    font-family: "Plus Jakarta Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    width: 366px;
    max-width: 100%;
    margin-top: 11px;
}

body.cotizador-a-pedido .ps12 {
    color: #a0a0a0;
    font-family: "Plus Jakarta Sans";
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    margin: 0;
}

body.cotizador-a-pedido .nota-adicional-block {
    margin-top: 24px;
    padding-bottom: 10px;
}

body.cotizador-a-pedido .nota-adicional-block label {
    color: #000;
    font-family: "Plus Jakarta Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

body.cotizador-a-pedido .nota-adicional-block textarea {
    display: block;
    width: 100%;
    height: 80px;
    border-radius: 4px;
    border: 1px solid var(--Negro-CK, #343434);
    background: #f6f6f6;
    color: black;
    font-family: "Plus Jakarta Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 20px;
    margin-top: 19px;
}

/* envio */
body.cotizador-a-pedido .metodo-envio {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 19px;
}

body.cotizador-a-pedido .tipo-metodo-envio {
    width: calc(50% - 7.5px);
    padding: 0;
    height: 76px;
}

body.cotizador-a-pedido .tipo-metodo-envio input,
body.cotizador-a-pedido .tipo-metodo-pago input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

body.cotizador-a-pedido .tipo-metodo-envio label {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--Gris_03, #616161);
    font-family: "Plus Jakarta Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700 !important;
    line-height: 48px;
    border-radius: 4px;
    border: 2px solid var(--Gris50, #797979);
}

body.cotizador-a-pedido .tipo-metodo-envio input:checked ~ label {
    color: var(--Negro_01, #191c1f);
    border: 3px solid var(--Negro_01, #191c1f);
    background: #f6f6f6;
    text-decoration: underline;
}

body.cotizador-a-pedido .tipo-metodo-envio label::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    margin-top: -4px;
    margin-right: 9px;
}

body.cotizador-a-pedido .tipo-metodo-envio label[for="ship_2"]::before {
    background: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20d%3D%22M16.5%207.50002H20.4938C20.6432%207.49904%2020.7894%207.54329%2020.9132%207.62695C21.037%207.71061%2021.1326%207.82977%2021.1875%207.96877L22.5%2011.25%22%20stroke%3D%22%23616161%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M1.5%2013.5H16.5%22%20stroke%3D%22%23616161%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M17.625%2020.25C18.8676%2020.25%2019.875%2019.2426%2019.875%2018C19.875%2016.7574%2018.8676%2015.75%2017.625%2015.75C16.3824%2015.75%2015.375%2016.7574%2015.375%2018C15.375%2019.2426%2016.3824%2020.25%2017.625%2020.25Z%22%20stroke%3D%22%23616161%22%20stroke-width%3D%221.5%22%20stroke-miterlimit%3D%2210%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M6.375%2020.25C7.61764%2020.25%208.625%2019.2426%208.625%2018C8.625%2016.7574%207.61764%2015.75%206.375%2015.75C5.13236%2015.75%204.125%2016.7574%204.125%2018C4.125%2019.2426%205.13236%2020.25%206.375%2020.25Z%22%20stroke%3D%22%23616161%22%20stroke-width%3D%221.5%22%20stroke-miterlimit%3D%2210%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M15.375%2018H8.625%22%20stroke%3D%22%23616161%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M4.125%2018H2.25C2.05109%2018%201.86032%2017.921%201.71967%2017.7803C1.57902%2017.6397%201.5%2017.4489%201.5%2017.25V6.75C1.5%206.55109%201.57902%206.36032%201.71967%206.21967C1.86032%206.07902%202.05109%206%202.25%206H16.5V16.05%22%20stroke%3D%22%23616161%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M16.5%2011.25H22.5V17.25C22.5%2017.4489%2022.421%2017.6397%2022.2803%2017.7803C22.1397%2017.921%2021.9489%2018%2021.75%2018H19.875%22%20stroke%3D%22%23616161%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E)
        center / contain no-repeat;
}

body.cotizador-a-pedido .tipo-metodo-envio label[for="ship_3"]::before {
    background: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20d%3D%22M4.5%2013.0874V19.4999C4.5%2019.6988%204.57902%2019.8896%204.71967%2020.0302C4.86032%2020.1709%205.05109%2020.2499%205.25%2020.2499H18.75C18.9489%2020.2499%2019.1397%2020.1709%2019.2803%2020.0302C19.421%2019.8896%2019.5%2019.6988%2019.5%2019.4999V13.0874%22%20stroke%3D%22%23616161%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M5.0625%203.75H18.9375C19.1002%203.75134%2019.2582%203.8049%2019.3881%203.9028C19.5181%204.00069%2019.6132%204.13774%2019.6594%204.29375L21%209H3L4.34062%204.29375C4.38682%204.13774%204.4819%204.00069%204.61187%203.9028C4.74183%203.8049%204.8998%203.75134%205.0625%203.75V3.75Z%22%20stroke%3D%22%23616161%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M9%209V10.5C9%2011.2956%208.68393%2012.0587%208.12132%2012.6213C7.55871%2013.1839%206.79565%2013.5%206%2013.5C5.20435%2013.5%204.44129%2013.1839%203.87868%2012.6213C3.31607%2012.0587%203%2011.2956%203%2010.5V9%22%20stroke%3D%22%23616161%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M15%209V10.5C15%2011.2956%2014.6839%2012.0587%2014.1213%2012.6213C13.5587%2013.1839%2012.7956%2013.5%2012%2013.5C11.2044%2013.5%2010.4413%2013.1839%209.87868%2012.6213C9.31607%2012.0587%209%2011.2956%209%2010.5V9%22%20stroke%3D%22%23616161%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M21%209V10.5C21%2011.2956%2020.6839%2012.0587%2020.1213%2012.6213C19.5587%2013.1839%2018.7956%2013.5%2018%2013.5C17.2044%2013.5%2016.4413%2013.1839%2015.8787%2012.6213C15.3161%2012.0587%2015%2011.2956%2015%2010.5V9%22%20stroke%3D%22%23616161%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E)
        center / contain no-repeat;
}

body.cotizador-a-pedido
    .tipo-metodo-envio
    input:checked
    ~ label[for="ship_2"]::before {
    background: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20d%3D%22M16.5%207.50002H20.4938C20.6432%207.49904%2020.7894%207.54329%2020.9132%207.62695C21.037%207.71061%2021.1326%207.82977%2021.1875%207.96877L22.5%2011.25%22%20stroke%3D%22%232F2625%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M1.5%2013.5H16.5%22%20stroke%3D%22%232F2625%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M17.625%2020.25C18.8676%2020.25%2019.875%2019.2426%2019.875%2018C19.875%2016.7574%2018.8676%2015.75%2017.625%2015.75C16.3824%2015.75%2015.375%2016.7574%2015.375%2018C15.375%2019.2426%2016.3824%2020.25%2017.625%2020.25Z%22%20stroke%3D%22%232F2625%22%20stroke-width%3D%221.5%22%20stroke-miterlimit%3D%2210%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M6.375%2020.25C7.61764%2020.25%208.625%2019.2426%208.625%2018C8.625%2016.7574%207.61764%2015.75%206.375%2015.75C5.13236%2015.75%204.125%2016.7574%204.125%2018C4.125%2019.2426%205.13236%2020.25%206.375%2020.25Z%22%20stroke%3D%22%232F2625%22%20stroke-width%3D%221.5%22%20stroke-miterlimit%3D%2210%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M15.375%2018H8.625%22%20stroke%3D%22%232F2625%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M4.125%2018H2.25C2.05109%2018%201.86032%2017.921%201.71967%2017.7803C1.57902%2017.6397%201.5%2017.4489%201.5%2017.25V6.75C1.5%206.55109%201.57902%206.36032%201.71967%206.21967C1.86032%206.07902%202.05109%206%202.25%206H16.5V16.05%22%20stroke%3D%22%232F2625%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M16.5%2011.25H22.5V17.25C22.5%2017.4489%2022.421%2017.6397%2022.2803%2017.7803C22.1397%2017.921%2021.9489%2018%2021.75%2018H19.875%22%20stroke%3D%22%232F2625%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E)
        center / contain no-repeat;
}

body.cotizador-a-pedido
    .tipo-metodo-envio
    input:checked
    ~ label[for="ship_3"]::before {
    background: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20d%3D%22M4.5%2013.0874V19.4999C4.5%2019.6988%204.57902%2019.8896%204.71967%2020.0302C4.86032%2020.1709%205.05109%2020.2499%205.25%2020.2499H18.75C18.9489%2020.2499%2019.1397%2020.1709%2019.2803%2020.0302C19.421%2019.8896%2019.5%2019.6988%2019.5%2019.4999V13.0874%22%20stroke%3D%22%232F2625%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M5.0625%203.75H18.9375C19.1002%203.75134%2019.2582%203.8049%2019.3881%203.9028C19.5181%204.00069%2019.6132%204.13774%2019.6594%204.29375L21%209H3L4.34062%204.29375C4.38682%204.13774%204.4819%204.00069%204.61187%203.9028C4.74183%203.8049%204.8998%203.75134%205.0625%203.75V3.75Z%22%20stroke%3D%22%232F2625%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M9%209V10.5C9%2011.2956%208.68393%2012.0587%208.12132%2012.6213C7.55871%2013.1839%206.79565%2013.5%206%2013.5C5.20435%2013.5%204.44129%2013.1839%203.87868%2012.6213C3.31607%2012.0587%203%2011.2956%203%2010.5V9%22%20stroke%3D%22%232F2625%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M15%209V10.5C15%2011.2956%2014.6839%2012.0587%2014.1213%2012.6213C13.5587%2013.1839%2012.7956%2013.5%2012%2013.5C11.2044%2013.5%2010.4413%2013.1839%209.87868%2012.6213C9.31607%2012.0587%209%2011.2956%209%2010.5V9%22%20stroke%3D%22%232F2625%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M21%209V10.5C21%2011.2956%2020.6839%2012.0587%2020.1213%2012.6213C19.5587%2013.1839%2018.7956%2013.5%2018%2013.5C17.2044%2013.5%2016.4413%2013.1839%2015.8787%2012.6213C15.3161%2012.0587%2015%2011.2956%2015%2010.5V9%22%20stroke%3D%22%232F2625%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E)
        center / contain no-repeat;
}

/* tipo de pago */
body.cotizador-a-pedido .tipo-metodo-pago {
    margin-bottom: 13px;
}

body.cotizador-a-pedido .tipo-metodo-pago label {
    color: var(--Gris_03, #616161);
    font-family: "Plus Jakarta Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20.481px;
    border-radius: 4px;
    border: 1px solid var(--Gris_02, #b5b5b5);
    padding: 10px 41px;
    display: block;
    position: relative;
}

body.cotizador-a-pedido .tipo-metodo-pago input:checked ~ label {
    color: var(--Negro_01, #191c1f);
    border: 2px solid var(--Negro_01, #191c1f);
    background: #f6f6f6;
}

body.cotizador-a-pedido .tipo-metodo-pago label:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    left: 13px;
    border: solid 2px #616161;
    border-radius: 50%;
}

body.cotizador-a-pedido .tipo-metodo-pago input:checked ~ label::before {
    border: solid 6px #191c1f;
}

@media (max-width: 969px) {
    body.cotizador-a-pedido .h2raleway {
        text-align: center;
        font-size: 22px;
    }
}

/* pedido convertido con exito */
.headergris {
    padding: 30px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
    background: var(--Gris_01, #d1d1d0);
}

.cotizadorconvertido .botones.myfcotizador {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: auto;
}

body.cotizador-a-pedido .cotizadorconvertido .cre-flexrow {
    justify-content: center;
}

body.cotizador-a-pedido .cotizadorconvertido .pedido-exito-container {
    width: 600px;
    text-align: center;
}

body.cotizador-a-pedido .cotizadorconvertido .resumen-pedido-convertido {
    border-top: 1px solid #000;
    background: #f4f4f4;
    text-align: left;
    padding: 41px 30px;
    margin-bottom: 20px;
    font-family: "Plus Jakarta Sans";
}

body.cotizador-a-pedido .cotizadorconvertido .pedido-item {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-top: solid 1px #737b7d;
    color: var(--NegroC900, #222);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
}

body.cotizador-a-pedido
    .cotizadorconvertido
    .resumen-pedido-convertido
    .pedido-item:nth-child(2) {
    border-top: none;
}

body.cotizador-a-pedido
    .cotizadorconvertido
    .resumen-pedido-convertido
    .detallepediconvert {
    padding: 20px 0;
    border-top: 1px solid #737b7d;
    color: var(--NegroC900, #222);
    font-size: 18px;
    font-weight: 400;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

body.cotizador-a-pedido .cotizadorconvertido .pedido-exito-container {
    color: #000;
    text-align: center;
    font-family: "Plus Jakarta Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

body.cotizador-a-pedido .cotizadorconvertido .resumen-pedido-convertido > h3 {
    color: var(--Negro_01, #191c1f);
    text-align: center;
    font-family: "Plus Jakarta Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
}

body.cotizador-a-pedido
    .cotizadorconvertido
    .resumen-pedido-convertido
    .detallepediconvert.total-final {
    color: var(--Rojo_05, #612525);
    font-weight: 700;
}

body.cotizador-a-pedido
    .cotizadorconvertido
    .resumen-pedido-convertido
    .detallepediconvert.notadelcliente {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    color: var(--NegroC900, #222);
    font-family: "Plus Jakarta Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    padding-top: 50px;
}

body.cotizador-a-pedido
    .cotizadorconvertido
    .resumen-pedido-convertido
    .detallepediconvert.notadelcliente
    p {
    margin: 0;
}

@media (max-width: 969px) {
    body.cotizador-a-pedido .metodo-envio {
        flex-direction: column !important;
    }

    body.cotizador-a-pedido .cre-flexrow .contenedor-resumen {
        position: relative;
        width: 100%;
        margin-bottom: 25px;
    }

    body.cotizador-a-pedido .contenedormaincotizador {
        padding: 30px 18px;
    }

    body.cotizador-a-pedido .contenedormaincotizador.cotizadorconvertido {
        padding: 40px 0;
    }

    body.cotizador-a-pedido .tipo-metodo-envio {
        width: 100%;
    }

    body.cotizador-a-pedido
        .cotizadorconvertido
        .resumen-pedido-convertido
        > h3 {
        font-size: 16px;
    }

    body.cotizador-a-pedido .cotizadorconvertido .resumen-pedido-convertido {
        padding: 20px 18px;
    }

    body.cotizador-a-pedido .cotizadorconvertido .pedido-item {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        text-wrap-style: pretty;
        gap: 10px;
    }

    body.cotizador-a-pedido
        .cotizadorconvertido
        .resumen-pedido-convertido
        .detallepediconvert.subtotal {
        margin-top: 40px;
    }
}

/* sin cotizacion */
.sincotizacion {
    padding: 70px 0;
    background-color: white !important;
    border-radius: 4px;
    border: 1px solid #f0f0f0;
}

.sincotizacion p.ps16 {
    color: #151617;
    text-align: center;
    margin-bottom: 20px;
}

/* estilos tablet */
@media (min-width: 480px) and (max-width: 969px) {
    .logged-in.woocommerce-account
        #main
        .container-fluid
        .woocommerce-MyAccount-navigation,
    .logged-in.woocommerce-account
        #main
        .container-fluid
        .woocommerce-MyAccount-content {
        width: 617px !important;
        max-width: 100% !important;
        margin: auto !important;
    }
}

/* Estilos para totales, copiado del index */
/* --- Estilos para la nueva sección de Observaciones y Resumen de Compra --- */
.order-summary-section {
    display: flex; /* Usamos flex para las dos columnas */
    gap: 40px; /* Espacio entre observaciones y resumen */
    margin-top: 30px; /* Margen superior para separarlo de los elementos anteriores */
    flex-wrap: wrap; /* Para que se apile en pantallas pequeñas */
    justify-content: space-between !important;
}

.order-observations {
    flex-basis: 45%; /* Ocupa casi la mitad del ancho */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-observations label {
    font-size: 1em;
    color: var(--dark-grey);
    font-weight: 500;
}

.order-observations textarea {
    width: 100%;
    min-height: 120px; /* Altura mínima para el campo de texto */
    padding: 10px;
    border: 1px solid var(--neutral-400);
    border-radius: 8px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.95em;
    color: var(--dark-grey);
    resize: vertical; /* Permitir redimensionar solo verticalmente */
    outline: none;
}

.order-observations textarea::placeholder {
    color: var(--medium-grey);
}

.order-observations textarea:focus {
    border-color: #262626;
    color: #262626;
}

.purchase-summary {
    flex-basis: 45%; /* Ocupa casi la mitad del ancho, se alineará a la derecha */
    color: var(--white);
    border-radius: 8px;
    margin-right: 0;
    box-shadow:
        0px 1px 3px 0px rgba(0, 0, 0, 0.1),
        0px 1px 2px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    border-radius: var(--size-2, 4px);
}

.summary-header {
    background-color: #454545;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    padding: 10px 15px;
    margin: 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.summary-details {
    color: #111827;
    flex-grow: 1; /* Permite que los detalles ocupen el espacio central */
    display: flex;
    flex-direction: column;
    gap: 10px; /* Espacio entre filas de detalles */
    background-color: white;
    padding: 20px 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between; /* Alinea texto a la izquierda, valor a la derecha */
    align-items: center;
    font-size: 1em;
}

.summary-total {
    color: #1f1f1f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    background-color: #d9d9d9;
    padding: 10px 15px;
    border-radius: 4px;
}

/* Asegura que la celda de la columna 3 se comporte como un contenedor flexible */
.cot-w.cot-w3 {
    /* Clave: Fuerza a los elementos hijos a apilarse verticalmente */
    display: flex;
    flex-direction: column;
    /* Alinea el contenido al inicio (izquierda) o centro de la celda */
    align-items: flex-start; /* O usa 'center' si quieres centrar horizontalmente */
    justify-content: center; /* Centra verticalmente si hay espacio */
    /* Añade un espacio entre los dos precios si es necesario */
    gap: 2px;
}

/* Opcional: Estilos para la etiqueta del título dentro de la celda,
   si quieres que se muestre como un bloque separado en la parte superior. */
.cot-w.cot-w3 .subtitulo12 {
    /* Si existe el subtítulo, asegúrate de que ocupe todo el ancho o se comporte bien */
    width: 100%;
}

/* Codigo para la pagina de convertir a pedido - copiado de style.css */

/* Pagina para crear el pedido final */

#banner-pedido-final,
#banner-pedido-final-exitoso {
    background-color: white;
    height: 100px;
    box-shadow: 0px 2px 4px -2px #0000001a;
    box-shadow: 0px 4px 6px -1px #0000001a;
    align-items: center;
}

#banner-pedido-final .contenedor-banner,
#banner-pedido-final-exitoso .contenedor-banner {
    padding: 0 16px;
    max-width: 100%;
    width: 1390px;
    margin: 0 auto;
}

#banner-pedido-final-exitoso .contenedor-banner {
    display: flex;
    justify-content: center;
}

#btn-volver-orden-rapida {
    background-color: transparent;
    border-color: transparent;
    width: 40px;
    height: 40px;
}

#finalizeOrderPage {
    max-width: 100%;
    width: 1310px;
    margin: 20px auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: transparent;
}

#finalizeOrderPage .page-title {
    font-size: 2em;
    margin-bottom: 20px;
    color: var(--dark-grey);
    font-weight: bold;
}

.finalize-page-content {
    display: flex;
    gap: 30px;

    align-items: flex-start;
    flex-grow: 1;
}

.finalize-main-blocks {
    flex-grow: 1;
    flex-basis: 65%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 400px;
}

.order-section-block {
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    position: relative;
}

.order-section-block .section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    margin-bottom: 0;
    border-radius: 4px;
    background: var(--neutral-500);

    padding-left: 60px;
    position: relative;
    z-index: 2;
}

.order-section-block .section-number {
    color: var(--white);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    flex-shrink: 0;

    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.order-section-block::before {
    content: "";
    position: absolute;
    left: 29px;
    top: 5px;
    height: 100%;
    width: 1px;
    background-color: var(--dark-neutral-900);
    z-index: 1;
}

.order-section-block h3 {
    font-size: 1.2em;
    color: var(--dark-grey);
    font-weight: bold;
    margin: 0;
    flex-grow: 1;
}

.order-section-block .section-content {
    padding: 20px;
    padding-left: 60px;
}

.order-section-block .section-description {
    font-size: 14px;
    font-weight: 500;
    color: #343434;
    margin-bottom: 15px;
}

.client-display-box {
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    border: 1px solid var(--neutral-500);
    background: white;
    gap: 15px;
    padding: 15px;
    max-width: 300px;
}
.display-box-header {
    display: flex;
    gap: 3px;
}
.client-display-box .client-logo {
    width: 24px;
    height: auto;
    flex-shrink: 0;
}
.client-display-box .client-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding-left: 7px;
    gap: 3px;
}
.client-display-box h4 {
    font-size: 20px;
    color: #262626;
    font-weight: 600;
    margin: 0;
}
.client-display-box p {
    font-size: 12px;
    color: #595959;
    margin: 0;
    line-height: 1.3;
}
.order-section-block .btn-link {
    margin-top: 10px;
    margin-left: 0;
    align-self: flex-start;
    font-weight: 700;
    color: #780808 !important;
    text-decoration: underline;
    font-size: 16px;
    font-weight: 700;
    padding-left: 0;
}
.order-section-block .btn-link:focus {
    box-shadow: none;
}

.order-section-block .section-content.delivery-options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.order-section-block .section-content.delivery-options .delivery-option-item {
    flex-grow: 1;
    flex-basis: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 75px;

    background: var(--neutral-100);
    border: 1.5px solid var(--neutral-650);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;

    color: var(--dark-grey);
    font-size: 1em;
    text-align: center;
    text-decoration: none;
}

.order-section-block
    .section-content.delivery-options
    .delivery-option-item:hover {
    background-color: var(--neutral-200);
    border-color: var(--red-300);
}

.order-section-block
    .section-content.delivery-options
    .delivery-option-item
    input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.delivery-option-visual {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.delivery-option-visual img {
    width: 35px;
    height: 35px;
    filter: brightness(0);
    transition: filter 0.2s ease;
}

.delivery-option-item:has(input[type="radio"]:checked) {
    background-color: var(--red-500) !important;
    border-color: var(--red-500) !important;
    color: var(--white) !important;
}

.delivery-option-item:has(input[type="radio"]:checked)
    .delivery-option-visual
    img {
    filter: brightness(0) invert(1) !important;
}

.payment-options,
.delivery-address {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.payment-option-item,
.delivery-address-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border: 1px solid var(--neutral-400);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--dark-grey);
    font-size: 1em;
    background-color: #ffffff !important;
}
.payment-option-item:hover,
.delivery-address-item:hover {
    background-color: var(--neutral-200);
    border-color: var(--red-300);
}
.payment-option-item input[type="radio"],
.delivery-address-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-option-item .custom-radio,
.delivery-address-item .custom-radio {
    margin-right: 15px;
    flex-shrink: 0;
}

.payment-option-item input[type="radio"]:checked + .custom-radio,
.delivery-address-item input[type="radio"]:checked + .custom-radio {
    background-color: white;
    border-color: var(--red-500);
}

.payment-option-item input[type="radio"]:checked + .custom-radio::after,
.delivery-address-item input[type="radio"]:checked + .custom-radio::after {
    opacity: 1;
}

/* Cambiar borde al label del input chequeado */
.payment-option-item:has(input[type="radio"]:checked),
.delivery-address-item:has(input[type="radio"]:checked) {
    border: 2px solid #c70e0e;
}

.address-form .input-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: calc(2 * 250px + 15px);
    margin-right: auto;
    gap: 15px;
}

.address-form .input-group {
    position: relative;
    margin-bottom: 10px;
}
.address-form .input-group label {
    position: absolute;
    left: 12px;
    top: 5px;
    font-size: 10px;
    font-weight: 400;
    color: #38393a;
    pointer-events: none;
    transition: all 0.2s ease-out;
    background-color: transparent;
    padding: 0 4px;
    z-index: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 24px);
}
.address-form .input-group input[type="text"] {
    width: 100%;
    padding: 22px 12px 10px 12px;
    background-color: var(--white);
    border: 1px solid var(--neutral-400);
    font-size: 1em;
    font-weight: 600;
    color: #454545 !important;
    box-sizing: border-box;
    outline: none;
    position: relative;
    z-index: 0;
    padding-left: 15px;
    border-radius: 4px !important;
    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
}

.address-form .input-group input[type="text"]:not(:placeholder-shown) + label,
.address-form .input-group input[type="text"]:focus + label {
    top: -10px;
    font-size: 0.8em;
    color: var(--red-500);
    font-weight: 500;
    z-index: 2;
}

.address-form .input-group input[type="text"]:focus {
    border-color: var(--red-500);
}

.payment-option-item.checkbox-style {
    position: relative;
    padding: 0;
    border: none;
    cursor: default;
    align-items: flex-start;
    margin-top: 20px;
    background-color: transparent !important;
}
.payment-option-item.checkbox-style:hover {
    background-color: transparent;
    border-color: transparent;
}
.payment-option-item.checkbox-style .checkmark {
    margin-top: 3px;
}

.payment-option-item.checkbox-style input[type="checkbox"] {
    opacity: 0;
}

.payment-option-item.checkbox-style
    input[type="checkbox"]:checked
    ~ .checkmark {
    background-color: var(--red-500);
    border-color: var(--red-500);
}

.payment-option-item.checkbox-style
    input[type="checkbox"]:checked
    ~ .checkmark:after {
    display: block;
}

.note-textarea-container {
    margin-top: 10px;
    width: 100%;
}
.note-textarea-container textarea {
    width: 100%;
    max-width: 600px;
    min-height: 80px;
    padding: 10px;
    border: 1px solid var(--neutral-400);
    border-radius: 8px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.95em;
    color: var(--dark-grey);
    resize: vertical;
    outline: none;
}
.note-textarea-container textarea::placeholder {
    color: var(--medium-grey);
}
.note-textarea-container textarea:focus {
    border-color: var(--red-500);
}

.confirm-purchase-button {
    margin-top: 30px;
    align-self: flex-end;
    padding: 15px 30px;
    font-size: 16px !important;
    font-weight: 700 !important;
    align-self: center;
    border-radius: 8px !important;
    background: #c70e0e;
    color: white !important;
    border: none;
    width: 380px;
    box-shadow: none !important;
    min-height: 48px !important;
}
.confirm-purchase-button .icon {
    margin-left: 10px;
}

.order-summary-sidebar {
    flex-basis: calc(35% - 30px);

    background-color: white;
    color: var(--dark-neutral-900);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    align-self: flex-start;
    min-width: 250px;
}

.sidebar-header {
    border-radius: 4px 4px 0px 0px;
    border-bottom: 2px solid var(--neutral-300);
    background: var(--dark-neutral-900);
    font-size: 1.2em;
    font-weight: bold;
    color: var(--white);
    margin: -20px -20px 15px -20px;
    padding: 15px;
}

.sidebar-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.sidebar-details .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1em;
    border-bottom: 1px solid var(--neutral-500);
    padding-bottom: 15px;
    padding-top: 5px;
}

.sidebar-details .summary-row.no-border {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: -10px;
}

.sidebar-details .legend {
    color: var(--neutral-750);
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    display: block;
}

#sidebarDiscount {
    color: var(--red-200);
}

.sidebar-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.4em;
    font-weight: bold;
    padding: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

#sidebarShippingMethod {
    font-size: 0.9em;
    color: var(--red-400);
    font-weight: 600;
    text-align: right;
    display: block;
}

.product-variations {
    display: flex;
    justify-content: space-between;
}

/* Ocultar footer nativo de WP en este plugin */
.footer-wrapper {
    /*display: none !important;*/
}

/* Estilos ventana de cotizacion confirmada */
#cotizacionModal {
    background-color: rgba(31, 31, 31, 0.6);
}

#cotizacionModal .modal-dialog {
    min-width: 610px;
}

#cotizacionModal .modal-content {
    border-radius: 10px !important;
    box-shadow: 0px 4px 10px 0px #00000040 !important;
}

.contenedor-cotizacion {
    padding-top: 50px !important;
    padding-bottom: 80px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    max-width: 288px !important;
    gap: 10px !important;
    margin: 0 auto !important;
}

.contenedor-titulo {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important;
}

.texto-central-modal {
    color: #191c1f !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    text-align: center !important;
    margin-bottom: 10px !important;
}

.btn-nuevo-presupuesto {
    width: 200px;
    height: 48px;
    color: white !important;
    background-color: #262626 !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: bold !important;
}

.btn-nuevo-presupuesto:hover {
    background-color: #141414 !important;
}

.btn-mis-presupuestos {
    width: 200px;
    height: 48px;
    color: #c70e0e !important;
    background-color: white !important;
    border: 2px solid #c70e0e !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-mis-presupuestos:hover {
    color: #9b0b0b !important;
    border-color: #9b0b0b !important;
}

.btn-descarga-cotizacion {
    background-color: #191c1f !important;
    color: white !important;
}

.btn-descarga-cotizacion::after {
    background: url("data:image/svg+xml,%3Csvg%20width%3D%2225%22%20height%3D%2225%22%20viewBox%3D%220%200%2025%2025%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20opacity%3D%220.2%22%20d%3D%22M20.75%207.13916V19.8892C20.75%2020.0881%2020.671%2020.2788%2020.5303%2020.4195C20.3897%2020.5601%2020.1989%2020.6392%2020%2020.6392H5C4.80109%2020.6392%204.61032%2020.5601%204.46967%2020.4195C4.32902%2020.2788%204.25%2020.0881%204.25%2019.8892V7.13916H20.75Z%22%20fill%3D%22white%22%2F%3E%0A%3Cpath%20d%3D%22M20%2020.6392H5C4.80109%2020.6392%204.61032%2020.5601%204.46967%2020.4195C4.32902%2020.2788%204.25%2020.0881%204.25%2019.8892V7.13916L5.75%204.13916H19.25L20.75%207.13916V19.8892C20.75%2020.0881%2020.671%2020.2788%2020.5303%2020.4195C20.3897%2020.5601%2020.1989%2020.6392%2020%2020.6392Z%22%20stroke%3D%22white%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3Cpath%20d%3D%22M9.32227%2014.4609L12.5004%2017.6391L15.6785%2014.4609%22%20stroke%3D%22white%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3Cpath%20d%3D%22M12.5%2010.1392V17.6392%22%20stroke%3D%22white%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3Cpath%20d%3D%22M4.25%207.13916H20.75%22%20stroke%3D%22white%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E")
        center / contain no-repeat;
}

/* Estilos para la pagina final de pedido exito so */

.success-page-container {
    max-width: 700px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
}
.success-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #1f1f1f !important;
    margin-bottom: 5px;
}
.success-summary-box {
    padding: 20px;
    width: 100%;
    max-width: 450px;
    text-align: center;
    margin-bottom: 32px;
}
.success-summary-box h4 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 700;
    color: #000000 !important;
}
.success-summary-box p.numero-pedido {
    font-weight: 700;
}
.success-summary-box p {
    font-weight: 400;
    margin: 4px 0;
    font-size: 16px;
    color: #343434;
}
.success-details-card {
    width: 1000px;
    padding: 26px 100px;
    margin-bottom: 35px;
}
.success-details-card .carta-encabezado {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #343434;
    margin-bottom: 22px !important;
}
.success-item-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}
.success-item {
    display: flex;
    align-items: flex-start;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #d9d9d9;
}
.success-item-img {
    width: 60px;
    height: 60px;
    margin-right: 16px;
    object-fit: cover;
}
.success-item-info {
    flex-grow: 1;
}
.success-item-info .item-name {
    display: block;
    font-weight: 600;
    color: #28292a;
    font-size: 14px;
}
.success-item-info .item-qty {
    display: block;
    color: #28292a;
    font-size: 14px;
    font-weight: 400;
}
.success-item-price {
    font-weight: 700;
    font-size: 14px;
    color: #28292a;
}
.success-totals-summary {
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    color: #313233;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
}
.success-totals-summary .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    color: #333;
    padding: 10px 30px;
    border-bottom: 1px solid #e0e0e0;
}
.success-totals-summary .summary-row #success-subtotal,
.success-totals-summary .summary-row #success-shipping,
.success-totals-summary .summary-row #success-payment-details {
    font-weight: 500;
}
.success-totals-summary .summary-row.total-row {
    font-size: 18px;
    font-weight: 700;
    color: #1f1f1f;
    background: #f0f0f0;
    border-bottom: none;
    text-transform: uppercase;
}
.success-note-box {
    width: 100%;
    padding: 20px;
    font-size: 16px;
    color: #222;
    margin-bottom: 20px;
    text-align: center;
}
.success-note-box strong {
    color: #333;
    display: block;
    margin-bottom: 8px;
}
.success-note-box p {
    font-weight: 400;
}
.success-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    width: 100%;
}
.success-actions .btn {
    text-decoration: none;
    padding: 10px;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    width: 210px;
    border-radius: 8px;
    font-weight: 700;
}
.success-actions .btn:focus {
    box-shadow: none !important;
}
.success-actions .btn.btn-secondary {
    background-color: transparent;
    color: var(--red-600);
    border: 2px solid var(--red-600);
    display: flex;
}
.success-actions .btn.btn-secondary:hover {
    background-color: var(--neutral-200);
    border-color: #9b0b0b !important;
    color: #9b0b0b !important;
}

.success-actions .btn.btn-primary {
    background-color: var(--red-500);
    color: var(--white);
}
.success-actions .btn.btn-primary:hover {
    background-color: var(--red-600);
    color: white !important;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Estilos moviles */
@media screen and (max-width: 991px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .woocommerce-MyAccount-content:has(#successOrderPage) {
        padding-left: 25px !important;
    }

    /* Pagina de finalizar pedido */
    #banner-pedido-final,
    #banner-pedido-final-exitoso {
        height: 68px;
        justify-content: center;
    }

    #banner-pedido-final a > svg,
    #banner-pedido-final-exitoso a > svg {
        width: 115px;
    }

    .finalize-page-content {
        flex-direction: column;
    }

    .finalize-main-blocks {
        width: 100%;
        min-width: 100%;
    }

    .order-section-block .section-content {
        padding-left: 40px;
    }

    .order-section-block .section-content.delivery-options {
        flex-direction: column;
    }

    .order-section-block
        .section-content.delivery-options
        .delivery-option-item {
        min-height: 56px;
    }

    .order-summary-sidebar {
        min-width: 100%;
    }

    #confirmPurchaseButtonContainer {
        width: 100%;
    }

    #confirmPurchaseButtonContainer .confirm-purchase-button {
        width: 100%;
    }

    /* Pagina de pedido exitoso */
    .success-page-container .success-icon-wrapper > svg {
        width: 40px !important;
        height: 40px !important;
    }

    .success-page-container .success-title {
        font-size: 20px;
        margin-bottom: 0;
    }

    .success-page-container .success-summary-box p {
        font-size: 14px;
    }

    .success-page-container .success-details-card {
        width: 100%;
        padding: 20px 8px;
    }

    .success-page-container .success-item {
        padding: 8px 12px;
        display: grid; /* Use Grid layout */
        grid-template-columns: auto 1fr; /* Col 1 for image (auto width), Col 2 takes rest */
        grid-template-rows: auto auto; /* Row 1 for img/info, Row 2 for empty/price */
        column-gap: 15px;
    }

    .success-page-container .success-item-img {
        grid-row: 1 / 2; /* Place image in Row 1 */
        grid-column: 1 / 2; /* Place image in Column 1 */
        width: 60px; /* Keep your fixed width */
        height: 60px;
        margin-right: 0; /* Remove margin, use column-gap instead */
    }

    .success-page-container .success-item-info {
        grid-row: 1 / 2; /* Place info in Row 1 */
        grid-column: 2 / 3; /* Place info in Column 2 */
        width: 100%; /* Ensure it takes full width of its column */
    }

    .success-page-container .success-item-price {
        grid-row: 2 / 3; /* Place price in Row 2 */
        grid-column: 2 / 3; /* Place price in Column 2 (below the info) */
        display: block; /* Ensure it takes its own line */
        text-align: left; /* Align price to the left, under the text */
        margin-top: 5px; /* Optional: Add a small space above the price */
    }

    .success-page-container .summary-row {
        padding: 12px;
        font-size: 14px;
    }

    .success-totals-summary .summary-row.total-row {
        font-size: 16px;
    }

    .success-page-container .success-actions {
        flex-direction: column-reverse;
    }

    .success-page-container .success-actions a {
        width: 100%;
    }
}
