html {
    overflow-x:hidden;
}

body {
    font-family: 'Mulish', sans-serif;
    overflow-x: hidden;
}

p {
    margin-block-end: .5rem;
}

.woocommerce-notices-wrapper,
.woocommerce-message,
.woocommerce-cart .entry-title {
    display: none;
    visibility: hidden;
    height: 0;
    width: 0;
    user-select: none;
    pointer-events: none;
}

.elementor-menu-cart--items-indicator-bubble .elementor-menu-cart__toggle .elementor-button-icon .elementor-button-icon-qty[data-counter] {
    background-color: #DB8B34 !important;
}

h2.woocommerce-loop-product__title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.8 !important;
    min-height: unset !important;
    width: 100%;
    max-width: 100%;
}

.woocommerce ul.products li.product a img {
    margin: 0;
}

.woocommerce ul.products li.product .price {
    display: flex;
    justify-content: center;
    column-gap: 10px;
    font-size: 16px;
    color:#DB8B34;
}

.woocommerce ul.products li.product .price del {
    order: 2;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

.page .page-header {
    padding: 30px 35px;
}

.page .page-header .entry-title {
    margin: 0 auto;
    text-align: center;
    font-size: 30px;
    letter-spacing: 2px;
    line-height: 49px
}

footer .subscribe-form {
    margin-top: 12px;
    max-width: 80%;
}

footer .subscribe-form form {
    display: flex;
    flex-wrap: nowrap;
}

footer .subscribe-form input {
    border: 1px solid #e4e4e4;
    border-radius: 0;
    color: #1e0909;
    display: inline-block;
    flex: 1;
    font-weight: 400;
    padding: 0 11px;
}

footer .subscribe-form button {
    background-color: #DB8B34;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    font-weight: 700;
    height: 44px;
    letter-spacing: 1px;
    line-height: 22px;
    min-width: 140px;
    padding: 12px 24px;
    text-align: center;
    vertical-align: top;
    white-space: nowrap;
    border-radius: 0;
}

footer .main_button,
.main_button {
    background-color: rgba(212, 153, 15, 1) !important;
    color: #FFFFFF !important;
    border-color: transparent !important;
}

#content .woocommerce-pagination {
    display: flex;
    gap: 5px;
    margin-top: 10px;
    flex-wrap: wrap;
    margin: 40px 0;
    text-align: center;
    justify-content: center;
}

#content .woocommerce-pagination .page-numbers.current {
    border-bottom: 4px solid #454545;
    color: #555 !important;
    background: none;
}

#content .woocommerce-pagination .page-numbers {
    font-size: 12px;
    line-height: 1;
    padding: 16px min(2vw, 28px);
    color: #555
}

.sales-label {
    align-items: center;
    color: var(--tag-label-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 1%;
    position: absolute;
    right: 0;
    top: 0;
    transform: scale(.9);
    transform-origin: right top;
    width: var(--tag-label-width);
    z-index: 10;
}

.sales-label--text {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 3px 0 auto;
    position: absolute;
    width: -webkit-max-content;
    width: max-content;
}

.sales-label--image {
    height: 100%;
    width: 100%;
}

.sales-label--image img {
    height: 100%;
    min-height: 66px;
    min-width: 66px;
    width: 100%;
}

.sales-label--text-save {
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 1;
    margin: 0;
}

.sales-label--text-price {
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 1;
    padding: 0 8px;
    margin: 0;
}

/* Barrage CSS */
#barrage-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-family: inherit;
    max-width: 240px;
    width: 240px;
    height: 90px;
    overflow: hidden;
    transform: translateX(-120%);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 0;
    /* Initially hidden to prevent flash */
}

#barrage-container.slide-in {
    display: block !important;
    transform: translateX(0);
    opacity: 1;
}

#barrage-container.slide-out {
    transform: translateX(-120%);
    opacity: 0;
}

.lastsales {
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
    text-decoration: none;
    color: inherit;
    background: transparent;
    height: 100%;
}

.lastsales:hover {
    background: transparent;
}

.lastsales-close-div {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    color: #ccc;
    z-index: 10;
    width: 20px;
    height: 20px;
    text-align: center;
}

.barrage-img {
    width: 86px;
    height: 86px;
    margin: 2px 10px 2px 2px;
    object-fit: cover;
    border-radius: 0;
    flex-shrink: 0;
}

.lastsales-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
    /* Fix flex text overflow */
}

.lastsales-product-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lastsales-customer-name {
    font-size: 12px;
    color: #ccc;
    margin-bottom: 2px;
}

