.w-button input {
    position: absolute;
}

.photo-section {
    width: 60%;
    padding: 1em;
}

.attr-section {
    width: 40%;
    padding: 1em;
}

.w-form-group {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.w-button {

    position: relative;
    border: 1px solid #e3e3e3;
}

.w-button label,
.w-button input {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.w-button input[type="radio"] {
    opacity: 0.011;
    z-index: 80;
    position: absolute;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}

.w-button input[type="radio"]:checked+label {
    background: rgb(237, 17, 101);
    color: #ffffff;
}

.w-button input[type="radio"].disabled+label {
    background: #e3e3e3;
    color: #ffffff;
}


.w-button label {
    cursor: pointer;
    z-index: 1;
    line-height: 1.6em;
    position: relative;
    font-size: 0.8em;
    margin: 0;
    padding: 1em;
}

.w-form-group-el label {
    width: 100%;
}

.form-wrapper.frame-wrapper .w-form-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 0.5em;
}

.frame-wrapper .w-button input[type="radio"]:checked+label {
    background: #ffffff;
    color: #676767;
    border: 4px solid rgb(237, 17, 101);
}

.frame-wrapper .label {
    text-align: left;
}

.frame {
    position: absolute;
    top: 0;
}

.woo-single-gallery .swiper-slide.zoom:last-child {
    pointer-events: none;
}

.product-category-posters .woo-single-gallery .swiper-slide.zoom:last-child .woocommerce-product-gallery__image img,
.product-category-pinakes-se-kamva .woo-single-gallery .swiper-slide.zoom:last-child .woocommerce-product-gallery__image img {
    position: relative;
    left: 50%;
    margin-top: 50%;
    transform: translate3d(-50%, -50%, 0);
}

body:not(.product-category-poliptixoi-set) .product-category-pinakes-se-kamva .woo-single-gallery .minimog-thumbs-swiper-wrap .swiper-slide:last-child,
body:not(.product-category-poliptixoi-set) .product-category-posters .woo-single-gallery .minimog-thumbs-swiper-wrap .swiper-slide:last-child {
    display: none !important;
}

.minimog-size-guide__table img {
    height: 75vh;
    z-index: 1;
    position: relative;
}

div#sizeGuideImages {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

div#variationImages {
    position: absolute;
    top: 35%;
    left: 50%;
    width: 100%;
    transform: translate3d(-50%, -50%, 0);
}

img#sizeGuideMain,
img#sizeGuideTrans {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: 25.5%;
    height: auto;
}

.isPanoramic img#sizeGuideMain,
.isPanoramic img#sizeGuideTrans {
    width: 26.5%;
}

.isPoster img#sizeGuideMain,
.isPoster img#sizeGuideTrans {
    width: 24.5%;
}

p#priceGuideWrapper {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-top: 1em;
}

div#variationsGuide,
div#variationFrames {
    position: absolute;
    top: 0rem;
    right: 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.variationGuideWrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

div#variationFrames {
    top: unset;
    bottom: 0rem;
    scale: 0.95;
}

.variationGuide {
    border: 1px solid #e3e3e3;
    text-align: center;
    font-size: 1.5rem;
    line-height: 3rem;
    cursor: pointer;
}

.variationGuide.active {
    background: rgb(237, 17, 101);
    color: #ffffff;
}

.variationLabel {
    text-align: center;
    font-weight: 700;
}

#variationFrames .w-form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 132px;
}

.w-sticky-color {
    width: 30px;
    height: 30px;
}

canvas#imgCanvas {
    width: 100%;
}



/* .product-action.hint--bounce.hint--top.woocommerce_loop_add_to_cart_wrap {
    display: none;
} */

.apto_id_to_sku {
    padding: 0.5em 0;
    font-weight: 700;
    font-size: 1.3em;
}

.apto_id_to_sku span {
    color: #000000;
}

.entry-product-meta .meta-item.sku_wrapper {
    display: none;
}

.entry-product-meta.product_meta a[href="https://sticky.gr/product-tag/polyptychos/"] {
    display: none;
}


