section.staggs-product-view{order:1;}
div.product-view-wrapper{left:auto;right:0;}
:root {
    --sgg-template-background: #fff;
    --sgg-template-gallery: #f6f6f6;
    --sgg-template-title-color: #000;
    --sgg-template-color: #000;
    --sgg-option-background: #f6f6f6;
    --sgg-option-hover-background: #f6f6f6;
    --sgg-option-border: #f6f6f6;
    --sgg-option-color: #000;
    --sgg-option-active-background: #f6f6f6;
    --sgg-option-active-color: #000;
    --sgg-input-background: #f6f6f6;
    --sgg-input-border: #f6f6f6;
    --sgg-input-active-background: #f6f6f6;
    --sgg-input-active-border: #1487B6;
    --sgg-button-background: #1487B6;
    --sgg-button-color: #fff;
    --sgg-button-hover-background: #1487B6;
    --sgg-button-hover-color: #fff;
    --sgg-group-spacing-top: 60px;
    --sgg-group-spacing-bottom: 60px;
    --sgg-group-spacing-top-mb: 30px;
    --sgg-group-spacing-bottom-mb: 30px;
    --sgg-template-form-padding: 50px;
    --sgg-template-form-padding-tb: 40px;
    --sgg-template-form-width: 700px;
    --sgg-template-form-width-tb: 400px;
    --sgg-template-panel-width: 450px;
    --sgg-template-panel-width-tb: 370px;
    --sgg-base-font: Helvetica Now Display;
    --sgg-base-font-weight: 400;
    --sgg-base-font-style: normal;
    --sgg-heading-font: Helvetica Now Display Bold;
    --sgg-heading-font-weight: 700;
    --sgg-heading-font-style: normal;
    --sgg-button-font: Helvetica Now Display Bold;
    --sgg-button-font-weight: 700;
    --sgg-button-font-style: normal;
    --sgg-base-font-size: 16px;
    --sgg-base-font-size-tb: 16px;
    --sgg-base-font-size-mb: 14px;
    --sgg-heading-font-size: 19px;
    --sgg-heading-font-size-tb: 17px;
    --sgg-heading-font-size-mb: 17px;
    --sgg-button-font-size: 18px;
    --sgg-button-font-size-tb: 16px;
    --sgg-button-font-size-mb: 16px;
}

.lupaBtn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    background: #fff;
}

.btnZoom {
    display: flex;
    justify-content: end;
    margin-bottom: -33px;
    margin-right: -14px;
}

.slide p,
.slide2 p,
.slide3 p {
    margin-bottom: 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    height: 40px;
    right: 0;
    display: block;
    background: #00000082;
    padding: 10px;
    font-weight: bold;
}

.visorPantallaCompleta {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: block;
    align-items: center;
    z-index: 1000;
}

.visor-oculto {
    display: none !important;
}

.cerrarVisor {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
}

.slideshow-container {
    max-width: 80%;
    /* Ajusta el ancho del contenedor del slide */
    position: relative;
    margin: auto;
}

.slide,
.slide2,
.slide3 {
    display: none;
    text-align: center;
    color: white;
}