.lastsales-purchased {
    font-size: 11px;
    color: #aaa;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.lastsales-purchased-icon {
    color: #28a745;
    font-size: 12px;
}

/* Recent Viewed Products Widget */
.application-browsing-record {
    position: fixed;
    top: 30%;
    right: 0;
    z-index: 9998;
    font-family: inherit;
}

.br-wrap {
    position: relative;
}

.br-pop-btn {
    background-color: #000;
    color: #fff;
    padding: 15px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    border-radius: 4px 0 0 4px;
    box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.2);
    height: auto;
    width: 40px;
    transition: background-color 0.3s;
}

.br-pop.active .br-pop-btn {
    background-color: #333;
}

.br-icon-history {
    font-size: 18px;
}

.br-btn-name {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 5px 0;
    white-space: nowrap;
}

.br-toggle-icon {
    font-size: 14px;
    transition: transform 0.3s;
}

.br-toggle-icon img {
    height: 20px;
    width: 20px;
}

.br-pop.active .br-toggle-icon {
    transform: rotate(90deg);
}

.pc-br-content {
    position: absolute;
    top: 0;
    right: 100%;
    /* To the left of the button */
    width: 280px;
    background: #fff;
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px 0 0 4px;
    padding: 15px;
    display: none;
    /* Hidden by default */
    margin-right: 0px;
}

.br-pop.active .pc-br-content {
    display: block;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.custom-swiper-wrap {
    position: relative;
}

.br-navigation {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
    gap: 5px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.br-nav-btn {
    border: none;
    padding: 4px 10px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 3px;
    color: #333;
    transition: background 0.2s;
}

.br-nav-btn:hover {
    color: #DB8B34;
    background-color: unset;
}

.br-nav-btn:focus:hover {
    color: #FFF;
}

.br-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    color: #333;
}

.custom-swiper-wrap button:focus {
    background-color: #d4990f;
}

.custom-swiper-wrap .discount-label {
    display:none;
}

.custom-swiper {
    overflow: hidden;
    height: 300px;
    /* 3 items * 100px */
}

.custom-swiper-content {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease-out;
}

.br-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    height: 100px;
    /* Fixed height for calculation */
    box-sizing: border-box;
}

.br-item:last-child {
    border-bottom: none;
}

.add-card-height {
    display: flex;
    gap: 12px;
    height: 100%;
    align-items: center;
}

.item_gallery {
    width: 70px;
    flex-shrink: 0;
}

.imgCard img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.item_info {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item_name {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item_name a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.item_name a:hover {
    color: #DB8B34;
}

.item_price {
    font-weight: bold;
    color: #DB8B34;
    font-size: 14px;
    display: flex;
    column-gap: 10px
}

.item_price del {
    color: #999;
    font-size: 14px;
    font-weight: normal;
    margin-right: 5px;
    order: 2
}

.item_price ins {
    text-decoration: none;
}

/* Custom Sorting Widget */
.macxs-custom-sort {
    position: relative;
    margin-bottom: 20px;
    z-index: 10;
}

/* Desktop: Top Right */
@media (min-width: 768px) {
    .macxs-custom-sort {
        display: flex;
        justify-content: flex-end;
    }

    .sort-select {
        position: relative;
        min-width: 200px;
    }
}

/* Mobile: Full Width is default block behavior, but let's ensure */
@media (max-width: 767px) {
    .macxs-custom-sort {
        width: 100%;
    }

    .sort-select-btn {
        width: 100%;
        justify-content: space-between;
    }

    .page .page-header .entry-title {
        font-size: 18px;
        line-height: 24px;
    }

    .page .page-header {
        padding: 20px 15px;
    }
}

.list-sort {
    margin-bottom: 20px;
}

.sort-select {
    position: relative;
    /* Ensure dropdown positions correctly */
}

.sort-select-btn {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    padding: 10px 0;
    cursor: pointer;
    font-size: 14px;
    width: auto;
    justify-content: flex-end;
    gap: 10px;
    color: #000;
    transition: color 0.3s;
    margin-left: auto;
}

.sort-select-btn:hover {
    color: #DB8B34;
    background-color: unset;
}

.sort-select-btn:focus {
    background-color: unset;
    color: #DB8B34;
}

.sort-label {
    text-transform: uppercase;
    font-weight: 600;
}

.sort-label:focus {
    color: #000;
}

.close-sort-btn {
    color: #000;
}

.close-sort-btn:hover {
    background-color: unset;
}

.athena_hidden {
    display: none;
}

.athena_shortSort_mb {
    display: none;
}

.mb-close {
    display: none;
}

.mb-close {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mb-close button {
    position: absolute;
    left: 15px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.mb-close .Icon--close {
    width: 16px;
    height: 16px;
}

@media (max-width: 767px) {
    .mb-close {
        display: flex;
    }

    .sort-select-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 15px;
        background: #fff;
        border: 1px solid #e5e5e5;
        font-size: 16px;
    }

    .sort-label {
        font-weight: 300;
        letter-spacing: 1px;
        font-family: "Mulish", Sans-serif;
    }

    .br-pop-btn {
        padding: 5px 10px;
        width: 30px;
    }
}

.select-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.3s;
}

.sort-select.active .select-arrow {
    transform: rotate(180deg);
}

/* Dropdown Content */
.select-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 250px;
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    /* Increase z-index */
    margin-top: -1px;
    /* Overlap border */
}

/* Mobile Overlay Style */
@media (max-width: 767px) {
    .select-content {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border: none;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
        z-index: 10000;
        transform: translateY(100%);
        transition: transform 0.3s;
        display: block !important;
        /* Always block but hidden via transform */
    }

    .select-content.showSelectContent {
        transform: translateY(0);
    }

    .PageOverlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        display: none;
    }

    .PageOverlay.showPageOverlay {
        display: block;
    }
}