.page-sidebar-inner.tm-sticky-column,
.page-sidebar-content-wrap,
.page-sidebar-content,
div#prdctfltr-4,
.widget-content,
.widget-content-inner,
.prdctfltr_wc,
form.prdctfltr_woocommerce_ordering {
    width: inherit;
}

.page-sidebar-content-wrap {
    width: 95%;
}

span.prdctfltr_selected_title {
    text-wrap: balance;
}

.page-sidebar {
    display: none;
}


.product_cat-tapetsaries .entry-product-quantity-wrapper,
.product_cat-tapetsaries .vi-sctv-price,
.product_cat-tapetsaries~#sticky-product-bar .woocommerce-add-to-cart {
    display: none;
}


@media (max-width: 850px) {





    .minimog-size-guide th {
        border: none;
        position: relative;
    }

    .minimog-modal.minimog-size-guide .modal-content {
        width: 100%;
        max-width: unset;
    }

    .minimog-modal.minimog-size-guide .button-close-modal {
        right: 20px;
    }

    .minimog-size-guide__table img {
        height: auto;
    }


    div#sizeGuideImages {
        position: relative;
        margin-top: -3em;
    }

    .modal-content-inner {
        padding: 0;
    }

    div#variationsGuide,
    div#variationFrames {
        position: relative;
        right: unset;
        top: unset;
    }

    div#variationFrames {
        bottom: unset;
    }

    .variationGuideWrapper {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    #variationFrames .w-form-group {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        max-width: unset;
        gap: 0.5rem;
    }


    p#priceGuideWrapper {
        margin: 0.5em;
    }

    table.minimog-size-guide__table {
        margin-top: 0;
    }

    .form-wrapper.frame-wrapper .w-form-group {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0.5em;
    }


    .minimog-size-guide__table th>img {
        margin-top: 4em;
    }

}

@media (min-width: 600px) and (max-width: 850px) {
    #variationFrames .w-form-group {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    }
}

@media only screen and (max-width: 1900px) and (min-width: 851px) {

    div#variationsGuide {
        right: calc(1rem + 140px);
    }

    div#variationFrames {
        top: 3rem;
        right: 1rem;
    }

    p#priceGuideWrapper {
        margin-top: -1em;
        left: 0;
        position: fixed;
        width: 100%;
    }
}


.yith-ctpw-front td.product-name {
    display: inline-grid;
    grid-template-columns: 5vw 10vw 2vw 25vw;
    align-items: center;
    justify-content: left;
    gap: 3em;
}

@media (max-width: 767px) {

    table.minimog-size-guide__table {
        margin-top: -4em;
    }

    .yith-ctpw-front .order_item {
        display: grid !important;
        grid-template-columns: 5fr 1fr;
        grid-template-rows: 1fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        padding-bottom: 3em !important;

    }

    .yith-ctpw-front td.product-name {
        display: grid !important;
        grid-template-columns: 20% 80%;
        grid-template-rows: 40% 20% 40%;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }

    .yith_ctpw_thumb {
        grid-area: 1 / 1 / 4 / 2;
        padding-right: 5px;
        display: block !important;
    }

    .yith-ctpw-front td.product-name a:not(.yith_ctpw_thumb) {
        grid-area: 1 / 2 / 2 / 3;
        font-size: 14px;
        line-height: 1.5em;
        padding: 0 0 0 2em;
        font-weight: bold;
    }

    .yith-ctpw-front td.product-name .product-quantity {
        grid-area: 2 / 2 / 3 / 3;
        padding: 0 0 0 2em;
        margin: 0 !important;
        font-size: 16px;
        text-align: left;
        vertical-align: middle;
        color: #ed1464;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .yith-ctpw-front .wc-item-meta {
        grid-area: 3 / 2 / 4 / 3;
        padding: .5em 0 0 2em !important;
        margin: 0 0 0 5px;
        font-size: 14px;
        text-align: left !important;
    }

    .yith-ctpw-front .wc-item-meta-label {
        line-height: 1.5em;
    }

    .yith-ctpw-front .wc-item-meta li {
        text-align: left !important;
    }

    .yith-ctpw-front .wc-item-meta p {
        margin: 12px 0 0 12px;
    }

    #yctpw_order_details.align-center * {
        text-align: left !important;
    }

    .yith-ctpw-front .order_item .woocommerce-table__product-total {
        display: flex;
        align-items: center;
    }
}