.slide img,
.slide2 img,
.slide3 img {
    max-width: 100%;
    display: block;
    margin: 0 auto 10px;
    height: 100%;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background: #1487b6;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 0px 3px 3px 0px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


.staggs-summary-widget fieldset {
    border: 1px solid #ccc;
    margin-bottom: 20px;
}

.staggs-summary-widget legend {
    font-weight: bold;
}

.staggs-summary-widget label {
    display: inline-block;
    margin: 10px;
    cursor: pointer;
}

.staggs-summary-widget label img {
    width: 100px;
    height: 100px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.staggs-summary-widget input[type="radio"]:checked+img {
    border: 3px solid #1487b6;
    padding: 3px;
    border-radius: 5px;
}

.staggs-summary-widget input[type="radio"] {
    display: none;
}

.top-right-menu {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 99;
}

.top-right-menu span {
    background: #008CC1;
    color: #FFF;
    height: 40px;
    display: flex;
    margin: 6px;
    border-radius: 5px;
    padding: 7px;
    align-items: center;
    cursor: pointer;
}

.top-right-menu span font {
    padding-left: 13px;
}

.popup-content li {
    font-size: 26px;
    margin-top: 30px;
}


.popup {
    display: none;
    /* Ocultar el popup por defecto */
    position: fixed;
    /* Para que quede sobre el contenido */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Fondo oscuro semitransparente */
    justify-content: center;
    align-items: center;
    z-index: 9;
}

/* Estilos del contenido del popup */
.popup-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    position: relative;
    overflow: auto;
    height: 90vh;
}

/* Estilos del botón de cerrar */
.cerrar-popup,
.cerrar-popup-budget {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.cerrar-popup:hover,
.cerrar-popup:focus,
.cerrar-popup-budget:hover,
.cerrar-popup-budget:focus {
    color: black;
    text-decoration: none;
}

.contenedor-input input.form-i {
    font-size: 20px !important;
    display: block;
    width: 100%;
    padding: 10px !important;
    border-radius: 0;
    transition: all 0.5sease;
    border-radius: 5px !important;
    color: #282727 !important;
    margin-bottom: 30px !important;
}

.contenedor-input label {
    color: #2d2d2d !important;
}

button.button.button-block.red {
    background: red;
    color: #FFF;
    height: 43px;
}

.flex-between {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.sub-bud {
    width: 220px;
    font-size: 16px !important;
    display: flex;
    align-items: center;
    gap: 20px;
}





.form-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f7f9;
    padding: 20px;
}

/* Contenedor general del formulario */
.container-form-user {
    max-width: 600px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', sans-serif;
}

/* Contenedor de cada input */
.container-form-user .contenedor-input {
    margin-bottom: 20px;
}

/* Etiquetas */
.container-form-user  label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

/* Campos de entrada */
.container-form-user input.form-i {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.container-form-user input.form-i:focus {
    border-color: #4A90E2;
    outline: none;
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
}

/* Indicador de campo obligatorio */
.req {
    color: #e74c3c;
}

/* Botones */
.container-form-user  .button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    background: #4A90E2;
    color: white;
    transition: background 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.container-form-user .button:hover {
    background: #357ABD;
}

.container-form-user .button.red {
    background: #e74c3c;
}

.container-form-user .button.red:hover {
    background: #c0392b;
}

/* Contenedor de botones */
.flex-between {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Responsive para botones en pantalla grande */
@media (min-width: 500px) {
    .flex-between {
        flex-direction: row;
        justify-content: space-between;
    }

    .flex-between .button {
        width: auto;
        min-width: 140px;
    }
}


.popup-content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: auto;
}

.popup-content h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-align: center;
}

.popup-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popup-content li {
    display: flex;
    justify-content: center;
}

.popup-content .sub-bud {
    background: linear-gradient(to right, #1abc9c, #16a085);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    justify-content: center;
}

.popup-content .sub-bud:hover {
    background: linear-gradient(to right, #16a085, #149174);
    transform: translateY(-2px);
}

.popup-content .sub-bud svg {
    stroke: #ffffff;
}

.popup-content .cerrar-popup-budget {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e74c3c;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    transition: transform 0.2s ease;
}

.popup-content .cerrar-popup-budget:hover {
    transform: scale(1.2);
}

.popup-content {
    animation: fadeInPopup 0.4s ease-out;
    position: relative;
}

input.button.button-block {
    height: 43px;
    background: #000;
    color: #FFF;
}

button.sub-bud.delete {
    background: red;
    margin-left: 10px;
}

button.sub-bud.delete:hover {
    background: #b50303;
}

button.sub-bud.delete svg {
    width: 20px;
    height: 37px;
}

span.btnOrderSelected {
    text-align: center;
    height: 58px;
    background: #008cc1a3;
}

@keyframes fadeInPopup {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