/* Desktop Dropdown Style */
@media (min-width: 768px) {
    .PageOverlay {
        display: none !important;
    }

    .select-content.showSelectContent {
        display: block;
    }
}

.select-content-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.select-content-list li {
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
    color: #333;
}

.select-content-list li:hover {
    background: #f5f5f5;
}

.select-content-list li.actived {
    font-weight: bold;
    background: #f9f9f9;
    color: #000;
}

.close-off-canvas {
    flex-direction: row;
    margin-left: auto !important;
}

.close-off-canvas .elementor-icon-wrapper {
    height: 20px !important;
}

/* Product Hover Image */
.woocommerce-loop-product__link {
    position: relative !important;
    display: block;
}

.macxs-hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 9;
}

.woocommerce-loop-product__link:hover .macxs-hover-img {
    opacity: 1;
}

/* Mobile Support: Touch to swap */
.woocommerce-loop-product__link.is-touched .macxs-hover-img {
    opacity: 1;
}

/* Currency & Language Switcher Styles */
.macxs-currency-lang-widget {
    display: flex;
    align-items: center;
    gap: 20px;
}

.selectpricewrap,
.langs_div_class {
    position: relative;
    cursor: pointer;
}

.vogue_secondary_title,
.vogue_select_lang {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    padding: 5px 10px;
}

.country_icon img {
    vertical-align: middle;
    width: 24px;
    height: auto;
}

/* Dropdowns */
.pricelistbox,
.popBox {
    position: absolute;
    top: 100%;
    left: 0;
    /* Or right depending on placement */
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    min-width: 150px;
    display: none;
    /* Hidden by default */
    z-index: 1000;
    padding: 10px 0;
}

/* Show dropdown on hover */
.selectpricewrap:hover .pricelistbox,
.langs_div_class:hover .popBox {
    display: block;
}

/* Currency List - Two Columns */
.pricelist {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 350px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-width: 300px;
    /* Wider for two columns */
}

/* Language List - Show All (No Scroll) */
.lang_options {
    list-style: none;
    margin: 0;
    padding: 0;
    /* Removed max-height and overflow for showing all */
}

.pricelist li,
.lang_options li {
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 13px;
    white-space: nowrap;
    /* Prevent wrapping */
}

.pricelist li:hover,
.lang_options li:hover {
    background: #f5f5f5;
    color: #DB8B34;
    /* Highlight color */
}

.pricelist li img {
    width: 24px;
    height: auto;
    border-radius: 2px;
}

/* Mobile Drawer (if needed) */
.drawer-menu__button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 767px) {
    .macxs-currency-lang-widget {
        gap: 10px;
        flex-direction: column;
        /* Force vertical stacking */
        align-items: flex-start;
        /* Align left */
    }

    .country_icon {
        display: block;
    }

}

@media (min-width: 768px) and (max-width: 1024px) {

    /* Tablet specific adjustments if needed */
    .macxs-currency-lang-widget {
        gap: 15px;
    }
}

/* Collapse Menu Widget */
.macxs-collapse-menu-widget {
    margin-bottom: 15px;
}