.yith-ctpw-front ul.yctpw-item-meta.wc-item-meta {
    line-height: 0em;
    list-style-type: none
}

.yith-ctpw-front ul.yctpw-item-meta.wc-item-meta li {
    background-color: #ffffff;
}

.yith-ctpw-front .order_details tbody {
    border-top: 2px solid;
    border-bottom: 2px solid;
}

.woocommerce-product-gallery .minimog-thumbs-swiper-wrap .swiper-thumbnail-wrap {
    border: none !important;
}

.related.products .swiper-slide .background-color-expand .woocommerce_loop_add_to_cart_wrap {
    display: none !important;
}

.related.products .swiper-slide .background-color-expand {
    height: 100% !important;
}

/* .woocommerce-cart-form .cart-totals-table .cart-totals-row.cart-shipping.woocommerce-shipping-totals.shipping {
    display: none;
}

.woocommerce-cart-form .cart-totals-table .shipping-pickup-store {
    display: none;
} */
/* Remove the last picture of the swiper for canvases and posters */
.product_cat-pinakes-se-kamva:not(.product_tag-polyptychos) .swiper-container-thumbs .swiper-slide:last-child,
.product_cat-posters .swiper-container-thumbs .swiper-slide:last-child {
    display: none !important;
}

div#variationContainer {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.product-wrapper .product-thumbnail .woocommerce_loop_add_to_cart_wrap {
    display: none;
}

@media (max-width: 543px) {
    .sticky-product-info {
        display: flex !important;
        flex-direction: column;
    }

    .container-fluid .tm-button-wrapper {
        margin-top: 1em;
        width: 100%;
    }
}

@media (max-width: 490px) {
    .container-fluid {
        padding-left: var(--bs-gutter-x, 5em) !important;
    }
}

/* Hide bottom sticky bar on wallpapers category */
.sticky-product.product_cat-tapetsaries {
    display: none;
}

/* Custom css to change the - to + on the filter sidebar */
.page-sidebar .prdctfltr_filter:not(.collapsed) .widget-title.heading::after {
    content: '\f068'
}

.page-sidebar .prdctfltr_filter .widget-title.heading::after {
    content: '\f067';
    color: gray;
}

.woocommerce-ResetPassword .woocommerce-form-row {
    width: 100% !important;
}

.wishlist-btn.style-01 a,
.wishlist-btn.style-02 a,
.wishlist-btn.style-03 a,
.wishlist-btn.style-04 a {
    background-color: transparent !important;

}

.wishlist-btn.style-01 a:hover,
.wishlist-btn.style-02 a:hover,
.wishlist-btn.style-03 a:hover,
.wishlist-btn.style-04 a:hover {
    background-color: #ff0066 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    border: none !important;
}

.wishlist-btn.style-01 a:before,
.wishlist-btn.style-02 a:before,
.wishlist-btn.style-03 a:before,
.wishlist-btn.style-04 a:before {
    font-weight: 400 !important;
}

.wishlist-btn.style-01 a:hover .woosw-btn-icon,
.wishlist-btn.style-02 a:hover .woosw-btn-icon,
.wishlist-btn.style-03 a:hover .woosw-btn-icon,
.wishlist-btn.style-04 a:hover .woosw-btn-icon {
    color: #fff !important;
}

.wishlist-btn.style-01 a.woosw-added,
.wishlist-btn.style-02 a.woosw-added,
.wishlist-btn.style-03 a.woosw-added,
.wishlist-btn.style-04 a.woosw-added {
    background-color: #ff0066 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    border: none !important;
}

.wishlist-btn.style-01 a.woosw-added:before,
.wishlist-btn.style-02 a.woosw-added:before,
.wishlist-btn.style-03 a.woosw-added:before,
.wishlist-btn.style-04 a.woosw-added:before {
    box-shadow: none !important;
    text-decoration: none !important;
    border: none !important;
    color: white !important;
    font-weight: 900 !important;
}

