.woocommerce div.product div.images img:not(.mvb-gallery-thumb img) {
    min-height: 80vh;
    max-height: 80vh;
}

/* Gallery main image fills available width (no fixed width) */
.woocommerce div.product div.images .mvb-gallery-main-img {
    width: 100%;
    min-width: 100%;
    max-width: none;
}

.single-product .page-container.woocommerce .product .woocommerce-description .classic-editor,
.single-product .page-container.woocommerce .product .woocommerce-product-details__short-description .classic-editor {
    padding: 10px 0px 10px 0px !important;
}

.woocommerce span.onsale {
    top: 0.5em;
    left: 0.5em;
}

.single-product .page-container.woocommerce .product .product-layout-container {
    padding-bottom: 5px !important;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
    background-color: #fffcf3;
    border-radius: 10px;
}

/* ========================
   Single Product Preloader
   ======================== */
.mvb-product-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fffcf3;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}


.mvb-product-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mvb-preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mvb-preloader-logo {
    width: 120px;
    height: auto;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

.mvb-preloader-spinner {
    width: 40px;
    height: 40px;
    position: relative;
}

.mvb-preloader-spinner::before,
.mvb-preloader-spinner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.mvb-preloader-spinner::before {
    width: 100%;
    height: 100%;
    border: 3px solid rgba(185, 93, 14, 0.15);
}

.mvb-preloader-spinner::after {
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: #B95D0E;
    animation: preloaderSpin 0.8s linear infinite;
}

@keyframes preloaderSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes preloaderPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(0.98);
    }
}

@media (prefers-color-scheme: dark) {
    .mvb-product-preloader {
        background: #1a1a1a;
    }

    .mvb-preloader-spinner::before {
        border-color: rgba(185, 93, 14, 0.25);
    }
}

@media (min-width: 1250px) {
    .single-product .page-container.woocommerce .product .product-layout-container {
        gap: 0px;
    }
}

/* ========================
   Bundle Accordion Styles - Theme Aligned
   ======================== */
