.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
}
.popup2 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 90%;
    max-width: 1000px;
    border-radius: 10px;
    box-sizing: border-box;
    max-height: 95vh;
    overflow: auto;
}
.popup2 .image-grid {
    display: flex;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    align-items: flex-start;
}
.popup2 .image-grid.column {
    flex-direction: column;
}
.popup2 .image-grid.row {
    flex-direction: row;
    flex-wrap: wrap;
}
.popup2 .image-grid>div {
    flex: 1 1 0;
    text-align: center;
    box-sizing: border-box;
}
.popup2 p {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1em;
    margin-top: 10px;
}
.popup2 img {
    max-width: 100%;
    max-height: 35vh;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    padding: 5px;
    background-color: white;
    box-sizing: border-box;
}
@media (max-width: 767px) {
    .popup2 {
        padding: 15px;
    }
    .popup2 img {
        max-height: 40vh;
    }
    .popup2 .image-grid.row>div {
        max-width: 50%;
    }
    .popup2 .image-grid.column>div {
        max-width: 100%;
    }
}
.boton-derecha {
    display: none;
}
.close2 {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
}
#colorOverlay {
    display: none;
    position: fixed;
    top: 60px;
    left: 20%;
    transform: translateX(-50%);
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 1000;
}
#colorOverlay .colorBox {
    width: 50px;
    height: 50px;
    margin: auto;
    border: 1px solid #000;
}
#colorOverlay .colorCode {
    margin-top: 5px;
    font-family: monospace;
}
#loadingOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 9999;
    pointer-events: none;
}
.loading-active {
    pointer-events: all !important;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.preview-container {
    position: relative;
    width: 100%;
    height: 100%;
}
.preview-grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    display: grid;
}
.preview-grid-cell {
    outline: 1px solid black;
    background: transparent;
}
.overlay-preview {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333f48ed;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.preview-content {
    background: white;
    width: 90%;
    max-width: 800px;
    padding: 20px;
    border-radius: 10px;
}
.preview-header {
    flex-shrink: 0;
    display: flex;
    gap: 4%;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
}
.preview-body {
    flex: 1;
    overflow: auto;
    min-height: 0;
    display: flex;
    align-items: center;
}
.preview-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.preview-left h3 {
    display: none;
}
.preview-left p {
    display: none;
}
.preview-right {
    flex: 1;
    padding: 40px;
    margin-left: 20px;
    border: 1px solid;
    border-radius: 20px;
    margin-left: 20px;
    align-content: center;
}
.preview-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.three-columns {
    display: flex;
    justify-content: space-between;
}
.column {
    text-align: center;
    flex: 1;
}
:root {
    --body-color: #ededed;
    --font-color: #333f48;
    --font-size: 20px;
    --header-color: aliceblue;
    --sidebar-color: #ededed;
    --preview-color: #ededed;
    --footer-color: aliceblue;
    --scroll-back-color: inherit;
    --scroll-color: #ccc;
    --scroll-hover-color: #aaa;
    --scroll-active-color: #f57c00;
}
body {
    background: var(--body-color);
    color: var(--font-color);
    display: grid;
    font-family: 'Overpass', sans-serif;
    font-size: var(--font-size);
    font-weight: 300;
    line-height: 30px;
    margin: 0;
}
.editor {
    display: grid;
    grid-template-columns: 22% 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas: 'header header' 'sidebar preview' 'footer footer';
    min-block-size: 100dvh;
}
.editor *::-webkit-scrollbar {
    background: inherit;
    height: 7px;
    width: 7px;
}
.editor *::-webkit-scrollbar-thumb {
    background: var(--scroll-color);
    border-radius: 7px;
}
.editor *::-webkit-scrollbar-track {
    background: var(--scroll-back-color);
}
.editor *::-webkit-scrollbar-corner {}
.editor *::-webkit-scrollbar-thumb:horizontal:hover,
.editor *::-webkit-scrollbar-thumb:vertical:hover {
    background: var(--scroll-hover-color);
}
.editor *::-webkit-scrollbar-thumb:horizontal:active,
.editor *::-webkit-scrollbar-thumb:vertical:active {
    background: var(--scroll-active-color);
}
.editor>header {
    grid-area: header;
    background: var(--header-color);
}
.price-mobile {
    display: none;
}
.info-icon_mobile {
    display: none;
}
.info_dimensiones_value {
    display: none;
}
.vista_previa_mobile {
    display: none;
}
.sidebar {
    grid-area: sidebar;
    background: var(--sidebar-color);
    flex-flow: column nowrap;
    min-width: 22%;
    position: relative;
    padding-left: 20px
}
.preview {
    grid-area: preview;
    background: var(--preview-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: auto;
}
.editor>footer {
    grid-area: footer;
    background: var(--footer-color);
    display: flex;
    justify-content: center;
}
.sidebar header {}
.sidebar>div {
    flex: 1;
    overflow-y: auto;
    max-height: calc(100dvh - 120px);
}
.sidebar footer {}
.preview header {}
.preview footer {}
.sidebar-mobile-colores {
    display: none;
}
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 99;
}
.popup-content {
    background: white;
    padding: 20px;
    padding-top: 0px;
    width: 80%;
    max-width: 400px;
    position: relative;
    border-radius: 20px;
}
.popup-contentAdv {
    background: white;
    padding: 20px;
    padding-top: 0px;
    width: 80%;
    max-width: 400px;
    position: relative;
    border-radius: 20px;
}
.close-btn {
    float: right;
    cursor: pointer;
    font-size: 34px;
}
.accordion-popup-header {
    padding-top: 1px;
    cursor: pointer;
    background: #f0f0f0;
    padding-bottom: 1px;
    padding-left: 20px;
    border-radius: 10px;
    margin: 5px;
}
.accordion-popup-header h3 {
    font-family: "Staatliches", serif;
    color: #525252;
    font-size: 20px;
}
.accordion-popup-content {
    display: none;
    padding: 10px;
    background: white;
}
.accordion-popup-item.active .accordion-popup-content {
    display: flex;
}
.accordion-popup-item.active .accordion-popup-header h3 {
    font-family: "Staatliches", serif;
    color: #1D7589;
    background-color: #E5FAFF;
    font-size: 20px;
}
.accordion-popup-item.active .accordion-popup-header {
    font-family: "Staatliches", serif;
    color: #1D7589;
    background-color: #E5FAFF;
    font-size: 20px;
}
.accordion-popup-container h3 {
    font-family: "Staatliches", serif;
    font-size: 20px;
}
.accordion-popup-container h4 {
    font-family: "Staatliches", serif;
    font-size: 16px;
    padding-top: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}
.accordion-popup-container p {
    line-height: 1.5;
    font-size: 16px;
    margin-top: 0px;
    margin-bottom: 0px;
}
.accordion-popup-container {
    overflow-y: auto;
    max-height: 80vh;
}
.info_close {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "Staatliches", serif;
}
#infoContainer {
    display: flex;
    justify-content: space-between;
    text-align: center;
    width: 100%;
}
.info-column {
    flex: 1;
    margin: 0;
}
.info-title {
    font-weight: bold;
    font-size: 14px;
}
.info-value {
    font-size: 10px;
}
.info-value-pop {
    font-size: 16px;
}
.info-price-preview {
    font-size: 24px;
}
.next-section-mobile-back-adv {
    font-family: "Staatliches", serif;
    background-color: #1D7589 !important;
    color: white;
    border-radius: 10px !important;
    text-align: center;
    text-decoration: none;
    padding: 10px !important;
    border: none;
    font-size: 16px;
    cursor: pointer;
}
.restaurarImage {
    font-family: "Staatliches", serif;
    background-color: #E26E6E !important;
    color: white;
    border-radius: 10px !important;
    text-align: center;
    text-decoration: none;
    padding: 10px !important;
    border: none;
    font-size: 16px;
    cursor: pointer;
}
.sidebar-mobile {
    display: none;
}
.separator {
    width: 99%;
    border-top: 1px solid #ccc;
    margin-bottom: 5px;
    margin-top: 0;
}
.fixed-buttons {
    position: absolute;
    bottom: 0;
    background: #fff;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-radius: 20px;
    right: 0px;
    left: 20px;
    margin-bottom: 10px;
}
.button-container {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}
.hamburger-menu {
    cursor: pointer;
    font-size: 24px;
    margin-right: 10px;
    margin-left: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.logo-header {
    height: 20px;
    display: none;
}
@media (min-width: 768px) {
    .logo-header {
        display: block;
    }
}
.logo-header-ia {
    height: 20px;
}
.column-controls,
.row-controls,
.zoom-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}
.custom-upload-button {
    font-family: "Staatliches", serif;
    font-size: 20px;
    background-color: #E26E6E !important;
    color: white;
    border-radius: 10px !important;
    text-align: center;
    text-decoration: none;
    padding: 15px !important;
    cursor: pointer !important;
}
.square-button2 {
    width: 40px !important;
    height: 40px !important;
    font-size: 20px !important;
    outline: 1px solid black !important;
    background-color: #F5F5F5 !important;
    color: black !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 5px !important;
    border: none;
}
.square-button2.accordion-item.active {
    background-color: #E5FAFF !important;
}
.info-icon {
    font-size: 20px;
    color: #666;
    width: 24px;
    height: 24px;
    display: flex;
    padding-top: 15px;
    justify-content: center;
    cursor: pointer;
}
.square-button2.selected {
    background-color: #E5FAFF !important;
    color: #1D7589 !important;
    outline: 2px solid #1D7589 !important;
}
.square-button {
    width: 40px !important;
    height: 40px !important;
    font-size: 20px !important;
    outline: 1px solid black !important;
    background-color: #F5F5F5 !important;
    color: black !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 5px !important;
    border: none;
}
.square-button:hover {
    background-color: #E5FAFF !important;
}
.accordion-header .accordion-arrow {
    transition: transform 0.3s ease;
}
.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}
.price {
    font-size: 20px;
    margin: 0;
}
.square-button .material-icons {
    font-size: 24px;
}
.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 250px;
    height: 100%;
    background-color: #ffffff;
    color: #333f48;
    transition: left 0.3s ease;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 9999999999;
}
.side-menu.active {
    left: 0;
}
.menu-item {
    cursor: pointer;
    display: block;
    color: #333f48;
    text-decoration: none;
    margin: 25px 0;
    font-size: 16px;
}
.cursor {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: transparent;
    border: 2px solid transparent;
    pointer-events: none;
    z-index: 10;
    z-index: 99999999;
}
.grid-container {
    display: grid;
    gap: 0;
    position: relative;
    transform-origin: top left;
    transition: transform 0.2s ease;
}
.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    display: grid;
    grid-template-columns: inherit;
    grid-template-rows: inherit;
}
.grid-cell {
    display: grid;
    outline: 1px solid black;
    background: transparent;
}
.canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}
#imageCanvas {
    position: absolute;
    cursor: move;
}
.sidebar header {
    padding: 10px;
}
.sidebar button {
    margin: 5px;
    padding: 8px 16px;
    background: #459db1;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    width: calc(100% - 10px);
}
.sidebar button:hover {
    background: #287586;
}
.sidebar button:disabled {
    background: #cccccc;
    cursor: not-allowed;
}
.accordion {
    border-radius: 20px;
    margin: 10px 0;
    max-height: calc(100vh - 325px) !important;
    flex-direction: column;
    overflow: hidden;
}
.accordion-item:first-child {
    border-bottom: 1px solid #ccc;
}
.accordion-header {
    background-color: #F5F5F5;
    color: #686868;
    padding-left: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 20px;
}
.accordion-content {
    display: none;
    background-color: #fff;
    padding-top: 20px;
    padding-bottom: 25px;
    padding-left: 20px;
}
.accordion-item.active {
    flex-grow: 1;
}
.accordion-item.active .accordion-content {
    display: block;
    flex-grow: 1;
    min-height: 0;
    overflow-y: auto;
}
.accordion-item.active .accordion-header {
    display: block;
    background-color: #E5FAFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 20px;
}
.accordion-item.active .accordion-header h3 {
    display: block;
    background-color: #E5FAFF;
    color: #1D7589
}
.accordion-item.active .info-icon {
    color: #1D7589
}
.accordion-header h3 {
    font-family: "Staatliches", serif;
    color: #525252;
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 0;
    margin-top: 0px;
    padding-top: 15px;
}
.accordion-header h4 {
    font-size: 14px;
    color: gray;
    line-height: 18px;
    font-weight: normal;
    margin-top: 8px;
    margin-bottom: 0px;
    padding-bottom: 15px;
}
.accordion-content h5 {
    font-family: "Staatliches", serif;
    font-size: 16px;
    color: #686868;
    line-height: 18px;
    font-weight: normal;
    margin-top: 8px;
    margin-bottom: 0px;
    padding-bottom: 10px;
}
.add_to_cart_button {
    font-family: "Staatliches", serif;
    font-size: 20px;
    background-color: #E26E6E !important;
    color: white;
    border-radius: 10px !important;
    text-align: center;
    text-decoration: none;
    padding: 15px !important;
    border-color: transparent;
}
.add_to_cart_button:hover {
    background-color: #333;
}
.add_to_cart_button_mobile {
    display: block;
    flex: 2;
    font-family: "Staatliches", serif;
    background-color: #E26E6E !important;
    color: white;
    border-radius: 10px !important;
    text-align: center;
    text-decoration: none;
    padding: 8px !important;
    margin-right: 20px;
    border: none;
}
.add_to_cart_button_mobile:hover {
    background-color: #333;
}
.download_pdf_button {
    font-family: "Staatliches", serif;
    font-size: 20px;
    background-color: #459db1 !important;
    color: white;
    border-radius: 10px !important;
    text-align: center;
    text-decoration: none;
    padding: 15px !important;
    border-color: transparent;
}
.download_pdf_button:hover {
    background-color: #333;
}
.button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding-right: 20px;
    padding-top: 10px;
}
.add_to_cart_button {
    flex: 2;
}
.download_pdf_button {
    flex: 1;
}
.vista_previa {
    font-family: "Staatliches", serif;
    font-size: 20px;
    background-color: #E26E6E !important;
    color: white;
    border-radius: 10px !important;
    text-align: center;
    text-decoration: none;
    padding: 15px !important;
}
.vista_previa:hover {
    background-color: #333;
}
#uploadButton {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.toast {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    text-align: center;
}
#zoomControls {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 20px;
    z-index: 99;
    flex-direction: column;
    gap: 5px;
}
#zoomControls button {
    width: 40px;
    height: 40px;
    font-size: 20px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    border-radius: 5px;
    outline: 1px solid black;
}
#zoomControls button:hover {
    background: #ddd;
}
.overgrid {
    display: grid;
    gap: 0;
    position: relative;
    transform-origin: top left;
    transition: transform 0.2s ease;
    padding: 20px;
}
@media only screen and (max-width: 960px) {
    .editor {
        display: grid;
        grid-template-columns: 30% 1fr;
        grid-template-rows: auto 1fr auto;
        grid-template-areas: 'header header' 'sidebar preview' 'footer footer';
        min-block-size: 100dvh;
    }
}
@media only screen and (max-width: 720px) {
    .editor {
        display: grid;
        grid-template-columns: 40% 1fr;
        grid-template-rows: auto 1fr auto;
        grid-template-areas: 'header header' 'sidebar preview' 'footer footer';
        min-block-size: 100dvh;
    }
}
@media only screen and (max-width: 480px) {
    .paper-instructions {
        margin-left: 15px;
    }
    #zoomControls {
        display: none;
        position: fixed;
        bottom: 140px;
        right: 20px;
        z-index: 9;
        flex-direction: column;
        gap: 5px;
    }
    #zoomControls button {
        width: 40px;
        height: 40px;
        font-size: 20px;
        border: none;
        background: #f5f5f5;
        cursor: pointer;
        border-radius: 5px;
        outline: 1px solid black;
    }
    #zoomControls button:hover {
        background: #ddd;
    }
    .preview-right {
        display: none;
    }
    .preview-left {
        display: flex;
        flex-direction: column;
        height: 100%;
        gap: 10px;
        overflow: hidden;
    }
    .left-mobile1 {
        flex: 0 0 auto;
        font-size: 16px;
    }
    .left-mobile2 {
        flex: 0 0 auto;
        font-size: 14px;
    }
    .left-mobile3 {
        flex: 1;
        min-height: 0;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 20px;
    }
    .preview-left h3 {
        display: block;
        margin: 0;
        padding-left: 20px;
        padding-right: 20px;
    }
    .preview-left p {
        display: block;
        margin: 0;
        padding-left: 20px;
        padding-right: 20px;
        line-height: 1.5;
    }
    .preview-image {
        position: absolute;
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .preview-right-mobile {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        height: 100%;
        padding: 20px;
        background-color: #fff;
        z-index: 1001;
        overflow-y: auto;
    }
    .preview-right-mobile h3 {
        font-family: "Staatliches", serif;
        font-size: 18px;
        color: #333;
        padding: 0px;
        margin: 0px;
    }
    .column-footer-block {
        display: flex;
        flex-direction: row;
        padding: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .column-footer-right {
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        flex-direction: column;
    }
    .preview-right-mobile p {
        font-size: 16px;
        color: #333;
        padding: 0px;
        margin: 0px;
        line-height: 22px;
    }
    .preview-content {
        background: white;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        padding: 0px;
        border-radius: 0;
    }
    .preview-header {
        display: flex;
        gap: 2%;
        align-items: center;
        flex: 1;
        padding-top: 5px;
        padding-bottom: 5px;
        background-color: #E5FAFF;
    }
    .preview-header-right {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .preview-header-right h2 {
        font-size: 16px;
        font-family: "Staatliches", serif;
    }
    .preview-body {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        flex: 14;
    }
    .preview-footer {
        flex-shrink: 0;
        display: flex !important;
        flex: 1;
        background-color: #E5FAFF;
        flex-direction: column;
        padding-bottom: 10px;
    }
    .column-footer {
        flex: 1;
    }
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 200;
    }
    .button-container-mobile {
        display: flex;
        gap: 5px;
        margin-top: 10px;
        margin-left: 20px;
        padding-bottom: 15px;
    }
    .square-button3 {
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
        outline: 1px solid black !important;
        background-color: #F5F5F5 !important;
        color: black !important;
        cursor: pointer !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        border-radius: 5px !important;
        border: none;
    }
    .square-button3.selected {
        background-color: #E5FAFF !important;
        color: #1D7589 !important;
        outline: 2px solid #1D7589 !important;
    }
    .square-button3 .material-icons {
        font-size: 24px;
    }
    .square-button10 {
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
        outline: 1px solid black !important;
        background-color: #F5F5F5 !important;
        color: black !important;
        cursor: pointer !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        border-radius: 5px !important;
        border: none;
    }
    .square-button10.selected {
        background-color: #E5FAFF !important;
        color: #1D7589 !important;
        outline: 2px solid #1D7589 !important;
    }
    .square-button10 .material-icons {
        font-size: 24px;
    }
    .square-button4 {
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
        outline: 1px solid black !important;
        background-color: #F5F5F5 !important;
        color: black !important;
        cursor: pointer !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        border-radius: 5px !important;
        border: none;
    }
    .square-button4.selected {
        background-color: #E5FAFF !important;
        color: #1D7589 !important;
        outline: 2px solid #1D7589 !important;
    }
    .square-button4 .material-icons {
        font-size: 24px;
    }
    .square-button9 {
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
        outline: 1px solid black !important;
        background-color: #F5F5F5 !important;
        color: black !important;
        cursor: pointer !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        border-radius: 5px !important;
        border: none;
    }
    .square-button9.selected {
        background-color: #E5FAFF !important;
        color: #1D7589 !important;
        outline: 2px solid #1D7589 !important;
    }
    .square-button9 .material-icons {
        font-size: 24px;
    }
    .header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 6px;
        padding-bottom: 6px;
        background: var(--header-color);
        top: 0;
        width: 100%;
        z-index: 1000;
    }
    .info-icon,
    .price-mobile,
    #dimensionesMobile,
    .add_to_cart_button .vista_previa {
        display: flex;
    }
    .price-mobile {
        display: block;
    }
    .info-dimensiones_value {
        display: block;
        font-size: 20px;
        margin: 0;
    }
    .info_dimensiones_value {
        font-size: 10px;
    }
    .hamburger-menu {
        flex: 0.5;
        cursor: pointer;
        font-size: 24px;
        margin-right: 10px;
        margin-left: 20px;
        margin-top: 0px;
    }
    .info-icon_mobile {
        flex: 0.8;
        font-size: 20px;
        color: #666;
        display: flex;
        justify-content: center;
        cursor: pointer;
    }
    .info-header {
        flex: 2.8;
        justify-content: center;
        display: flex;
        flex-direction: column;
        margin-left: 8%;
    }
    .info-header span {
        line-height: 1;
    }
    .add_to_cart_button_mobile {
        display: block;
        flex: 2;
        font-family: "Staatliches", serif;
        background-color: #E26E6E !important;
        color: white;
        border-radius: 10px !important;
        text-align: center;
        text-decoration: none;
        padding: 8px !important;
        margin-right: 20px;
        border: none;
    }
    .add_to_cart_button_mobile:hover {
        background-color: #333;
    }
    .vista_previa_mobile {
        display: block;
        flex: 2;
        font-family: "Staatliches", serif;
        background-color: #E26E6E !important;
        color: white;
        border-radius: 10px !important;
        text-align: center;
        text-decoration: none;
        padding: 8px !important;
        margin-right: 20px;
        border: none;
    }
    .vista_previa_mobile:hover {
        background-color: #333;
    }
    .sidebar .info-icon_mobile,
    .sidebar #price,
    .sidebar #dimensiones,
    .sidebar .add_to_cart_button .vista_previa .sidebar {
        display: none;
    }
    .fixed-buttons {
        display: none;
    }
    .sidebar {
        display: none;
    }
    .editor {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas: 'header' 'preview' 'sidebar-mobile' 'footer';
        grid-template-rows: auto 1fr auto auto;
    }
    .editor>footer {
        display: none;
    }
    .sidebar-mobile {
        display: block;
        bottom: 0;
        width: 100%;
        z-index: 20;
        grid-area: sidebar-mobile;
    }
    .title-sidebar-mobile {
        display: flex;
        background-color: #E5FAFF;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 6px;
        margin-bottom: -1px;
    }
    .block-sidebar-mobile {
        background-color: #fff;
        display: flex;
        justify-content: center;
        gap: 30px;
        padding-top: 15px;
    }
    .next-section-mobile {
        flex: 1;
        font-family: "Staatliches", serif;
        background-color: #1D7589 !important;
        color: white;
        border-radius: 10px !important;
        text-align: center;
        text-decoration: none;
        padding: 6px !important;
        margin-right: 10px;
        border: none;
    }
    .next-section-mobile:hover {
        background-color: #333;
    }
    .info-icon_mobile-sidebar {
        flex: 0.5;
        font-size: 20px;
        color: #666;
        display: flex;
        justify-content: center;
        cursor: pointer;
    }
    .title-sidebar-mobile h3 {
        font-family: "Staatliches", serif;
        color: #1D7589;
        font-size: 16px;
        margin: 0;
        flex: 2;
    }
    .button-mobile-block {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .info-title-button-mobile-block {
        font-size: 12px;
        font-family: "Staatliches", serif;
        text-align: center;
    }
    .sidebar-mobile-colores {
        bottom: 0;
        width: 100%;
        z-index: 20;
        grid-area: sidebar-mobile;
    }
    .next-section-mobile-back {
        flex: 1;
        font-family: "Staatliches", serif;
        background-color: #1D7589 !important;
        color: white;
        border-radius: 10px !important;
        text-align: center;
        text-decoration: none;
        padding: 6px !important;
        margin-right: 10px;
        border: none;
    }
    .colorPaletteMobile {
        display: flex;
        flex-wrap: wrap;
        padding-bottom: 15px;
        place-content: center;
    }
    .bloque-historial-mobile {
        background-color: #fff;
    }
    .bloque-historial-mobile h5 {
        margin: 0;
        padding-left: 20px;
        padding-top: 15px;
    }
    .bloque-pintar-mobile {
        background-color: #fff;
        padding-left: 10px;
        padding-right: 10px;
        justify-items: center;
    }
    .bloque-pintar-mobile h5 {
        margin: 0;
        padding-top: 15px;
        padding-bottom: 15px;
    }
}
@media only screen and (max-width: 360px) {}
.preview-footer {
    display: none;
}
.overlay-lottie {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.preview-header h2 {
    font-family: "Staatliches", serif;
    font-size: 18px;
    color: #333;
    padding: 0px;
    margin: 0px;
}
.preview-right h3 {
    font-family: "Staatliches", serif;
    font-size: 18px;
    color: #333;
    padding: 0px;
    margin: 0px;
}
.preview-right p {
    font-size: 16px;
    color: #333;
    padding: 0px;
    margin: 0px;
    line-height: 22px;
}
.overlay-lottie>div {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: url(https://pixelarted.com/wp-content/uploads/2024/12/fondobricks.png) repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    z-index: 9999;
    transform: translate(-50%, -50%);
    border-radius: 20px;
}
.overlay-lottie h2 {
    font-family: "Staatliches", serif;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}