.woocommerce-order.apto-thankyou {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.woocommerce-bacs-bank-details {
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background-color: #fafafa;
    width: 60%;
    transition: box-shadow 0.1s ease-in;
    will-change: box-shadow;
    border: 3px dashed #ccc;
}

.woocommerce-bacs-bank-details:hover {
    box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.2);
}

.woocommerce-bacs-bank-details ul {
    list-style: none;
}

.woocommerce-bacs-bank-details h2 {
    padding-top: 1em;
    font-size: 24px;
}

.woocommerce-bacs-bank-details h3 {
    font-size: 20px;
}

/* VALTO SWSTA AYTO */
.apto-thankyou .apto-coupon-box {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.apto-thankyou .apto-coupon-box:hover {
    box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.2s ease-in;
}

.woocommerce-bacs-bank-details li:not(.bank_name) strong {
    color: #ff0066;
}

@media (max-width: 768px) {
    .woocommerce-bacs-bank-details {
        width: 100%;
    }

    .minimog-product:not(.style-list).group-style-01 .product-actions,
    .minimog-product:not(.style-list).group-style-01 .product-actions,
    .minimog-product:not(.style-list).group-style-01 .product-actions,
    .minimog-product:not(.style-list).group-style-01 .product-actions {
        pointer-events: unset;
        opacity: 1;
        transform: unset;
        -webkit-transform: unset;
        top: 3%;
        right: 3%;
        left: unset;
        width: 32px;
        height: 32px;
    }

    body .product .product-thumbnail .product-action:not(.woocommerce_loop_add_to_cart_wrap),
    body .product .product-thumbnail .product-actions {
        display: flex !important;
        /* or block/inline-flex depending on layout */
    }

    .minimog-product .product-wrapper .product-thumbnail div.product-actions a {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        backdrop-filter: blur(5px);
    }

    .minimog-product .product-wrapper .product-thumbnail div.product-actions a::before {
        font-size: 14px;
    }

    .minimog-product .product-wrapper .product-thumbnail div.product-actions .product-action::after,
    .minimog-product .product-wrapper .product-thumbnail div.product-actions .product-action::before {
        display: none;
    }

    body .minimog-product .product-thumbnail .product-action[data-hint="Add to Cart"] {
        display: none;
    }
}

@media (max-width: 548px) {
    #add-color-modal .modal-content {
        scale: 0.9;
    }
}

.apto-price-on-sale {
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    color: #666 !important;
}

.apto-price-on-sale-actual {
    color: rgb(255, 0, 102) !important
}

.single_add_to_cart_button {
    pointer-events: none;
}

/* Editing the cart page based on id if the page is changed
we would also need to adjust these rules */

body.page-id-7 .cart-subtotal,
body.page-id-7 .cart-shipping,
body.page-id-7 .includes_tax,
body.page-id-7 .shipping-pickup-store,
body.page-id-7 .cart-totals-row.cart-totals-fee {
    display: none;
}


body.page-id-7 .cart-totals-row.order-total th::after,
body.page-id-7 .order-savings th::after {
    content: ':'
}

#popup-fly-cart .cart-subtotal,
#popup-fly-cart .cart-shipping,
#popup-fly-cart .includes_tax,
#popup-fly-cart .shipping-pickup-store {
    display: none;
}


#popup-fly-cart .cart-totals-row.order-total th::after,
#popup-fly-cart .order-savings th::after {
    content: ':'
}

.apto-price-strikethrough {
    color: #666;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.apto-price-normal {
    color: #000;
}

.apto-price-sale {
    color: #ff0066;
}

.woo-single-images .entry-product-badges {
    position: absolute !important;
}


.woo-single-images .entry-product-badges>div {
    background: rgba(0, 0, 0, 0.7) !important
}

.col-woo-single-summary .entry-product-badges {
    display: none !important;
}

.primary-nav-rendering .page-navigation#page-navigation {
    visibility: visible;
    opacity: 1;
}

.level-2.sub.item-current.tail.current {
    display: none;
}


.woosw-item--price {
    display: none;
}

@keyframes customRotate {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

#add-dimensions-button {
    animation: customRotate 0.8s infinite;
    /* Run the pulse animation every 2 seconds */
}