table.variations tbody {
    flex-wrap: wrap;
}

@media only screen and (min-width: 769px) {
    .single-product div.main {
        overflow: inherit;
    }

    .woocommerce-order-pay #order_review {
        display: flex;
        flex-wrap: wrap;
    }

    .single-product [id^="product-"] {
        display: flex;
        flex-wrap: wrap;
    }

    .yaydp-pricing-table-wrapper,
    .maxtable {
        max-width: calc(50vw - 40px);
        overflow: auto;
    }

    .cky-notice-btn-wrapper .cky-btn:hover{
	color: var(--accent) !important;
	background: transparent !important;
	border: none !important;
    }

    .desktop {
        display: block;
    }

    .mobile {
        display: none;
    }

    .imagewrapper:hover .hover-img {
        display: block;
    }

    input[type="submit"]:hover {}

    input[type="text"]:hover,
    input[type="tel"]:hover,
    input[type="email"]:hover,
    input[type="password"]:hover,
    select:hover,
    textarea:hover,
    input[type="checkbox"]:hover,
    input[type="radio"]:hover {}

    .color-selector ul li:hover {
        border-color: var(--contrast);
    }

    ul .product:hover .color-guide,
    .banner:hover .button_alt {
        display: block;
    }

    input[type="submit"]:hover,
    a.checkout-button:hover,
    #order_review button:hover,
    a.wc-backward:hover {
        background: var(--contrast) !important;
        color: var(--primary) !important;
    }

    [id^="menu-cats"] a:hover,
    .header a:hover,
    .pildoritas a:hover,
    footer a:hover,
    .woocommerce-breadcrumb a:hover {
        opacity: 0.4;
    }

    .button:hover,
    a.edit:hover {
        background-color: var(--accent);
        color: var(--primary) !important;
    }

    .single_add_to_cart_button:hover,
    .add_to_cart_button:hover {
        color: var(--primary) !important;
        background-color: var(--contrast);
    }

    .header-mini-cart a:hover {
        opacity: 1 !important;
    }

    .header-mini-cart a.button:hover {
        background-color: var(--contrast) !important;
    }

    .header-cart:hover .header-mini-cart {
        display: block;
    }
}