.bundle-accordion-wrapper {
    border: none;
    border-radius: 12px;
    margin: 0px 0;
    background: linear-gradient(135deg, #fffcf3 0%, #fff9ed 100%);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(185, 93, 14, 0.08);
}

.woocommerce span.onsale {
    background-color: #ed8526;
}

.product-left-column {
    flex: 0 0 100%;
    max-height: 270px;
    width: 100%;
    max-width: 100%;
}

.bundle-accordion-header {
    background: linear-gradient(135deg, #B95D0E 0%, #d4710f 100%);
    padding: 16px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bundle-accordion-header:hover {
    background: linear-gradient(135deg, #a85209 0%, #c5680d 100%);
}

.bundle-accordion-header .toggle-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bundle-accordion-header.active .toggle-icon {
    transform: rotate(180deg);
    background: rgba(255, 255, 255, 0.3);
}

#asnp_easy_product_bundle {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: #fff;
}

#asnp_easy_product_bundle.show {
    max-height: 3000px;
    padding: 24px;
}

/* Bundle Product Grid Items */
.asnp-App-GridItem-wrapper {
    gap: 16px !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 10px 0 !important;
}

.asnp-BundleGridItem-ProductBox {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.asnp-BundleGridItem-ProductBox:hover {
    transform: translateY(-3px) !important;
}

.asnp-BundleGridItem-imageBox {
    border-radius: 10px !important;
    border: 2px solid #f0f0f0 !important;
    overflow: hidden !important;
    transition: border-color 0.3s ease !important;
}

.asnp-BundleGridItem-ProductBox:hover .asnp-BundleGridItem-imageBox {
    border-color: #B95D0E !important;
}

.asnp-BundleGridItem-product-info {
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    margin-top: -10px !important;
}

.asnp-onHover {
    background: rgba(185, 93, 14, 0.85) !important;
    border-radius: 10px !important;
}

/* Bundle Product List */
.asnp-productList-wrapper {
    margin: 16px 0 !important;
    background: #fafafa;
    border-radius: 10px;
    padding: 8px 12px;
}

.asnp-productInfo-wrapper {
    padding: 12px 8px !important;
    border-bottom: 1px solid #eee;
    transition: background 0.2s ease;
}

.asnp-productInfo-wrapper:last-child {
    border-bottom: none;
}

.asnp-productInfo-wrapper:hover {
    background: #fff;
    border-radius: 6px;
}

.asnp-productInfo-wrapper>a {
    color: #242424 !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

.asnp-productInfo-wrapper>a:hover {
    color: #B95D0E !important;
}

.asnp-edit-icon {
    color: #B95D0E !important;
    opacity: 0.7;
    transition: opacity 0.2s ease !important;
}

.asnp-edit-icon:hover {
    opacity: 1 !important;
    color: #a85209 !important;
}

/* Bundle Total Price Section */
.asnp-totalPrice-wrapper {
    background: linear-gradient(135deg, #242424 0%, #3a3a3a 100%) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    margin: 20px 0 !important;
    padding: 20px !important;
    border: none !important;
}

.asnp-totalPrice-wrapper .asnp-totalPrice-title {
    color: #fff !important;
    font-weight: 600 !important;
}

.asnp-totalPrice-wrapper .asnp-totalPrice-section .woocommerce-Price-amount.amount {
    color: #fff !important;
    font-weight: 700 !important;
}

.asnp-totalPrice-wrapper .asnp-totalPrice-section s,
.asnp-totalPrice-wrapper .asnp-totalPrice-section s .woocommerce-Price-amount.amount {
    color: #999 !important;
}

.asnp-totalPrice-wrapper .asnp-off-badge {
    background: linear-gradient(135deg, #B95D0E 0%, #d4710f 100%) !important;
    font-weight: 700 !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    position: static !important;
    margin-left: 10px;
}

.asnp-totalPrice-wrapper .asnp-off-badge::before,
.asnp-totalPrice-wrapper .asnp-off-badge::after {
    display: none !important;
}

.asnp-totalPrice-wrapper .asnp-savedPrice {
    background: #27ae60 !important;
    border-radius: 4px !important;
    padding: 3px 8px !important;
    font-weight: 600 !important;
}

/* Bundle Quantity Buttons */
.asnp-product-quantity-button {
    background: #f5f5f5 !important;
    border: 1px solid #ddd !important;
    transition: all 0.2s ease !important;
}

.asnp-product-quantity-button:hover {
    background: #B95D0E !important;
    border-color: #B95D0E !important;
}

.asnp-product-quantity-button:hover span {
    color: #fff !important;
}

/* Bundle Plus Icon */
.asnp-plus-icon .dashicons-plus-alt {
    color: #B95D0E !important;
    font-size: 26px !important;
}

/* Bundle Alert Messages */
.asnp-alert {
    background: linear-gradient(135deg, #fff9ed 0%, #fff5e0 100%) !important;
    border-left: 4px solid #B95D0E !important;
    border-radius: 8px !important;
    color: #242424 !important;
}

/* Bundle Description Box */
.bundle-description {
    background: linear-gradient(135deg, #fffcf3 0%, #fff5e0 100%) !important;
    border: 1px solid rgba(185, 93, 14, 0.2) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

.bundle-description>.icon {
    color: #B95D0E !important;
    opacity: 0.3;
}

.bundle-description>.text {
    color: #444 !important;
}

/* Bundle Title Styling */
.asnp-bundle-title h1 {
    color: #B95D0E !important;
    background: none !important;
}

.asnp-bundle-title::before,
.asnp-bundle-title::after {
    border-bottom-color: #B95D0E !important;
}

/* Product Price in Bundle */
.asnp-product-Price .woocommerce-Price-amount.amount,
.asnp-productList-price .woocommerce-Price-amount.amount {
    color: #B95D0E !important;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .bundle-accordion-wrapper {
        background: linear-gradient(135deg, #1a1a1a 0%, #242424 100%);
        border-color: #B95D0E;
    }

    #asnp_easy_product_bundle.show {
        background: #1a1a1a;
    }

    .asnp-productList-wrapper {
        background: #242424;
    }

    .asnp-productInfo-wrapper:hover {
        background: #2a2a2a;
    }

    .asnp-productInfo-wrapper>a {
        color: #fff !important;
    }

    .asnp-BundleGridItem-product-info {
        background: #242424 !important;
        border-color: #333 !important;
    }

    .bundle-description {
        background: linear-gradient(135deg, #242424 0%, #2a2a2a 100%) !important;
        border-color: rgba(185, 93, 14, 0.3) !important;
    }

    .bundle-description>.text {
        color: #ccc !important;
    }

    .asnp-alert {
        background: linear-gradient(135deg, #242424 0%, #2a2a2a 100%) !important;
        color: #fff !important;
    }
}

/* Mobile Adjustments for Bundle */
@media (max-width: 769px) {
    .woocommerce div.product div.images img:not(.mvb-gallery-thumb img) {
        min-height: 270px;
        max-height: 270px;
    }

    .slick-slider .slick-track,
    .slick-slider .slick-list {
        height: 270px !important;
    }

    .single-product .page-container.woocommerce .product .woocommerce-product-gallery {
        height: 280px;
        border-radius: 10px;
    }

    .bundle-accordion-header {
        padding: 14px 18px;
        font-size: 13px;

    }


    #asnp_easy_product_bundle.show {
        padding: 16px;
    }

    .asnp-totalPrice-wrapper {
        padding: 16px !important;
        margin: 16px 0 !important;
    }

    .asnp-productList-wrapper {
        padding: 6px 8px;
    }

    .asnp-productInfo-wrapper {
        padding: 10px 6px !important;
    }
}

.cart-price-container {
    display: none;
}

/* Product gallery: thumbs left (vertical) + main image right */
.mvb-product-gallery {
    display: flex;
    gap: 12px;
    margin-bottom: 60px;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
}

.mvb-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mvb-gallery-thumb {
    display: block;
    width: 72px;
    height: 72px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mvb-gallery-thumb:hover {
    border-color: #B95D0E;
}

.mvb-gallery-thumb.active {
    border-color: #B95D0E;
    box-shadow: 0 0 0 1px #B95D0E;
}

.mvb-gallery-thumb img {
    width: 100%;
    height: 100%;
    max-width: none;
    min-width: 0;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    display: block;
}

.mvb-gallery-main {
    flex: 1 1 0%;
    min-width: 0;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #eaeaea;
    position: relative;
}

/* Prev/Next image arrows */
.mvb-gallery-prev,
.mvb-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.mvb-gallery-prev:hover,
.mvb-gallery-next:hover {
    background: rgba(0, 0, 0, 0.75);
}

.mvb-gallery-prev {
    left: 12px;
}

.mvb-gallery-next {
    right: 12px;
}

.mvb-gallery-prev svg,
.mvb-gallery-next svg {
    display: block;
    width: 24px;
    height: 24px;
}

.mvb-gallery-main-img {
    width: 100%;
    height: 70vh;
    max-height: 700px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

@media (prefers-color-scheme: dark) {
    .mvb-gallery-thumb {
        background: #333;
    }
    .mvb-gallery-main {
        background: #2a2a2a;
    }
    .mvb-gallery-prev,
    .mvb-gallery-next {
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
    }
    .mvb-gallery-prev:hover,
    .mvb-gallery-next:hover {
        background: rgba(255, 255, 255, 0.35);
    }
}

/* Whole product fade-in */
.product-layout-container.mvb-product-loading {
    opacity: 0;
    transition: opacity 0.4s ease-out;
}
.product-layout-container.mvb-product-ready {
    opacity: 1;
}

/* Layout Styles 70/30 Split - Adjusted to prevent wrap */
.product-layout-container,
.product-left-column,
.product-right-column {
    box-sizing: border-box;
}

.product-layout-container {
    display: flex;
    gap: 0;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.product-left-column {
    flex: 0 0 70%;
    width: 70%;
    max-width: 70%;
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    height: fit-content;
    max-height: calc(100vh - 120px);
}

.product-right-column {
    flex: 0 0 28%;
    width: 28%;
    max-width: 33%;
    min-height: 100%;
}

/* Related Products Full Width Customization */
.related.products {
    width: 100%;
    clear: both;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

.related.products ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.related.products ul.products li.product {
    flex: 0 0 calc(25% - 15px);
    width: calc(25% - 15px);
    max-width: calc(25% - 15px);
    margin-bottom: 20px;
}

/* Sticky Add To Cart Bar – theme-aligned, smooth slide-up */
.mvb-sticky-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
    z-index: 99999;
    padding: 14px 24px;
    box-sizing: border-box;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        opacity 0.35s ease,
        visibility 0.35s ease;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.mvb-sticky-cart.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mvb-sticky-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    gap: 16px;
}

.mvb-sticky-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
}

.mvb-sticky-title {
    font-size: 15px;
    font-weight: 700;
    color: #242424;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.mvb-sticky-options {
    display: flex;
    align-items: center;
}

.mvb-sticky-options select {
    appearance: none;
    -webkit-appearance: none;
    padding: 10px 36px 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f8f8f8;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    min-width: 140px;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.mvb-sticky-options select:hover {
    border-color: #B95D0E;
    background-color: #fff;
}

.mvb-sticky-options select:focus {
    outline: none;
    border-color: #B95D0E;
    box-shadow: 0 0 0 2px rgba(185, 93, 14, 0.15);
}

/* Quantity in sticky bar */
.mvb-sticky-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f8f8f8;
    overflow: hidden;
}

.mvb-sticky-qty-minus,
.mvb-sticky-qty-plus {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #242424;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.mvb-sticky-qty-minus:hover,
.mvb-sticky-qty-plus:hover {
    background: rgba(185, 93, 14, 0.1);
    color: #B95D0E;
}

.mvb-sticky-qty-input {
    width: 48px;
    height: 40px;
    border: none;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    background: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #242424;
}

.mvb-sticky-qty-input::-webkit-inner-spin-button,
.mvb-sticky-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.mvb-sticky-price-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}

.mvb-sticky-price-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #666;
}

.mvb-sticky-price-wrap .mvb-btn-price {
    font-size: 18px;
    font-weight: 800;
    color: #242424;
}

.mvb-sticky-price-wrap .mvb-btn-price .woocommerce-Price-amount,
.mvb-sticky-price-wrap .mvb-btn-price bdi {
    color: inherit;
}

.mvb-sticky-action {
    display: flex;
    align-items: center;
	
}

.mvb-sticky-btn {
    background-color: #B95D0E !important;
    color: #fff !important;
    border: none;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 60px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, transform 0.15s;
    font-family: "Sofia Sans", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.mvb-sticky-btn:hover:not(.disabled) {
    background-color: #A9590F !important;
}

.mvb-sticky-btn.disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.woocommerce div.product div.images {
    margin-bottom: 2em;
    margin-top: 1em !important;
    width: 100%;
    max-width: 100%;
}

.single-product .page-container.woocommerce .product .summary {
    background-color: transparent !important;

}

/* Custom Variation Tabs Styles - Horizontal Toggle Bar */
.mvb-custom-variations-container {
    display: flex;
    flex-wrap: nowrap;
    /* Horizontal line */
    gap: 5px;
    margin-top: 3px;
    margin-bottom: 10px;
    background-color: #E6E6E1;
    /* Beige Container */
    padding: 5px;
    border-radius: 10px;
    /* Pill shape container */
    width: 100%;
    box-sizing: border-box;
}

.mvb-variation-tab {
    flex: 1;
    /* Equal width */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    /* Transparent default */
    border: none;
    border-radius: 10px;
    /* Pill shape inner */
    padding: 8px 15px;
    cursor: pointer;
    min-width: auto;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: none;
    /* No shadow default */
    white-space: nowrap;
    /* Keep text on one line if possible */
}

.mvb-variation-tab:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: none;
    /* Reset transform */
}

.mvb-variation-tab.active {
    background: #fff;
    /* White active */
    border-color: transparent;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.mvb-tab-label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    /* Muted default */
    margin-bottom: 2px;
    line-height: 1.2;
}

.mvb-variation-tab.active .mvb-tab-label {
    color: #333;
    /* Darker active */
}

.mvb-tab-price {
    font-weight: 700;
    color: #B95D0E;
    /* Theme Orange Price */
    font-size: 14px;
    line-height: 1.2;
}

/* New Price Heading Style */
.mvb-price-heading {
    color: #B95D0E !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    margin-bottom: 5px !important;
    margin-top: 5px !important;
}

/* Price Wrapper for note */
.mvb-price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Select Variant Note */
.mvb-select-variant-note {
    font-size: 12px;
    color: #666;
    font-weight: 400;
    font-style: italic;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.mvb-select-variant-note.hidden {
    opacity: 0;
    pointer-events: none;
}

@media (prefers-color-scheme: dark) {
    .mvb-select-variant-note {
        color: #aaa;
    }
}

/* Ensure standard Woo label is hidden */
.variations th.label {
    display: none !important;
}

/* Refine Price and Offer Styling */

/* Hide the main price range in the summary */
.single-product .price-notice-container .price {
    display: none !important;
}

/* Style the BOGO Offer Bar */
.bogo_discount_bar {
    background-color: #B95D0E;
    /* Theme Orange */
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 8px;
    /* Matching new styling */
    width: 100%;
    margin-bottom: 10px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bogo_discount_bar_content {
    /* Ensure content is centered if needed */
    display: flex;
    color: white;
    align-items: center;
    text-align: left;
    justify-content: center;
    gap: 10px;
    padding: 10px;
}

.bogo_discount_bar {
    padding: 10px;
}

/* Container Cleanup - Remove borders */
.price-notice-container {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    display: block;
    /* Ensure it stacks */
}

/* Ensure notice section takes full width */
.product-notice-section {
    width: 100%;
}

.bogo_discount_bar {
    background-color: #b95d0e;
    color: #fff;
    padding-left: 20px !important;
    padding: 10px 15px;
    border-radius: 8px;
    width: 100%;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

/* Clear Selection Button Styling - Removed (button no longer needed) */

/* Remove Orange Lines (Borders) */
.single-product .heading {
    border: none !important;
}

.single-product .options {
    border: none !important;
}

.single-product table.variations {
    border: none !important;
}

.single-product table.variations td,
.single-product table.variations th {
    border: none !important;
}

.single-product .page-container.woocommerce .product .cart .options {
    display: flex !important;
    flex-direction: column !important;
    align-items: normal;
    justify-content: space-between !important;
    gap: 18px;
    padding: 16px 24px;
    /* flex-wrap: wrap; */
    max-width: none;
    width: 100%;
}

.single-product .page-container.woocommerce .product .summary form.cart .options .variations {
    border-bottom: 1px solid #ee8f39;
    padding: 0 0 0px;
    margin-bottom: 0px;
    max-width: none;
}

.single-product .page-container.woocommerce .product .summary form.cart .options {
    padding: 0px 0 !important;
}

.single-product .page-container.woocommerce .product table.variations td.value {
    display: flex;
    flex-direction: column;
}

.single-product .page-container.woocommerce .product .summary form.cart .options .social-proof {
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 10px;
    padding-top: 10px;
}

.single-product .page-container.woocommerce .product .price-notice-container .product-notice-section .awdr_discount_bar:before,
.single-product .page-container.woocommerce .product .price-notice-container .product-notice-section .bogo_discount_bar:before {
    background-color: white;
    padding: 15px;
    border-radius: 15px;
}

.woocommerce div.product form.cart div.quantity {

    margin: 0 !important;
}

.custom-quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 0;

}

.custom-quantity-wrapper .quantity {
    margin: 0;
}

.custom-quantity-wrapper input[type="number"].qty {
    width: 60px;
    height: 48px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    border-radius: 0;
    -moz-appearance: textfield;
    margin: 0;
    padding: 0;
}

.custom-quantity-wrapper input[type="number"].qty::-webkit-outer-spin-button,
.custom-quantity-wrapper input[type="number"].qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.custom-quantity-wrapper .quantity-minus,
.custom-quantity-wrapper .quantity-plus {
    width: 48px;
    height: 48px;
    background: #fff;
    border: 1px solid #ddd;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.custom-quantity-wrapper .quantity-minus {
    border-radius: 8px 0 0 8px;
}

.custom-quantity-wrapper .quantity-plus {
    border-radius: 0 8px 8px 0;
}

.custom-quantity-wrapper .quantity-minus:hover,
.custom-quantity-wrapper .quantity-plus:hover {
    background: #f5f5f5;
}

/* ========================
   Desktop Specific / Min-Width
   ======================== */

/* Hide mobile search toggle on desktop */


@media (min-width: 769px) {
    .single-product .page-container.woocommerce .product .price-notice-container .product-notice-section {
        border-left: none !important;
        border-right: none !important;
        padding: 0 !important;
    }

    .woocommerce div.product div.images img:not(.mvb-gallery-thumb img) {
        min-height: none;
        max-height: 270px;
    }
}

@media (min-width: 1024px) {
    .single-product .page-container.woocommerce .product .summary {
        padding: 8px;
    }
}


/* ========================
   Tablet Styles (Max 991px)
   ======================== */

@media (max-width: 991px) {

	.mvb-sticky-action {
    display: flex;
    align-items: center;
	width:100%;
}


    .slick-slider .slick-track,
    .slick-slider .slick-list {
        height: 400px;
    }

    .mobile-search-toggle {
        display: none;
    }

    .product-left-column {
        position: static;
        max-height: 390px;

    }

    .dgwt-wcas-search-wrapp {
        min-width: 90vw;
    }

    .single-product .page-container.woocommerce .product h1.product_title {
        margin-bottom: 0px;
    }

    .woocommerce div.product div.images .mvb-gallery-main-img {
        width: 100%;
        max-width: none;
    }

    .product-left-column,
    .product-right-column {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .product-layout-container {
        gap: 20px;
    }
}

/* Tablet Only (769px - 1023px) - Image on top */
@media (min-width: 769px) and (max-width: 1023px) {
    .woocommerce div.product div.images img:not(.mvb-gallery-thumb img) {
        min-height: 50vh;
    }
    .product-left-column {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        position: -webkit-sticky;
        position: sticky;
        top: 100px;
        align-self: flex-start;
        height: fit-content;
        max-height: calc(100vh - 120px);
    }
    .woocommerce div.product div.images img:not(.mvb-gallery-thumb img) {
        min-height: 70vh;
        max-height: 70vh;
    }
    .product-right-column {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        min-height: 100%;
    }
    
    .single-product .page-container.woocommerce .product .product-layout-container {
        flex-direction: column-reverse;
        gap: 0px;
    }
}

/* ========================
   Mobile Styles (Max 769px)
   ======================== */

@media (max-width: 769px) {
    .related.products ul.products li.product {
        flex: 0 0 calc(50% - 10px);
        width: calc(50% - 10px);
        max-width: calc(50% - 10px);
    }


}

@media (max-width: 769px) {
    .related.products .slick-arrow {
        top: -60px;
        /* Adjust for mobile */
    }

    .mobile-search-toggle {
        display: none;
    }

    /* Mobile Sticky Bar */
    .mvb-sticky-title {
        display: none !important;
    }

    .mvb-sticky-cart {
        padding: 12px 16px !important;
    }

    .mvb-sticky-container {
        justify-content: center !important;
    }

    .mvb-sticky-right {
        width: 100%;
        justify-content: space-between;
        gap: 8px 12px;
    }

    .mvb-sticky-qty .mvb-sticky-qty-input {
        width: 40px;
    }

    .mvb-sticky-qty-minus,
    .mvb-sticky-qty-plus {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .mvb-sticky-options select {
        max-width: 120px;
        padding: 8px 28px 8px 10px !important;
        font-size: 13px !important;
        min-width: auto !important;
    }

    .mvb-sticky-price-wrap .mvb-btn-price {
        font-size: 16px;
    }

    .mvb-sticky-btn {
        padding: 10px 18px !important;
        font-size: 13px !important;
        white-space: nowrap;
		width:100%
    }

    .single-product .page-container.woocommerce .product .summary {
        background-color: light-dark(#f2f2f2, #242424);
        padding: 10px 0px 0px !important;
    }
}

@media (max-width: 769px) {



    .banner-bar {

        padding: 2px 0 2px;
    }

    .cart-price-container {
        display: none;
    }

    .single-product .woocommerce-breadcrumb {
        display: none;
    }

    .single-product .page-container.woocommerce .product .summary>.woocommerce-product-details__short-description {
        padding: 16px;
        border-bottom: 1px solid #ee8f39;
        margin-bottom: 10px;
    }

    /* Mobile gallery: same orientation (thumbs left, main right); thumbs show 2–3 at a time with scroll */
    .single-product .product-left-column {
        max-height: none;
    }
    .mvb-product-gallery {
        flex-wrap: nowrap;
    }
    .mvb-gallery-thumbs {
        max-height: 270px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        flex-shrink: 0;
    }
    .mvb-gallery-thumb {
        width: 56px;
        height: 56px;
        flex-shrink: 0;
    }
    .mvb-gallery-main-img {
        max-height: 60vh;
    }

    /* Maintain horizontal scrolling or stacking if too many? 
       Request was horizontal line, implying scrolling or squeeze */
    .mvb-custom-variations-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mvb-variation-tab {
        flex: 0 0 auto;
        /* Allow scrolling */
        min-width: 100px;
    }

    .single-product .page-container.woocommerce .product h1.product_title {
        font-size: 1rem;
        margin-bottom: 2px;
    }


    .bogo_discount_bar_content {
        padding: 0px;
        font-size: 12px;
    }

    .bogo_discount_bar {
        padding: 3px;
        padding-left: 5px !important;
    }

    .single-product .page-container.woocommerce .product .price-notice-container .product-notice-section .awdr_discount_bar:before,
    .single-product .page-container.woocommerce .product .price-notice-container .product-notice-section .bogo_discount_bar:before {
        padding: 5px;

    }

    .woocommerce-breadcrumb {
        padding: 10px;
        font-size: 12px;
    }

    .single-product .page-container.woocommerce .product .product-layout-container {
        flex-direction: column-reverse;
        gap: 0px;
    }


    .single-product .page-container.woocommerce .product .cart .quantity input[type=number] {
        height: 35px;
        margin: 0;
        width: 50px;
        font-size: 13px;
        border: none;
    }

    .bogo_discount_bar {
        margin: 0 !important;
    }

    .custom-quantity-wrapper .quantity-minus,
    .custom-quantity-wrapper .quantity-plus {
        width: 30px;
        height: 35px;
    }

    .single-product .page-container.woocommerce .product .price-notice-container .product-notice-section {
        flex: 1;
        flex-basis: 60%;
        padding: 0 !important;
        border-top: none;
    }

    .single-product .page-container.woocommerce .product .cart .heading .title {
        font-size: 1rem;
        color: light-dark(#242424, #fff);
        margin: 0;
    }

    .mvb-tab-label {
        font-size: 10px;
    }

    .mvb-tab-price {

        font-size: 10px;

    }

    .woocommerce div.product div.images {
        margin-bottom: 0;
        margin-top: 10 !important;
    }

}

/* Sticky Header Styles */
.mobile-container.sticky-visible {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;

}

.mvb-variation-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: 0 0;
    border: none;
    border-radius: 10px;
    padding: 5px 5px;
    cursor: pointer;
    min-width: auto;
    text-align: center;
    transition: all .3s ease;
    box-shadow: none;
    white-space: nowrap;
}

.mvb-custom-variations-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    justify-content: space-around;
}

.mvb-variation-tab {
    flex: 0 0 auto;
    min-width: 40px !important;
}

@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Mobile Slider Validations */
.carousel {
    position: relative;
    /* Ensure dots can be absolute positioned relative to this */
}

.carousel__dots {
    display: none;
}

@media only screen and (max-width: 769px) {

    .carousel {
        height: 350px !important;
        min-height: auto !important;
        margin-bottom: 20px;
        position: relative;
    }

    .carousel .carousel__inner-container {
        height: 100% !important;
        width: 1000% !important;
        /* Make it wide enough to hold slides in a row */
        margin-left: -100% !important;
        /* Offset for infinite loop */
    }

    /* Force single slide */
    .carousel .carousel__inner-container>div,
    .carousel .carousel__inner-container>figure,
    .carousel .carousel__inner-container>a {
        height: 100% !important;
        width: 100% !important;
        /* Logic in JS calculates width based on container, but we can enforce it here potentially */
        /* Actually JS sets specific width pixels. Let's rely on standard object-fit but ensure container is handled. 
           If JS calculates width based on screen size (resize event), it should automatically be 100vw or close.
        */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .carousel .carousel__inner-container img {
        max-height: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }

    /* Pagination Dots */
    .carousel__dots {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        bottom: 15px;
        left: 0;
        width: 100%;
        z-index: 10;
        gap: 8px;
    }

    .carousel__dot {
        width: 8px;
        height: 8px;
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .carousel__dot.active {
        background-color: #000;
        /* Or theme primary color */
        transform: scale(1.2);
    }

    /* Fix huge arrows */
    .carousel .carousel__controls .carousel__prev-btn,
    .carousel .carousel__controls .carousel__next-btn {
        width: 35px !important;
        height: 35px !important;
        background-size: 50% !important;
        display: flex;
        align-items: center;
        justify-content: center;
        top: 50%;
        transform: translateY(-50%);
        box-shadow: none !important;
        background: transparent !important;
        /* Remove any potential background box */
        border: none !important;
    }

    .carousel .carousel__controls .carousel__prev-btn svg,
    .carousel .carousel__controls .carousel__next-btn svg,
    .carousel .carousel__controls .carousel__prev-btn i,
    .carousel .carousel__controls .carousel__next-btn i {
        width: 15px !important;
        height: 15px !important;
    }

    /* Ensure icon color is visible */
    .carousel .carousel__controls .carousel__prev-btn svg path,
    .carousel .carousel__controls .carousel__next-btn svg path {
        fill: #333;
    }
}

/* Force mobile search styles on all pages */
@media (max-width: 1249px) {
    .mobile-search-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        margin-left: auto;
    }

    .search-bar-container.mobile.active {

        min-width: 100vw;
    }

    .search-bar-container.mobile {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        z-index: 10000;
        padding: 15px 20px;
        box-sizing: border-box;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.4s ease;
    }

    .search-bar-container.mobile.active {
        display: block !important;
        transform: translateY(0);
        opacity: 1;
    }
}

/* Ensure PhotoSwipe Lightbox stays on top of sticky elements */
.pswp {
    z-index: 999999 !important;
}

.needsclick span {
    color: #ffffff !important;
}


.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
    color: #ffffff !important;
    top: 50vh;
}

.pswp--has_mouse .pswp__button--arrow--left,
.pswp--has_mouse .pswp__button--arrow--right {
    visibility: hidden;
}

/* ========================
   Comprehensive Dark Mode Support
   ======================== */
@media (prefers-color-scheme: dark) {

    /* Quantity Buttons */
    .custom-quantity-wrapper .quantity-minus,
    .custom-quantity-wrapper .quantity-plus {
        background: #333;
        border-color: #555;
        color: #fff;
    }

    .custom-quantity-wrapper .quantity-minus:hover,
    .custom-quantity-wrapper .quantity-plus:hover {
        background: #444;
    }

    .custom-quantity-wrapper input[type="number"].qty {
        background: #2a2a2a;
        border-color: #555;
        color: #fff;
    }

    /* Variation Tabs */
    .mvb-custom-variations-container {
        background-color: #333;
    }

    .mvb-variation-tab {
        color: #ccc;
    }

    .mvb-variation-tab.active {
        background: #444;
    }

    .mvb-tab-label {
        color: #ccc;
    }

    .mvb-variation-tab.active .mvb-tab-label {
        color: #fff;
    }

    /* Price Heading */
    .mvb-price-heading {
        color: #B95D0E !important;
    }


    /* Heading Section */
    .single-product .page-container.woocommerce .product .cart .heading {
        background-color: transparent;
    }

    .single-product .page-container.woocommerce .product .cart .heading .title {
        color: #fff;
    }

    /* Options Section */
    .single-product .page-container.woocommerce .product .cart .options {
        background-color: transparent;
    }

    /* Product Title */
    .single-product .page-container.woocommerce .product h1.product_title {
        color: #fff;
    }

    /* Add to Cart Button - keep orange */
    .single-product .page-container.woocommerce .product .cart button[type="submit"] {
        background-color: #B95D0E;
        color: #fff;
		min-height:55px;
    }

    /* Social Proof Text */
    .social-proof__text {
        color: #ccc;
    }

    /* Sticky Cart Bar */
    .mvb-sticky-cart {
        background: #1a1a1a;
        border-top: 1px solid #333;
    }

    .mvb-sticky-title {
        color: #fff;
    }

    .mvb-sticky-options select {
        background-color: #333;
        border-color: #555;
        color: #fff;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    }

    .mvb-sticky-qty {
        border-color: #555;
        background: #2a2a2a;
    }

    .mvb-sticky-qty-minus,
    .mvb-sticky-qty-plus {
        color: #fff;
    }

    .mvb-sticky-qty-minus:hover,
    .mvb-sticky-qty-plus:hover {
        background: rgba(215, 112, 18, 0.2);
        color: #d77012;
    }

    .mvb-sticky-qty-input {
        border-color: #555;
        background: #1a1a1a;
        color: #fff;
    }

    .mvb-sticky-price-label {
        color: #999;
    }

    .mvb-sticky-price-wrap .mvb-btn-price {
        color: #fff;
    }

    /* Single product: SVGs white in dark mode (social proof, icons, etc.) */
    .single-product .social-proof .i72-svg svg,
    .single-product .social-proof .i72-svg path,
    .single-product .social-proof .i72-svg use {
        fill: #fff !important;
        stroke: #fff !important;
    }

    .single-product .product-notice-section svg,
    .single-product .product-notice-section svg path {
        fill: #fff !important;
        stroke: #fff !important;
    }

    /* Cart/Checkout Quantity Buttons (mini cart) */
    .woocommerce .quantity .qty {
        background: #2a2a2a;
        color: #fff;
        border-color: #555;
    }

    /* General text colors */
    .single-product .page-container.woocommerce .product .woocommerce-product-details__short-description,
    .single-product .page-container.woocommerce .product .woocommerce-description {
        color: #ccc;
    }

    .single-product .page-container.woocommerce .product .woocommerce-description .classic-editor,
    .single-product .page-container.woocommerce .product .woocommerce-product-details__short-description .classic-editor {
        color: #ccc;
    }

    .single-product .page-container.woocommerce .product .woocommerce-description .classic-editor p,
    .single-product .page-container.woocommerce .product .woocommerce-product-details__short-description .classic-editor p {
        color: #ccc;
    }
}

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

.search-bar-container.mobile .mobile-search-close {
    z-index: 1000000;
}



.single-product .page-container.woocommerce .product .single_variation_wrap {
    flex-basis: 50%;
    padding-right: 0px;
}

@media (min-width: 1024px) {
    .single-product .page-container.woocommerce .product .product-layout-container .product-left-column {
        flex-basis: 65%;
        order: unset;
    }
    .product-left-column {
        flex: 0 0 70%;
        width: 100%;
        /* max-width: 99%; */
        position: -webkit-sticky;
        position: sticky;
        top: 100px;
        align-self: flex-start;
        height: fit-content;
        max-height: calc(100vh - 120px);
    }	
}