.macxs-collapse-header {
    cursor: pointer;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.macxs-collapse-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.macxs-collapse-icon {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    transform: rotate(-90deg);
}

.macxs-collapse-header.active .macxs-collapse-icon {
    transform: rotate(0deg);
}

.macxs-collapse-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding-bottom: 0;
    /* Initially 0 to avoid spacing when collapsed */
}

.macxs-collapse-content.active {
    /* Max-height will be set via JS, or a large enough value */
    padding-bottom: 15px;
    transition: max-height 0.4s ease-in;
}

.macxs-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.macxs-menu-list li {
    margin-bottom: 8px;
}

.macxs-menu-list li:last-child {
    margin-bottom: 0;
}

.macxs-menu-list li a {
    text-decoration: none;
    color: #555;
    transition: color 0.2s;
    font-size: 14px;
}

.macxs-menu-list li a:hover {
    color: #000;
}

.single-product .elementor-menu-cart__container.elementor-lightbox {
    display:none;
    visibility:hidden;
    user-select:none;
    pointer-events:none; 
}

/* Product Data Card Widget */
.single-product .price {
    display: flex;
    align-items: baseline;
    column-gap: 10px;
    margin-bottom: 0;
    line-height: 1.5;
}

.single-product .price del {
    order: 2
}

.single-product .price ins {
    text-decoration: none;
}

.single-product .ca-top .page_text_font {
    display: flex;
    line-height: 1;
    margin: 12px 0;
    text-align: left;
    align-items: center;
    white-space: nowrap;
    font-size: 14px;
}

.single-product .ca-top span {
    padding: 3px 0;
    margin-left: 8px;
    vertical-align: middle;
    font-size: 14px;
    font-family: 'Mulish', sans-serif;
}

.single-product .macxs-ships-delivery-widget svg {
    margin-right: 12px;
    align-self: center;
}

.single-product .macxs-ships-delivery-widget .ship-loc {
    color: #4A7FC2;
    font-size: 14px;
    font-weight: 700;
    white-space: normal;
    line-height: 1.2;
}

.single-product .macxs-ships-delivery-widget .est-time {
    color: #D4990F;
    font-size: 14px;
    font-weight: 700;
}