@media only screen and (max-width: 780px) {
    .menu-lang-container {
        margin-top: 45px;
    }

    .desktop-item {
        display: none;
    }

    .number-modifier input[type="number"] {
        pointer-events: none;
    }

    .woocommerce-order-pay .shop_table {
        max-width: 100%;
    }

    .mobile.mobile-item {
        display: flex !important;
        align-items: center;
    }

    .woocommerce-account-page .woocommerce-MyAccount-content p,
    .woocommerce-checkout .form-row,
    .woocommerce-input-wrapper,
    p.woocommerce-form-row {
        max-width: 100%;
    }

    :root {
        --pad: 10px;
    }

    .post-content p,
    .post-content [id^="attachment"],
    .links,
    .links .button {
        width: 100%;
    }

    .links {
        padding: 0 var(--pad);
    }

    .links .button {
        text-align: center;
    }

    .woocommerce-product-gallery__wrapper {
        width: 100% !important;
    }

    .term-description {
        width: 100% !important;
    }

    .related li.product.last,
    .button_alt,
    .newsletter-box form,
    .woocommerce-order {
        display: block !important;
    }

    li.product {
        --lsmall: 1.6;
    }

    .woocommerce-product-details__short-description h4,
    .woocommerce-product-details__short-description h5,
    .woocommerce-product-details__short-description h6 {
        font-size: var(--small) !important;
    }

    .fulled {
        margin-bottom: 20px;
    }

    .woocommerce-product-gallery__wrapper {
        width: auto;
        white-space: nowrap;
        overflow: scroll auto;
        table-layout: fixed;
        max-width: initial;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        display: block !important;
    }

    .woocommerce-product-gallery {
        position: relative;
    }

    .woocommerce-product-gallery:before {
        position: absolute;
        content: "←";
        z-index: 1;
        top: calc(50% - 11px);
        height: 22px;
        left: 20px;
    }

    .woocommerce-product-gallery:after {
        position: absolute;
        content: "→";
        z-index: 1;
        top: calc(50% - 11px);
        height: 22px;
        right: 20px;
    }

    .woocommerce-product-gallery__wrapper div {
        scroll-snap-align: start;
        width: 100%;
        height: 0;
        overflow: hidden;
        padding-bottom: 100%;
        display: inline-block;
        margin-right: 0px;
        position: relative;
    }

    .woocommerce-product-gallery__wrapper div img {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .single-product #main {
        padding: 0 0 40px !important;
    }

    .woocommerce-error {
        padding: 10px 0 !important;
    }

    .desplegable.abierto>a:after {
        content: "-";
    }

    .desplegable a {
        display: block;
    }

    .desplegable>a:after {
        content: "+";
        color: var(--contrast);
        position: absolute;
        right: 20px;
    }

    [id^="menu-mobile"] li {
        margin-bottom: 25px;
    }

    .woocommerce-LoopProduct-link .title-wrap,
    .product-title h2,
    .woocommerce-loop-product__title {
        font-size: var(--small) !important;
        font-weight: 300 !important;
        line-height: var(--lsmall) !important;
        letter-spacing: var(--lssmall) !important;
        font-family: var(--sans) !important;
        text-transform: uppercase;
    }

    * {
        text-size-adjust: none;
    }

    :root {
        --resp: 25px !important;
        --medium: 16px;
        --lmedium: 20px;
    }

    .single div.product .summary {
        margin-top: 0px !important;
        padding: var(--pad);
    }

    .single div.product .woocommerce-product-gallery,
    .single div.product .summary,
    .woocommerce .woocommerce-cart-form,
    .woocommerce .cart-collaterals {
        flex-basis: 100% !important;
    }

    .gallery-item img,
    .gallery-item video {
        height: 400px !important;
    }

    .gallery {
        width: 100%;
        overflow-x: hidden;
        padding: 0 var(--pad);
    }

    .contact-item {
        height: auto;
        margin-bottom: 1px;
    }

    form.checkout.woocommerce-checkout,
    .contacts {
        display: block;
    }

    .woocommerce-MyAccount-content input,
    .woocommerce-MyAccount-content select,
    .woocommerce-MyAccount-content textarea,
    .woocommerce-checkout input,
    .woocommerce-checkout select,
    .woocommerce-checkout textarea {
        max-width: 100%;
    }

    .yaydp-pricing-table-wrapper,
    .maxtable {
        max-width: calc(100vw - 20px);
        overflow: auto;
    }

    ul.products {
        grid-template-columns: 1fr 1fr;
    }

    .mobile,
    .columns,
    li.product.last {
        display: block !important;
    }

    .ui-accordion-content .max50 {
        max-width: 66% !important;
    }

    #bordado-variations {
        max-width: calc(100vw - 20px);
        overflow: auto;
        white-space: nowrap;
    }

    .product-gallery {
        overflow: hidden;
        position: relative;
    }

    .swiper-pagination-fraction,
    .swiper-pagination-custom,
    .swiper-container-horizontal>.swiper-pagination-bullets {
        left: 10px !important;
        text-align: left !important;
    }

    .swiper-pagination-bullet {
        width: 10px !important;
        margin: 0 5px 0 0 !important;
        height: 10px !important;
        opacity: 1 !important;
        background-color: #d0d0d0 !important;
    }

    .swiper-pagination-bullet-active {
        background-color: var(--contrast) !important;
    }

    footer {
        height: auto;
        padding: var(--pad);
    }

    footer,
    [id^="menu-footer"],
    .copy {
        position: static !important;
        display: block !important;
        z-index: 99 !important;
        font-size: var(--small) !important;
    }

    .woocommerce-shop ul.products li:nth-of-type(3) .color-guide,
    .woocommerce-shop ul.products li:nth-of-type(4) .color-guide,
    .woocommerce-category ul.products li:nth-of-type(3) .color-guide,
    .woocommerce-category ul.products li:nth-of-type(4) .color-guide {
        top: 0px;
    }

    [id^="menu-footer"] {
        margin-bottom: calc(var(--bpad) * 2);
    }

    [id^="menu-footer"] li {
        margin-bottom: 15px;
    }

    #contact {
        margin-left: 0;
        margin-bottom: calc(var(--bpad) * 2);
    }

    #contact span:first-child {
        width: 100%;
        display: block;
        margin-bottom: 15px;
    }

    .desktop,
    header [id^="menu-main"] {
        display: none !important;
    }

    .mobile .slide-title {
        position: static !important;
        display: none !important;
    }

    .fullsc {
        display: block !important;
        height: auto !important;
    }

    .fullsc img,
    .fullsc video {
        padding: 0 !important;
    }

    .slide-txt {
        padding: 0 20px !important;
    }

    .framed {
        padding: 40px !important;
    }

    .logged-in header .flexr {
        gap: 12px;
    }

    .logolink {
        margin-top: -6px !important;
        width: 129px !important;
    }

    .menu-main-container {
        display: none !important;
    }

    .menu-mobile,
    .carro {
        font-size: var(--small) !important;
    }

    #customer_details,
    #order_review {
        width: 100% !important;
        margin-right: 0 !important;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .woocommerce-cart table.shop_table.cart thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .woocommerce-cart td.product-thumbnail,
    .woocommerce-cart td.product-thumbnail img {
        width: 70px;
    }

    .woocommerce-cart td.product-name {
        width: auto !important;
    }

    .cart-collaterals {
        margin-top: 0px !important;
    }

    .cart_item,
    .bundle_table_item,
    .cart_item.bundle_table_item {
        margin-bottom: 1px;
    }

    .woocommerce .woocommerce-cart-form {
        margin-top: 0 !important;
    }

    .woocommerce-cart .the_content p {
        font-size: var(--small);
        text-align: center;
        margin-bottom: 0;
    }

    .woocommerce-cart table.shop_table.cart td.product-remove {
        padding-left: 0% !important;
    }

    .woocommerce-cart table.shop_table.cart {
        border: none;
    }

    .woocommerce-cart table.shop_table.cart td.product-spacer {
        border-color: #fff;
        height: 10px;
    }

    .woocommerce-cart table.shop_table.cart td:before {
        white-space: nowrap;
        display: inline-block;
        margin-right: 5px;
    }

    .woocommerce-cart table.cart td.actions {
        display: flex;
        padding: 0 !important;
    }

    table.cart td.actions .coupon {
        padding-left: 0 !important;
    }

    .last-cart-item td:last-child {
        overflow: auto !important;
    }

    .menu-cats-container {
        border-radius: 50px;
        overflow: hidden;
    }

    [id^="menu-cats"],
    .pildoritas ul,
    .woocommerce-MyAccount-navigation ul {
        max-width: calc(100vw - 2px);
        white-space: nowrap;
        overflow: auto;
    }

    .section-scroll {
        overflow-x: hidden;
        display: block;
        height: auto;
    }

    .service-item {
        position: relative;
        width: 100vw;
        height: auto;
        aspect-ratio: 360 / 540;
    }

    .service-content {
        width: 100vw;
        display: block;
    }

    .masonry-item .media-cont {
        width: 100px;
        height: 100px;
        border-radius: var(--pad);
        overflow: hidden;
        margin: var(--pad) 10px var(--pad) var(--pad);
    }

    .page-template-projects .blocks {
        padding-top: calc(var(--header) + var(--header) + 3px);
    }

    .masonry-item {
        background-color: var(--grey);
        border-radius: var(--pad);
        justify-content: flex-end;
        width: 100%;
        display: flex;
        flex-direction: row-reverse;
    }

    .masonry-item .post-title {
        position: static;
        flex-direction: column;
        gap: 5px;
        padding: var(--pad) 0;
        width: auto;
        background-color: transparent;
    }

    .woocommerce-cart .blocks,
    .woocommerce-checkout .blocks {
        padding-top: calc(var(--header) + 2px);
    }

    /*
.woocommerce-cart table.shop_table td.product-thumbnail:before {
	content: "IMAGE";
}
*/

    /*
.woocommerce-cart table.shop_table.cart tr.woocommerce-cart-form__cart-item:nth-child(odd){
	background-color: #e1e1e1;	
}
*/

    .woocommerce-cart table.shop_table.cart tr.woocommerce-cart-form__cart-item {
        display: flex;
        flex-wrap: wrap;
        background-color: var(--grey);
        border-radius: var(--pad);
    }

    .woocommerce-cart-form .shop_table tbody td {
        background-color: transparent !important;
    }

    .woocommerce-cart table.shop_table td.product-remove {
        flex-basis: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .woocommerce-cart table.shop_table td.product-name {
        flex-basis: calc(100% - 130px);
    }

    .woocommerce-cart table.shop_table td.product-thumbnail {
        flex-basis: 100px;
    }

    .woocommerce-cart table.shop_table td.product-price,
    .woocommerce-cart table.shop_table td.product-quantity,
    .woocommerce-cart table.shop_table td.product-subtotal {
        flex-basis: calc(100% / 3);
        display: flex;
        align-items: center;
    }

    .woocommerce-cart table.shop_table td.product-price {
        padding: 0 0 0 var(--pad);
    }

    .woocommerce-cart table.shop_table td.product-subtotal {
        padding: 0 var(--pad) 0 0;
        justify-content: flex-end;
    }

    .woocommerce-cart table.shop_table td.product-quantity {
        justify-content: center;
    }

    /*
.woocommerce-cart table.shop_table td.product-name:before {
	text-align: left;
	content: "PRODUCT";
}
*/

    .plus {
        width: 50%;
        text-align: right;
    }

    .minus {
        width: 50%;
        text-align: left;
    }

    .woocommerce-cart table.shop_table td.product-price:before {
        text-align: left;
        content: "PRICE";
    }

    .woocommerce-cart table.shop_table td.product-quantity:before {
        text-align: left;
        content: "QUANTITY";
    }

    .woocommerce-cart table.shop_table td.product-subtotal:before {
        text-align: left;
        content: "SUBTOTAL";
    }

    .woocommerce-cart table.shop_table td.product-total:before {
        content: "TOTAL";
    }

    .woocommerce-cart .quantity,
    .woocommerce-cart #content .quantity {
        margin: 0;
    }

    .woocommerce-cart table.cart td.actions,
    .woocommerce-cart #content table.cart td.actions {
        display: flex;
        flex-direction: column-reverse;
        margin-bottom: 1px;
    }

    table.cart td.actions .coupon input {
        width: auto;
        margin-bottom: 0;
        flex: 1;
        margin-right: 1px;
    }

    .woocommerce-cart table.cart td.actions .coupon,
    table.cart td.actions .coupon {
        width: 100% !important;
        margin-top: 1px;
    }

    .actions>.button {
        width: 100% !important;
        margin-left: auto !important;
    }

    .woocommerce-checkout #place_order {
        margin: var(--pad) calc(-1 * var(--pad)) 50px calc(-1 * var(--pad));
    }

    .woocommerce-cart .cart-collaterals .cart_totals {
        margin-bottom: 50px;
    }

    .woocommerce-cart table.cart td.actions .button.alt,
    .woocommerce-cart #content table.cart td.actions .button.alt {
        float: left;
        margin-top: 10px;
    }

    #customer_login,
    .u-columns,
    .col2-set,
    .woocommerce-view-order .woocommerce-MyAccount-content {
        display: block;
    }

    .button,
    a.edit,
    .actions button,
    .woocommerce-form-coupon button,
    .searchrow input[type="submit"],
    button {
        padding: 10px 15px;
    }

    .woocommerce-MyAccount-orders thead {
        display: none;
    }

    .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions {
        padding-bottom: 10px;
    }

    .woocommerce-MyAccount-orders tr {
        display: flex;
        flex-direction: column;
    }

    .woocommerce-MyAccount-orders td {
        padding: 10px 10px 0;
    }

    .woocommerce-cart .cart-collaterals .cart_totals {
        float: left;
        width: 100%;
        text-align: left;
    }

    .woocommerce-cart .cart-collaterals .cart_totals th,
    .woocommerce-cart .cart-collaterals .cart_totals td {
        border: 0 !important;
    }

    .woocommerce-cart .cart-collaterals .cart_totals table tr.cart-subtotal td,
    .woocommerce-cart .cart-collaterals .cart_totals table tr.shipping td,
    .woocommerce-cart .cart-collaterals .cart_totals table tr.total td {
        padding-left: 6px !important;
    }

    .woocommerce-cart table.shop_table tr.cart-subtotal td,
    .woocommerce-cart table.shop_table tr.shipping td,
    .woocommerce-cart table.shop_table tr.total td,
    .woocommerce-cart table.shop_table.order_details tfoot th,
    .woocommerce-cart table.shop_table.order_details tfoot td {
        padding-left: 6px !important;
        border: 0 !important;
    }

    .woocommerce-cart table.shop_table tbody {
        padding-top: 10px;
    }

    .woocommerce .col2-set .col-1,
    .woocommerce-cart .col2-set .col-1,
    .woocommerce .col2-set .col-2,
    .woocommerce-cart .col2-set .col-2,
    .woocommerce form .form-row-first,
    .woocommerce form .form-row-last,
    .woocommerce-cart form .form-row-first,
    .woocommerce-cart form .form-row-last {
        float: none;
        width: 100%;
    }

    .woocommerce .order_details li,
    .woocommerce-cart .order_details li {
        clear: left;
        margin-bottom: 10px;
        border: 0;
    }

    .woocommerce-order-pay form {
        width: 100%;
    }

    .woocommerce-lost-password form {
        max-width: 100%;
    }

    .product-tags {
        margin-bottom: calc(var(--bpad) - 10px);
    }

    .product-tags li {
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 500px) {
    li.product {
        flex-basis: 100% !important;
        margin-right: 0 !important;
    }
}

/*	Retina media query.
	Overrides styles for devices with a 
	device-pixel-ratio of 2+, such as iPhone 4.
-----------------------------------------------    */

@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
    .container {}
}