/* Product Discount Label */
.single-product .elementor-widget-woocommerce-product-price {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.discount-label {
    background-color: rgb(217, 0, 27);
    color: rgb(255, 255, 255);
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    vertical-align: middle;
    font-weight: 700;
}

.discount-label__save {
    margin-right: 4px;
}

/* Stock Progress Bar */
.ca-stock>div {
    margin: 10px 0;
}

.progress_container {
    height: 10px;
    border-radius: 24px;
    background-color: #E3E8EF;
    width: 100%;
}

.progress_bar {
    border-radius: 24px;
    height: 10px;
    transition: all 2s linear;
}

.stock_extra {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stock_extra .affix {
    background: linear-gradient(90deg, rgba(236, 137, 105, 1) 0%, rgba(235, 72, 63, 1) 100%);
    border-radius: 4px;
    color: #fff;
    padding: 4px 8px;
    word-break: initial;
    font-size: 14px;
}

/* product variations */
.elementor-product-variable .variations {
    color: #000;
}

.elementor-product-variable .variations tr {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 20px;
}

.elementor-product-variable .variations tr th {
    background-color: unset;
    padding: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 8px;
}

.elementor-product-variable .variations tr td {
    background-color: unset;
    padding: 0;
    font-size: 14px;
}

.single-product .sell {
    font-size: 14px;
    color: #2f2f2f;
}

.single-product .sell .sell-item {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    column-gap: 12px;
}

.single-product .sell .sell-item p {
    margin: 0;
    padding: 0;
}

.single-product .sell .sell-item img {
    height: 18px;
    width: 18px;
}

.single-product .sps-out-of-stock {
    background-color: #f4f5f6 !important;
    color: #bbbdc3;
    cursor: not-allowed !important;
}

.single-product .sps-out-of-stock:after {
    background: linear-gradient(to bottom right, #0000 48.5%, #d6d7da 49.5%, #d6d7da 36.5%, #0000 51.5%);
    ;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.single-product .woocommerce-variation-add-to-cart.variations_button {
    flex-direction: column;
    row-gap: 12px;
}

.single-product .woocommerce-variation-add-to-cart.variations_button .single_add_to_cart_button {
    margin-inline-start: 0 !important;
}

.single-product .product_qty_box label.secondary_title {
    color: #1e0909;
    font-size: 15px;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    line-height: 1.5;
}

.single-product .product_qty {
    display: inline-flex;
    align-items: center;
}

.single-product .product_qty button {
    border-radius: 0;
    background: #fffc;
    border: 1px solid #1113;
    line-height: 34px;
    overflow: hidden;
    padding: 0;
    margin-inline-start: 0 !important;
    height: 36px;
    width: 36px;
}

.single-product .product_qty button.minus {
    border-right: none;
}

.single-product .product_qty button.add {
    border-left: none;
}

.single-product .product_qty button img {
    padding: 10px;
}

.single-product .product_qty input {
    -webkit-appearance: none !important;
    background: #f5f5f5;
    border: 1px solid #1113;
    border-radius: unset;
    color: #555;
    cursor: pointer;
    font-size: 13px;
    line-height: 34px;
    margin: 0;
    overflow: hidden;
    padding: 2px;
    text-align: center;
    width: 36px;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 36px;
}

.single-product .disable_minus {
    cursor: not-allowed;
}

.single-product button.disable_minus img {
    filter: opacity(0.3);
}

.woocommerce div.product form.cart .variations {
    margin-bottom: 0;
}

/* Elementor Product Gallery Optimization */
.macxs-optimized-gallery .woocommerce-product-gallery {
    display: flex;
    flex-direction: column;
}

.macxs-optimized-gallery .woocommerce-product-gallery__image--placeholder {
    margin-bottom: 20px;
}

/* Main Image Zoom */
.woocommerce div.product div.images .woocommerce-product-gallery__image a {
    cursor: move;
}

.macxs-optimized-gallery .woocommerce-product-gallery__image {
    position: relative;
    cursor: move;
}

.macxs-optimized-gallery .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    display: block;
    transform: none !important;
    transition: none !important;
}

.macxs-optimized-gallery .woocommerce-product-gallery__image:hover img {
    transform: none !important;
}

.macxs-optimized-gallery .woocommerce-product-gallery__image .zoomImg {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.macxs-zoom-lens {
    position: absolute;
    width: 185px;
    height: 199px;
    background-repeat: repeat;
    cursor: move;
    z-index: 10;
    display: none;
    pointer-events: none;
}

.macxs-zoom-window {
    position: absolute;
    width: 500px;
    height: 500px;
    overflow: hidden;
    z-index: 100;
    display: none;
    background-color: #fff;
    top: 0;
    left: 100%;
    margin-left: 10px;
}

.woocommerce-product-gallery__trigger {
    display: none !important;
}

.macxs-zoom-window img {
    position: absolute;
    max-width: none !important;
}

/* Thumbnails Carousel */
.macxs-optimized-gallery .flex-control-thumbs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding: 10px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    scrollbar-width: none;
    /* Firefox */
    position: relative;
}

.macxs-optimized-gallery .flex-control-thumbs::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.macxs-optimized-gallery .flex-control-thumbs li {
    flex: 0 0 20%;
    /* Show 5 items roughly */
    width: 20% !important;
    max-width: 100px;
    float: none !important;
    margin: 0 !important;
}

.macxs-optimized-gallery .flex-control-thumbs li img {
    width: 100%;
    height: auto;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    border: 1px solid transparent;
}

.macxs-optimized-gallery .flex-control-thumbs li img.flex-active,
.macxs-optimized-gallery .flex-control-thumbs li img:hover {
    opacity: 1;
    border-color: #000;
}

/* Carousel Controls */
.macxs-gallery-wrapper {
    position: relative;
}

.macxs-thumb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.macxs-gallery-thumbs-wrapper:hover .macxs-thumb-nav {
    opacity: 1;
}

.macxs-thumb-nav.prev {
    left: -15px;
}

.macxs-thumb-nav.next {
    right: -15px;
}

.macxs-thumb-nav svg {
    width: 14px;
    height: 14px;
    fill: #333;
}

.macxs-thumb-nav.disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.macxs-gallery-thumbs-wrapper {
    position: relative;
    margin-top: 15px;
}

.single-product .single_variation_wrap .woocommerce-variation-price {
    display: none;
    visibility: hidden;
}

.single-product .elementor-add-to-cart form {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

.single-product .elementor-add-to-cart form .product_single_add_button {
    margin-inline-start: 0 !important;
}

.single-product .elementor-add-to-cart .product_single_add_button {
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-name: shakeMe;
    animation-timing-function: linear;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: transparent;
    /* Handled by specific class */
    border: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 22px;
    opacity: 1;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transform: translateZ(0);
    width: 100%;
}

.single-product .elementor-add-to-cart .transition-main {
    position: relative;
    transition: color .45s cubic-bezier(.785, .135, .15, .86), border .45s cubic-bezier(.785, .135, .15, .86);
    -webkit-transition: color .45s cubic-bezier(.785, .135, .15, .86), border .45s cubic-bezier(.785, .135, .15, .86);
    z-index: 1;
    overflow: hidden;
}

.single-product .elementor-add-to-cart .transition-main:hover {
    color: #d4990f !important;
}

.single-product .elementor-add-to-cart .transition-main:before {
    bottom: 0;
    content: "";
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform-origin: left center;
    transition: transform .45s cubic-bezier(.785, .135, .15, .86);
    width: 100%;
    z-index: -1;
    background-color: #fff !important;
    transform: scaleX(0);
}

.single-product .elementor-add-to-cart .transition-main:hover:before {
    transform: scaleX(1);
}

.single-product .elementor-add-to-cart .single_add_to_cart_button {
    background-color: #d4990f !important;
    /* Initial Orange Background */
    border: 1px solid #d4990f !important;
    color: #fff !important;
}

.single-product .elementor-add-to-cart .product_single_add_button {
    align-items: center;
    display: flex;
    font-weight: 500;
    height: 48px;
    justify-content: center;
}

.single-product .elementor-add-to-cart .product_single_add_button>span {
    display: inline-block !important;
}

.single-product .elementor-add-to-cart .product_single_add_button .add-buttom__text {
    display: inline !important;
    font-size: 14px;
    line-height: 21px;
}

.single-product .elementor-add-to-cart .product_single_add_button .dot {
    background: currentColor;
    border-radius: 100%;
    content: "";
    display: inline-block;
    height: 3px;
    margin: 0 18px 4px;
    width: 3px;
}

.single-product .elementor-add-to-cart .product_single_add_button .dot:before {
    content: "-";
    font-size: 14px;
}

.single-product .elementor-add-to-cart .product_single_add_button .selectpricewrap {
    display: inline;
    line-height: inherit;
}

.single-product .elementor-add-to-cart .product_single_add_button .selectpricewrap {
    -webkit-tap-highlight-color: rgba(23, 178, 235, .3) !important;
    cursor: pointer;
}

.single-product .elementor-add-to-cart .product_single_add_button .selectpricewrap>div {
    display: inline;
}

.single-product .elementor-add-to-cart .product_single_add_button .add-buttom__text .dot {
    background: unset;
    border-radius: unset;
    display: inline;
    height: unset;
    margin: 0 10px;
    width: unset;
}

.single-product .elementor-add-to-cart .product_single_add_button svg {
    margin-right: 12px;
    fill: #FFF !important;
    transition: .3s all;
}

.single-product .elementor-add-to-cart .transition-main:hover svg {
    fill: #D4990F !important;
}

/* tabs */
.single-product .macxs-des-tab-title .e-n-tabs-heading button {
    font-size: 16px;
    font-weight: 700;
    position: relative;
}

.single-product .macxs-des-tab-title .e-n-tabs-heading button {
    padding-left: 0;
    transition: transform .3s, -webkit-transform .3s;
}

.single-product .macxs-des-tab-title .e-n-tabs-heading button.e-n-tab-title[aria-selected="true"]:before {
    content: "";
    height: 2px;
    width: 100%;
    background-color: #000;
    z-index: 1;
    position: absolute;
    bottom: -2px;
    left: 0;
    -webkit-transition: -webkit-transform .3s cubic-bezier(.645, .045, .355, 1);
    transition: -webkit-transform .3s cubic-bezier(.645, .045, .355, 1);
    transition: transform .3s cubic-bezier(.645, .045, .355, 1);
    transition: transform .3s cubic-bezier(.645, .045, .355, 1), -webkit-transform .3s cubic-bezier(.645, .045, .355, 1)
}

/* related product */
.woocommerce .elementor-widget-macxs_related_products ul.products {
    box-sizing: initial;
    display: flex;
    left: 0;
    margin: 0;
    outline: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    column-gap: 10px;
    flex-wrap: wrap;
}

.woocommerce .elementor-widget-macxs_related_products ul.products:before {
    display: none;
}

.woocommerce .elementor-widget-macxs_related_products ul.products li.product {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    list-style: none;
    padding: 0 10px;
    text-align: center;
    width: 24%;
    margin: 0 !important;
    float: none !important;
    overflow: hidden;
}

.woocommerce .elementor-widget-macxs_related_products ul.products li.product .discount-label {
    display: none;
    visibility: hidden;
}

.woocommerce .elementor-widget-macxs_related_products ul.products li.product h2 {
    -webkit-line-clamp: 2 !important;
}

.woocommerce .elementor-widget-macxs_related_products ul.products li.product h2 a {
    color: #666;
    font-weight: 400;
    font-size: 14px;
}

.woocommerce .elementor-widget-macxs_related_products ul.products li.product .price ins {
    color: #DB8B34;
    font-weight: 600;
}

.woocommerce .elementor-widget-macxs_related_products ul.products li.product .price del {
    color: #999;
    font-size: 14px;
}

.woocommerce .elementor-widget-macxs_related_products ul.products li.product .add_to_cart_button,
.woocommerce .elementor-widget-macxs_related_products ul.products li.product .single_add_to_cart_button {
    margin-top: 0;
    background-color: #d4990f;
    color: #FFF !important;
    font-size: 14px;
    font-weight: 500;
    padding: 12px;
    margin-bottom: 8px;
    height: 48px;
    line-height: 22px;
    text-transform: uppercase;
}

@media screen and (min-width: 1481px) {
    .wp-block-woocommerce-cart {
        width: 1480px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 1480px) {
    .woocommerce .elementor-widget-macxs_related_products ul.products li.product {
        padding: 8px;
        flex: 0 0 24%;
    }

    .wp-block-woocommerce-cart {
        width: 1480px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 1024px) {
    .woocommerce .elementor-widget-macxs_related_products ul.products li.product {
        flex: 0 0 32%;
    }
}

@media screen and (max-width: 767px) {
    .woocommerce .elementor-widget-macxs_related_products ul.products li.product {
        flex: 0 0 48%;
    }
}

.woocommerce .elementor-widget-macxs_related_products ul.products li.product .variations_form {
    display: flex;
    flex-direction: column;
    column-gap: 12px;
}

.woocommerce .elementor-widget-macxs_related_products ul.products li.product .variations_form label[for="pa_color"] {
    display: none;
}

.woocommerce .elementor-widget-macxs_related_products ul.products li.product table.variations .value {
    margin: 12px 0;
}

.woocommerce .elementor-widget-macxs_related_products ul.products li.product .variations select {
    appearance: none;
    -webkit-appearance: none;
    background-color: initial;
    border: 1px solid #dfdfdf;
    box-sizing: border-box;
    color: #737373;
    height: 100%;
    line-height: 1;
    outline: 0;
    overflow: hidden;
    padding: 0 25px 0 10px;
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    z-index: 1;
    margin: 0;
    height: 40px;
    margin-bottom: 8px;
    font-size: 14px;
    border-radius: 0;
}

.woocommerce .elementor-widget-macxs_related_products ul.products li.product .woocommerce-variation-price {
    display: flex;
    justify-content: center;
    column-gap: 12px;
    align-items: flex-end;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.woocommerce .elementor-widget-macxs_related_products ul.products li.product .woocommerce-variation-price del {
    order: 2;
    color: #999;
}

.woocommerce .elementor-widget-macxs_related_products ul.products li.product .woocommerce-variation-price ins {
    color: #db8b34;
    text-decoration: none;
}

.woocommerce .elementor-widget-macxs_related_products ul.products li.product .single_add_to_cart_button {
    width: 100%;
}

/* cart */
.woocommerce-cart .page-content {
    margin-bottom: 80px;
}

.woocommerce-cart .wp-block-separator,
.woocommerce-cart .wp-block-heading:not(.with-empty-cart-icon),
.woocommerce-cart .wp-block-woocommerce-product-new {
    display: none;
}

.quick-add-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: transform 0.3s ease;
    transform: translateY(120%);
    min-height:98px;
}
.quick-add-cart.active {
    transform: translateY(0);
}
.quick-add-cart .quick-purchased .container {
    margin: 0 auto;
    max-width: 1480px;
    padding: 0 30px;
    width: 100%;
    align-items: flex-end;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}
.quick-add-cart .quick-purchased .container .row {
    align-items: flex-end !important;
    margin: 0 !important;
    width: calc(100% - 200px);
    flex:1;
    justify-content: space-between;
    display:flex;
}
.quick-add-cart .quick-purchased .container .row .quick_left {
    margin:0;
    padding:0;
    max-width:50%;
    display:flex;
}
.quick-add-cart .quick-purchased .container .row .quick_left .quick_left_img {
    flex-grow: 0;
    flex-shrink: 0;
    height: 68px;
    margin-right: 10px;
    position: relative;
    width: 68px;
}
.quick-add-cart .quick-purchased .container .row .quick_left .quick_left_img img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border: none !important;
    height: 100%;
    left: 0;
    max-width: 100%;
    object-fit: contain !important;
    position: absolute;
    top: 0;
    transition: all .3s ease-in-out;
    width: 100%;
}
.quick-add-cart .quick-purchased .container .row .quick_left .quick_left_content {
    margin-left: 10px;
    overflow: hidden;
}
.quick-add-cart .quick-purchased .container .row .quick_left .quick_left_content h2 {
    color: #2f2f2f;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.quick-add-cart .quick-purchased .container .row .quick_left .quick_left_content .selectpricewrap {
    -webkit-tap-highlight-color: rgba(23, 178, 235, .3) !important;
    cursor: pointer;
    line-height: 1.5;
    display: flex;
}
.quick-add-cart .quick-purchased .container .row .quick_left .quick_left_content .selectpricewrap .discount-label {
    display:none;
    visibility:hidden;
}
.quick-add-cart .quick-purchased .container .row .quick_left .quick_left_content .selectpricewrap .symbol-price {
    display:flex;
    column-gap:12px;
}
.quick-add-cart .quick-purchased .container .row .quick_left .quick_left_content .selectpricewrap del {
    order:2;
    color:#999;
}
.quick-add-cart .quick-purchased .container .row .quick_left .quick_left_content .selectpricewrap ins {
    text-decoration:none;
    color:#db8b34;
}
.quick-add-cart .quick-purchased .container .row .quick_right {
    display:flex;
    column-gap: 12px;
    align-items: center;
}
.quick-add-cart .quick-purchased .container .row .quick_right .macxs_quick_variant_select {
    color:#606266;
    padding: 10px 16px;
}
.quick-add-cart .quick-purchased .container .row .quick_right .quantity input {
    color:#606266;
}
.quick-add-cart .quick-purchased .container .row .quick_right .product_quick_add_button {
    background-color: #d4990f !important;
    color: #FFF !important;
    border-color: transparent !important;
    max-width: 200px;
    font-size: 14px !important;
    height: auto !important;
    line-height: 1.2 !important;
    font-weight:400;
    border-radius:0;
    display: flex;
    column-gap: 0;
    padding: 13px 15px;
}
.quick-add-cart .quick-purchased .container .row .quick_right .product_quick_add_button svg {
    margin-right:10px;
}
.quick-add-cart .woocommerce-Price-currencySymbol {
    margin-right:5px;
}
@media screen and (max-width: 767px) {
    .quick-add-cart .quick-purchased .container .row {
        width: 100% !important;
    }
    .quick-add-cart .quick-purchased .container .row .quick_left {
        display:none;
    }
    .quick-add-cart .quick-purchased .container {
        padding: 0;
    }
    .quick-add-cart {
        padding:0;
        min-height: auto;
    }
    .quick-add-cart .quick-purchased .container .row .quick_right {
        display:flex;
        gap:0;
        width:100%;
    }
    .quick-add-cart .quick-purchased .container .row .quick_right .product_quick_add_button {
        min-height:auto;
        width: 100%;
        justify-content: center;
        height: 42px!important;
        align-items: center;
        max-width: 100%;
    }
    .quick-add-cart .quick-purchased .container .row .quick_right .macxs_quick_variant_select {
        border-radius:0;
        border-right: 0;
        height: 42px;
    }
    .quick-add-cart .quick-purchased .container .row .quick_right .quantity input {
        border-radius:0;
        width: 100%;
    }
    .quick-add-cart .quick-purchased .container .row .quick_right .product_variants {
        flex-basis: 40%;
    }
    .quick-add-cart .quick-purchased .container .row .quick_right .commoditynum {
        flex-basis: 15%;
    }
    .quick-add-cart .quick-purchased .container .row .quick_right .product_single_quick_add_button {
        flex-basis: 45%;
        overflow: hidden;
        flex-grow: 1; /* Allow growing if other elements are missing */
    }
    .quick-add-cart .quick-purchased .container .row .quick_right .product_quick_add_button svg {
        margin-right: 5px;
    }
    #barrage-container {
        height:fit-content;
        padding:10px;
    }
    #barrage-container .barrage-img,
    #barrage-container .barrage-time {
        display:none;
    }
}