/*
Theme Name: Bupiz Native
Theme URI: https://bupiz.com/
Author: Bupiz
Description: Independent native WooCommerce marketplace theme for Bupiz. No Elementor or parent theme required.
Version: 1.5.12
Text Domain: bupiz-native
*/


/* =========================================
   BUPIZ CLEANED FINAL STYLE.CSS
   Synced to functions-cleaned.php
   Removed duplicate/conflicting legacy blocks
========================================= */

:root{
    /* Brand Foundation */
    --bupiz-top-strip:#1B263B;
    --bupiz-header:#FFFFFF;
    --bupiz-header-text:#1B263B;

    --bupiz-dark:#1B263B;
    --bupiz-dark-hover:#24324D;
    --bupiz-dark-soft:#34445F;

    /* Typography */
    --bupiz-text-dark:#1F2937;
    --bupiz-text-muted:#6B7280;

    /* Borders */
    --bupiz-border-soft:#E5E7EB;
    --bupiz-border-soft-2:#DDE2E7;

    /* Backgrounds - modern soft store sections */
    --bupiz-bg-soft:#FAFAFA;
    --bupiz-bg-white:#FFFFFF;
    --bupiz-section-bg:linear-gradient(180deg, #FFF4FC 0%, #F5F2FF 46%, #FFFFFF 100%);
    --bupiz-section-divider:#F7EDF8;

    /* Amazon-like CTA system */
    --bupiz-accent:#ff8400;
    --bupiz-accent-hover:#fa9543;
    --bupiz-accent-soft:#FFF7CC;

    --bupiz-add-cart-bg:#FFD814;
    --bupiz-add-cart-hover:#F7CA00;
    --bupiz-add-cart-border:#FCD200;

    --bupiz-buy-now-bg:#FFA41C;
    --bupiz-buy-now-hover:#FA8900;
    --bupiz-buy-now-border:#FF8F00;
    --bupiz-btn-text:#0F1111;

    /* Premium detail */
    --bupiz-gold:#FFA41C;

    /* Brand gradients */
    --bupiz-bar:linear-gradient(90deg, #1B263B 0%, #2E3E5C 100%);
    --bupiz-offer-bar:linear-gradient(90deg, #be26d3 0%, #a326d1 45%, #8323cf 100%);
    --bupiz-primary:var(--bupiz-accent);
    --bupiz-primary-hover:var(--bupiz-accent-hover);
    --bupiz-primary-gradient:linear-gradient(90deg, var(--bupiz-add-cart-bg) 0%, var(--bupiz-add-cart-hover) 100%);

    /* Legacy aliases */
    --bupiz-lilac:#F8F9FA;
    --bupiz-deep-purple:#1B263B;
    --bupiz-luxury-gold:#FFA41C;

    --bupiz-mocha-light:#F8F9FA;
    --bupiz-mocha-border:#E5E7EB;

    /* Button aliases used in older CSS */
    --bupiz-btn-primary:var(--bupiz-add-cart-bg);
    --bupiz-btn-primary-hover:var(--bupiz-add-cart-hover);
    --bupiz-btn-primary-border:var(--bupiz-add-cart-border);

    --bupiz-btn-secondary:var(--bupiz-buy-now-bg);
    --bupiz-btn-secondary-hover:var(--bupiz-buy-now-hover);
    --bupiz-btn-secondary-border:var(--bupiz-buy-now-border);

    /* Star colors - same family as Buy Now, green rating pill untouched below */
    --bupiz-star:#FFA41C;
    --bupiz-star-hover:#FA8900;
    --bupiz-star-empty:#D5D9D9;
    --bupiz-star-size:11px;
    --bupiz-star-fill:var(--bupiz-buy-now-bg);

    --bupiz-topbar-h:0px;
    --bupiz-home-header-h:110px;
    --bupiz-mobile-header-h:108px;
    --bupiz-sticky-space:84px;

    --bupiz-wish-loop-top-desktop:370px;
    --bupiz-wish-loop-right-desktop:12px;
    --bupiz-wish-loop-size-desktop:38px;
    --bupiz-wish-loop-top-mobile:180px;
    --bupiz-wish-loop-right-mobile:10px;
    --bupiz-wish-loop-size-mobile:32px;
    --bupiz-wish-single-top-desktop:65px;
    --bupiz-wish-single-right-desktop:10px;
    --bupiz-wish-single-top-mobile:480px;
    --bupiz-wish-single-right-mobile:12px;

    --bupiz-price-currency-size:12px;
    --bupiz-price-now-size:18px;
    --bupiz-price-mrp-label-size:11px;
    --bupiz-price-old-size:13px;
    --bupiz-price-off-size:12px;

    --bupiz-price-now-color:#111;
    --bupiz-price-old-color:#6f6f6f;
    --bupiz-price-off-color:var(--bupiz-primary);
    --bupiz-price-mrp-color:#8a8a8a;

    --bupiz-price-old-line-color:#8a8a8a;
    --bupiz-price-old-line-thickness:1.5px;
    --bupiz-price-old-line-top:54%;

    /* Neutral buttons like Cancel */
    --bupiz-neutral-bg:#FFFFFF;
    --bupiz-neutral-hover:#F7F8F8;
    --bupiz-neutral-border:#D5D9D9;
}

*,
*::before,
*::after{box-sizing:border-box;}

html,body{overflow-x:hidden;}

body,
.single-product,
body.woocommerce-account{
    background:var(--bupiz-bg-soft) !important;
}

img{max-width:100%;height:auto;}

a{transition:all .2s ease;}
/* =========================================
   BUTTONS + GLOBAL UI
========================================= */
input[type="submit"],
input[type="button"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.single-product .single_add_to_cart_button,
.single-product .bupiz-buy-now,
#bupiz-send-otp-btn,
#bupiz-verify-otp-btn,
#bupiz-resend-otp-btn,
#bupiz-save-checkout-address-btn,
#bupiz-save-address-btn,
.woocommerce-cart .checkout-button[data-bupiz-open-auth],
.bupiz-btn-primary,
.bupiz-mobile-sticky-btn,
.bupiz-cashback-signin,
.bupiz-mobile-promo-btn,
.bupiz-review-trigger,
.bupiz-show-more-reviews{
    background:var(--bupiz-btn-secondary) !important;
    color:#fff !important;
    border:none !important;
    border-radius:0px !important;
    font-weight:700 !important;
    letter-spacing:.2px;
    box-shadow:0 8px 22px rgba(27,38,59,.18) !important;
    transition:all .28s ease !important;
    text-transform:none;
    font-size:14px;
    min-height:42px !important;
    line-height:1.1 !important;
}

input[type="submit"]:hover,
input[type="button"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.single-product .single_add_to_cart_button:hover,
.single-product .bupiz-buy-now:hover,
#bupiz-send-otp-btn:hover,
#bupiz-verify-otp-btn:hover,
#bupiz-resend-otp-btn:hover,
#bupiz-save-checkout-address-btn:hover,
#bupiz-save-address-btn:hover,
.woocommerce-cart .checkout-button[data-bupiz-open-auth]:hover,
.bupiz-btn-primary:hover,
.bupiz-mobile-sticky-btn:hover,
.bupiz-cashback-signin:hover,
.bupiz-mobile-promo-btn:hover,
.bupiz-review-trigger:hover,
.bupiz-show-more-reviews:hover{
    background:var(--bupiz-accent-hover) !important;
    color:#fff !important;
    transform:translateY(-1px);
    box-shadow:0 12px 24px rgba(27,38,59,.22) !important;
}

/* =========================================
   HEADER / TOP STRIP / SEARCH COLORS
========================================= */
.bupiz-header-topbar{
    background:var(--bupiz-top-strip) !important;
    color:#ffffff !important;
    border-bottom:1px solid rgba(255,255,255,.12);
}
.bupiz-topbar-item .dashicons{
    color:#fff !important;
}
.bupiz-header-topbar-static{
    color:#fff !important;
}

.bupiz-header-main,
#bupiz-main-header-desktop,
#bupiz-main-header-mobile{
    background:var(--bupiz-header) !important;
    color:var(--bupiz-header-text) !important;
}
#bupiz-main-header-desktop{
    border-bottom:1px solid var(--bupiz-border-soft);
    box-shadow:0 10px 26px rgba(0,0,0,.12);
}
#bupiz-main-header-desktop.bupiz-desktop-scrolled{
    background:var(--bupiz-header) !important;
    border-bottom-color:var(--bupiz-border-soft-2);
}

.bupiz-desktop-menu a,
.bupiz-header-icon-link,
.bupiz-wallet-desktop-pill,
.bupiz-sell-link,
.bupiz-account-trigger{
    color:var(--bupiz-header-text) !important;
}
.bupiz-desktop-menu a:hover,
.bupiz-desktop-menu .current-menu-item > a,
.bupiz-desktop-menu .current-menu-ancestor > a{
    color:var(--bupiz-accent) !important;
}

.bupiz-header-icon-link,
.bupiz-wallet-desktop-pill{
    border-color:var(--bupiz-border-soft) !important;
    background:var(--bupiz-bg-white) !important;
}
.bupiz-header-icon-link:hover,
.bupiz-wallet-desktop-pill:hover{
    border-color:var(--bupiz-accent) !important;
    background:var(--bupiz-accent-soft) !important;
    color:var(--bupiz-header-text) !important;
}

.bupiz-header-searchbar-form{
    background:var(--bupiz-bg-white) !important;
    border:1px solid var(--bupiz-border-soft) !important;
    box-shadow:0 10px 24px rgba(0,0,0,.12) !important;
}
.bupiz-header-searchbar-input{
    color:var(--bupiz-text-dark) !important;
}
.bupiz-header-searchbar-submit{
    background:var(--bupiz-accent) !important;
    color:#fff !important;
    border:1px solid var(--bupiz-accent) !important;
}
.bupiz-header-searchbar-submit:hover{
    background:var(--bupiz-accent-hover) !important;
    border-color:var(--bupiz-accent-hover) !important;
}

.bupiz-mobile-icon-link,
.bupiz-sticky-icon-link,
.bupiz-sticky-cart-link{
    color:var(--bupiz-accent) !important;
}
.bupiz-cart-count,
.bupiz-wishlist-count,
.bupiz-sticky-cart-count{
    background:var(--bupiz-accent) !important;
}

.bupiz-btn,
.bupiz-btn-primary,
.bupiz-btn-secondary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.single-product .single_add_to_cart_button,
.single-product .bupiz-buy-now,
#bupiz-send-otp-btn,
#bupiz-verify-otp-btn,
#bupiz-resend-otp-btn{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:auto !important;
    max-width:100% !important;
    white-space:nowrap !important;
    text-align:center !important;
    padding:10px 16px !important;
}

.bupiz-btn-secondary{
    background:#fff !important;
    color:var(--bupiz-text-dark) !important;
    border:1px solid var(--bupiz-border-soft) !important;
    box-shadow:none !important;
}

.bupiz-btn-secondary:hover{
    background:var(--bupiz-accent-soft) !important;
    color:var(--bupiz-text-dark) !important;
    border-color:var(--bupiz-accent) !important;
    transform:none !important;
}


/* =========================================
   OTP AUTH BUTTON VISIBILITY FIX
   keep same Bupiz colors, change only state control
========================================= */

/* default opening state */
#bupiz-send-otp-btn{
    display:inline-flex !important;
}

#bupiz-verify-otp-btn,
#bupiz-resend-otp-btn{
    display:none !important;
}

/* JS-controlled visible state */
#bupiz-verify-otp-btn.bupiz-show-btn,
#bupiz-resend-otp-btn.bupiz-show-btn{
    display:inline-flex !important;
}

/* JS-controlled hidden state */
#bupiz-send-otp-btn.bupiz-hide-btn,
#bupiz-verify-otp-btn.bupiz-hide-btn,
#bupiz-resend-otp-btn.bupiz-hide-btn{
    display:none !important;
}

/* =========================================
   MOBILE HEADER + DRAWER
========================================= */

.bupiz-mobile-header-inner{
    display:grid !important;
    grid-template-columns:44px auto 1fr auto !important;
    align-items:center !important;
    gap:8px !important;
    padding:4px 12px 4px !important;
}

.bupiz-mobile-menu-col{
    width:auto;
    flex:none;
}

.bupiz-mobile-logo-col{
    flex:none;
    min-width:0;
    padding-left:0;
    display:flex;
    align-items:center;
    justify-content:center;
}

.bupiz-mobile-right-col{
    flex:none;
    min-width:auto;
    width:auto;
    display:flex;
    justify-content:flex-end;
    justify-self:end;
    margin-left:auto;
}
.bupiz-mobile-menu-btn,
.bupiz-sticky-menu-btn,
.bupiz-mobile-drawer-close{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:0px;
    background:#FFFFFF;
	border:1px solid #E5E7EB !important;
    color:#1B263B;
    cursor:pointer;
    font-size:22px;
    line-height:1;
}

.bupiz-header-logo,
.bupiz-header-logo img{
    max-height:46px !important;
    width:auto;
    display:block;
    opacity:1 !important;
    visibility:visible !important;
}
.bupiz-mobile-icon-row{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    width:max-content;
    margin-left:auto !important;
    padding-right:0px  !important;
	
}

.bupiz-mobile-icon-link,
.bupiz-sticky-icon-link,
.bupiz-sticky-cart-link{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
    border:none !important;
    border-radius:0 !important;
    background:transparent !important;
    color:var(--bupiz-accent);
    text-decoration:none;
    box-shadow:none !important;
    padding:0px !important;
}

.bupiz-mobile-icon-link .dashicons,
.bupiz-sticky-icon-link .dashicons,
.bupiz-sticky-cart-link .dashicons{
    width:21px;
    height:21px;
    font-size:21px;
    line-height:21px;
}
.bupiz-mobile-wishlist-link,
.bupiz-mobile-wishlist-link .dashicons,
.bupiz-sticky-wishlist-link,
.bupiz-sticky-wishlist-link .dashicons{
    color:#E76F8A !important;
}
.bupiz-mobile-cart-link,
.bupiz-mobile-cart-link .dashicons,
.bupiz-sticky-cart-link,
.bupiz-sticky-cart-link .dashicons{
    color:var(--bupiz-dark);
}

.bupiz-mobile-icon-count,
.bupiz-sticky-cart-count{
    position:absolute;
    top:4px !important;
    right:5px !important;
    min-width:auto !important;
    height:auto !important;
    padding:0 !important;
    font-size:11px !important;
    font-weight:700 !important;
    line-height:1 !important;
    background:transparent !important;
    color:#C94F6D !important;
    border:none !important;
    box-shadow:none !important;
}

/* search row */
.bupiz-mobile-search-row{
    background:#ffffff;
    padding:10px 12px 12px;
    border-bottom:1px solid var(--bupiz-border-soft-2);
}

.bupiz-search-form,
.bupiz-sticky-search-form{
    position:relative;
    display:block !important;
}

.bupiz-search-form input[type="search"],
.bupiz-sticky-search-form input[type="search"]{
    width:100% !important;
    min-height:36px;
    height:36px;
    padding:0 36px 0 14px !important;
    border:1px solid #1B263B;
    border-radius:5px;
    background:#ffffff !important;
    font-size:14px;
}

.bupiz-search-form button,
.bupiz-sticky-search-form button{
    position:absolute !important;
    top:0px !important;
    right:0px !important;
    width:35px !important;
    min-width:35px !important;
    height:35px !important;
    padding:0 !important;
    border-radius:8px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:var(--bupiz-accent) !important;   /* Bupiz orange search button */
    color:#fff !important;
    border:none !important;          /* removes border */
    outline:none !important;         /* removes focus outline */
    box-shadow:none !important;
}

.bupiz-search-form button .dashicons,
.bupiz-sticky-search-form button .dashicons{
    width:18px;
    height:18px;
    font-size:18px;
    line-height:18px;
}


.bupiz-wallet-mini-pill{
    display:inline-flex;
    align-items:center;
    min-height:32px;
    padding:7px 12px;
    border-radius:0px;
    background:#fff;
    border:1px solid var(--bupiz-border-soft);
    color:var(--bupiz-dark);
    text-decoration:none;
    font-size:12px;
    font-weight:700;
    box-shadow:none;
}

.bupiz-wallet-mini-pill:hover{
    background:var(--bupiz-accent-soft);
    border-color:var(--bupiz-accent);
    color:var(--bupiz-dark);
}

/* sticky bar */
.bupiz-mobile-sticky-bar{
    position:fixed;
    top:var(--bupiz-topbar-h);
    left:0;
    right:0;
    z-index:10055;
    display:grid;
    grid-template-columns:42px 1fr 42px 42px;
    align-items:center;
    gap:8px;
    padding:8px 10px;
    background:#1B263B !important;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transform:translateY(-120%);
    opacity:0;
    pointer-events:none;
    transition:transform .28s ease,opacity .28s ease;
}

.bupiz-mobile-sticky-bar.show{
    transform:translateY(0);
    opacity:1;
    pointer-events:auto;
}


.bupiz-sticky-search-form input[type="search"]{
    min-height:42px;
    height:42px;
    border-radius:0px;
}

.bupiz-sticky-search-form button{
    top:3px !important;
    right:3px !important;
    width:36px !important;
    min-width:36px !important;
    height:36px !important;
    border-radius:0px !important;
}

@media (max-width:767px){
    .bupiz-sticky-wallet-float{
        position:absolute;
        top:calc(100% + 8px);
        left:auto;
			right: 12px;/* for right side use right:12px; left:auto; */
        z-index:2;
        display:inline-flex;
        align-items:center;
        justify-content:center;
        min-height:32px;
        padding:7px 12px;
        border-radius:0px;
        background:#fff;
        border:1px solid var(--bupiz-border-soft);
        color:var(--bupiz-text-dark);
        text-decoration:none;
        font-size:12px;
        font-weight:700;
        line-height:1;
        white-space:nowrap;
        box-shadow:0 8px 18px rgba(0,0,0,.08);
    }
}


/* drawer */
/* drawer */
.bupiz-mobile-drawer{
    position:fixed;
    inset:0;
    z-index:10080;
    display:none;
}

.bupiz-mobile-drawer.active{
    display:block;
}

.bupiz-mobile-drawer-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}

.bupiz-mobile-drawer-panel{
    position:relative;
    width:84%;
    max-width:320px;
    height:100%;
    background:var(--bupiz-bg-soft);
    padding:18px 16px 88px;
    z-index:2;
    overflow:auto;
    box-shadow:18px 0 40px rgba(0,0,0,.12);
}

.bupiz-mobile-drawer-close{
    margin-bottom:10px;
}

.bupiz-mobile-menu{
    display:grid;
    gap:2px;
}

.bupiz-mobile-menu a{
    display:block;
    padding:9px 10px;
    border-radius:0px;
    text-decoration:none;
    color:var(--bupiz-text-dark);
    font-weight:700;
    font-size:15px;
    letter-spacing:.1px;
}

.bupiz-mobile-drawer-links{
    margin-top:12px;
    display:grid;
    gap:3px;
    padding-top:12px;
    border-top:1px solid var(--bupiz-border-soft);
}

.bupiz-mobile-drawer-links a{
    display:block;
    padding:8px 10px;
    border-radius:0px;
    text-decoration:none;
    color:#6f425c;
    font-weight:600;
    font-size:14px;
}

.bupiz-mobile-menu a:hover,
.bupiz-mobile-drawer-links a:hover{
    background:var(--bupiz-accent-soft);
    color:var(--bupiz-accent);
}

.bupiz-mobile-sell-link{
    display:block !important;
    margin-top:4px !important;
    padding:8px 10px !important;
    border-radius:0 !important;
    background:transparent !important;
    color:var(--bupiz-accent) !important;
    text-align:left !important;
    font-weight:700 !important;
    border:none !important;
    box-shadow:none !important;
}

@media (max-width:767px){
   body{
        padding-top:calc(var(--bupiz-topbar-h) + var(--bupiz-mobile-header-h));
    }

    .desktop-tablet{display:none !important;}
    .mobile-only{display:block !important;}
    .bupiz-header-logo{opacity:1 !important;visibility:visible !important;}
    #bupiz-main-header-mobile .bupiz-mobile-logo-col{
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        min-width:120px !important;
    }
    #bupiz-main-header-mobile .bupiz-header-logo,
    #bupiz-main-header-mobile .bupiz-header-logo img{
        display:block !important;
        visibility:visible !important;
        opacity:1 !important;
        max-height:44px !important;
        width:auto !important;
    }

    .bupiz-header-topbar-static{
        gap:2px;
        font-size:12px;
		width: 100% !important;
        padding:2px 2px;
    }

   

    .bupiz-mobile-search-row + *{
        margin-top:0 !important;
    }

  

    /* Force logo always visible + tuned size */
    #bupiz-main-header-mobile .bupiz-mobile-logo-col{
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        width:auto !important;
        min-width:110px !important;
    }
    #bupiz-main-header-mobile .bupiz-header-logo,
    #bupiz-main-header-mobile .bupiz-header-logo img{
        max-height:34px !important;
        width:auto !important;
        display:block !important;
        visibility:visible !important;
        opacity:1 !important;
    }
}
/*=========================================
   AUTH MODAL + BUY NOW MODAL
========================================= */
.bupiz-auth-modal,
.bupiz-buynow-modal{
    position:fixed;
    inset:0;
    z-index:100000;
    display:none;
    visibility:hidden;
    opacity:0;
    pointer-events:none;
}

.bupiz-auth-modal.is-open,
.bupiz-buynow-modal.is-open{
    display:block;
    visibility:visible;
    opacity:1;
    pointer-events:auto;
}

.bupiz-auth-backdrop,
.bupiz-buynow-backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.42);
}

.bupiz-auth-dialog,
.bupiz-buynow-dialog{
    position:fixed;
    inset:0;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px 16px;
    overflow-y:auto;

    background:transparent !important;
    border:none !important;
    border-radius:0 !important;
    box-shadow:none !important;
    width:auto !important;
    max-width:none !important;
    min-height:100dvh !important;
}

.bupiz-auth-card,
.bupiz-buynow-card{
    position:relative;
    width:min(420px, calc(100vw - 32px));
    max-width:420px;
    background:#fff;
    border-radius:0px;
    padding:24px 22px 22px;
    box-shadow:0 24px 60px rgba(0,0,0,.18);
    margin:auto;
}

.bupiz-auth-close,
.bupiz-buynow-close{
    position:absolute;
    top:10px;
    right:12px;
    z-index:100005;
    border:0;
    background:transparent;
    font-size:30px;
    line-height:1;
    color:var(--bupiz-text-dark);
    cursor:pointer;
    padding:0;
    pointer-events:auto !important;
}

.bupiz-auth-title,
.bupiz-buynow-title{
    margin:0 0 6px;
    font-size:24px;
    font-weight:800;
    color:var(--bupiz-text-dark);
}

.bupiz-auth-subtitle,
.bupiz-buynow-subtitle{
    margin:0 0 16px;
    color:var(--bupiz-text-muted);
    font-size:14px;
}

.bupiz-auth-form,
.bupiz-buynow-field,
.bupiz-form-row{
    display:grid;
    gap:8px;
    margin-bottom:14px;
}

.bupiz-auth-form input,
.bupiz-auth-form select,
.bupiz-auth-form textarea,
.bupiz-buynow-field input,
.bupiz-buynow-field select,
.bupiz-buynow-field textarea,
.bupiz-address-field input,
.bupiz-address-field select,
.bupiz-address-field textarea,
.woocommerce form .input-text,
.woocommerce form select,
.woocommerce form textarea{
    width:100%;
    min-height:46px;
    padding:10px 14px;
    border:1px solid var(--bupiz-border-soft);
    border-radius:0px;
    background:#fff;
}

.bupiz-auth-actions,
.bupiz-buynow-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.bupiz-auth-msg{min-height:18px;font-size:13px;}
.bupiz-auth-msg.success{color:#0f8a42;}
.bupiz-auth-msg.error{color:#c62828;}
.bupiz-auth-msg.info{color:#6a5b60;}

.bupiz-country-code{min-width:68px;}

.bupiz-phone-group{
    display:grid;
    grid-template-columns:88px minmax(0,1fr);
    gap:8px;
}

.bupiz-name-wrap,
.bupiz-otp-wrap{display:none;}

#bupiz-recaptcha-container{min-height:1px;}

@media (max-width:767px){
    .bupiz-auth-dialog,
    .bupiz-buynow-dialog{
        align-items:flex-start;
        padding:42px 14px 18px;
    }

    .bupiz-auth-card,
    .bupiz-buynow-card{
        width:100%;
        max-width:420px;
        border-radius:0px;
        padding:22px 18px 18px;
    }

    .bupiz-auth-title,
    .bupiz-buynow-title{
        font-size:20px;
    }
}
/* =========================================
   ACCOUNT PAGE + CHECKOUT SAVE ADDRESS
========================================= */
.woocommerce-MyAccount-navigation{
    background:#fff;
    border:1px solid #edd9d2;
    border-radius:0px;
    padding:12px;
    box-shadow:0 8px 20px rgba(0,0,0,.04);
}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;}
.woocommerce-MyAccount-navigation ul li{margin:0;padding:0;border-bottom:1px solid #f1e4df;}
.woocommerce-MyAccount-navigation ul li:last-child{border-bottom:none;}
.woocommerce-MyAccount-navigation ul li a{
    display:flex;
    align-items:center;
    min-height:38px;
    padding:8px 12px;
    border-radius:0px;
    text-decoration:none;
    color:#7a2f45;
    font-size:13px;
    font-weight:600;
}
.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a{
    background:var(--bupiz-primary-gradient) !important;
    color:#fff !important;
}

body.woocommerce-account .woocommerce,
body.woocommerce-account .woocommerce *,
body.woocommerce-account .elementor-widget-shortcode,
body.woocommerce-account .elementor-widget-shortcode .elementor-widget-container{box-sizing:border-box;}

body.woocommerce-account .site,
body.woocommerce-account .site-content,
body.woocommerce-account .content-area,
body.woocommerce-account .site-main,
body.woocommerce-account main,
body.woocommerce-account .elementor,
body.woocommerce-account .elementor-location-single,
body.woocommerce-account .elementor-section,
body.woocommerce-account .elementor-container,
body.woocommerce-account .e-con,
body.woocommerce-account .e-con-inner,
body.woocommerce-account .elementor-row,
body.woocommerce-account .elementor-col-100{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
}

body.woocommerce-account .woocommerce{
    display:flex !important;
    flex-wrap:nowrap !important;
    align-items:flex-start !important;
    gap:28px !important;
    width:100% !important;
    max-width:100% !important;
    padding-left:15px;
    padding-right:15px;
}
body.woocommerce-account .woocommerce-MyAccount-navigation{flex:0 0 280px !important;width:280px !important;min-width:280px !important;max-width:280px !important;float:none !important;margin:0 !important;}
body.woocommerce-account .woocommerce-MyAccount-content{
    flex:1 1 auto !important;
    min-width:0 !important;
    width:auto !important;
    float:none !important;
    margin:0 !important;
    padding:16px 16px 16px 16px !important;
}
body.woocommerce-account .woocommerce-MyAccount-content > *,
body.woocommerce-account table.shop_table,
body.woocommerce-account .woocommerce-order,
body.woocommerce-account .woocommerce-order-details,
body.woocommerce-account .woocommerce-notices-wrapper{width:100% !important;max-width:100% !important;min-width:0 !important;}

.bupiz-saved-address-box,
.bupiz-checkout-address-card{
    background:var(--bupiz-lilac);
    color:var(--bupiz-deep-purple);
    border:1px solid #f3b9e7;
    border-radius:0px;
    padding:18px;
    margin:0 0 18px;
}
.bupiz-saved-address-head{font-size:18px;font-weight:700;color:var(--bupiz-deep-purple);margin-bottom:12px;}
.bupiz-saved-address-row{margin-bottom:6px;}
.bupiz-address-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.bupiz-address-field-full{grid-column:1 / -1;}
.bupiz-address-msg,
.bupiz-checkout-address-msg{font-size:13px;margin-top:10px;}
.bupiz-wallet-product-balance,
.bupiz-delivery-card{
    background:#fff;
    border:1px solid var(--bupiz-border-soft);
    border-radius:0px;
    padding:14px 16px;
    margin:0 0 14px;
}
.bupiz-wallet-product-balance__main{font-weight:700;color:var(--bupiz-text-dark);}
.bupiz-wallet-product-balance__sub{margin-top:4px;color:var(--bupiz-text-muted);font-size:13px;}
.bupiz-order-actions,
.bupiz-order-actions-js{display:flex;gap:8px;flex-wrap:wrap;}
.bupiz-order-action{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 12px;border-radius:0px;background:#fff;border:1px solid var(--bupiz-border-soft);color:var(--bupiz-text-dark);text-decoration:none;font-size:12px;font-weight:700;}
.bupiz-order-action:hover{background:#fff3ef;border-color:#dfb9ac;color:var(--bupiz-primary);}

/* =========================================
   LOOP CARDS + WISHLIST + BADGES
========================================= */
.woocommerce ul.products li.product,
.bupiz-hot-deals-slider ul.products li.product,
.related.products ul.products li.product{
    position:relative !important;
}

.woocommerce ul.products li.product a img,
.related.products ul.products li.product a img,
.bupiz-hot-deals-slider ul.products li.product a img,
.woocommerce-page ul.products li.product a img{
    border-radius:0px !important;
    overflow:hidden !important;
}

.bupiz-save-badge{
    display:none !important;
}

.bupiz-loop-cashback-badge{
    position:absolute !important;
    top:7px !important;
    left:7px !important;
    z-index:8 !important;
    display:inline-flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:52px !important;
    min-height:31px !important;
    padding:4px 7px 3px !important;
    border-radius:0 10px 10px 0 !important;
    background:linear-gradient(135deg,#0f8f5f 0%,#18b67c 100%) !important;
    color:#fff !important;
    box-shadow:0 7px 18px rgba(15,143,95,.28) !important;
    letter-spacing:.01em !important;
    text-transform:uppercase !important;
    pointer-events:none !important;
}

.bupiz-loop-cashback-badge span{
    display:block !important;
    font-size:10px !important;
    line-height:1 !important;
    font-weight:950 !important;
}

.bupiz-loop-cashback-badge small{
    display:block !important;
    margin-top:2px !important;
    font-size:8px !important;
    line-height:1 !important;
    font-weight:900 !important;
}

.bupiz-loop-top-label{
    display:none !important;
}



.bupiz-home-review-row,
.bupiz-mobile-rating-row{
    display:inline-flex !important;
    align-items:center !important;
    gap:4px !important;
    flex-wrap:nowrap !important;
    margin:0 0 6px !important;
    line-height:1 !important;
}
.bupiz-home-review-score,
.bupiz-home-review-count,
.bupiz-mobile-rating-score{font-size:12px !important;color:#111 !important;line-height:1 !important;}
.bupiz-home-review-score,
.bupiz-mobile-rating-score{font-weight:700 !important;}
.bupiz-home-review-row .star-rating,
.bupiz-mobile-rating-row .star-rating{
    float:none !important;
    margin:0 !important;
    font-size:11px !important;
    line-height:1.2 !important;
}


/*star rating everywhere*/
/* all WooCommerce stars everywhere */
.woocommerce .star-rating{
    float:none !important;
    margin:0 !important;
    font-size:var(--bupiz-star-size) !important;
    line-height:1.2 !important;
}

.woocommerce .star-rating::before{
    color:var(--bupiz-star-empty) !important;
}

.woocommerce .star-rating span::before{
    color:var(--bupiz-star-fill) !important;
}

/* all score / count text near stars */
.bupiz-home-review-score,
.bupiz-home-review-count,
.bupiz-mobile-rating-score,
.single-product .woocommerce-review-link{
    color:#111 !important;
}

.bupiz-home-price-row,
.bupiz-price-row-single{
    display:flex;
    flex-wrap:wrap;
    align-items:baseline;
    gap:4px 6px;
    margin:0 0 6px;
    line-height:1.1;
}

.bupiz-home-now-wrap{
    display:inline-flex;
    align-items:flex-start;
    gap:1px;
}

.bupiz-home-currency{
    font-size:var(--bupiz-price-currency-size);
    font-weight:700;
    color:var(--bupiz-price-now-color);
    transform:translateY(2px);
}

.bupiz-home-now{
    font-size:var(--bupiz-price-now-size);
    font-weight:800;
    color:var(--bupiz-price-now-color);
    letter-spacing:-.2px;
}

.bupiz-home-mrp-label{
    font-size:var(--bupiz-price-mrp-label-size);
    font-weight:600;
    color:var(--bupiz-price-mrp-color);
}

.bupiz-home-old{
    position:relative;
    display:inline-block;
    font-size:var(--bupiz-price-old-size);
    color:var(--bupiz-price-old-color);
    line-height:1.1;
    text-decoration:none !important;
}

.bupiz-home-old::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:var(--bupiz-price-old-line-top);
    border-top:var(--bupiz-price-old-line-thickness) solid var(--bupiz-price-old-line-color);
    transform:translateY(-50%);
}

.bupiz-home-off{
    font-size:var(--bupiz-price-off-size);
    font-weight:700;
    color:var(--bupiz-price-off-color);
}
.bupiz-home-delivery-row{display:none !important;}
.bupiz-home-delivery-strong{display:none !important;}
@media (max-width:767px){
    .bupiz-home-mrp-label{
        display:none !important;
    }
}
/* =========================================
   SINGLE PRODUCT - BASE
========================================= */
body.single-product .site,
body.single-product .site-content,
body.single-product .content-area,
body.single-product .site-main,
body.single-product main,
body.single-product .elementor,
body.single-product .elementor-location-single,
body.single-product .elementor-section,
body.single-product .elementor-container,
body.single-product .e-con,
body.single-product .e-con-inner,
body.single-product .elementor-row,
body.single-product .elementor-col-100,
body.single-product .woocommerce,
body.single-product .product{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
}
.single-product div.product{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    background:transparent !important;
    border:none !important;
    border-radius:0 !important;
    box-shadow:none !important;
    padding:0 !important;
    overflow:visible !important;
    position:relative !important;
}

.single-product div.product::before,
.single-product div.product::after{display:none !important;content:none !important;}

.single-product div.product > .images,
.single-product div.product > div.images,
.single-product div.product > .summary,
.single-product div.product > div.summary,
.single-product div.product > .summary.entry-summary{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    float:none !important;
}

.single-product div.product .product_title{
    margin:0 0 6px !important;
    font-size:18px !important;
    line-height:1.22 !important;
    font-weight:750 !important;
    color:var(--bupiz-text-dark) !important;
}

.single-product div.product .price,
.single-product div.product p.price{margin:0 0 10px !important;}

.single-product div.product p.price ins .woocommerce-Price-amount,
.single-product div.product .price ins .woocommerce-Price-amount{font-size:15px;color:var(--bupiz-deep-purple);font-weight:700;}

.single-product div.product p.price del,
.single-product div.product .price del{
    position:relative;
    display:inline-block;
    text-decoration:none !important;
    color:#9a9a9a !important;
    margin-right:6px;
}

.single-product div.product p.price del .woocommerce-Price-amount,
.single-product div.product .price del .woocommerce-Price-amount{
    position:relative;
    display:inline-block;
    font-size:14px !important;   /* change as needed */
    font-weight:500 !important;
    line-height:1.1 !important;
    color:#9a9a9a !important;
    text-decoration:none !important;
}

.single-product div.product p.price del .woocommerce-Price-amount::after,
.single-product div.product .price del .woocommerce-Price-amount::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:54%;                      /* move line up/down here */
    border-top:1.5px solid #9a9a9a;
    transform:translateY(-50%);
}
.bupiz-single-save-badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:0px;background:var(--bupiz-luxury-gold);color:#111;font-size:12px;font-weight:800;margin-left:8px;}


.single-product .summary .woocommerce-product-rating{display:none !important;}
.single-product .summary .bupiz-single-rating-row{
    display:block !important;
    width:auto !important;
    max-width:100% !important;
    margin:0 0 10px !important;
    line-height:1 !important;
}
.single-product .summary .bupiz-single-rating-link{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:6px !important;
    flex-wrap:nowrap !important;
    white-space:nowrap !important;
    text-decoration:none !important;
    color:var(--bupiz-text-dark) !important;
    width:auto !important;
    max-width:100% !important;
    line-height:1 !important;
}
.single-product .summary .bupiz-single-rating-score,
.single-product .summary .bupiz-single-rating-count{
    display:inline-block !important;
    font-size:14px !important;
    font-weight:600 !important;
    line-height:1 !important;
    margin:0 !important;
    color:var(--bupiz-text-dark) !important;
}
.single-product .summary .bupiz-single-rating-stars{display:inline-flex !important;align-items:center !important;line-height:1 !important;margin:0 !important;}
.single-product .summary .bupiz-single-rating-stars .star-rating{float:none !important;display:inline-block !important;margin:0 !important;line-height:1 !important;}

.single-product div.product form.cart{display:flex;flex-direction:column;gap:12px;margin:0 0 14px !important;}
.single-product div.product form.cart .quantity{margin-bottom:0 !important;}
.single-product .single_add_to_cart_button,
.single-product .bupiz-buy-now{min-height:48px !important;padding:12px 24px !important;margin:0 !important;}

.bupiz-great-offers-box,
.bupiz-special-offer-box{
    position:relative;
    background:linear-gradient(180deg, var(--bupiz-bg-white) 0%, var(--bupiz-accent-soft) 100%);
    border:1px solid var(--bupiz-border-soft);
    border-radius:0px;
    padding:18px 20px 16px;
    color:var(--bupiz-text-dark);
    margin:0 0 16px !important;
    box-shadow:0 10px 24px rgba(75,47,57,.06);
    overflow:hidden;
}

.bupiz-great-offers-box::before,
.bupiz-special-offer-box::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:4px;
    background:linear-gradient(90deg, var(--bupiz-accent) 0%, var(--bupiz-dark) 100%);
}

.bupiz-great-offers-box h3,
.bupiz-special-offer-box h3{
    margin:0 0 12px;
    font-size:18px;
    font-weight:800;
    line-height:1.2;
    color:var(--bupiz-text-dark);
    letter-spacing:.2px;
    display:flex;
    align-items:center;
    gap:8px;
}

.bupiz-great-offers-box h3::before,
.bupiz-special-offer-box h3::before{
    content:"✦";
    font-size:13px;
    color:var(--bupiz-gold);
    line-height:1;
}

.bupiz-great-offers-box ul,
.bupiz-special-offer-box ul{
    list-style:none;
    margin:0;
    padding:0;
}

.bupiz-great-offers-box li,
.bupiz-special-offer-box li{
    position:relative;
    margin:0 0 10px;
    padding-left:24px;
    line-height:1.5;
    font-size:15px;
    font-weight:600;
    color:var(--bupiz-text-dark);
}

.bupiz-great-offers-box li:last-child,
.bupiz-special-offer-box li:last-child{
    margin-bottom:0;
}

.bupiz-great-offers-box li::before,
.bupiz-special-offer-box li::before{
    content:"";
    position:absolute;
    top:8px;
    left:0;
    width:10px;
    height:10px;
    border-radius:50%;
    background:linear-gradient(180deg, var(--bupiz-accent) 0%, var(--bupiz-dark) 100%);
    box-shadow:0 0 0 4px rgba(142,78,110,.12);
}

@media (max-width:767px){
    .bupiz-great-offers-box,
    .bupiz-special-offer-box{
        border-radius:0px;
        padding:16px 16px 14px;
    }

    .bupiz-great-offers-box h3,
    .bupiz-special-offer-box h3{
        font-size:17px;
        margin-bottom:10px;
    }

    .bupiz-great-offers-box li,
    .bupiz-special-offer-box li{
        font-size:14px;
        padding-left:22px;
        margin-bottom:9px;
    }
}
/* =========================================
   SINGLE PRODUCT DELIVERY + TRUST
========================================= */
/* ========================================= SINGLE PRODUCT DELIVERY + TRUST ========================================= */
.bupiz-single-delivery-card{ background:#fff; border:1px solid var(--bupiz-border-soft); border-radius:0px; padding:12px 12px 10px; margin:8px 0 10px !important; box-shadow:0 4px 12px rgba(27,38,59,.045); overflow:hidden; }
.bupiz-single-delivery-heading{ margin:0 0 8px !important; font-size:13px !important; line-height:1.2 !important; font-weight:800 !important; color:var(--bupiz-text-dark) !important; letter-spacing:.05px !important; }

 .bupiz-single-delivery-card__top{ margin:0 0 9px; padding:0 0 8px; border-bottom:1px solid var(--bupiz-border-soft-2); font-size:12px; line-height:1.35; color:var(--bupiz-text-dark); }

 .bupiz-single-delivery-card__top strong{ color:var(--bupiz-text-dark); font-weight:800; } 
.bupiz-single-delivery-card__steps{ position:relative; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; align-items:start; padding-top:8px; } 
.bupiz-single-delivery-card__steps::before{ content:""; position:absolute; left:calc(16.666% + 12px); right:calc(16.666% + 12px); top:12px; height:1px; background:linear-gradient( 90deg, var(--bupiz-dark) 0%, var(--bupiz-accent) 50%, var(--bupiz-dark) 100% ); opacity:.22; pointer-events:none; } 
.bupiz-single-delivery-step{ position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; text-align:center; padding:0; background:transparent !important; border:none !important; border-radius:0 !important; box-shadow:none !important; } 
.bupiz-single-delivery-step::before{ content:""; position:absolute; top:0; left:50%; width:7px; height:7px; border-radius:999px; background:var(--bupiz-accent); transform:translateX(-50%); box-shadow:0 0 0 3px #fff; }
 .bupiz-single-delivery-step--order::before, .bupiz-single-delivery-step--delivery::before{ background:var(--bupiz-dark); } 
.bupiz-single-delivery-icon{ display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:0px; background:var(--bupiz-dark); color:#fff; border:3px solid #fff; margin:0 auto 6px; box-shadow:0 5px 12px rgba(27,38,59,.10); }
 .bupiz-single-delivery-step--dispatch .bupiz-single-delivery-icon{ background:var(--bupiz-accent); }

 .bupiz-single-delivery-step--delivery .bupiz-single-delivery-icon{ background:var(--bupiz-dark); } 

.bupiz-single-delivery-icon svg{ width:16px; height:16px; display:block; } 

.bupiz-single-delivery-date, .bupiz-single-delivery-step strong{ display:block; margin:7px 0 0; font-size:11px; line-height:1.18; font-weight:800; color:var(--bupiz-text-dark); letter-spacing:.1px; }

 .bupiz-single-delivery-label{ display:block; margin-top:3px; font-size:10.5px; line-height:1.18; font-weight:700; color:var(--bupiz-text-dark); text-align:center; }

.bupiz-date-mobile{
    display:none !important;
}

.bupiz-date-desktop{
    display:inline !important;
}

/* Mobile*/
@media (max-width:767px){
    .bupiz-single-delivery-card{
        padding:11px 10px 10px !important;
        border-radius:0px !important;
        margin:8px 0 10px !important;
    }

    .bupiz-single-delivery-card__top{
        margin-bottom:8px !important;
        padding-bottom:8px !important;
        font-size:11.5px !important;
        line-height:1.32 !important;
    }

    .bupiz-single-delivery-card__steps{
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
        gap:6px !important;
        padding-top:8px !important;
    }

    .bupiz-single-delivery-card__steps::before{
        left:calc(16.666% + 10px) !important;
        right:calc(16.666% + 10px) !important;
        top:11px !important;
        height:1px !important;
    }

    .bupiz-single-delivery-step::before{
        width:8px !important;
        height:8px !important;
        box-shadow:0 0 0 3px #fff !important;
    }

    .bupiz-single-delivery-date,
    .bupiz-single-delivery-step strong{
        margin-top:7px !important;
        font-size:10.5px !important;
        line-height:1.12 !important;
    }

    .bupiz-single-delivery-label{
        display:block !important;
        margin-top:3px !important;
        font-size:10px !important;
        line-height:1.15 !important;
        text-align:center !important;
    }

    .bupiz-single-delivery-mini-icon{
        display:none !important;
    }

    .bupiz-date-desktop{
        display:none !important;
    }

    .bupiz-date-mobile{
        display:inline !important;
    }
}
/* =========================================
   TRUST STRIP - 
========================================= */
.bupiz-mobile-trust-wrap{
    margin:0 0 18px !important;
    padding:0 !important;
    background:transparent !important;
    border:none !important;
    box-shadow:none !important;
}

.bupiz-mobile-trust-heading{
    margin:0 0 12px !important;
    font-size:15px !important;
    line-height:1.25 !important;
    font-weight:700 !important;
    color:#0F1111 !important;
    letter-spacing:0 !important;
}

.bupiz-mobile-trust-strip{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:14px !important;
    margin:0 !important;
    padding:0 !important;
    align-items:start !important;
}

.bupiz-mobile-trust-item{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:8px !important;
    min-height:auto !important;
    padding:0 !important;
    background:transparent !important;
    border:none !important;
    box-shadow:none !important;
    text-align:center !important;
}

.bupiz-mobile-trust-icon{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:34px !important;
    height:34px !important;
    border:1px solid #D5D9D9 !important;
    border-radius:8px !important;
    background:#FFFFFF !important;
    color:#565959 !important;
    box-shadow:none !important;
}

.bupiz-mobile-trust-icon svg{
    width:18px !important;
    height:18px !important;
    display:block !important;
}

.bupiz-mobile-trust-title{
    display:block !important;
    font-size:13px !important;
    line-height:1.35 !important;
    font-weight:500 !important;
    color:#2162A1 !important;
    text-align:center !important;
    letter-spacing:0 !important;
}

/* mobile */
@media (max-width:767px){
    .bupiz-mobile-trust-wrap{
        margin:0 0 16px !important;
    }

    .bupiz-mobile-trust-heading{
        margin-bottom:10px !important;
        font-size:14px !important;
    }

    .bupiz-mobile-trust-strip{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:12px 10px !important;
    }

    .bupiz-mobile-trust-item{
        gap:7px !important;
    }

    .bupiz-mobile-trust-icon{
        width:32px !important;
        height:32px !important;
        border-radius:7px !important;
    }

    .bupiz-mobile-trust-icon svg{
        width:16px !important;
        height:16px !important;
    }

    .bupiz-mobile-trust-title{
        font-size:12px !important;
        line-height:1.3 !important;
    }
}

/* =========================================
   CUSTOM LOWER SINGLE PRODUCT SECTIONS
========================================= */
.single-product div.product > .related.products,
.single-product div.product > .bupiz-product-info-split,
.single-product div.product > .bupiz-reviews-block,
.single-product div.product > .bupiz-hot-deals-slider,
.single-product div.product > .woocommerce-tabs{
    grid-column:1 / -1 !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    clear:both !important;
}
.single-product .woocommerce-tabs{display:none !important;}
.single-product table.shop_attributes tr[class*="attribute_pa_size"],
.single-product table.shop_attributes tr[class*="attribute_size"]{display:none !important;}

.bupiz-product-info-split{
    order:4 !important;
    display:grid !important;
    grid-template-columns:minmax(0,3fr) minmax(220px,1fr) !important;
    gap:24px !important;
    background:#fff !important;
    border:1px solid var(--bupiz-border-soft) !important;
    border-radius:0px !important;
    padding:22px !important;
    margin:0 0 28px !important;
}
.bupiz-product-info-split__content,
.bupiz-product-info-split__image{min-width:0 !important;}
.bupiz-product-info-split__image{display:flex !important;align-items:flex-start !important;justify-content:center !important;}
.bupiz-product-info-split__image img{width:100% !important;height:auto !important;border-radius:0px !important;border:1px solid var(--bupiz-border-soft) !important;object-fit:cover !important;}

.bupiz-product-info-block + .bupiz-product-info-block{margin-top:24px !important;}
.bupiz-product-info-block h2{
    font-size:22px !important;
    line-height:1.2 !important;
    color:var(--bupiz-text-dark) !important;
    margin:0 0 12px !important;
    font-weight:800 !important;
    letter-spacing:.1px !important;
}
.bupiz-product-info-block p,
.bupiz-product-info-block li,
.bupiz-product-info-block td,
.bupiz-product-info-block th{line-height:1.55 !important;color:var(--bupiz-text-dark);}
.bupiz-product-info-block table.shop_attributes{width:100% !important;border-collapse:collapse !important;}
.bupiz-product-info-block table.shop_attributes th,
.bupiz-product-info-block table.shop_attributes td{padding:8px 10px !important;border-bottom:1px solid #eee !important;text-align:left !important;}

/* accordion */
.bupiz-accordion-item{border-top:1px solid #f0e7ea;}
.bupiz-accordion-item:first-child{border-top:none;}
.bupiz-accordion-toggle{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    border:0;
    background:transparent;
    padding:0 0 14px;
    text-align:left;
    cursor:pointer;
}
.bupiz-accordion-title{font-size:24px;font-weight:700;color:var(--bupiz-text-dark);}
.bupiz-accordion-icon{font-size:22px;color:var(--bupiz-primary);line-height:1;}
.bupiz-accordion-panel{padding:0 0 8px;}

/* description read more */
.bupiz-readmore-wrap{position:relative;}
.bupiz-readmore-wrap.is-collapsed .bupiz-readmore-content{
    display:-webkit-box !important;
    -webkit-line-clamp:3 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
}
.bupiz-readmore-wrap.is-collapsed::after{
    content:"" !important;
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    height:28px !important;
    background:linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.9) 68%,
        rgba(255,255,255,1) 100%
    ) !important;
    pointer-events:none !important;
}
.bupiz-readmore-toggle,
.bupiz-product-details-more{
    position:relative !important;
    display:inline-flex !important;
    align-items:center !important;
    gap:6px !important;
    background:transparent !important;
    color:var(--bupiz-accent) !important;
    border:none !important;
    box-shadow:none !important;
    min-height:auto !important;
    font-size:14px !important;
    font-weight:700 !important;
    line-height:1.2 !important;
    padding:12px 0 0 !important;
    margin:10px 0 0 !important;
    text-transform:none !important;
}

.bupiz-readmore-toggle::before,
.bupiz-product-details-more::before{
    content:"" !important;
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    top:0 !important;
    height:1px !important;
    background:linear-gradient(
        90deg,
        rgba(142,78,110,0) 0%,
        rgba(142,78,110,.18) 18%,
        rgba(142,78,110,.18) 82%,
        rgba(142,78,110,0) 100%
    ) !important;
}

.bupiz-readmore-toggle:hover,
.bupiz-product-details-more:hover{
    transform:none !important;
    box-shadow:none !important;
    background:transparent !important;
    color:var(--bupiz-dark) !important;
}

/* short description preview */
/* short description preview */
.single-product div.product .woocommerce-product-details__short-description{
    position:relative !important;
    margin:14px 0 0 !important;
    padding:18px 0 0 !important;
    border-top:1px solid var(--bupiz-border-soft-2) !important;
}

.bupiz-product-details-heading{
    margin:0 0 10px !important;
    font-size:1.0625rem !important;
    line-height:1.25 !important;
    font-weight:800 !important;
    letter-spacing:.1px !important;
    color:var(--bupiz-text-dark) !important;
}

.bupiz-product-details-preview{
    position:relative !important;
}

.bupiz-product-details-preview.is-collapsed{
    overflow:hidden !important;
}

.bupiz-product-details-preview.is-collapsed .bupiz-product-details-preview__inner{
    display:-webkit-box !important;
    -webkit-line-clamp:3 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
}

.bupiz-product-details-preview.is-collapsed::after{
    content:"" !important;
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    height:34px !important;
    background:linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.72) 68%,
        rgba(255,255,255,1) 100%
    ) !important;
    pointer-events:none !important;
}

.bupiz-product-details-preview:not(.is-collapsed) .bupiz-product-details-preview__inner{
    display:block !important;
    max-height:none !important;
    overflow:visible !important;
}

.bupiz-product-details-preview__inner,
.bupiz-product-details-preview__inner p,
.bupiz-product-details-preview__inner li,
.bupiz-product-details-preview__inner td,
.bupiz-product-details-preview__inner th{
    font-size:.95rem !important;
    line-height:1.6 !important;
    color:var(--bupiz-text-dark) !important;
    font-weight:400 !important;
}

.bupiz-product-details-preview__inner p,
.bupiz-product-details-preview__inner li{
    margin:0 0 6px !important;
}

.bupiz-product-details-preview__inner p:last-child,
.bupiz-product-details-preview__inner li:last-child{
    margin-bottom:0 !important;
}

.bupiz-product-details-more{
    position:relative !important;
    display:inline-flex !important;
    align-items:center !important;
    gap:6px !important;
    min-height:auto !important;
    margin:10px 0 0 !important;
    padding:10px 0 0 !important;
    background:transparent !important;
    border:none !important;
    box-shadow:none !important;
    color:var(--bupiz-accent) !important;
    font-size:.92rem !important;
    font-weight:700 !important;
    line-height:1.2 !important;
    text-transform:none !important;
}

.bupiz-product-details-more::before{
    content:"" !important;
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    top:0 !important;
    height:1px !important;
    background:linear-gradient(
        90deg,
        rgba(142,78,110,0) 0%,
        rgba(142,78,110,.18) 18%,
        rgba(142,78,110,.18) 82%,
        rgba(142,78,110,0) 100%
    ) !important;
}

.bupiz-product-details-more:hover{
    transform:none !important;
    box-shadow:none !important;
    background:transparent !important;
    color:var(--bupiz-dark) !important;
}
/* reviews */
.bupiz-reviews-block{
    order:5 !important;
    background:#fff !important;
    border:1px solid var(--bupiz-border-soft) !important;
    border-radius:0px !important;
    padding:22px !important;
    margin:0 0 28px !important;
}
.bupiz-reviews-block > h2{font-size:30px !important;color:var(--bupiz-text-dark) !important;margin:0 0 16px !important;font-weight:700 !important;}
.bupiz-reviews-intro{display:grid;gap:14px;margin-bottom:18px;}
.bupiz-reviews-summary{
    background:#fcf7f9;
    border:1px solid #f1e4ea;
    border-radius:0px;
    padding:16px;
}
.bupiz-reviews-summary--empty{display:flex;align-items:center;justify-content:center;min-height:90px;}
.bupiz-reviews-summary--bars{display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1fr);gap:18px;align-items:start;}
.bupiz-reviews-summary-head .star-rating{margin:0 0 8px !important;float:none !important;}
.bupiz-reviews-average{font-size:16px;color:var(--bupiz-text-dark);}
.bupiz-reviews-average strong{font-size:28px;line-height:1;font-weight:800;}
.bupiz-reviews-total{margin-top:4px;font-size:13px;color:var(--bupiz-text-muted);}
.bupiz-reviews-breakdown{display:grid;gap:10px;}
.bupiz-review-bar-row{display:grid;grid-template-columns:54px minmax(0,1fr) 44px;gap:10px;align-items:center;}
.bupiz-review-bar-label,
.bupiz-review-bar-percent{font-size:12px;color:var(--bupiz-text-dark);}
.bupiz-review-bar-track{display:block;height:10px;background:#efe7eb;border-radius:0px;overflow:hidden;}
.bupiz-review-bar-fill{display:block;height:100%;background:var(--bupiz-primary-gradient);border-radius:0px;}
.bupiz-review-trigger{align-self:flex-start;padding:10px 16px !important;}
.bupiz-review-inline-note{
    display:none;
    padding:10px 12px;
    border-radius:0px;
    background:#fff7fb;
    border:1px solid #f0d7e4;
    color:var(--bupiz-text-dark);
    font-size:13px;
}
.bupiz-review-inline-note.is-visible{display:block !important;}
.bupiz-review-inline-note.is-login{color:var(--bupiz-primary);}

.bupiz-reviews-media-strip{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none;}
.bupiz-reviews-media-strip::-webkit-scrollbar{display:none;}
.bupiz-reviews-media-thumb{display:block;flex:0 0 72px;width:72px;height:72px;border-radius:0px;overflow:hidden;border:1px solid var(--bupiz-border-soft);background:#fff;}
.bupiz-reviews-media-thumb img{width:100%;height:100%;object-fit:cover;display:block;}

/* AMAZON-LIKE PLAIN TEXT REVIEWS */
.bupiz-reviews-block .woocommerce-Reviews,
.bupiz-reviews-block #reviews,
.bupiz-reviews-block #comments{
    width:100%;
    max-width:100%;
}

.bupiz-reviews-block .commentlist{
    list-style:none;
    margin:0;
    padding:0;
    display:block;
}

.bupiz-reviews-block .commentlist li.review{
    margin:0 0 18px;
    padding:0 0 18px;
    border-bottom:1px solid #e7e7e7;
}

.bupiz-reviews-block .commentlist li.review:last-child{
    margin-bottom:0;
    padding-bottom:0;
    border-bottom:none;
}

.bupiz-reviews-block .comment_container{
    background:transparent !important;
    border:none !important;
    border-radius:0 !important;
    padding:0 !important;
    box-shadow:none !important;
}

.bupiz-reviews-block .meta{
    margin:0 0 8px !important;
}

.bupiz-reviews-block .description,
.bupiz-reviews-block .description p{
    margin:0 !important;
    line-height:1.6 !important;
}

.bupiz-reviews-block .avatar{
    display:none !important;
}

.bupiz-reviews-block .star-rating{
    float:none !important;
    margin:0 0 6px !important;
    font-size:14px !important;
    line-height:1 !important;
}

.bupiz-reviews-block .meta{
    margin:0 0 8px !important;
    display:flex !important;
    flex-wrap:wrap !important;
    gap:3px 8px !important;
    align-items:center !important;
}

.bupiz-reviews-block .woocommerce-review__author,
.bupiz-reviews-block .meta strong{
    flex:0 0 100%;
    display:block;
    font-size:14px !important;
    font-weight:700 !important;
    color:#0F1111 !important;
    margin:0 !important;
}

.bupiz-reviews-block .woocommerce-review__dash{
    display:none !important;
}

.bupiz-reviews-block .woocommerce-review__published-date,
.bupiz-reviews-block time{
    display:inline !important;
    font-size:12px !important;
    line-height:1.35 !important;
    color:#565959 !important;
}

.bupiz-reviews-block .woocommerce-review__verified.verified{
    display:inline !important;
    font-style:normal !important;
    font-size:0 !important;
    color:#C45500 !important;
}

.bupiz-reviews-block .woocommerce-review__verified.verified::before{
    content:"Verified Purchase";
    font-size:12px;
    font-weight:700;
    color:#C45500;
}

.bupiz-reviews-block .description,
.bupiz-reviews-block .description p{
    margin:0 !important;
    font-size:14px !important;
    line-height:1.6 !important;
    color:#0F1111 !important;
}

.bupiz-review-images{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-top:10px;
}

.bupiz-review-images a{
    display:block;
    width:62px;
    height:62px;
    overflow:hidden;
    border:1px solid #ddd;
    border-radius:0;
}

.bupiz-review-images img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

@media (max-width:767px){
    .bupiz-reviews-block .commentlist li.review{
        margin:0 0 16px;
        padding:0 0 16px;
    }

    .bupiz-reviews-block .description,
    .bupiz-reviews-block .description p{
        font-size:13px !important;
        line-height:1.55 !important;
    }
}

.bupiz-reviews-toolbar{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:14px 0;}
.bupiz-review-sort-select{min-height:40px;padding:8px 12px;border:1px solid var(--bupiz-border-soft);border-radius:0px;background:#fff;color:var(--bupiz-text-dark);font-size:13px;}
.bupiz-show-more-reviews{padding:10px 16px !important;}

#review_form_wrapper{
    background:#fcf7f9;
    border:1px solid #f1e4ea;
    border-radius:0px;
    padding:16px;
    margin:0 0 18px !important;
}
#review_form_wrapper.bupiz-review-form-collapsed{display:none;}
#review_form_wrapper.bupiz-review-form-collapsed.is-open{display:block;}
#review_form_wrapper input,
#review_form_wrapper select,
#review_form_wrapper textarea{width:100%;min-height:44px;padding:10px 14px;border:1px solid #e7d9df;border-radius:0px;background:#fff;}
#review_form_wrapper textarea{min-height:120px;resize:vertical;}
#review_form_wrapper .form-submit{margin:12px 0 0 !important;}
.comment-form-rating label,
.comment-form-comment label,
.comment-form-bupiz-review-display-name label,
.comment-form-bupiz-review-images label{display:block !important;font-weight:700 !important;margin:0 0 8px !important;color:var(--bupiz-text-dark);}
.comment-form-bupiz-review-display-name{margin:0 0 14px !important;}
.comment-form-bupiz-review-images{margin:14px 0 0 !important;}
.bupiz-review-login-note,
.bupiz-review-form-note{font-size:13px;color:var(--bupiz-text-muted);margin-bottom:10px;}
/*No review*/
.bupiz-reviews-block .woocommerce-noreviews:empty,
.bupiz-reviews-block .noreviews:empty{
    display:none !important;
}

/*text like review*/
/* REMOVE INNER WOO REVIEW BOX */
.bupiz-reviews-block .comment_container .comment-text{
    background:transparent !important;
    border:none !important;
    box-shadow:none !important;
    border-radius:0 !important;
    padding:0 !important;
    margin:0 !important;
}

/* avatar hidden => also remove left offset */
.bupiz-reviews-block .comment_container{
    display:block !important;
}

.bupiz-reviews-block .comment_container .star-rating{
    margin:0 0 6px !important;
}

.bupiz-reviews-block .comment_container p.meta{
    margin:0 0 8px !important;
}
/*icon and name*/
/* =========================================
   AMAZON STYLE REVIEW HEADER (ICON + NAME)
========================================= */

/* REVIEW LAYOUT LIKE IMAGE:
   row 1 = icon + name
   row 2 = stars
   row 3 = text
*/
.bupiz-reviews-block .comment_container{
    display:grid !important;
    grid-template-columns:34px minmax(0,1fr);
    column-gap:10px;
    align-items:start;
}

.bupiz-reviews-block .comment_container::before{
    content:"";
    grid-column:1;
    grid-row:1 / span 3;
    width:34px;
    height:34px;
    display:block;
    margin-top:2px;
    background-repeat:no-repeat;
    background-size:100% 100%;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='24' fill='%2397A5A6'/%3E%3Ccircle cx='24' cy='17' r='7.5' fill='none' stroke='%23FFFFFF' stroke-width='3.2'/%3E%3Cpath d='M11 37c2.8-6.6 8.1-10 13-10s10.2 3.4 13 10' fill='none' stroke='%23FFFFFF' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.bupiz-reviews-block .comment_container::after{
    display:none !important;
    content:none !important;
}

.bupiz-reviews-block .comment-text{
    grid-column:2;
    display:flex !important;
    flex-direction:column;
}

/* Row 1: name only */
.bupiz-reviews-block .meta{
    order:1;
    margin:0 0 4px !important;
}

.bupiz-reviews-block .woocommerce-review__author,
.bupiz-reviews-block .meta strong{
    display:block;
    font-size:14px !important;
    font-weight:600 !important;
    line-height:1.2 !important;
    color:#0F1111 !important;
    margin:0 !important;
}

/* hide date / dash / verified in this layout */
.bupiz-reviews-block .woocommerce-review__published-date,
.bupiz-reviews-block .woocommerce-review__dash,
.bupiz-reviews-block .woocommerce-review__verified.verified,
.bupiz-reviews-block .meta time,
.bupiz-reviews-block .meta em,
.bupiz-reviews-block .meta span{
    display:none !important;
}

/* Row 2: stars */
.bupiz-reviews-block .star-rating{
    order:2;
    float:none !important;
    margin:0 0 8px !important;
}

/* Row 3: review text */
.bupiz-reviews-block .description{
    order:3;
}

.bupiz-reviews-block .description,
.bupiz-reviews-block .description p{
    margin:0 !important;
    line-height:1.6 !important;
    color:#0F1111 !important;
}


/* related + hot deals */
.related.products,
.bupiz-hot-deals-slider{padding:0 !important;margin:0 0 28px !important;}
.related.products{order:3 !important;margin-top:28px !important;}
.bupiz-hot-deals-slider{order:6 !important;}
.related.products > h2,
.bupiz-hot-deals-slider > h2{font-size:30px !important;color:var(--bupiz-text-dark) !important;margin:0 0 16px !important;font-weight:700 !important;}
.related.products ul.products,
.bupiz-hot-deals-slider ul.products{
    display:flex !important;
    flex-wrap:nowrap !important;
    gap:14px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    padding:4px 0 8px !important;
    margin:0 !important;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
}
.related.products ul.products::-webkit-scrollbar,
.bupiz-hot-deals-slider ul.products::-webkit-scrollbar{display:none;}
.related.products ul.products li.product,
.bupiz-hot-deals-slider ul.products li.product{
    flex:0 0 190px !important;
    min-width:190px !important;
    max-width:190px !important;
    scroll-snap-align:start !important;
    background:#fff !important;
    border:1px solid var(--bupiz-border-soft) !important;
    border-radius:0px !important;
    padding:10px !important;
    box-shadow:0 4px 12px rgba(0,0,0,.04) !important;
    display:flex !important;
    flex-direction:column !important;
    overflow:hidden !important;
}
.related.products ul.products li.product .woocommerce-loop-product__link,
.bupiz-hot-deals-slider ul.products li.product .woocommerce-loop-product__link{display:flex !important;flex-direction:column !important;gap:8px !important;text-decoration:none !important;}
.related.products ul.products li.product img,
.bupiz-hot-deals-slider ul.products li.product img{width:100% !important;aspect-ratio:3 / 4 !important;height:auto !important;object-fit:cover !important;border-radius:0px !important;margin:0 0 8px !important;display:block !important;}
.related.products ul.products li.product .woocommerce-loop-product__title,
.bupiz-hot-deals-slider ul.products li.product .woocommerce-loop-product__title{font-size:12px !important;line-height:1.28 !important;min-height:32px !important;margin:0 !important;display:-webkit-box !important;-webkit-line-clamp:2 !important;-webkit-box-orient:vertical !important;overflow:hidden !important;color:#111 !important;}
.related.products ul.products li.product .star-rating,
.bupiz-hot-deals-slider ul.products li.product .star-rating{
    margin:4px 0 2px !important;
    float:none !important;
    line-height:1.2 !important;
}
.related.products ul.products li.product .price,
.bupiz-hot-deals-slider ul.products li.product .price{font-size:13px !important;line-height:1.2 !important;margin:2px 0 0 !important;}
.related.products ul.products li.product .button,
.related.products ul.products li.product .added_to_cart,
.bupiz-hot-deals-slider ul.products li.product .button,
.bupiz-hot-deals-slider ul.products li.product .added_to_cart,
.related.products ul.products li.product .wc-forward,
.bupiz-hot-deals-slider ul.products li.product .wc-forward{display:none !important;}
.bupiz-hot-deals-slider ul.products li.product .bupiz-loop-top-label{display:none !important;}

/* =========================================
   MOBILE CATEGORY STRIP + CASHBACK BAR + PROMO
========================================= */
.bupiz-mobile-cat-strip-wrap{display:none;}
.bupiz-cashback-bar{display:none;}
.bupiz-mobile-promo-video-wrap,
.bupiz-mobile-promo-slider-wrap{display:none !important;} 

@media (min-width:768px){
    .bupiz-mobile-only-shortcode-widget{
        display:none !important;
        margin:0 !important;
        padding:0 !important;
        min-height:0 !important;
        height:0 !important;
        overflow:hidden !important;
    }
}

@media (max-width:767px){
    body{padding-top:0 !important;padding-bottom:var(--bupiz-sticky-space);}
    .desktop-tablet{display:none !important;}
    .mobile-only{display:block !important;}
	
    .bupiz-header-logo,
    .bupiz-header-logo img{max-height:44px;margin:0 auto;}
    .bupiz-account-dropdown{left:0;right:auto;min-width:260px;max-width:90vw;}
    .bupiz-account-line1{font-size:12px;}
    .bupiz-account-line2{font-size:13px;}
    .bupiz-account-trigger{width:100%;padding:8px 6px !important;}

    body.home .entry-header,
    body.home .page-header,
    body.home h1.entry-title,
    body.home .page-title,
    body.home .woocommerce-products-header{display:none !important;}

    .bupiz-mobile-cat-strip-wrap{display:block;overflow:hidden;margin:12px 0 14px;}
    .bupiz-mobile-cat-strip{display:flex;gap:12px;overflow-x:auto;padding:0 12px 4px;scrollbar-width:none;}
    .bupiz-mobile-cat-strip::-webkit-scrollbar{display:none;}
    .bupiz-mobile-cat-item{flex:0 0 72px;text-decoration:none;color:var(--bupiz-text-dark);text-align:center;}
    .bupiz-mobile-cat-image{display:block;width:72px;height:72px;border-radius:0px;overflow:hidden;border:1px solid var(--bupiz-border-soft);background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.04);}
    .bupiz-mobile-cat-image img{width:100%;height:100%;object-fit:cover;display:block;}
    .bupiz-mobile-cat-title{display:block;margin-top:6px;font-size:11px;font-weight:700;line-height:1.2;}

    .bupiz-cashback-bar{
        position:fixed;
        left:12px;
        right:12px;
        bottom:12px;
        z-index:10090;
        display:flex;
        align-items:center;
			justify-content:space-between;
align-items:center !important;
        gap:10px;
        padding:6px 12px;
        background:#fff;
        border:1px solid var(--bupiz-border-soft);
        border-radius:0px;
        box-shadow:0 18px 34px rgba(0,0,0,.15);
        transform:translateY(120%);
        opacity:0;
        pointer-events:none;
        transition:transform .28s ease,opacity .28s ease;
    }
    .bupiz-cashback-bar.is-visible{transform:translateY(0);opacity:1;pointer-events:auto;}
  
   .bupiz-cashback-text-wrap{
    flex:1 1 auto;
    min-width:0;
		 height: 30px;
    display:flex;
    align-items:center;
    justify-content:left;
    text-align:left;
} 
     .bupiz-cashback-text{font-size:12px;
			font-weight:800;
			color:var(--bupiz-text-dark);
			margin:0;
    text-align:left;
		 white-space:nowrap;
	} 

    .bupiz-cashback-signin{min-height:28px !important;padding:8px 14px !important;font-size:12px !important;}

    .bupiz-mobile-promo-video-wrap{display:block !important;padding:0 12px 18px;}
    .bupiz-mobile-promo-video-card{position:relative;border-radius:0px;overflow:hidden;box-shadow:0 10px 28px rgba(0,0,0,.10);}
    .bupiz-mobile-promo-video{display:block;width:100%;height:clamp(240px,72vw,420px);object-fit:cover;background:#f8f3f5;}
    .bupiz-mobile-promo-overlay{position:absolute;inset:auto 0 0 0;padding:18px;background:linear-gradient(to top,rgba(0,0,0,.62),rgba(0,0,0,.04));color:#fff;}
    .bupiz-mobile-promo-badge{display:inline-flex;padding:6px 10px;border-radius:0px;background:rgba(255,255,255,.18);backdrop-filter:blur(8px);font-size:11px;font-weight:800;margin-bottom:8px;}
    .bupiz-mobile-promo-title{font-size:20px;font-weight:800;line-height:1.15;margin-bottom:6px;}
    .bupiz-mobile-promo-subtitle{font-size:13px;opacity:.92;margin-bottom:10px;}
    .bupiz-mobile-promo-btn{min-height:40px !important;padding:10px 14px !important;font-size:13px !important;}

    .bupiz-mobile-promo-slider-wrap{display:block !important;position:relative !important;z-index:30 !important;clear:both !important;margin:12px 12px 20px !important;padding:0 !important;}
    .bupiz-mobile-promo-slider-track{position:relative !important;display:block !important;width:100% !important;height:clamp(180px,52vw,280px) !important;min-height:180px !important;overflow:hidden !important;border-radius:0px !important;background:#f8f3f5 !important;box-shadow:0 8px 18px rgba(0,0,0,.08) !important;isolation:isolate !important;}
    .bupiz-mobile-promo-slide{position:absolute !important;inset:0 !important;display:block !important;width:100% !important;height:100% !important;opacity:0;z-index:1 !important;text-decoration:none !important;overflow:hidden !important;}
    .bupiz-mobile-promo-slide img{display:block !important;width:100% !important;height:100% !important;object-fit:cover !important;animation:bupizPromoZoom 4s ease-in-out infinite alternate !important;}
    .bupiz-mobile-promo-slide-1{opacity:1;animation:bupizFade1 6s infinite !important;}
    .bupiz-mobile-promo-slide-2{animation:bupizFade2 6s infinite !important;}

    /* home mobile product cards */
    body.home .woocommerce ul.products,
    body.home .bupiz-hot-deals-slider ul.products{
        display:grid !important;
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:18px 14px !important;
        margin:0 !important;
        padding:0 12px !important;
    }
    body.home .woocommerce ul.products li.product,
    body.home .bupiz-hot-deals-slider ul.products li.product{
        width:100% !important;
        min-width:0 !important;
        max-width:none !important;
        margin:0 !important;
        padding:0 !important;
        border:0 !important;
        box-shadow:none !important;
        background:transparent !important;
        overflow:visible !important;
    }
    body.home .woocommerce ul.products li.product .woocommerce-loop-product__link,
    body.home .bupiz-hot-deals-slider ul.products li.product .woocommerce-loop-product__link{display:block !important;position:relative !important;text-decoration:none !important;color:#111 !important;}
    body.home .woocommerce ul.products li.product img,
    body.home .bupiz-hot-deals-slider ul.products li.product img{width:100% !important;aspect-ratio:3 / 4 !important;height:auto !important;object-fit:cover !important;display:block !important;border-radius:0px !important;margin:0 0 10px !important;}
  	body.home .woocommerce ul.products li.product .woocommerce-loop-product__title,
    body.home .bupiz-hot-deals-slider ul.products li.product .woocommerce-loop-product__title{font-size:14px !important;line-height:1.22 !important;min-height:34px !important;margin:0 0 6px !important;display:-webkit-box !important;-webkit-line-clamp:2 !important;-webkit-box-orient:vertical !important;overflow:hidden !important;color:#111 !important;}
    body.home .woocommerce ul.products li.product .bupiz-loop-top-label,
    body.home .bupiz-hot-deals-slider ul.products li.product .bupiz-loop-top-label{
        display:none !important;
    }
    body.home .woocommerce ul.products li.product .price,
    body.home .bupiz-hot-deals-slider ul.products li.product .price{margin:0 !important;font-size:14px !important;line-height:1.2 !important;}
    body.home .woocommerce ul.products li.product a.button,
    body.home .woocommerce ul.products li.product .added_to_cart,
    body.home .woocommerce ul.products li.product .wc-forward,
    body.home .bupiz-hot-deals-slider ul.products li.product a.button,
    body.home .bupiz-hot-deals-slider ul.products li.product .added_to_cart,
    body.home .bupiz-hot-deals-slider ul.products li.product .wc-forward{display:none !important;}

    .bupiz-product-info-split{grid-template-columns:1fr !important;padding:14px !important;border-radius:16px !important;gap:14px !important;}
    .bupiz-product-info-block h2,
    .bupiz-reviews-block > h2,
    .related.products > h2,
    .bupiz-hot-deals-slider > h2{font-size:24px !important;}
    .bupiz-reviews-block{padding:14px !important;border-radius:0px !important;}
    .bupiz-reviews-summary--bars{grid-template-columns:1fr !important;}
    .bupiz-review-bar-row{grid-template-columns:48px minmax(0,1fr) 40px;gap:8px;}
    .related.products ul.products li.product,
    .bupiz-hot-deals-slider ul.products li.product{flex:0 0 160px !important;min-width:160px !important;max-width:160px !important;}
}

/* =========================================
   MOBILE STICKY PURCHASE BAR ON PRODUCT PAGE
========================================= */
.bupiz-mobile-sticky-wrap{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:10095;
    background:#fff;
    box-shadow:0 -14px 30px rgba(0,0,0,.12);
    border-top:1px solid #f0e7ea;
    transform:translateY(110%);
    opacity:0;
    pointer-events:none;
    transition:transform .28s ease,opacity .28s ease;
}
.bupiz-mobile-sticky-wrap.is-visible{transform:translateY(0);opacity:1;pointer-events:auto;}
@media (max-width:767px){
    .bupiz-mobile-sticky-wrap{display:block !important;}
}
.bupiz-mobile-sticky-login{
    display:block;
    text-align:center;
    padding:10px 14px;
    background:linear-gradient(90deg,#fff3f8,#fdf0f5);
    border-bottom:1px solid #f1e3e8;
    color:var(--bupiz-primary);
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}
.bupiz-mobile-sticky-cashback{color:var(--bupiz-deep-purple);}
.bupiz-mobile-sticky-main{display:flex;align-items:center;gap:10px;padding:10px 12px;}
.bupiz-mobile-sticky-main.is-sold-out{justify-content:space-between;}
.bupiz-mobile-sticky-pricebox{min-width:0;flex:1 1 auto;}
.bupiz-mobile-sticky-price{font-size:16px;font-weight:800;color:var(--bupiz-text-dark);line-height:1.15;}
.bupiz-mobile-sticky-price .woocommerce-Price-amount{font-size:inherit !important;}
.bupiz-mobile-sticky-sub{margin-top:3px;font-size:11px;color:var(--bupiz-text-muted);line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.bupiz-mobile-sticky-actions{display:flex;gap:8px;flex:0 0 auto;}
.bupiz-mobile-sticky-btn{min-height:42px !important;padding:10px 14px !important;font-size:13px !important;}
.bupiz-mobile-sticky-add{background:#fff !important;color:var(--bupiz-text-dark) !important;border:1px solid var(--bupiz-border-soft) !important;box-shadow:none !important;}
.bupiz-mobile-sticky-add:hover{background:#fff3ef !important;color:var(--bupiz-text-dark) !important;transform:none !important;box-shadow:none !important;}
.bupiz-mobile-sticky-buy{min-width:102px;}
.bupiz-mobile-sticky-soldout{background:#f5f5f5 !important;color:#666 !important;box-shadow:none !important;}

@media (min-width:768px){
    #bupiz-main-header-mobile,
    .bupiz-mobile-sticky-bar,
    .bupiz-mobile-sticky-wrap,
    .bupiz-mobile-cat-strip-wrap,
    .bupiz-cashback-bar,
    .bupiz-mobile-promo-video-wrap,
    .bupiz-mobile-promo-slider-wrap{
        display:none !important;
    }

    .bupiz-mobile-sticky-bar,
    .bupiz-mobile-sticky-wrap{
        position:static !important;
        top:auto !important;
        left:auto !important;
        right:auto !important;
        bottom:auto !important;
        transform:none !important;
        opacity:0 !important;
        pointer-events:none !important;
    }
}

@media (max-width:767px){
    body.woocommerce-account .woocommerce{display:block !important;}
    body.woocommerce-account .woocommerce-MyAccount-navigation,
    body.woocommerce-account .woocommerce-MyAccount-content{width:100% !important;max-width:100% !important;min-width:0 !important;flex:none !important;}
    body.woocommerce-account .woocommerce-MyAccount-navigation{margin-bottom:20px !important;}
    .bupiz-address-grid{grid-template-columns:1fr;}
}

/* =========================================
   ANIMATIONS
========================================= */
@keyframes bupizFade1{
    0%,45%{opacity:1;}
    50%,95%{opacity:0;}
    100%{opacity:1;}
}
@keyframes bupizFade2{
    0%,45%{opacity:0;}
    50%,95%{opacity:1;}
    100%{opacity:0;}
}
@keyframes bupizPromoZoom{
    0%{transform:scale(1);}
    100%{transform:scale(1.06);}
}

/* =========================================
   MOBILE HEADER CLEAN FIX
========================================= */
@media (max-width:767px){

   #bupiz-main-header-mobile{
    display:block !important;
    position:fixed !important;
    top:var(--bupiz-topbar-h) !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    z-index:10050 !important;
    background:var(--bupiz-bg-soft) !important;
    border-bottom:1px solid var(--bupiz-border-soft) !important;
    box-shadow:0 8px 18px rgba(0,0,0,.06) !important;
}
    /* reduce height */
    .bupiz-mobile-header-inner{
        padding:4px 12px !important;
        gap:10px !important;
    }

    /* remove account text */
    .bupiz-mobile-account{
        display:none !important;
    }

    /* logo center clean */
    .bupiz-mobile-logo img{
        max-height:38px !important;
    }

    /* search box */
    .bupiz-mobile-search{
        position:relative;
        width:100%;
    }

    .bupiz-mobile-search input{
        height:42px !important;
        padding:0 44px 0 14px !important;
        border-radius:0px !important;
    }

    /* icon inside search */
    .bupiz-mobile-search button{
        position:absolute;
        right:6px;
        top:50%;
        transform:translateY(-50%);
        height:34px;
        width:34px;
        border-radius:0px;
        background:var(--bupiz-accent);
        border:none;
    }

    /* icon row (right side) */
    .bupiz-mobile-icons{
        display:flex;
        gap:8px;
        align-items:center;
    }

    .bupiz-mobile-icons a{
        height:36px;
        width:36px;
        display:flex;
        align-items:center;
        justify-content:center;
        border-radius:0px;
        background:#fff;
        border:1px solid var(--bupiz-border-soft);
    }

    /* cart badge */
    .bupiz-mobile-icons .count{
        position:absolute;
        top:-4px;
        right:-4px;
        font-size:10px;
        padding:2px 5px;
        border-radius:0px;
        background:var(--bupiz-accent);
        color:#fff;
    }
}
/* =========================================
   WALLET PAGE
========================================= */
.bupiz-wallet-page{
    width:100%;
    max-width:100%;
}

body.woocommerce-account .woocommerce-MyAccount-content{
    padding:0 16px 0 0 !important;
}

.bupiz-wallet-page h1,
.bupiz-wallet-page h2,
.bupiz-wallet-page h3{
    margin:0 0 10px;
    color:var(--bupiz-text-dark);
    line-height:1.15;
}

.bupiz-wallet-page > p,
.bupiz-wallet-page .bupiz-wallet-intro{
    margin:0 0 16px;
    color:var(--bupiz-text-muted);
    line-height:1.6;
    padding:0 2px;
}

.bupiz-wallet-stats{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    margin:18px 0;
}

.bupiz-wallet-stat-card{
    background:#fff;
    border:1px solid var(--bupiz-border-soft);
    border-radius:0px;
    padding:18px 16px;
}

.bupiz-wallet-stat-label{
    font-size:15px;
    font-weight:600;
    color:var(--bupiz-text-muted);
    margin-bottom:8px;
}

.bupiz-wallet-stat-value{
    font-size:28px;
    line-height:1;
    font-weight:800;
    color:var(--bupiz-dark);
    margin-bottom:8px;
}

.bupiz-wallet-stat-sub{
    font-size:14px;
    color:var(--bupiz-text-muted);
    line-height:1.45;
}

.bupiz-wallet-notice{
    margin:16px 0 22px;
    padding:14px 16px;
    border:1px solid var(--bupiz-border-soft);
    border-radius:0px;
    background:#fff;
    color:var(--bupiz-text-dark);
    line-height:1.6;
}

.bupiz-wallet-history{
    margin-top:18px;
}

.bupiz-wallet-history table,
.bupiz-wallet-page table{
    width:100%;
    border-collapse:separate;
    border-spacing:0;
    overflow:hidden;
    border:1px solid var(--bupiz-border-soft);
    border-radius:0px;
    background:#fff;
}

.bupiz-wallet-history th,
.bupiz-wallet-page th{
    background:#f8f3f5;
    color:var(--bupiz-text-dark);
    font-size:14px;
    font-weight:700;
    text-align:left;
    padding:14px 14px;
    border-bottom:1px solid var(--bupiz-border-soft);
}

.bupiz-wallet-history td,
.bupiz-wallet-page td{
    padding:14px 14px;
    font-size:14px;
    color:var(--bupiz-text-dark);
    border-bottom:1px solid #eee4e7;
    vertical-align:top;
}

.bupiz-wallet-history tr:last-child td,
.bupiz-wallet-page tr:last-child td{
    border-bottom:none;
}

/* status pills */
.bupiz-wallet-page .status,
.bupiz-wallet-page .bupiz-wallet-status{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:28px;
    padding:0 10px;
    border-radius:0px;
    font-size:12px;
    font-weight:700;
    background:var(--bupiz-accent-soft);
    color:var(--bupiz-accent);
}


/*wishlist*/
/* =========================================
   BUPIZ UNIFIED WISHLIST - CLEAN CSS
========================================= */

/* Make product cards relative */
.woocommerce ul.products li.product,
.related.products ul.products li.product,
.bupiz-hot-deals-slider ul.products li.product{
    position:relative !important;
}

/* Base button */
.bupiz-wishlist-btn{
    position:relative !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border:1px solid #eee5e8 !important;
    background:#fff !important;
    box-shadow:0 6px 16px rgba(0,0,0,.10) !important;
    cursor:pointer !important;
    padding:0 !important;
    overflow:hidden !important;
    pointer-events:auto !important;
}

/* Icons */
.bupiz-wishlist-heart-outline,
.bupiz-wishlist-heart-fill{
    position:absolute !important;
    top:50% !important;
    left:50% !important;
    transform:translate(-50%, -50%) !important;
    pointer-events:none !important;
}

.bupiz-wishlist-heart-outline{
    fill:none !important;
    stroke:var(--bupiz-accent) !important;
    stroke-width:2 !important;
}

.bupiz-wishlist-heart-fill{
    fill:var(--bupiz-accent) !important;
    display:none !important;
}

/* Active state */
.bupiz-wishlist-btn.active .bupiz-wishlist-heart-outline,
.bupiz-wishlist-btn.is-active .bupiz-wishlist-heart-outline,
.bupiz-wishlist-btn.in-wishlist .bupiz-wishlist-heart-outline{
    display:none !important;
}

.bupiz-wishlist-btn.active .bupiz-wishlist-heart-fill,
.bupiz-wishlist-btn.is-active .bupiz-wishlist-heart-fill,
.bupiz-wishlist-btn.in-wishlist .bupiz-wishlist-heart-fill{
    display:block !important;
}

/* =========================
   LOOP (shop/category)
========================= */
.woocommerce ul.products li.product .bupiz-wishlist-btn,
.related.products ul.products li.product .bupiz-wishlist-btn,
.bupiz-hot-deals-slider ul.products li.product .bupiz-wishlist-btn{
    position:absolute !important;
    z-index:999 !important;
    top:var(--bupiz-wish-loop-top-desktop) !important;
    right:var(--bupiz-wish-loop-right-desktop) !important;
    width:var(--bupiz-wish-loop-size-desktop) !important;
    height:var(--bupiz-wish-loop-size-desktop) !important;
    border-radius:0px !important;
    pointer-events:auto !important;
}

/* keep product link below heart */
.woocommerce ul.products li.product .woocommerce-loop-product__link,
.related.products ul.products li.product .woocommerce-loop-product__link,
.bupiz-hot-deals-slider ul.products li.product .woocommerce-loop-product__link{
    position:relative !important;
    z-index:1 !important;
}

/* =========================
   SINGLE PRODUCT
========================= */
.single-product div.product .woocommerce-product-gallery{
    position:relative !important;
}

.single-product div.product .woocommerce-product-gallery .bupiz-single-wishlist-wrap{
    position:absolute !important;
    z-index:999 !important;
    top:var(--bupiz-wish-single-top-desktop) !important;
    right:var(--bupiz-wish-single-right-desktop) !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    pointer-events:auto !important;
}

.single-product div.product .woocommerce-product-gallery .bupiz-wishlist-btn{
    position:relative !important;
    z-index:1000 !important;
    pointer-events:auto !important;
}

/* =========================
   MOBILE
========================= */
@media (max-width:767px){

    .woocommerce ul.products li.product .bupiz-wishlist-btn,
    .related.products ul.products li.product .bupiz-wishlist-btn,
    .bupiz-hot-deals-slider ul.products li.product .bupiz-wishlist-btn{
        top:var(--bupiz-wish-loop-top-mobile) !important;
        right:var(--bupiz-wish-loop-right-mobile) !important;
        width:var(--bupiz-wish-loop-size-mobile) !important;
        height:var(--bupiz-wish-loop-size-mobile) !important;
    }

    .single-product div.product .woocommerce-product-gallery .bupiz-single-wishlist-wrap{
        top:var(--bupiz-wish-single-top-mobile) !important;
        right:var(--bupiz-wish-single-right-mobile) !important;
    }
}


.bupiz-wishlist-btn{
    text-decoration:none !important;
}
	/* Hide customer review date on single product page */
.single-product .woocommerce-review__published-date,
.single-product .woocommerce-review__dash,
.single-product #reviews time,
.single-product #reviews .comment-text .meta time,
.single-product #reviews .comment-text .woocommerce-review__published-date,
.single-product .bupiz-reviews-block time,
.single-product .bupiz-reviews-block .woocommerce-review__published-date,
.single-product .bupiz-reviews-block .comment-date,
.single-product .bupiz-reviews-block .review-date {
    display: none !important;
}


@media (max-width:767px){
  .bupiz-topbar-item-discount{
    display:none !important;
  }
}


/* =========================================================
   BUPIZ FINAL FOOTER
   Uses your root colors
========================================================= */

body .bupiz-site-footer{
    margin-top:40px;
    background:var(--bupiz-bg-soft);
    color:var(--bupiz-text-dark);
    border-top:1px solid var(--bupiz-border-soft);
    font-family:inherit;
}

body .bupiz-site-footer *,
body .bupiz-site-footer *::before,
body .bupiz-site-footer *::after{
    box-sizing:border-box;
}

body .bupiz-site-footer .bupiz-footer-container{
    width:min(1280px, calc(100% - 32px));
    margin:0 auto;
}

body .bupiz-site-footer ul,
body .bupiz-site-footer ol{
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
}

body .bupiz-site-footer li{
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
}

body .bupiz-site-footer li::marker{
    content:"" !important;
}

body .bupiz-site-footer a{
    text-decoration:none !important;
}

/* Sign strip */
body .bupiz-site-footer .bupiz-footer-sign-strip{
    background:var(--bupiz-bg-white);
    border-top:1px solid var(--bupiz-border-soft);
    border-bottom:1px solid var(--bupiz-border-soft);
}

body .bupiz-site-footer .bupiz-footer-sign-inner{
    min-height:56px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}

body .bupiz-site-footer .bupiz-footer-sign-copy{
    color:var(--bupiz-text-muted);
    font-size:14px;
    font-weight:600;
    line-height:1.4;
}

body .bupiz-site-footer .bupiz-footer-sign-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:118px;
    min-height:40px;
    padding:0 18px;
    border-radius:0px;
    background:var(--bupiz-primary-gradient);
    color:#fff !important;
    font-size:14px;
    font-weight:700;
    box-shadow:0 10px 24px rgba(74,47,37,.12);
}

/* Quick row */
body .bupiz-site-footer .bupiz-footer-quick-row{
    background:var(--bupiz-bg-white);
    border-bottom:1px solid var(--bupiz-border-soft);
}

body .bupiz-site-footer .bupiz-footer-quick-list{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px 34px;
    padding:14px 0;
}

body .bupiz-site-footer .bupiz-footer-quick-list a{
    color:var(--bupiz-primary) !important;
    font-size:15px;
    font-weight:500;
    line-height:1.4;
}

body .bupiz-site-footer .bupiz-footer-quick-list a:hover{
    color:var(--bupiz-primary-hover) !important;
}

/* Top rows */
body .bupiz-site-footer .bupiz-footer-toprow-desktop{
    background:var(--bupiz-bar);
}

body .bupiz-site-footer .bupiz-footer-toprow-mobile{
    display:none;
    background:var(--bupiz-bar);
}

body .bupiz-site-footer .bupiz-footer-toplink{
    min-height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    color:#fff !important;
    font-size:15px;
    font-weight:700;
    letter-spacing:.2px;
}

body .bupiz-site-footer .bupiz-footer-topicon{
    line-height:1;
}

/* Main */
body .bupiz-site-footer .bupiz-footer-main{
    background:var(--bupiz-bg-soft);
    color:var(--bupiz-text-dark);
}

/* Brand row */
body .bupiz-site-footer .bupiz-footer-brand-row{
    text-align:center;
    padding:30px 0 24px;
    border-bottom:1px solid var(--bupiz-border-soft);
}

body .bupiz-site-footer .bupiz-footer-brand-logo{
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:14px;
}

body .bupiz-site-footer .bupiz-footer-logo-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

body .bupiz-site-footer .bupiz-footer-logo-img{
    display:block;
    width:auto !important;
    height:auto !important;
    max-height:58px;
    max-width:220px;
}

body .bupiz-site-footer .bupiz-footer-text-logo{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:var(--bupiz-primary) !important;
    font-size:22px;
    font-weight:800;
}

body .bupiz-site-footer .bupiz-footer-brand-text{
    max-width:760px;
    margin:0 auto;
    color:var(--bupiz-text-muted);
    font-size:16px;
    line-height:1.8;
}

body .bupiz-site-footer .bupiz-footer-pill-row{
    margin-top:16px;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
}

body .bupiz-site-footer .bupiz-footer-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:36px;
    padding:0 16px;
    border-radius:0px;
    background:var(--bupiz-bg-white);
    color:var(--bupiz-primary);
    border:1px solid var(--bupiz-border-soft);
    font-size:13px;
    font-weight:700;
    box-shadow:0 2px 8px rgba(74,47,37,.04);
}

/* Desktop grid */
body .bupiz-site-footer .bupiz-footer-grid-desktop{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:34px;
    padding:34px 0 38px;
}

body .bupiz-site-footer .bupiz-footer-grid-mobile{
    display:none;
}

body .bupiz-site-footer .bupiz-footer-col h4{
    margin:0 0 16px;
    color:var(--bupiz-text-dark);
    font-size:18px;
    font-weight:800;
    line-height:1.25;
}

body .bupiz-site-footer .bupiz-footer-col li + li{
    margin-top:12px !important;
}

body .bupiz-site-footer .bupiz-footer-col a{
    color:var(--bupiz-text-muted) !important;
    font-size:15px;
    line-height:1.6;
}

body .bupiz-site-footer .bupiz-footer-col a:hover{
    color:var(--bupiz-primary) !important;
}

body .bupiz-site-footer .bupiz-footer-col-partner{
    padding-left:16px;
    border-left:1px solid var(--bupiz-border-soft);
}

body .bupiz-site-footer .bupiz-footer-col-partner p{
    margin:0 0 16px;
    color:var(--bupiz-text-muted);
    font-size:15px;
    line-height:1.8;
}

body .bupiz-site-footer .bupiz-footer-sell-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:0 20px;
    border-radius:0px;
    background:var(--bupiz-primary-gradient);
    color:#fff !important;
    font-size:15px;
    font-weight:800;
    box-shadow:0 12px 26px rgba(74,47,37,.12);
}

/* Bottom desktop */
body .bupiz-site-footer .bupiz-footer-bottom-desktop{
    background:var(--bupiz-dark);
    border-top:1px solid rgba(255,255,255,.06);
}

body .bupiz-site-footer .bupiz-footer-bottom-desktop-inner{
    min-height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
}

body .bupiz-site-footer .bupiz-footer-mini-logo .bupiz-footer-logo-img{
    max-height:24px;
    max-width:110px;
}

body .bupiz-site-footer .bupiz-footer-rights{
    color:rgba(255,255,255,.92);
    font-size:13px;
    line-height:1.4;
}

body .bupiz-site-footer .bupiz-footer-bottom-mobile{
    display:none;
}

/* Tablet */
@media (max-width:1100px){
    body .bupiz-site-footer .bupiz-footer-grid-desktop{
        grid-template-columns:1fr 1fr;
        gap:28px;
    }

    body .bupiz-site-footer .bupiz-footer-col-partner{
        padding-left:0;
        border-left:none;
    }
}

/* Mobile */
@media (max-width:767px){
    body .bupiz-site-footer .bupiz-footer-container{
        width:min(100%, calc(100% - 22px));
    }

    body .bupiz-site-footer .bupiz-footer-sign-strip,
    body .bupiz-site-footer .bupiz-footer-toprow-desktop,
    body .bupiz-site-footer .bupiz-footer-grid-desktop,
    body .bupiz-site-footer .bupiz-footer-bottom-desktop{
        display:none;
    }

    body .bupiz-site-footer .bupiz-footer-quick-row{
        background:var(--bupiz-bg-white);
        border-bottom:1px solid var(--bupiz-border-soft);
    }

    body .bupiz-site-footer .bupiz-footer-quick-list{
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:10px 20px;
        padding:12px 0 14px;
    }

    body .bupiz-site-footer .bupiz-footer-quick-list a{
        color:var(--bupiz-text-dark) !important;
        font-size:14px;
        font-weight:500;
        display:block;
        text-align:left;
    }

    body .bupiz-site-footer .bupiz-footer-brand-row{
        padding:18px 0 20px;
    }

    body .bupiz-site-footer .bupiz-footer-logo-img{
        max-height:52px;
        max-width:180px;
    }

    body .bupiz-site-footer .bupiz-footer-brand-text{
        max-width:100%;
        font-size:14px;
        line-height:1.7;
        padding:0 6px;
    }

    body .bupiz-site-footer .bupiz-footer-pill-row{
        gap:8px;
        margin-top:14px;
    }

    body .bupiz-site-footer .bupiz-footer-pill{
        min-height:34px;
        padding:0 12px;
        font-size:12px;
    }

    body .bupiz-site-footer .bupiz-footer-grid-mobile{
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:18px 22px;
        padding:18px 0 22px;
        border-top:1px solid var(--bupiz-border-soft);
    }

    body .bupiz-site-footer .bupiz-footer-col-mobile h4{
        margin:0 0 12px;
        color:var(--bupiz-text-dark);
        font-size:16px;
        font-weight:800;
        line-height:1.25;
    }

    body .bupiz-site-footer .bupiz-footer-col-mobile li + li{
        margin-top:10px !important;
    }

    body .bupiz-site-footer .bupiz-footer-col-mobile a{
        color:var(--bupiz-text-muted) !important;
        font-size:14px;
        line-height:1.55;
    }

    body .bupiz-site-footer .bupiz-footer-toprow-mobile{
        display:block;
    }

    body .bupiz-site-footer .bupiz-footer-toplink{
        min-height:56px;
        flex-direction:column;
        gap:4px;
        font-size:13px;
        letter-spacing:.7px;
    }

    body .bupiz-site-footer .bupiz-footer-bottom-mobile{
        display:block;
        background:var(--bupiz-dark);
        border-top:1px solid rgba(255,255,255,.08);
    }

    body .bupiz-site-footer .bupiz-footer-bottom-mobile-inner{
        min-height:52px;
        display:flex;
        align-items:center;
        justify-content:center;
        flex-wrap:wrap;
        gap:7px;
        text-align:center;
        padding:10px 12px;
        color:rgba(255,255,255,.92);
        font-size:13px;
        line-height:1.5;
    }

    body .bupiz-site-footer .bupiz-footer-bottom-mobile-inner a{
        color:#fff !important;
        font-size:13px;
        font-weight:700;
    }
}

@media (max-width:767px){
    body .bupiz-site-footer{
        margin-top:0 !important;
        margin-bottom:0 !important;
        padding-bottom:0 !important;
    }

    body .bupiz-site-footer .bupiz-footer-main{
        margin-bottom:0 !important;
        padding-bottom:0 !important;
    }

    body .bupiz-site-footer .bupiz-footer-bottom-mobile{
        margin-bottom:0 !important;
        padding-bottom:0 !important;
        background:var(--bupiz-dark) !important;
    }

    body .bupiz-site-footer .bupiz-footer-bottom-mobile-inner{
        min-height:48px !important;
        padding:10px 12px !important;
    }
}

.bupiz-header-search-col{
    min-width:0;
}

.bupiz-header-searchbar-form{
    display:flex;
    align-items:center;
    gap:6px;
    background:#ffffff;
    border:1px solid #D9DEE5;
    border-radius:12px;
    padding:4px;
    box-shadow:0 3px 10px rgba(15,23,42,.04);
    transition:all .24s ease;
}

#bupiz-main-header-desktop.bupiz-desktop-scrolled .bupiz-header-searchbar-form{
    border-radius:10px;
    padding:4px;
    box-shadow:0 2px 8px rgba(15,23,42,.04);
}

.bupiz-header-searchbar-input{
    flex:1 1 auto;
    min-width:0;
    height:46px;
    border:none;
    background:transparent;
    padding:0 16px;
    font-size:15px;
    font-weight:500;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    color:#111827;
    outline:none;
    box-shadow:none;
    letter-spacing:.1px;
    transition:all .24s ease;
}

.bupiz-header-searchbar-input::placeholder{
    color:#4B5563;
    opacity:1;
    font-weight:500;
}

#bupiz-main-header-desktop.bupiz-desktop-scrolled .bupiz-header-searchbar-input{
    height:42px;
    font-size:14px;
}

.bupiz-header-searchbar-submit{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    height:46px;
    min-width:104px;
    padding:0 16px;
    border:none;
    border-radius:10px;
    background:#0F172A;
    color:#ffffff;
    font-size:14px;
    font-weight:700;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    white-space:nowrap;
    cursor:pointer;
    letter-spacing:.12px;
    transition:all .24s ease;
}

.bupiz-header-searchbar-submit:hover{
    background:#1E293B;
    color:#ffffff;
    transform:translateY(-1px);
}

#bupiz-main-header-desktop.bupiz-desktop-scrolled .bupiz-header-searchbar-submit{
    height:42px;
    min-width:96px;
    font-size:13px;
}

.bupiz-header-searchbar-submit .dashicons{
    width:18px;
    height:18px;
    font-size:18px;
}

.bupiz-header-right-col{
    min-width:0;
}

.bupiz-header-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:16px;
    flex-wrap:nowrap;
}

.bupiz-header-icon-link,
.bupiz-wallet-desktop-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:40px;
    padding:0 2px;
    border:none;
    background:transparent;
    border-radius:0;
    color:#111827;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    white-space:nowrap;
    transition:all .24s ease;
}

.bupiz-header-icon-link:hover,
.bupiz-wallet-desktop-pill:hover{
    background:transparent;
    color:#0F172A;
    opacity:.78;
}

#bupiz-main-header-desktop.bupiz-desktop-scrolled .bupiz-header-icon-link,
#bupiz-main-header-desktop.bupiz-desktop-scrolled .bupiz-wallet-desktop-pill{
    min-height:36px;
    font-size:13px;
    padding:0 1px;
}

.bupiz-wallet-desktop-pill{
    color:#111827 !important;
    background:transparent !important;
    border:none !important;
}

.bupiz-header-icon-link .dashicons,
.bupiz-wallet-desktop-pill .dashicons{
    width:18px;
    height:18px;
    font-size:18px;
    color:#111827;
}

.bupiz-cart-count,
.bupiz-wishlist-count,
.bupiz-sticky-cart-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:18px;
    min-height:18px;
    padding:0 5px;
    border-radius:999px;
    background:#0F172A;
    color:#ffffff;
    font-size:10px;
    line-height:1;
    font-weight:700;
}

.bupiz-header-account,
.bupiz-account-menu{
    position:relative;
}

.bupiz-account-trigger{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    text-align:left;
    min-height:42px;
    min-width:108px;
    max-width:108px;
    padding:2px 0 !important;
    line-height:1.12;
    border:none !important;
    border-radius:0 !important;
    background:transparent !important;
    color:#111827;
    cursor:pointer;
    transition:all .24s ease;
}

.bupiz-account-trigger:hover,
.bupiz-account-menu.open .bupiz-account-trigger{
    background:transparent !important;
    border:none !important;
    color:#111827 !important;
    opacity:.82;
}

#bupiz-main-header-desktop.bupiz-desktop-scrolled .bupiz-account-trigger{
    min-width:102px;
    max-width:102px;
    min-height:40px;
    padding:1px 0 !important;
}

.bupiz-account-line1,
.bupiz-account-line2{
    width:100%;
    text-align:left;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}

.bupiz-account-line1{
    font-size:12px;
    line-height:1.1;
    font-weight:600;
    color:#6B7280 !important;
    letter-spacing:.1px;
}

.bupiz-account-line2{
    font-size:16px;
    line-height:1.15;
    font-weight:700;
    color:#111827 !important;
    margin-top:2px;
    letter-spacing:.1px;
}

body.logged-in .bupiz-account-line1{
    color:#6B7280 !important;
    font-weight:600;
}
	
/* Imported from functions.php inline CSS (single rating) */
    .single-product div.product .bupiz-single-rating-row{
        display:block !important;
        width:auto !important;
        max-width:100% !important;
        margin:0 0 10px !important;
        line-height:1 !important;
    }
    .single-product div.product .bupiz-single-rating-link{
        display:inline-flex !important;
        align-items:center !important;
        justify-content:flex-start !important;
        gap:6px !important;
        flex-wrap:nowrap !important;
        white-space:nowrap !important;
        text-decoration:none !important;
        color:var(--bupiz-text-dark, #2d1f28) !important;
        width:auto !important;
        max-width:100% !important;
        line-height:1 !important;
    }
    .single-product div.product .bupiz-single-rating-score,
    .single-product div.product .bupiz-single-rating-count{
        display:inline-block !important;
        font-size:14px !important;
        font-weight:600 !important;
        line-height:1 !important;
        margin:0 !important;
        color:var(--bupiz-text-dark, #2d1f28) !important;
    }
    .single-product div.product .bupiz-single-rating-stars{
        display:inline-flex !important;
        align-items:center !important;
        line-height:1 !important;
        margin:0 !important;
    }
    .single-product div.product .bupiz-single-rating-stars .star-rating{
        float:none !important;
        display:inline-block !important;
        margin:0 !important;
        line-height:1 !important;
    }
    .single-product div.product .summary > .woocommerce-product-rating{
        display:none !important;
    }
    @media (max-width: 767px){
        .single-product div.product .bupiz-single-rating-link{
            gap:5px !important;
            font-size:13px !important;
        }
        .single-product div.product .bupiz-single-rating-score,
        .single-product div.product .bupiz-single-rating-count{
            font-size:13px !important;
        }
        .single-product div.product .bupiz-single-rating-stars .star-rating{
            transform:scale(.95) !important;
            transform-origin:left center !important;
        }
    }


/* =========================================
   BUPIZ DESKTOP HEADER RECOVERY
   restores structure after inline CSS removal
========================================= */
@media (min-width:768px){

  .desktop-tablet{display:block !important;}
  .mobile-only{display:none !important;}
/*
  .bupiz-fashion-header{
    position:relative;
    z-index:9998;
    width:100%;
  }*/

  .bupiz-header-topbar{
    position:relative;
    top:0;
    left:0;
    right:0;
    z-index:10060;
    padding:0 !important;
    background:var(--bupiz-top-strip) !important;
    color:#1B263B !important;
    border-bottom:1px solid rgba(255,255,255,.12) !important;
  }

  .bupiz-header-topbar-inner{
    max-width:100%;
  }

  .bupiz-header-topbar-static{
    min-height:var(--bupiz-topbar-h);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    padding:7px 14px;
    color:#fff;
    font-size:14px;
    font-weight:600;
  }

  .bupiz-topbar-item{
    display:inline-flex;
    align-items:center;
    gap:6px;
    white-space:nowrap;
  }

  .bupiz-topbar-item .dashicons{
    font-size:16px;
    width:16px;
    height:16px;
  }

  #bupiz-main-header-desktop{
    position:relative;
    top:0;
    width:100%;
    z-index:10040;
    background:#fff !important;
    border-bottom:1px solid var(--bupiz-border-soft) !important;
    box-shadow:0 8px 20px rgba(0,0,0,.06) !important;
  }

  .bupiz-header-shell{
    width:100%;
    max-width:none;
    margin:0;
    padding:0 22px;
  }

  .bupiz-header-inner{
    display:block;
    width:100%;
    max-width:none;
    margin:0;
    padding:0;
  }

  .bupiz-header-row-main{
    display:grid;
    grid-template-columns:136px minmax(340px,1fr) auto;
    align-items:center;
    gap:18px;
    padding:0px 0px;
  }

  .bupiz-header-row-menu{
    border-top:1px solid var(--bupiz-border-soft);
    padding:0;
  }

  .bupiz-header-logo-link{
    display:inline-flex;
    align-items:center;
    text-decoration:none;
  }

  .bupiz-header-logo,
  .bupiz-header-logo img{
    max-height:48px;
    width:auto;
    display:block;
  }
/*searchbar*/
  .bupiz-header-search-col{
    min-width:0;
  }

  .bupiz-header-searchbar-form{
    display:flex !important;
    align-items:center;
    gap:8px;
    background:#fff !important;
	min-height:42px !important;
	   height:42px !important;
    padding:3px !important;
   border:1px solid #d1d5db !important;
    border-radius:11px !important;
    box-shadow:none !important;
  }

  .bupiz-header-searchbar-input{
    flex:1 1 auto;
    min-width:0;
    height:34px;
	  min-height:34px !important;
	  line-height:34px !important;
	  padding:0 14px !important;
	  fontsize:13px !important;
    border:none !important;
    background:transparent !important;
         color:#111827 !important;
    outline:none;
    box-shadow:none !important;
  }

  .bupiz-header-searchbar-submit{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    gap:6px;
    height:34px;
	  min-height:34px !important;
	  line-height:34px !important;
    min-width:92px !important;
      padding:0 14px;
    border:none !important;
    border-radius:10px !important;
    background:#1B263B !important;
    color:#fff !important;
    font-size:12.5px;
    font-weight:700;
    white-space:nowrap;
    cursor:pointer;
    box-shadow:none !important;
  }
	 .bupiz-header-searchbar-submit .dashicons{
    width:16px !important;
    height:16px !important;
    font-size:16px !important;
    line-height:16px !important;
  }
	
	/*New*/
	
/*searchbar end*/
  .bupiz-header-right-col{
    min-width:0;
  }

  .bupiz-header-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:16px;
    flex-wrap:nowrap;
  }

  .bupiz-header-account{
    position:relative;
  }

  .bupiz-account-trigger{
    display:flex !important;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    text-align:left;
    min-height:42px;
    min-width:110px;
    max-width:110px;
    padding:0 !important;
    border:none !important;
    background:transparent !important;
    color:#111827 !important;
    cursor:pointer;
    box-shadow:none !important;
  }

  .bupiz-account-line1{
    font-size:12px;
    line-height:1.1;
    font-weight:600;
    color:#6B7280 !important;
  }

  .bupiz-account-line2{
    font-size:15px;
    line-height:1.15;
    font-weight:700;
    color:#111827 !important;
    margin-top:2px;
  }

  .bupiz-account-dropdown{
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    min-width:280px;
    background:#fff;
    border:1px solid var(--bupiz-border-soft);
    box-shadow:0 18px 42px rgba(0,0,0,.12);
    padding:14px;
    display:none;
    z-index:10080;
  }

  .bupiz-header-account:hover .bupiz-account-dropdown,
  .bupiz-header-account.open .bupiz-account-dropdown{
    display:block;
  }

  .bupiz-account-menu-list{
    display:grid;
    gap:8px;
  }

  .bupiz-account-menu-item{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:#111827;
    font-size:14px;
    padding:6px 0;
  }

  .bupiz-header-icon-link,
  .bupiz-wallet-desktop-pill{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:40px;
    padding:0 2px;
    border:none !important;
    background:transparent !important;
    color:#111827 !important;
    text-decoration:none;
    font-size:13px;
    font-weight:600;
    white-space:nowrap;
    box-shadow:none !important;
  }

  .bupiz-cart-count,
  .bupiz-wishlist-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:20px;
    min-height:20px;
    padding:0 6px;
    border-radius:999px;
    background:#0F172A !important;
    color:#fff !important;
    font-size:11px;
    font-weight:700;
    line-height:1;
  }

  .bupiz-desktop-menu,
  .bupiz-desktop-menu li{
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
  }

  .bupiz-desktop-menu{
    display:flex !important;
    align-items:center;
    justify-content:center;
    gap:18px;
    flex-wrap:wrap;
  }

  .bupiz-desktop-menu a{
    display:block;
    padding:6px 0 !important;
    text-decoration:none;
    color:#111827 !important;
    font-size:14px;
    font-weight:600;
  }

  .bupiz-desktop-menu a:hover,
  .bupiz-desktop-menu .current-menu-item > a,
  .bupiz-desktop-menu .current-menu-ancestor > a{
    color:var(--bupiz-accent) !important;
  }
}
/*wishlict icon only*/
@media (min-width:768px){

  .bupiz-header-icons-modern{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
  }

  .bupiz-header-icon-modern{
    position:relative !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:42px !important;
    height:42px !important;
    color:#111827 !important;
    text-decoration:none !important;
    background:transparent !important;
    border:none !important;
    border-radius:10px !important;
    box-shadow:none !important;
    padding:0 !important;
    transition:all .2s ease !important;
  }

  .bupiz-header-icon-modern:hover{
    opacity:.82 !important;
    background:transparent !important;
  }

  .bupiz-header-icon-svg{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    line-height:1 !important;
  }

  .bupiz-header-icon-svg svg{
    width:31px !important;
    height:31px !important;
    display:block !important;
  }

  .bupiz-header-wishlist-modern svg{
    width:22px !important;
    height:22px !important;
  }

  .bupiz-header-cart-modern svg{
    width:30px !important;
    height:30px !important;
  }

  .bupiz-header-icon-badge{
    position:absolute !important;
    top:-2px !important;
    right:-2px !important;
    min-width:30px !important;
    height:30px !important;
    padding:0 6px !important;
    border-radius:999px !important;
    background:#7f7ce6 !important;
    color:#fff !important;
    font-size:22px !important;
    font-weight:800 !important;
    line-height:30px !important;
    text-align:center !important;
    box-shadow:0 0 0 2px #fff !important;
  }

  /* old desktop text links hidden 
 .bupiz-header-actions > .bupiz-header-icon-link{
  display:none !important;
}*/
}

@media (min-width:768px){

  /* desktop modern icon block */
  .bupiz-header-icons-modern{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
  }

  .bupiz-header-icon-modern{
    position:relative !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:34px !important;
    height:34px !important;
    padding:0 !important;
    border:none !important;
    background:transparent !important;
    color:#111827 !important;
    text-decoration:none !important;
    border-radius:8px !important;
    box-shadow:none !important;
  }

  .bupiz-header-icon-modern:hover{
    background:#f8fafc !important;
  }

  .bupiz-header-icon-svg{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    line-height:1 !important;
  }

  .bupiz-header-wishlist-modern .bupiz-header-icon-svg svg{
    width:18px !important;
    height:18px !important;
    display:block !important;
  }

  .bupiz-header-cart-modern .bupiz-header-icon-svg svg{
    width:24px !important;
    height:24px !important;
    display:block !important;
  }

  .bupiz-header-icon-badge{
    position:absolute !important;
    top:-2px !important;
    right:-3px !important;
    min-width:14px !important;
    height:14px !important;
    padding:0 3px !important;
    border-radius:999px !important;
    background:#7f7ce6 !important;
    color:#fff !important;
    font-size:8px !important;
    font-weight:700 !important;
    line-height:14px !important;
    text-align:center !important;
    box-shadow:0 0 0 2px #fff !important;
  }

  /* never show modern icons inside dropdown even if pasted there by mistake */
  .bupiz-account-dropdown .bupiz-header-icons-modern{
    display:none !important;
  }

  /* old desktop text links must not show */
  .bupiz-header-actions > .bupiz-header-icon-link{
    display:none !important;
  }

  /* sign in / sign up row */
  .bupiz-account-signin-wrap{
    padding-bottom:10px !important;
    margin-bottom:10px !important;
    border-bottom:1px solid #eceff3 !important;
  }

  .bupiz-account-auth-row{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    flex-wrap:wrap !important;
  }

  .bupiz-signin-btn,
  .bupiz-signup-btn{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:34px !important;
    padding:0 14px !important;
    border-radius:10px !important;
    text-decoration:none !important;
    font-size:13px !important;
    font-weight:700 !important;
    line-height:1 !important;
  }

  .bupiz-signin-btn{
    background:#0f172a !important;
    color:#fff !important;
  }

  .bupiz-signup-btn{
    background:#fff !important;
    color:#111827 !important;
    border:1px solid #d7dde5 !important;
  }

  .bupiz-account-menu-item{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
  }
}
/*header ro slimmer*/
@media (min-width:768px){

  .bupiz-header-row-menu{
    padding:0 !important;
    border-top:1px solid #eceff3 !important;
  }

  .bupiz-desktop-menu{
    gap:16px !important;
  }

  .bupiz-desktop-menu a{
    padding:7px 0 !important;
    font-size:13px !important;
    font-weight:600 !important;
    line-height:1.05 !important;
  }
}
/*account dropdown flicker*/
@media (min-width:768px){

  .bupiz-header-account{
    position:relative;
    padding-bottom:10px;   /* hover bridge */
    margin-bottom:-10px;   /* no extra row height */
  }

  .bupiz-account-dropdown{
    top:100% !important;   /* remove the gap */
    right:0 !important;
    margin-top:0 !important;
	    
  }

  .bupiz-header-account:hover .bupiz-account-dropdown,
  .bupiz-header-account:focus-within .bupiz-account-dropdown,
  .bupiz-header-account.open .bupiz-account-dropdown{
    opacity:1 !important;
    visibility:visible !important;
    transform:translateY(0) !important;
  }
}
 

@media (max-width:767px){

  /* never use desktop modern icons in mobile header/sticky areas */
  #bupiz-main-header-mobile .bupiz-header-icons-modern,
  .bupiz-mobile-sticky-bar .bupiz-header-icons-modern{
    display:none !important;
  }

  /* restore earlier sticky bar layout */
  .bupiz-mobile-sticky-bar{
    display:grid !important;
    grid-template-columns:42px 1fr 42px 42px !important;
    align-items:center !important;
    gap:8px !important;
    padding:8px 10px !important;
  }

  .bupiz-sticky-search-form{
    min-width:0 !important;
  }

  .bupiz-sticky-search-form input[type="search"]{
    width:100% !important;
    min-height:36px !important;
    height:36px !important;
    padding:0 36px 0 12px !important;
  }

  .bupiz-sticky-search-form button{
    top:1px !important;
    right:0px !important;
    width:34px !important;
    min-width:34px !important;
    height:34px !important;
  }

  .bupiz-sticky-icon-link,
  .bupiz-sticky-cart-link{
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
  }

  .bupiz-sticky-cart-count{
    top:4px !important;
    right:5px !important;
    font-size:11px !important;
    line-height:1 !important;
  }

  .bupiz-wallet-mini-pill.bupiz-sticky-wallet-float{
    top:calc(100% + 8px) !important;
    right:12px !important;
    left:auto !important;
  }
}
@media (max-width:767px){

  /* topbar + header are normal, not sticky */
  body{
    padding-top:0 !important;
  }

  #bupiz-header-topbar{
    position:relative !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    z-index:auto !important;
    width:100% !important;
  }

  .bupiz-header-topbar-inner{
    overflow:hidden !important;
  }

  .bupiz-header-topbar-static{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:var(--bupiz-topbar-h) !important;
    padding:7px 10px !important;
    gap:10px !important;
    width:100% !important;
    max-width:100% !important;
    text-align:center !important;
    flex-wrap:nowrap !important;
    overflow:hidden !important;
  }

  .bupiz-topbar-item{
    display:inline-flex !important;
    align-items:center !important;
    white-space:nowrap !important;
    min-width:0 !important;
  }

  #bupiz-main-header-mobile{
    position:relative !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    width:100% !important;
    z-index:auto !important;
    background:var(--bupiz-header) !important;
    transform:none !important;
    opacity:1 !important;
    overflow:hidden !important;
    box-shadow:none !important;
  }

  #bupiz-main-header-mobile.bupiz-hide-mobile-header{
    transform:none !important;
    opacity:1 !important;
    pointer-events:auto !important;
  }

  .bupiz-mobile-header-inner,
  .bupiz-mobile-search-row{
    position:relative !important;
  }

  .bupiz-mobile-header-inner{
    display:grid !important;
    grid-template-columns:42px minmax(0,1fr) auto !important;
    align-items:center !important;
    gap:8px !important;
    padding:4px 12px 4px!important;
  }

  .bupiz-mobile-search-row{
    padding:4px 12px 4px !important;
    background:#ffffff !important;
    border-bottom:none !important;
    overflow:hidden !important;
  }

  /* sticky bar exists only for home */
  .bupiz-mobile-sticky-bar{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    z-index:10055 !important;
    display:grid !important;
    grid-template-columns:42px 1fr 42px 42px !important;
    align-items:center !important;
    gap:8px !important;
    padding:4px 10px !important;
    background:#ffffff !important;
    box-shadow:0 8px 20px rgba(0,0,0,.08) !important;
    transform:translateY(-120%) !important;
    opacity:0 !important;
    pointer-events:none !important;
  }

  .bupiz-mobile-sticky-bar.show{
    transform:translateY(0) !important;
    opacity:1 !important;
    pointer-events:auto !important;
  }

  .bupiz-sticky-search-form{
    min-width:0 !important;
  }

  .bupiz-sticky-search-form input[type="search"]{
    width:100% !important;
    min-height:36px !important;
    height:36px !important;
    padding:0 36px 0 12px !important;
    border-radius:5px !important;
  }

  .bupiz-sticky-search-form button{
    top:0px !important;
    right:0px !important;
    width:36px !important;
    min-width:36px !important;
    height:36px !important;
    border-radius:5px !important;
  }

  .bupiz-mobile-sticky-bar .bupiz-header-icons-modern{
    display:none !important;
  }

  .bupiz-mobile-search-row + *{
    margin-top:0 !important;
  }

  /* sticky bar only on home/front page */
  body:not(.home):not(.front-page) .bupiz-mobile-sticky-bar{
    display:none !important;
  }
	/*body:not(.home):not(.front-page) .bupiz-mobile-sticky-bar{
  display:none !important;
}*/
}

  .bupiz-topbar-item-discount{
    display:none !important;
  }


/* =========================================
   BUPIZ CLEAN PRODUCT CARD SPACING
   Home + Shop + Category + Tag pages
========================================= */

/* pages where same clean card spacing is needed */
body.home .woocommerce ul.products li.product,
body.post-type-archive-product .woocommerce ul.products li.product,
body.tax-product_cat .woocommerce ul.products li.product,
body.tax-product_tag .woocommerce ul.products li.product{
    position:relative !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible !important;
}

/* keep inner product area clean */
body.home .woocommerce ul.products li.product .woocommerce-loop-product__link,
body.post-type-archive-product .woocommerce ul.products li.product .woocommerce-loop-product__link,
body.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__link,
body.tax-product_tag .woocommerce ul.products li.product .woocommerce-loop-product__link{
    display:block !important;
    position:relative !important;
    text-decoration:none !important;
    color:#111 !important;
    margin:0 !important;
    padding:0 !important;
}

/* image */
body.home .woocommerce ul.products li.product img,
body.post-type-archive-product .woocommerce ul.products li.product img,
body.tax-product_cat .woocommerce ul.products li.product img,
body.tax-product_tag .woocommerce ul.products li.product img{
    display:block !important;
    width:100% !important;
    aspect-ratio:3 / 4 !important;
    height:auto !important;
    object-fit:cover !important;
    margin:0 0 10px !important;
    border-radius:0 !important;
}

/* TRUE 4-dot version: dots only when JS adds class */
body.home .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.post-type-archive-product .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.tax-product_tag .woocommerce ul.products li.product .woocommerce-loop-product__title{
    position:relative !important;
    display:block !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:clip !important;
    -webkit-line-clamp:unset !important;
    -webkit-box-orient:unset !important;
    min-height:0 !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    font-size:14px !important;
    line-height:1.18 !important;
    font-weight:600 !important;
    color:#111 !important;
}

/* only overflowing titles get 4 dots */
body.home .woocommerce ul.products li.product .woocommerce-loop-product__title.bupiz-title-has-4dots,
body.post-type-archive-product .woocommerce ul.products li.product .woocommerce-loop-product__title.bupiz-title-has-4dots,
body.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title.bupiz-title-has-4dots,
body.tax-product_tag .woocommerce ul.products li.product .woocommerce-loop-product__title.bupiz-title-has-4dots{
    padding-right:24px !important;
}

body.home .woocommerce ul.products li.product .woocommerce-loop-product__title.bupiz-title-has-4dots::after,
body.post-type-archive-product .woocommerce ul.products li.product .woocommerce-loop-product__title.bupiz-title-has-4dots::after,
body.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title.bupiz-title-has-4dots::after,
body.tax-product_tag .woocommerce ul.products li.product .woocommerce-loop-product__title.bupiz-title-has-4dots::after{
    content:"...";
    position:absolute;
    top:0;
    right:0;
    height:100%;
    display:flex;
    align-items:center;
    padding-left:4px;
    background:linear-gradient(to right, rgba(255,255,255,0), #fff 38%);
    color:#111;
}

@media (max-width:767px){
    body.home .woocommerce ul.products li.product .woocommerce-loop-product__title,
    body.post-type-archive-product .woocommerce ul.products li.product .woocommerce-loop-product__title,
    body.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title,
    body.tax-product_tag .woocommerce ul.products li.product .woocommerce-loop-product__title{
        font-size:13px !important;
        line-height:1.16 !important;
    }

    body.home .woocommerce ul.products li.product .woocommerce-loop-product__title.bupiz-title-has-4dots,
    body.post-type-archive-product .woocommerce ul.products li.product .woocommerce-loop-product__title.bupiz-title-has-4dots,
    body.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title.bupiz-title-has-4dots,
    body.tax-product_tag .woocommerce ul.products li.product .woocommerce-loop-product__title.bupiz-title-has-4dots{
        padding-right:22px !important;
    }
}

/* stars row - immediate next line, no gap */
.woocommerce ul.products li.product .bupiz-home-review-row{
    display:inline-flex !important;
    align-items:center !important;
    gap:4px !important;
    flex-wrap:nowrap !important;
    margin:0 !important;
    padding:0 !important;
    line-height:1 !important;
}

.woocommerce ul.products li.product .bupiz-home-review-score,
.woocommerce ul.products li.product .bupiz-home-review-count{
    font-size:12px !important;
    line-height:1 !important;
    color:#111 !important;
}

.woocommerce ul.products li.product .bupiz-home-review-score{
    font-weight:700 !important;
}

.woocommerce ul.products li.product .bupiz-home-review-row .star-rating{
    margin:0 !important;
    float:none !important;
    line-height:1.1 !important;
}

/* price row */
.woocommerce ul.products li.product .bupiz-home-price-row{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:baseline !important;
    gap:4px 6px !important;
    margin:0 0 5px !important;
    line-height:1.12 !important;
}

.woocommerce ul.products li.product .bupiz-home-now{
    font-size:19px !important;
    font-weight:800 !important;
}

.woocommerce ul.products li.product .bupiz-home-currency{
    font-size:12px !important;
    transform:translateY(2px) !important;
}

.woocommerce ul.products li.product .bupiz-home-old{
    font-size:13px !important;
}

.woocommerce ul.products li.product .bupiz-home-off{
    font-size:12px !important;
    font-weight:700 !important;
}

/* below-card offer/cashback label removed */
.woocommerce ul.products li.product .bupiz-loop-top-label{
    display:none !important;
}


/* delivery row removed from product cards */
.woocommerce ul.products li.product .bupiz-home-delivery-row,
.woocommerce ul.products li.product .bupiz-home-delivery-strong{
    display:none !important;
}


/* cashback badge refine */
.woocommerce ul.products li.product .bupiz-save-badge{
    display:none !important;
}
.woocommerce ul.products li.product .bupiz-loop-cashback-badge{
    top:7px !important;
    left:0 !important;
}


/* mobile 2-column spacing like reference */
@media (max-width:767px){
    body.home .woocommerce ul.products,
    body.post-type-archive-product .woocommerce ul.products,
    body.tax-product_cat .woocommerce ul.products,
    body.tax-product_tag .woocommerce ul.products{
        display:grid !important;
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:16px 12px !important;
        margin:0 !important;
        padding:0 10px !important;
    }

    body.home .woocommerce ul.products li.product .woocommerce-loop-product__title,
    body.post-type-archive-product .woocommerce ul.products li.product .woocommerce-loop-product__title,
    body.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title,
    body.tax-product_tag .woocommerce ul.products li.product .woocommerce-loop-product__title{
        min-height:34px !important;
        font-size:13px !important;
        line-height:1.25 !important;
        margin:0 0 4px !important;
    }

    .woocommerce ul.products li.product .bupiz-home-review-row{
        margin:0 0 4px !important;
    }

    .woocommerce ul.products li.product .bupiz-home-price-row{
        margin:0 0 4px !important;
    }

    .woocommerce ul.products li.product .bupiz-home-delivery-row{
        display:none !important;
    }
    .woocommerce ul.products li.product .bupiz-loop-top-label{
        display:none !important;
    }
}

/* HARD FIX: remove title -> stars gap */
body.home .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.post-type-archive-product .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.tax-product_tag .woocommerce ul.products li.product .woocommerce-loop-product__title{
    margin:0 !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
    min-height:0 !important;
    height:auto !important;
    line-height:1.12 !important;
}

/* kill all duplicate review-row margins */
.woocommerce ul.products li.product .bupiz-home-review-row,
.bupiz-home-review-row,
.bupiz-mobile-rating-row{
    display:inline-flex !important;
    align-items:center !important;
    gap:4px !important;
    flex-wrap:nowrap !important;
    margin:0 !important;
    padding:0 !important;
    line-height:1 !important;
}

/* stars inside row */
.woocommerce ul.products li.product .bupiz-home-review-row .star-rating,
.bupiz-home-review-row .star-rating,
.bupiz-mobile-rating-row .star-rating{
    margin:0 !important;
    line-height:1 !important;
}

/* force stars to sit immediately below title */
body.home .woocommerce ul.products li.product .woocommerce-loop-product__title + .bupiz-home-review-row,
body.post-type-archive-product .woocommerce ul.products li.product .woocommerce-loop-product__title + .bupiz-home-review-row,
body.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title + .bupiz-home-review-row,
body.tax-product_tag .woocommerce ul.products li.product .woocommerce-loop-product__title + .bupiz-home-review-row{
    margin-top:-1px !important;
}
/* =========================================
   BUPIZ HOME - COMPACT HORIZONTAL ROWS
========================================= */

.bupiz-home-scroll-section{
    margin:22px 0 28px;
}

.bupiz-home-scroll-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin:0 0 12px;
    padding:0 12px;
}

.bupiz-home-scroll-title{
    margin:0;
    font-size:18px;
    line-height:1.15;
    font-weight:800;
    color:var(--bupiz-text-dark);
}

.bupiz-home-scroll-more{
    flex:0 0 auto;
    font-size:12px;
    font-weight:700;
    text-decoration:none;
    color:var(--bupiz-accent);
}

.bupiz-home-scroll-wrap{
    position:relative;
}

.bupiz-home-scroll-track{
    overflow-x:auto;
    overflow-y:hidden;
    scroll-behavior:smooth;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    padding:0 12px 4px;
}

.bupiz-home-scroll-track::-webkit-scrollbar{
    display:none;
}

.bupiz-home-scroll-track > ul.products{
    display:flex !important;
    flex-wrap:nowrap !important;
    gap:14px !important;
    margin:0 !important;
    padding:0 !important;
    list-style:none !important;
}

.bupiz-home-scroll-track > ul.products > li.product{
    flex:0 0 220px !important;
    width:220px !important;
    min-width:220px !important;
    margin:0 !important;
    padding:0 !important;
}

.bupiz-home-scroll-nav{
    position:absolute;
    top:36%;
    transform:translateY(-50%);
    z-index:5;
    width:34px;
    height:34px;
    border:1px solid var(--bupiz-border-soft);
    background:#fff;
    color:var(--bupiz-text-dark);
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    line-height:1;
    font-size:16px;
    padding:0;
}

.bupiz-home-scroll-prev{
    left:4px;
}

.bupiz-home-scroll-next{
    right:4px;
}

/* compact card content inside later rows */
.bupiz-home-scroll-section .woocommerce-loop-product__title{
    display:-webkit-box !important;
    -webkit-box-orient:vertical !important;
    -webkit-line-clamp:2 !important;
    overflow:hidden !important;
    white-space:normal !important;
    min-height:32px !important;
    max-height:32px !important;
    margin:0 0 6px !important;
    font-size:13px !important;
    line-height:1.22 !important;
    font-weight:600 !important;
}

/* review row - meesho style */
.bupiz-home-scroll-section .bupiz-home-review-row{
    display:flex !important;
    align-items:center !important;
    gap:6px !important;
    flex-wrap:nowrap !important;
    margin:0 0 6px !important;
    line-height:1 !important;
    min-height:22px !important;
}

.bupiz-home-scroll-section .bupiz-home-review-score{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    height:22px !important;
    min-width:44px !important;
    padding:0 8px !important;
    border-radius:999px !important;
    background:#0a8f5a !important;
    color:#fff !important;
    font-size:12px !important;
    font-weight:700 !important;
    line-height:22px !important;
}

.bupiz-home-scroll-section .bupiz-home-review-score::after{
    content:"★";
    display:inline-block;
    margin-left:4px;
    font-size:15px !important;
    font-weight:700 !important;
    line-height:1 !important;
    color:#fff !important;
    position:relative;
    top:-.2px;
}

.bupiz-home-scroll-section .bupiz-home-review-count{
    display:inline-block !important;
    color:#6b7280 !important;
    font-size:12px !important;
    font-weight:500 !important;
    line-height:22px !important;
}

/* hide any default woo rating output inside these rows */
.bupiz-home-scroll-section .star-rating,
.bupiz-home-scroll-section .woocommerce-review-link,
.bupiz-home-scroll-section .screen-reader-text{
    display:none !important;
}

.bupiz-home-scroll-section .bupiz-home-price-row{
    gap:3px 5px !important;
    margin:0 0 4px !important;
}

.bupiz-home-scroll-section .bupiz-home-now{
    font-size:17px !important;
}

.bupiz-home-scroll-section .bupiz-home-currency{
    font-size:11px !important;
}

.bupiz-home-scroll-section .bupiz-home-old{
    font-size:12px !important;
}

.bupiz-home-scroll-section .bupiz-home-off{
    font-size:11px !important;
}

.bupiz-home-scroll-section .bupiz-loop-top-label{
    display:none !important;
}

/* hide delivery + unwanted text */
.bupiz-home-scroll-section .bupiz-home-delivery-row,
.bupiz-home-scroll-section .price,
.bupiz-home-scroll-section .woocommerce-product-details__short-description,
.bupiz-home-scroll-section .short-description,
.bupiz-home-scroll-section .product-excerpt,
.bupiz-home-scroll-section .excerpt,
.bupiz-home-scroll-section .added_to_cart{
    display:none !important;
}

/* optional: keep buttons compact if shown by your loop */
.bupiz-home-scroll-section .button,
.bupiz-home-scroll-section .added_to_cart{
    min-height:34px !important;
    padding:8px 12px !important;
    font-size:12px !important;
}

/* desktop */
@media (min-width:1025px){
    .bupiz-home-scroll-track > ul.products > li.product{
        flex:0 0 232px !important;
        width:232px !important;
        min-width:232px !important;
    }
}

/* tablet */
@media (max-width:1024px){
    .bupiz-home-scroll-section{
        margin:20px 0 26px;
    }

    .bupiz-home-scroll-track > ul.products > li.product{
        flex:0 0 190px !important;
        width:190px !important;
        min-width:190px !important;
    }

    .bupiz-home-scroll-nav{
        width:30px;
        height:30px;
    }

    .bupiz-home-scroll-section .bupiz-home-review-score{
        min-width:42px !important;
        height:21px !important;
        font-size:11px !important;
        line-height:21px !important;
        padding:0 8px !important;
    }

    .bupiz-home-scroll-section .bupiz-home-review-count{
        font-size:11px !important;
        line-height:21px !important;
    }
}

/* mobile */
@media (max-width:767px){
    .bupiz-home-scroll-section{
        margin:18px 0 24px;
    }

    .bupiz-home-scroll-head{
        margin:0 0 8px;
        padding:0 12px;
    }

    .bupiz-home-scroll-title{
        font-size:16px;
        margin:0;
    }

    .bupiz-home-scroll-track{
        padding:0 12px 2px;
    }

    .bupiz-home-scroll-track > ul.products{
        gap:10px !important;
    }

    .bupiz-home-scroll-track > ul.products > li.product{
        flex:0 0 148px !important;
        width:148px !important;
        min-width:148px !important;
    }

    .bupiz-home-scroll-section .woocommerce-loop-product__title{
        font-size:12px !important;
        min-height:30px !important;
        max-height:30px !important;
        margin:0 0 5px !important;
    }

    .bupiz-home-scroll-section .bupiz-home-review-row{
        gap:5px !important;
        margin:0 0 5px !important;
        min-height:20px !important;
    }

    .bupiz-home-scroll-section .bupiz-home-review-score{
        min-width:40px !important;
        height:20px !important;
        padding:0 7px !important;
        font-size:11px !important;
        line-height:20px !important;
    }

    .bupiz-home-scroll-section .bupiz-home-review-score::after{
        margin-left:3px;
        font-size:9px !important;
    }

    .bupiz-home-scroll-section .bupiz-home-review-count{
        font-size:11px !important;
        line-height:20px !important;
    }

    .bupiz-home-scroll-section .bupiz-home-now{
        font-size:15px !important;
    }

    .bupiz-home-scroll-section .bupiz-home-old,
    .bupiz-home-scroll-section .bupiz-home-off{
        font-size:10px !important;
    }

    .bupiz-home-scroll-nav{
        display:none !important;
    }
}


.bupiz-account-divider{
    height:1px;
    background:#e5e7eb;
    margin:8px 0;
}
.bupiz-account-vendor-links{
    padding:2px 0;
}

/* =========================================
   BUPIZ FINAL UI UPDATE - buttons, stars, home row spacing
   Added after older duplicate blocks so this remains the final style.
========================================= */

/* 1) Global button family: Add to Cart = yellow, Buy Now / primary actions = orange */
input[type="submit"],
input[type="button"],
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
#bupiz-send-otp-btn,
#bupiz-verify-otp-btn,
#bupiz-resend-otp-btn,
#bupiz-save-checkout-address-btn,
#bupiz-save-address-btn,
.woocommerce-cart .checkout-button[data-bupiz-open-auth],
.bupiz-btn-primary,
.bupiz-cashback-signin,
.bupiz-mobile-promo-btn,
.bupiz-review-trigger,
.bupiz-show-more-reviews{
    background:var(--bupiz-buy-now-bg) !important;
    border:1px solid var(--bupiz-buy-now-border) !important;
    color:var(--bupiz-btn-text) !important;
    border-radius:999px !important;
    font-weight:800 !important;
    box-shadow:0 8px 18px rgba(255,164,28,.22) !important;
}

input[type="submit"]:hover,
input[type="button"]:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
#bupiz-send-otp-btn:hover,
#bupiz-verify-otp-btn:hover,
#bupiz-resend-otp-btn:hover,
#bupiz-save-checkout-address-btn:hover,
#bupiz-save-address-btn:hover,
.woocommerce-cart .checkout-button[data-bupiz-open-auth]:hover,
.bupiz-btn-primary:hover,
.bupiz-cashback-signin:hover,
.bupiz-mobile-promo-btn:hover,
.bupiz-review-trigger:hover,
.bupiz-show-more-reviews:hover{
    background:var(--bupiz-buy-now-hover) !important;
    border-color:var(--bupiz-buy-now-hover) !important;
    color:var(--bupiz-btn-text) !important;
    transform:translateY(-1px);
}

.woocommerce a.button,
.woocommerce a.button.add_to_cart_button,
.woocommerce button.single_add_to_cart_button,
.single-product form.cart .single_add_to_cart_button,
.bupiz-mobile-sticky-add{
    background:var(--bupiz-add-cart-bg) !important;
    border:1px solid var(--bupiz-add-cart-border) !important;
    color:var(--bupiz-btn-text) !important;
    border-radius:999px !important;
    font-weight:800 !important;
    box-shadow:0 8px 18px rgba(255,216,20,.22) !important;
}

.woocommerce a.button:hover,
.woocommerce a.button.add_to_cart_button:hover,
.woocommerce button.single_add_to_cart_button:hover,
.single-product form.cart .single_add_to_cart_button:hover,
.bupiz-mobile-sticky-add:hover{
    background:var(--bupiz-add-cart-hover) !important;
    border-color:var(--bupiz-add-cart-hover) !important;
    color:var(--bupiz-btn-text) !important;
    transform:translateY(-1px);
}

.single-product form.cart .bupiz-buy-now,
.bupiz-mobile-sticky-buy{
    background:var(--bupiz-buy-now-bg) !important;
    border:1px solid var(--bupiz-buy-now-border) !important;
    color:var(--bupiz-btn-text) !important;
    border-radius:999px !important;
    font-weight:800 !important;
    box-shadow:0 8px 18px rgba(255,164,28,.24) !important;
}
.single-product form.cart .bupiz-buy-now:hover,
.bupiz-mobile-sticky-buy:hover{
    background:var(--bupiz-buy-now-hover) !important;
    border-color:var(--bupiz-buy-now-hover) !important;
    color:var(--bupiz-btn-text) !important;
}

/* Search/action small buttons */
.bupiz-header-searchbar-submit,
.bupiz-search-form button,
.bupiz-sticky-search-form button{
    background:var(--bupiz-accent) !important;
    border-color:var(--bupiz-accent) !important;
    color:#fff !important;
    border-radius:10px !important;
}

/* Sticky mobile bottom bar: same colors, wider buttons, same height */
@media (max-width:767px){
    .bupiz-mobile-sticky-main{
        gap:8px !important;
        padding:9px 10px !important;
    }
    .bupiz-mobile-sticky-pricebox{
        flex:1 1 92px !important;
        min-width:92px !important;
    }
    .bupiz-mobile-sticky-actions{
        flex:0 0 auto !important;
        display:flex !important;
        gap:8px !important;
    }
    .bupiz-mobile-sticky-btn{
        height:42px !important;
        min-height:42px !important;
        line-height:42px !important;
        padding:0 12px !important;
        font-size:13px !important;
        border-radius:0 !important;
    }
    .bupiz-mobile-sticky-add,
    .bupiz-mobile-sticky-buy{
        min-width:112px !important;
    }
}

/* 3) Stars: orange like Buy Now; green rating score pill is intentionally untouched */
.woocommerce .star-rating span::before,
.single-product .summary .bupiz-single-rating-stars .star-rating span::before,
.bupiz-reviews-block .star-rating span::before{
    color:var(--bupiz-buy-now-bg) !important;
}
.woocommerce .star-rating::before,
.single-product .summary .bupiz-single-rating-stars .star-rating::before,
.bupiz-reviews-block .star-rating::before{
    color:var(--bupiz-star-empty) !important;
}
.bupiz-home-scroll-section .bupiz-home-review-score{
    background:#0a8f5a !important;
    color:#fff !important;
}
.bupiz-home-scroll-section .bupiz-home-review-score::after{
    color:#fff !important;
}

/* 4) Offers and product blocks: softer modern background and clearer spacing */
.bupiz-great-offers-box,
.bupiz-special-offer-box{
    background:linear-gradient(135deg, #FFF8DC 0%, #FFFFFF 72%) !important;
    border:1px solid #F2D27A !important;
    border-top:3px solid var(--bupiz-buy-now-bg) !important;
    border-radius:14px !important;
    padding:16px 18px 14px !important;
    margin:12px 0 16px !important;
    box-shadow:0 8px 18px rgba(255,164,28,.10) !important;
}
.bupiz-great-offers-box h3,
.bupiz-special-offer-box h3{
    font-size:18px !important;
    line-height:1.2 !important;
    margin:0 0 12px !important;
    color:var(--bupiz-text-dark) !important;
}
.bupiz-great-offers-box li,
.bupiz-special-offer-box li{
    font-size:14px !important;
    line-height:1.45 !important;
    margin:0 0 9px !important;
}
.bupiz-great-offers-box li::before,
.bupiz-special-offer-box li::before{
    background:var(--bupiz-buy-now-bg) !important;
    box-shadow:0 0 0 4px rgba(255,164,28,.14) !important;
}

/* 5) Home scroll sections: modern separation for Hot Deals, New Arrivals, etc. */
.bupiz-home-scroll-section{
    margin:14px 0 22px !important;
    padding:14px 0 16px !important;
    background:var(--bupiz-section-bg) !important;
    border-top:8px solid var(--bupiz-section-divider) !important;
    border-bottom:1px solid #EDE3F4 !important;
}
.bupiz-home-scroll-head{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    margin:0 0 12px !important;
    padding:0 14px 10px !important;
    border-bottom:1px solid rgba(255,164,28,.22) !important;
}
.bupiz-home-scroll-title{
    display:flex !important;
    align-items:center !important;
    gap:9px !important;
    margin:0 !important;
    font-size:19px !important;
    line-height:1.15 !important;
    font-weight:900 !important;
    letter-spacing:-.3px !important;
    color:var(--bupiz-text-dark) !important;
}
.bupiz-home-scroll-title::before{
    content:"";
    width:6px;
    height:24px;
    display:inline-block;
    border-radius:999px;
    background:linear-gradient(180deg, var(--bupiz-buy-now-bg), var(--bupiz-add-cart-bg));
    box-shadow:0 4px 10px rgba(255,164,28,.22);
}
.bupiz-home-scroll-more{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:30px !important;
    padding:0 12px !important;
    border:1px solid rgba(255,164,28,.38) !important;
    border-radius:999px !important;
    background:#fff !important;
    color:var(--bupiz-accent) !important;
    font-size:12px !important;
    font-weight:800 !important;
    text-decoration:none !important;
    box-shadow:0 5px 14px rgba(27,38,59,.06) !important;
}
.bupiz-home-scroll-track{
    padding:0 12px 4px !important;
}
.bupiz-home-scroll-track > ul.products{
    gap:12px !important;
}
.bupiz-home-scroll-track > ul.products > li.product{
    background:#fff !important;
    border:1px solid #F0F0F0 !important;
    border-radius:12px !important;
    overflow:hidden !important;
    box-shadow:0 4px 14px rgba(27,38,59,.05) !important;
    padding-bottom:8px !important;
}
.bupiz-home-scroll-section .woocommerce-loop-product__title,
.bupiz-home-scroll-section .bupiz-home-review-row,
.bupiz-home-scroll-section .bupiz-home-price-row,
.bupiz-home-scroll-section .bupiz-loop-top-label{
    margin-left:8px !important;
    margin-right:8px !important;
}
.bupiz-home-scroll-nav{
    border-radius:999px !important;
    border-color:rgba(255,164,28,.35) !important;
    background:#fff !important;
    color:var(--bupiz-text-dark) !important;
}

@media (max-width:767px){
    .bupiz-home-scroll-section{
        margin:12px 0 18px !important;
        padding:12px 0 14px !important;
        border-top-width:7px !important;
    }
    .bupiz-home-scroll-head{
        padding:0 12px 9px !important;
        margin:0 0 10px !important;
    }
    .bupiz-home-scroll-title{
        font-size:18px !important;
    }
    .bupiz-home-scroll-title::before{
        width:5px;
        height:22px;
    }
    .bupiz-home-scroll-more{
        min-height:28px !important;
        padding:0 11px !important;
        font-size:12px !important;
    }
    .bupiz-home-scroll-track{
        padding:0 10px 3px !important;
    }
    .bupiz-home-scroll-track > ul.products{
        gap:10px !important;
    }
    .bupiz-home-scroll-track > ul.products > li.product{
        flex-basis:150px !important;
        width:150px !important;
        min-width:150px !important;
        border-radius:10px !important;
    }
}

/* =========================================================
   BUPIZ FINAL PRODUCT PAGE CSS - CLEAN CONSOLIDATED BLOCK
   Working layout preserved. Duplicate later override blocks removed;
   active simple/size-only gallery, sticky-gallery and compact typography
   rules are merged below.
========================================================= */

/* Remove older product read-more buttons if any earlier CSS still paints them. */
body.single-product .bupiz-product-details-more,
body.single-product .bupiz-readmore-toggle{
    display:none !important;
}

body.single-product div.product{
    max-width:1280px !important;
    margin:0 auto !important;
    padding:0 14px !important;
}

/* ---------- Desktop gallery + summary frame ---------- */
@media (min-width:992px){
    body.single-product div.product.bupiz-desktop-sticky-frame-ready{
        display:block !important;
    }

    body.single-product div.product .bupiz-product-head-sticky-frame{
        display:grid !important;
        grid-template-columns:minmax(580px, 650px) minmax(420px, 1fr) !important;
        align-items:start !important;
        column-gap:26px !important;
        width:100% !important;
        max-width:1280px !important;
        margin:0 auto 18px !important;
        overflow:visible !important;
    }

    body.single-product div.product .bupiz-product-head-sticky-frame > .images,
    body.single-product div.product .bupiz-product-head-sticky-frame > div.images{
        position:sticky !important;
        top:96px !important;
        align-self:start !important;
        width:100% !important;
        max-width:650px !important;
        min-width:0 !important;
        margin:0 !important;
        overflow:visible !important;
        z-index:1 !important;
    }

    body.single-product div.product .bupiz-product-head-sticky-frame > .summary,
    body.single-product div.product .bupiz-product-head-sticky-frame > div.summary,
    body.single-product div.product .summary.entry-summary{
        width:100% !important;
        max-width:none !important;
        min-width:0 !important;
        margin:0 !important;
        padding:4px 0 0 !important;
        float:none !important;
    }

    /* Controlled gallery: vertical thumbnails + fixed 4:5 portrait main image. */
    body.single-product div.product .woocommerce-product-gallery.bupiz-controlled-gallery,
    body.single-product div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked{
        display:grid !important;
        grid-template-columns:74px minmax(0, 520px) !important;
        gap:14px !important;
        width:100% !important;
        max-width:608px !important;
        margin:0 !important;
        overflow:visible !important;
        float:none !important;
    }

    body.single-product div.product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-wrapper,
    body.single-product div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-wrapper,
    body.single-product div.product .woocommerce-product-gallery:not(.bupiz-controlled-gallery) .flex-viewport{
        grid-column:2 !important;
        width:520px !important;
        max-width:520px !important;
        height:650px !important;
        min-height:650px !important;
        max-height:650px !important;
        aspect-ratio:4 / 5 !important;
        overflow:hidden !important;
        background:#fff !important;
        margin:0 !important;
    }

    body.single-product div.product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-slide,
    body.single-product div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-slide{
        width:100% !important;
        height:100% !important;
        min-height:100% !important;
        display:none !important;
        align-items:center !important;
        justify-content:center !important;
        background:#fff !important;
    }

    body.single-product div.product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-slide.is-active,
    body.single-product div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-slide.is-active{
        display:flex !important;
    }

    body.single-product div.product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-slide a,
    body.single-product div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-slide a{
        display:flex !important;
        width:100% !important;
        height:100% !important;
        align-items:center !important;
        justify-content:center !important;
    }

    body.single-product div.product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-slide img,
    body.single-product div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-slide img,
    body.single-product div.product .woocommerce-product-gallery:not(.bupiz-controlled-gallery) .woocommerce-product-gallery__image img{
        width:100% !important;
        height:100% !important;
        max-width:100% !important;
        max-height:100% !important;
        object-fit:contain !important;
        object-position:center top !important;
        margin:0 auto !important;
        background:#fff !important;
    }

    body.single-product div.product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-thumbs,
    body.single-product div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-thumbs{
        grid-column:1 !important;
        grid-row:1 !important;
        display:flex !important;
        flex-direction:column !important;
        gap:9px !important;
        width:74px !important;
        max-width:74px !important;
        max-height:650px !important;
        overflow-y:auto !important;
        overflow-x:hidden !important;
        padding:0 2px 4px !important;
        margin:0 !important;
        scrollbar-width:thin !important;
    }

    body.single-product div.product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-dot,
    body.single-product div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-dot{
        width:70px !important;
        height:88px !important;
        min-width:70px !important;
        min-height:88px !important;
        max-width:70px !important;
        max-height:88px !important;
        flex:0 0 88px !important;
        padding:0 !important;
        border:1px solid #E5E7EB !important;
        border-radius:9px !important;
        background:#fff !important;
        overflow:hidden !important;
        box-shadow:0 4px 10px rgba(15,23,42,.08) !important;
    }

    body.single-product div.product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-dot.is-active,
    body.single-product div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-dot.is-active{
        border-color:var(--bupiz-accent) !important;
        box-shadow:0 0 0 2px rgba(255,132,0,.16) !important;
    }

    body.single-product div.product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-dot img,
    body.single-product div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-dot img{
        display:block !important;
        width:100% !important;
        height:100% !important;
        max-width:100% !important;
        max-height:100% !important;
        object-fit:cover !important;
        object-position:center top !important;
        opacity:1 !important;
        visibility:visible !important;
    }
}

@media (max-width:1180px) and (min-width:992px){
    body.single-product div.product .bupiz-product-head-sticky-frame{
        grid-template-columns:minmax(500px, 570px) minmax(390px, 1fr) !important;
        column-gap:18px !important;
    }
    body.single-product div.product .woocommerce-product-gallery.bupiz-controlled-gallery,
    body.single-product div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked{
        grid-template-columns:66px minmax(0, 460px) !important;
        max-width:538px !important;
    }
    body.single-product div.product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-wrapper,
    body.single-product div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-wrapper,
    body.single-product div.product .woocommerce-product-gallery:not(.bupiz-controlled-gallery) .flex-viewport{
        width:460px !important;
        max-width:460px !important;
        height:575px !important;
        min-height:575px !important;
        max-height:575px !important;
    }
    body.single-product div.product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-thumbs,
    body.single-product div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-thumbs{
        width:66px !important;
        max-width:66px !important;
        max-height:575px !important;
    }
    body.single-product div.product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-dot,
    body.single-product div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-dot{
        width:62px !important;
        height:78px !important;
        min-width:62px !important;
        min-height:78px !important;
        max-width:62px !important;
        max-height:78px !important;
        flex-basis:78px !important;
    }
}

/* ---------- Mobile gallery: keep Step 7H stable controlled behavior ---------- */
@media (max-width:991px){
    body.single-product div.product{
        padding:0 !important;
        max-width:100% !important;
        background:#fff !important;
    }

    body.single-product div.product .woocommerce-product-gallery{
        width:100% !important;
        margin:0 auto 10px !important;
        padding:0 !important;
        overflow:hidden !important;
        background:#fff !important;
    }

    body.single-product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-wrapper{
        width:100% !important;
        height:auto !important;
        min-height:0 !important;
        aspect-ratio:auto !important;
        overflow:hidden !important;
        background:#fff !important;
    }

    body.single-product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-slide{
        display:none !important;
        width:100% !important;
        background:#fff !important;
    }

    body.single-product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-slide.is-active{
        display:block !important;
    }

    body.single-product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-slide img{
        display:block !important;
        width:100% !important;
        height:auto !important;
        max-height:none !important;
        object-fit:contain !important;
        object-position:center top !important;
        margin:0 auto !important;
    }

    body.single-product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-thumbs{
        display:flex !important;
        flex-direction:row !important;
        justify-content:center !important;
        align-items:center !important;
        gap:7px !important;
        width:100% !important;
        max-width:100% !important;
        margin:8px auto 0 !important;
        padding:0 12px !important;
        overflow:visible !important;
    }

    body.single-product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-dot{
        width:11px !important;
        height:11px !important;
        min-width:11px !important;
        min-height:11px !important;
        max-width:11px !important;
        max-height:11px !important;
        flex:0 0 11px !important;
        padding:0 !important;
        border:0 !important;
        border-radius:2px !important;
        background:#d9cfd5 !important;
        box-shadow:none !important;
        overflow:hidden !important;
    }

    body.single-product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-dot.is-active{
        background:var(--bupiz-accent) !important;
    }

    body.single-product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-dot img{
        display:none !important;
    }
}

/* ---------- Summary / variation layout ---------- */
body.single-product div.product .summary.entry-summary,
body.single-product div.product .summary{
    background:#fff !important;
}

body.single-product div.product .product_title{
    margin:0 0 7px !important;
    line-height:1.18 !important;
    font-weight:900 !important;
    letter-spacing:-.35px !important;
    color:#111827 !important;
}

body.single-product div.product p.price,
body.single-product div.product span.price,
body.single-product div.product .price{
    margin:0 0 11px !important;
}

body.single-product div.product form.cart,
body.single-product div.product form.variations_form.cart{
    display:flex !important;
    flex-direction:column !important;
    gap:8px !important;
    margin:0 0 12px !important;
    padding:0 !important;
    width:100% !important;
}

body.single-product table.variations,
body.single-product form.cart table.variations{
    width:100% !important;
    margin:4px 0 2px !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
}
body.single-product table.variations tbody,
body.single-product form.cart table.variations tbody{
    display:flex !important;
    flex-direction:column !important;
    gap:9px !important;
    width:100% !important;
}
body.single-product table.variations tr,
body.single-product form.cart table.variations tr{
    display:flex !important;
    flex-direction:column !important;
    gap:6px !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
}
body.single-product table.variations tr.bupiz-mobile-color-row-ready{order:1 !important;}
body.single-product table.variations tr.bupiz-mobile-size-row-ready{order:2 !important;}

body.single-product table.variations th.label,
body.single-product form.cart table.variations th.label,
body.single-product table.variations td.label,
body.single-product form.cart table.variations td.label{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:8px !important;
    width:100% !important;
    padding:0 !important;
    margin:0 !important;
    text-align:left !important;
    background:transparent !important;
}
body.single-product table.variations th.label label,
body.single-product form.cart table.variations th.label label,
body.single-product table.variations td.label label,
body.single-product form.cart table.variations td.label label{
    margin:0 !important;
    color:#111827 !important;
    font-weight:900 !important;
    font-size:18px !important;
    line-height:1.1 !important;
}
body.single-product table.variations td.value,
body.single-product form.cart table.variations td.value{
    display:block !important;
    width:100% !important;
    padding:0 !important;
    margin:0 !important;
    background:transparent !important;
    border:0 !important;
}

/* Important: hide native WooCommerce select fields after Bupiz buttons are created. */
body.single-product form.variations_form select.bupiz-mobile-hidden-color-select,
body.single-product form.variations_form select.bupiz-mobile-hidden-size-select,
body.single-product form.variations_form tr.bupiz-mobile-color-row-ready td.value > select[name^="attribute_"],
body.single-product form.variations_form tr.bupiz-mobile-size-row-ready td.value > select[name^="attribute_"],
body.single-product form.variations_form tr.bupiz-mobile-color-row-ready .value > select[name^="attribute_"],
body.single-product form.variations_form tr.bupiz-mobile-size-row-ready .value > select[name^="attribute_"],
body.single-product form.variations_form tr.bupiz-mobile-color-row-ready select[name^="attribute_"],
body.single-product form.variations_form tr.bupiz-mobile-size-row-ready select[name^="attribute_"]{
    display:none !important;
    visibility:hidden !important;
    opacity:0 !important;
    width:0 !important;
    height:0 !important;
    min-width:0 !important;
    min-height:0 !important;
    max-width:0 !important;
    max-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    pointer-events:none !important;
    position:absolute !important;
    left:-9999px !important;
}

body.single-product form.variations_form .reset_variations{
    display:inline-flex !important;
    align-self:flex-start !important;
    margin:2px 0 0 !important;
    color:#1e73be !important;
    font-weight:800 !important;
    font-size:13px !important;
    text-decoration:none !important;
}

body.single-product .bupiz-mobile-color-thumbs,
body.single-product .bupiz-mobile-size-buttons{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:8px !important;
    margin:0 !important;
    padding:0 !important;
    flex-wrap:wrap !important;
    background:transparent !important;
}
body.single-product .bupiz-mobile-color-thumb,
body.single-product .bupiz-mobile-size-btn{
    appearance:none !important;
    -webkit-appearance:none !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 !important;
    background:#fff !important;
    border:1px solid #D9DEE7 !important;
    border-radius:10px !important;
    color:#111827 !important;
    box-shadow:0 5px 12px rgba(15,23,42,.07) !important;
    cursor:pointer !important;
    transform:none !important;
    transition:border-color .16s ease, box-shadow .16s ease, background .16s ease !important;
}
body.single-product .bupiz-mobile-color-thumb{
    width:74px !important;
    height:86px !important;
    padding:4px !important;
    overflow:hidden !important;
}
body.single-product .bupiz-mobile-color-thumb img{
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:cover !important;
    object-position:center top !important;
    border-radius:7px !important;
    display:block !important;
}
body.single-product .bupiz-mobile-size-btn{
    min-width:54px !important;
    height:48px !important;
    padding:0 16px !important;
    font-size:15px !important;
    font-weight:900 !important;
    line-height:1 !important;
}
body.single-product .bupiz-mobile-color-thumb.is-selected,
body.single-product .bupiz-mobile-size-btn.is-selected{
    border-color:#0EA5C6 !important;
    background:#EFFFFF !important;
    box-shadow:0 0 0 2px rgba(14,165,198,.22), 0 5px 12px rgba(15,23,42,.07) !important;
}
body.single-product .bupiz-mobile-color-thumb.is-disabled,
body.single-product .bupiz-mobile-size-btn.is-disabled{
    opacity:.42 !important;
    cursor:not-allowed !important;
    text-decoration:line-through !important;
}

/* Size chart trigger beside Size label. */
body.single-product .bupiz-size-chart-popup-trigger{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:0 !important;
    padding:0 2px 3px !important;
    margin:0 0 0 12px !important;
    border:0 !important;
    border-bottom:2px solid #8B5CF6 !important;
    border-radius:0 !important;
    background:transparent !important;
    color:#7C3AED !important;
    font-size:14px !important;
    line-height:1 !important;
    font-weight:900 !important;
    text-decoration:none !important;
    box-shadow:none !important;
    cursor:pointer !important;
}
body.single-product .bupiz-size-chart-popup-trigger:hover{
    color:var(--bupiz-accent) !important;
    border-bottom-color:var(--bupiz-accent) !important;
}

/* ---------- Quantity + Add to Cart + Buy Now: one clean row ---------- */
body.single-product form.cart .woocommerce-variation-add-to-cart,
body.single-product form.cart .woocommerce-variation-add-to-cart.variations_button{
    display:grid !important;
    grid-template-columns:112px minmax(150px, 1fr) minmax(150px, 1fr) !important;
    gap:10px !important;
    align-items:center !important;
    width:100% !important;
    margin:2px 0 0 !important;
    padding:0 !important;
}
body.single-product div.product form.cart:not(.variations_form):not(.grouped_form){
    display:grid !important;
    grid-template-columns:112px minmax(150px, 1fr) minmax(150px, 1fr) !important;
    gap:10px !important;
    align-items:center !important;
}
body.single-product form.cart .quantity{
    display:grid !important;
    grid-template-columns:34px 44px 34px !important;
    align-items:center !important;
    width:112px !important;
    min-width:112px !important;
    height:46px !important;
    margin:0 !important;
    border:1px solid #DDE2E7 !important;
    border-radius:10px !important;
    overflow:hidden !important;
    background:#fff !important;
    box-shadow:0 4px 10px rgba(15,23,42,.05) !important;
}
body.single-product form.cart .quantity .qty{
    width:44px !important;
    height:46px !important;
    min-height:46px !important;
    border:0 !important;
    border-left:1px solid #EDF0F3 !important;
    border-right:1px solid #EDF0F3 !important;
    border-radius:0 !important;
    background:#fff !important;
    color:#111827 !important;
    font-weight:900 !important;
    font-size:15px !important;
    text-align:center !important;
    padding:0 !important;
    box-shadow:none !important;
    -moz-appearance:textfield !important;
}
body.single-product form.cart .quantity .qty::-webkit-outer-spin-button,
body.single-product form.cart .quantity .qty::-webkit-inner-spin-button{
    -webkit-appearance:none !important;
    margin:0 !important;
}
body.single-product form.cart .bupiz-qty-step{
    width:34px !important;
    height:46px !important;
    min-height:46px !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:#fff !important;
    color:#273244 !important;
    font-size:19px !important;
    font-weight:900 !important;
    line-height:1 !important;
    box-shadow:none !important;
}
body.single-product form.cart .single_add_to_cart_button,
body.single-product form.cart .bupiz-buy-now{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    min-width:0 !important;
    height:46px !important;
    min-height:46px !important;
    padding:0 16px !important;
    margin:0 !important;
    border-radius:999px !important;
    font-size:15px !important;
    line-height:1 !important;
    font-weight:900 !important;
    color:#111827 !important;
    box-shadow:0 8px 18px rgba(15,23,42,.10) !important;
}
body.single-product form.cart .single_add_to_cart_button{
    background:var(--bupiz-add-cart-bg) !important;
    border:1px solid var(--bupiz-add-cart-border) !important;
}
body.single-product form.cart .bupiz-buy-now{
    background:var(--bupiz-buy-now-bg) !important;
    border:1px solid var(--bupiz-buy-now-border) !important;
}
body.single-product form.cart .single_add_to_cart_button:hover{
    background:var(--bupiz-add-cart-hover) !important;
}
body.single-product form.cart .bupiz-buy-now:hover{
    background:var(--bupiz-buy-now-hover) !important;
}

@media (max-width:767px){
    body.single-product div.product .summary.entry-summary,
    body.single-product div.product .summary{
        padding:0 14px 14px !important;
    }
    body.single-product div.product .product_title{
        margin:0 0 6px !important;
        font-size:25px !important;
        line-height:1.18 !important;
    }
    body.single-product div.product p.price,
    body.single-product div.product span.price,
    body.single-product div.product .price{
        margin:0 0 9px !important;
    }
    body.single-product div.product form.cart,
    body.single-product div.product form.variations_form.cart{
        gap:7px !important;
    }
    body.single-product table.variations tbody,
    body.single-product form.cart table.variations tbody{
        gap:7px !important;
    }
    body.single-product table.variations th.label label,
    body.single-product form.cart table.variations th.label label,
    body.single-product table.variations td.label label,
    body.single-product form.cart table.variations td.label label{
        font-size:24px !important;
    }
    body.single-product .bupiz-mobile-color-thumbs,
    body.single-product .bupiz-mobile-size-buttons{
        gap:8px !important;
    }
    body.single-product .bupiz-mobile-color-thumb{
        width:58px !important;
        height:70px !important;
        border-radius:8px !important;
    }
    body.single-product .bupiz-mobile-size-btn{
        min-width:54px !important;
        height:45px !important;
        padding:0 15px !important;
        font-size:15px !important;
        border-radius:9px !important;
    }
    body.single-product .bupiz-size-chart-popup-trigger{
        font-size:15px !important;
        margin-left:10px !important;
    }
    body.single-product form.cart .woocommerce-variation-add-to-cart,
    body.single-product form.cart .woocommerce-variation-add-to-cart.variations_button,
    body.single-product div.product form.cart:not(.variations_form):not(.grouped_form){
        grid-template-columns:86px minmax(0, 1fr) minmax(0, 1fr) !important;
        gap:6px !important;
        width:100% !important;
    }
    body.single-product form.cart .quantity{
        width:86px !important;
        min-width:86px !important;
        grid-template-columns:26px 34px 26px !important;
        height:44px !important;
        border-radius:8px !important;
    }
    body.single-product form.cart .quantity .qty{
        width:34px !important;
        height:44px !important;
        min-height:44px !important;
        font-size:14px !important;
    }
    body.single-product form.cart .bupiz-qty-step{
        width:26px !important;
        height:44px !important;
        min-height:44px !important;
        font-size:17px !important;
    }
    body.single-product form.cart .single_add_to_cart_button,
    body.single-product form.cart .bupiz-buy-now{
        height:44px !important;
        min-height:44px !important;
        padding:0 8px !important;
        font-size:13px !important;
        border-radius:999px !important;
        white-space:nowrap !important;
    }
}

/* ---------- Buy with confidence compact ---------- */
body.single-product .bupiz-mobile-trust-wrap,
body.single-product .bupiz-confidence-wrap,
body.single-product .bupiz-buy-confidence-wrap{
    margin:8px 0 10px !important;
    padding:11px 12px 12px !important;
    border:1px solid #E9D9FF !important;
    border-radius:12px !important;
    background:#fff !important;
    box-shadow:0 6px 16px rgba(111,66,193,.06) !important;
}
body.single-product .bupiz-mobile-trust-heading,
body.single-product .bupiz-confidence-heading,
body.single-product .bupiz-buy-confidence-heading{
    margin:0 0 8px !important;
    font-size:15px !important;
    font-weight:900 !important;
    line-height:1.1 !important;
    color:#111827 !important;
}
body.single-product .bupiz-mobile-trust-grid,
body.single-product .bupiz-confidence-grid,
body.single-product .bupiz-buy-confidence-grid{
    display:grid !important;
    grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
    gap:7px !important;
}
body.single-product .bupiz-mobile-trust-item,
body.single-product .bupiz-confidence-item,
body.single-product .bupiz-buy-confidence-item{
    min-height:58px !important;
    padding:7px 6px !important;
    border:1px solid #F0E7FF !important;
    border-radius:10px !important;
    background:#FFFCFF !important;
    text-align:center !important;
    font-size:12px !important;
    line-height:1.18 !important;
    font-weight:800 !important;
}

@media (max-width:767px){
    body.single-product .bupiz-mobile-trust-wrap,
    body.single-product .bupiz-confidence-wrap,
    body.single-product .bupiz-buy-confidence-wrap{
        margin:8px 0 9px !important;
        padding:10px 10px !important;
    }
    body.single-product .bupiz-mobile-trust-item,
    body.single-product .bupiz-confidence-item,
    body.single-product .bupiz-buy-confidence-item{
        min-height:54px !important;
        padding:6px 4px !important;
        font-size:11px !important;
    }
}

/* ---------- Product short description: clean two-column Product Details ---------- */
body.single-product .woocommerce-product-details__short-description{
    margin:10px 0 14px !important;
    padding:0 !important;
    color:#111827 !important;
}
body.single-product .woocommerce-product-details__short-description .bupiz-structured-size-chart,
body.single-product .woocommerce-product-details__short-description .bupiz-size-chart-inline-source{
    display:none !important;
}
body.single-product .bupiz-structured-details{
    position:relative !important;
    padding:16px 16px 14px !important;
    border:1px solid #E8ECF2 !important;
    border-radius:14px !important;
    background:#fff !important;
    box-shadow:0 8px 24px rgba(15,23,42,.06) !important;
    overflow:hidden !important;
}
body.single-product .bupiz-structured-details h3{
    margin:0 0 12px !important;
    color:#111827 !important;
    font-size:20px !important;
    line-height:1.15 !important;
    font-weight:900 !important;
    letter-spacing:-.2px !important;
}
body.single-product .bupiz-product-detail-list{
    position:relative !important;
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:9px 10px !important;
    overflow:hidden !important;
    transition:max-height .22s ease !important;
}
body.single-product .bupiz-product-detail-list.bupiz-details-collapsed{
    max-height:var(--bupiz-detail-list-max-height, 224px) !important;
}
body.single-product .bupiz-product-detail-list.bupiz-details-collapsed::after{
    content:"" !important;
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    height:34px !important;
    pointer-events:none !important;
    background:linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 84%) !important;
}
body.single-product .bupiz-product-detail-list.bupiz-details-expanded{
    max-height:none !important;
    overflow:visible !important;
}
body.single-product .bupiz-product-detail-list.bupiz-details-expanded::after{
    display:none !important;
}
body.single-product .bupiz-product-detail-item{
    display:flex !important;
    flex-direction:column !important;
    justify-content:flex-start !important;
    min-height:58px !important;
    padding:11px 12px !important;
    border:1px solid #EDF0F4 !important;
    border-radius:11px !important;
    background:#fff !important;
    box-shadow:0 4px 12px rgba(15,23,42,.035) !important;
    overflow:hidden !important;
}
body.single-product .bupiz-product-detail-wide,
body.single-product .bupiz-detail-key-product_intro,
body.single-product .bupiz-detail-key-wash_care,
body.single-product .bupiz-detail-key-care_instruction,
body.single-product .bupiz-detail-key-care_instructions,
body.single-product .bupiz-detail-key-return_policy,
body.single-product .bupiz-detail-key-return_instruction,
body.single-product .bupiz-detail-key-return_instructions{
    grid-column:1 / -1 !important;
}
body.single-product .bupiz-product-detail-label{
    display:block !important;
    margin:0 0 5px !important;
    color:#111827 !important;
    font-size:15px !important;
    line-height:1.15 !important;
    font-weight:900 !important;
    white-space:normal !important;
}
body.single-product .bupiz-product-detail-value{
    display:block !important;
    margin:0 !important;
    color:#374151 !important;
    font-size:15px !important;
    line-height:1.35 !important;
    font-weight:500 !important;
    white-space:normal !important;
}
body.single-product .bupiz-shortdesc-readmore-btn{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:130px !important;
    min-height:40px !important;
    padding:0 18px !important;
    margin:12px 0 0 auto !important;
    border:1px solid var(--bupiz-accent) !important;
    border-radius:999px !important;
    background:#fff !important;
    color:var(--bupiz-accent) !important;
    font-size:14px !important;
    line-height:1 !important;
    font-weight:900 !important;
    box-shadow:none !important;
    text-decoration:none !important;
    cursor:pointer !important;
}
body.single-product .bupiz-shortdesc-readmore-btn:hover{
    background:#fff7ed !important;
    color:var(--bupiz-accent) !important;
}
body.single-product .bupiz-shortdesc-readmore-btn::after{
    content:"›" !important;
    margin-left:7px !important;
    font-size:18px !important;
    line-height:.8 !important;
}

@media (max-width:767px){
    body.single-product .woocommerce-product-details__short-description{
        margin:9px 0 13px !important;
    }
    body.single-product .bupiz-structured-details{
        padding:14px 12px 12px !important;
        border-radius:13px !important;
    }
    body.single-product .bupiz-structured-details h3{
        font-size:19px !important;
        margin-bottom:10px !important;
    }
    body.single-product .bupiz-product-detail-list{
        gap:8px !important;
    }
    body.single-product .bupiz-product-detail-item{
        min-height:56px !important;
        padding:10px 10px !important;
        border-radius:10px !important;
    }
    body.single-product .bupiz-product-detail-label{
        font-size:14px !important;
        margin-bottom:4px !important;
    }
    body.single-product .bupiz-product-detail-value{
        font-size:14px !important;
        line-height:1.32 !important;
    }
    body.single-product .bupiz-shortdesc-readmore-btn{
        min-width:120px !important;
        min-height:38px !important;
        font-size:14px !important;
        margin-top:10px !important;
    }
}

/* ---------- Dedicated size chart modal ---------- */
html.bupiz-size-chart-modal-open,
html.bupiz-size-chart-modal-open body{
    overflow:hidden !important;
}
body.single-product .bupiz-size-chart-modal{
    position:fixed !important;
    inset:0 !important;
    z-index:999999 !important;
    display:none !important;
}
body.single-product .bupiz-size-chart-modal.is-open{
    display:block !important;
}
body.single-product .bupiz-size-chart-modal__backdrop{
    position:absolute !important;
    inset:0 !important;
    background:rgba(15,23,42,.54) !important;
}
body.single-product .bupiz-size-chart-modal__panel{
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    transform:translate(-50%, -50%) !important;
    width:min(760px, calc(100vw - 28px)) !important;
    max-height:calc(100vh - 44px) !important;
    background:#fff !important;
    border-radius:16px !important;
    overflow:hidden !important;
    box-shadow:0 24px 80px rgba(15,23,42,.25) !important;
}
body.single-product .bupiz-size-chart-modal__head{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px !important;
    padding:14px 16px !important;
    border-bottom:1px solid #EEF1F5 !important;
}
body.single-product .bupiz-size-chart-modal__head strong{
    font-size:18px !important;
    font-weight:900 !important;
    color:#111827 !important;
}
body.single-product .bupiz-size-chart-modal__close{
    width:36px !important;
    height:36px !important;
    min-height:36px !important;
    border:0 !important;
    border-radius:999px !important;
    background:#F3F4F6 !important;
    color:#111827 !important;
    font-size:28px !important;
    line-height:1 !important;
    font-weight:500 !important;
    box-shadow:none !important;
    cursor:pointer !important;
}
body.single-product .bupiz-size-chart-modal__body{
    padding:14px 16px 16px !important;
    overflow:auto !important;
    max-height:calc(100vh - 118px) !important;
}
body.single-product .bupiz-size-chart-modal .bupiz-structured-size-chart{
    display:block !important;
    margin:0 !important;
}
body.single-product .bupiz-size-chart-modal .bupiz-size-chart-head{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    margin:0 0 10px !important;
}
body.single-product .bupiz-size-chart-modal .bupiz-size-chart-head h3{
    margin:0 !important;
    font-size:18px !important;
    font-weight:900 !important;
}
body.single-product .bupiz-size-chart-modal .bupiz-size-unit-badge{
    display:inline-flex !important;
    align-items:center !important;
    padding:5px 10px !important;
    border-radius:999px !important;
    background:#F3F4F6 !important;
    color:#111827 !important;
    font-size:12px !important;
    font-weight:900 !important;
    text-transform:uppercase !important;
}
body.single-product .bupiz-size-chart-modal .bupiz-size-unit-note{
    margin:0 0 12px !important;
    padding:10px 12px !important;
    border:1px solid #FFD69A !important;
    border-radius:12px !important;
    background:#FFF9F0 !important;
    color:#4B5563 !important;
    font-size:13px !important;
    line-height:1.35 !important;
}
body.single-product .bupiz-size-chart-modal .bupiz-size-chart-table{
    width:100% !important;
    min-width:0 !important;
    border-collapse:separate !important;
    border-spacing:0 !important;
    overflow:hidden !important;
    border:1px solid #E5E7EB !important;
    border-radius:12px !important;
    font-size:13px !important;
    table-layout:auto !important;
}
body.single-product .bupiz-size-chart-modal .bupiz-size-chart-table th,
body.single-product .bupiz-size-chart-modal .bupiz-size-chart-table td{
    padding:9px 8px !important;
    border:0 !important;
    border-right:1px solid #EDF0F4 !important;
    border-bottom:1px solid #EDF0F4 !important;
    text-align:center !important;
    white-space:normal !important;
    line-height:1.2 !important;
}
body.single-product .bupiz-size-chart-modal .bupiz-size-chart-table th:last-child,
body.single-product .bupiz-size-chart-modal .bupiz-size-chart-table td:last-child{border-right:0 !important;}
body.single-product .bupiz-size-chart-modal .bupiz-size-chart-table tr:last-child td{border-bottom:0 !important;}
body.single-product .bupiz-size-chart-modal .bupiz-size-chart-table th{
    background:#F8FAFC !important;
    color:#111827 !important;
    font-weight:900 !important;
}
body.single-product .bupiz-size-chart-modal .bupiz-size-chart-table td{
    background:#fff !important;
    color:#374151 !important;
    font-weight:600 !important;
}
body.single-product .bupiz-size-chart-modal .bupiz-size-chart-note{
    margin:10px 0 0 !important;
    color:#6B7280 !important;
    font-size:13px !important;
    line-height:1.35 !important;
}
@media (max-width:767px){
    body.single-product .bupiz-size-chart-modal__panel{
        width:calc(100vw - 18px) !important;
        max-height:calc(100vh - 24px) !important;
        border-radius:14px !important;
    }
    body.single-product .bupiz-size-chart-modal__body{
        padding:12px 10px 14px !important;
        max-height:calc(100vh - 92px) !important;
    }
    body.single-product .bupiz-size-chart-modal .bupiz-size-chart-table{
        font-size:11px !important;
    }
    body.single-product .bupiz-size-chart-modal .bupiz-size-chart-table th,
    body.single-product .bupiz-size-chart-modal .bupiz-size-chart-table td{
        padding:7px 4px !important;
    }
    body.single-product .bupiz-size-chart-modal .bupiz-size-unit-note{
        font-size:12px !important;
        padding:9px 10px !important;
    }
}

/* ---------- Product meta and lower blocks spacing ---------- */
body.single-product .product_meta{
    margin:12px 0 0 !important;
    padding:9px 0 0 !important;
    border-top:1px solid #EEF1F5 !important;
    font-size:13px !important;
    color:#4B5563 !important;
}
body.single-product .bupiz-single-delivery-card{
    margin-top:14px !important;
}

/* Keep product content below the head frame full width. */
body.single-product div.product > .woocommerce-tabs,
body.single-product div.product > .related,
body.single-product div.product > .upsells,
body.single-product div.product > .bupiz-reviews-block{
    clear:both !important;
    width:100% !important;
}

/* Safety cleanup: avoid old duplicate buttons and native swatch/select blocks taking space. */
body.single-product .bupiz-shortdesc-readmore-btn + .bupiz-shortdesc-readmore-btn{
    display:none !important;
}
body.single-product form.variations_form tr.bupiz-mobile-color-row-ready td.value > br,
body.single-product form.variations_form tr.bupiz-mobile-size-row-ready td.value > br{
    display:none !important;
}

/* ---------- Active rules merged from later working patches: simple/size-only products, sticky gallery, compact typography ---------- */
/* Hide normal theme/page title above Woo product; keep only Woo title below gallery. */
body.single-product .site-main > header.page-header,
body.single-product .site-main > .page-header,
body.single-product article.product > header.entry-header,
body.single-product h1.entry-title:not(.product_title){
    display:none !important;
}

/* Controlled gallery must apply to color products, size-only products and simple products. */
@media (min-width:992px){
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-controlled-gallery,
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked{
        display:grid !important;
        grid-template-columns:72px 520px !important;
        column-gap:14px !important;
        width:606px !important;
        max-width:606px !important;
        min-width:606px !important;
        margin:0 !important;
        overflow:visible !important;
        float:none !important;
    }
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-wrapper,
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-wrapper{
        grid-column:2 !important;
        width:520px !important;
        max-width:520px !important;
        min-width:520px !important;
        height:650px !important;
        min-height:650px !important;
        max-height:650px !important;
        aspect-ratio:4 / 5 !important;
        overflow:hidden !important;
        background:#fff !important;
        margin:0 !important;
    }
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-slide,
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-slide,
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-slide a,
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-slide a{
        width:100% !important;
        height:100% !important;
        min-height:100% !important;
        display:none !important;
        align-items:center !important;
        justify-content:center !important;
        background:#fff !important;
    }
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-slide.is-active,
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-slide.is-active,
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-slide.is-active a,
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-slide.is-active a{
        display:flex !important;
    }
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-slide img,
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-slide img{
        display:block !important;
        width:100% !important;
        height:100% !important;
        max-width:100% !important;
        max-height:100% !important;
        object-fit:contain !important;
        object-position:center center !important;
        margin:0 auto !important;
    }
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-thumbs,
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-thumbs{
        grid-column:1 !important;
        grid-row:1 !important;
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        justify-content:flex-start !important;
        gap:10px !important;
        width:72px !important;
        max-height:650px !important;
        overflow-y:auto !important;
        overflow-x:hidden !important;
        padding:0 2px 2px !important;
        margin:0 !important;
        scrollbar-width:thin !important;
    }
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-dot,
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-dot{
        width:62px !important;
        height:78px !important;
        min-width:62px !important;
        min-height:78px !important;
        max-width:62px !important;
        max-height:78px !important;
        flex:0 0 78px !important;
        border:1px solid #E5E7EB !important;
        border-radius:8px !important;
        background:#fff !important;
        overflow:hidden !important;
        padding:0 !important;
        box-shadow:0 3px 8px rgba(15,23,42,.08) !important;
    }
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-dot.is-active,
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-dot.is-active{
        border-color:var(--bupiz-accent) !important;
        box-shadow:0 0 0 1px var(--bupiz-accent), 0 5px 12px rgba(15,23,42,.11) !important;
    }
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-dot img,
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-dot img{
        display:block !important;
        width:100% !important;
        height:100% !important;
        object-fit:cover !important;
        object-position:center center !important;
    }
}

/* Mobile controlled gallery: dots only, no broken thumbnail rows for size-only/simple products. */
@media (max-width:991px){
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-wrapper{
        width:100% !important;
        height:auto !important;
        min-height:0 !important;
        aspect-ratio:auto !important;
        background:#fff !important;
        overflow:hidden !important;
    }
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-slide{
        display:none !important;
        width:100% !important;
        background:#fff !important;
    }
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-slide.is-active{
        display:block !important;
    }
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-slide img{
        display:block !important;
        width:100% !important;
        height:auto !important;
        max-height:none !important;
        object-fit:contain !important;
        object-position:center top !important;
        margin:0 auto !important;
    }
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-thumbs{
        display:flex !important;
        flex-direction:row !important;
        justify-content:center !important;
        align-items:center !important;
        flex-wrap:wrap !important;
        gap:7px !important;
        width:100% !important;
        max-width:100% !important;
        margin:8px auto 0 !important;
        padding:0 12px !important;
        overflow:visible !important;
    }
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-dot{
        width:11px !important;
        height:11px !important;
        min-width:11px !important;
        min-height:11px !important;
        flex:0 0 11px !important;
        padding:0 !important;
        border:0 !important;
        border-radius:2px !important;
        background:#d9cfd5 !important;
        box-shadow:none !important;
        overflow:hidden !important;
    }
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-dot.is-active{
        background:var(--bupiz-accent) !important;
    }
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-dot img{
        display:none !important;
    }
}

/* Remove Woo/native dropdown boxes where custom Bupiz buttons/thumbnails are used. */
body.single-product form.variations_form table.variations select[name^="attribute_"],
body.single-product form.variations_form table.variations .select2,
body.single-product form.variations_form table.variations .select2-container{
    display:none !important;
    visibility:hidden !important;
    width:0 !important;
    height:0 !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
}
body.single-product form.variations_form table.variations td.value,
body.single-product form.variations_form table.variations th.value,
body.single-product form.variations_form table.variations .value{
    padding:0 !important;
    margin:0 !important;
    background:transparent !important;
    border:0 !important;
    min-height:0 !important;
}
body.single-product table.variations tr,
body.single-product form.variations_form table.variations tr{
    background:transparent !important;
}

/* Trust strip must span full row even when it is printed inside simple product form.cart. */
body.single-product form.cart > .bupiz-mobile-trust-wrap,
body.single-product form.cart > .bupiz-confidence-wrap,
body.single-product form.cart > .bupiz-buy-confidence-wrap,
body.single-product .woocommerce-variation-add-to-cart > .bupiz-mobile-trust-wrap,
body.single-product .woocommerce-variation-add-to-cart > .bupiz-confidence-wrap,
body.single-product .woocommerce-variation-add-to-cart > .bupiz-buy-confidence-wrap{
    grid-column:1 / -1 !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    box-sizing:border-box !important;
}
body.single-product .bupiz-mobile-trust-strip,
body.single-product .bupiz-mobile-trust-grid,
body.single-product .bupiz-confidence-grid,
body.single-product .bupiz-buy-confidence-grid{
    display:grid !important;
    grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
    gap:7px !important;
    width:100% !important;
    min-width:0 !important;
}
body.single-product .bupiz-mobile-trust-item,
body.single-product .bupiz-confidence-item,
body.single-product .bupiz-buy-confidence-item{
    min-width:0 !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
    white-space:normal !important;
    text-align:center !important;
}

/* Product action row: quantity + add-to-cart + buy-now must stay in one row. */
body.single-product div.product form.cart:not(.variations_form):not(.grouped_form),
body.single-product form.cart .woocommerce-variation-add-to-cart,
body.single-product form.cart .woocommerce-variation-add-to-cart.variations_button{
    display:grid !important;
    grid-template-columns:112px minmax(150px, 1fr) minmax(150px, 1fr) !important;
    gap:10px !important;
    align-items:center !important;
    width:100% !important;
    max-width:100% !important;
}
body.single-product div.product form.cart .quantity{
    grid-column:1 !important;
}
body.single-product div.product form.cart .single_add_to_cart_button{
    grid-column:2 !important;
}
body.single-product div.product form.cart .bupiz-buy-now{
    grid-column:3 !important;
}

@media (max-width:767px){
    body.single-product div.product form.cart:not(.variations_form):not(.grouped_form),
    body.single-product form.cart .woocommerce-variation-add-to-cart,
    body.single-product form.cart .woocommerce-variation-add-to-cart.variations_button{
        grid-template-columns:82px minmax(0, 1fr) minmax(0, 1fr) !important;
        gap:6px !important;
    }
    body.single-product form.cart .quantity{
        width:82px !important;
        min-width:82px !important;
        grid-template-columns:25px 32px 25px !important;
    }
    body.single-product form.cart .single_add_to_cart_button,
    body.single-product form.cart .bupiz-buy-now{
        min-width:0 !important;
        width:100% !important;
        padding-left:6px !important;
        padding-right:6px !important;
        font-size:13px !important;
        white-space:nowrap !important;
    }
    body.single-product .bupiz-mobile-trust-wrap,
    body.single-product .bupiz-confidence-wrap,
    body.single-product .bupiz-buy-confidence-wrap{
        width:100% !important;
        max-width:none !important;
        margin:8px 0 8px !important;
        padding:9px 9px !important;
    }
    body.single-product .bupiz-mobile-trust-strip,
    body.single-product .bupiz-mobile-trust-grid,
    body.single-product .bupiz-confidence-grid,
    body.single-product .bupiz-buy-confidence-grid{
        grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
        gap:6px !important;
    }
    body.single-product .bupiz-mobile-trust-item,
    body.single-product .bupiz-confidence-item,
    body.single-product .bupiz-buy-confidence-item{
        min-height:52px !important;
        padding:6px 3px !important;
        font-size:10.5px !important;
        line-height:1.12 !important;
    }
}

/* Final guard: never show old duplicate read-more buttons. The active one is .bupiz-shortdesc-readmore-btn. */
body.single-product .bupiz-product-details-more,
body.single-product .bupiz-readmore-toggle{
    display:none !important;
}

@media (min-width:992px){
    body.single-product,
    body.single-product #page,
    body.single-product .site,
    body.single-product .site-main,
    body.single-product .content-area,
    body.single-product .woocommerce,
    body.single-product div.product{
        overflow:visible !important;
    }

    body.single-product div.product.bupiz-desktop-sticky-frame-ready > .bupiz-product-head-sticky-frame{
        display:grid !important;
        grid-template-columns:minmax(0, 606px) minmax(0, 1fr) !important;
        gap:28px !important;
        align-items:start !important;
        overflow:visible !important;
        width:100% !important;
        max-width:100% !important;
    }

    body.single-product div.product.bupiz-desktop-sticky-frame-ready > .bupiz-product-head-sticky-frame > .images,
    body.single-product div.product.bupiz-desktop-sticky-frame-ready > .bupiz-product-head-sticky-frame > div.images,
    body.single-product div.product.bupiz-desktop-sticky-frame-ready > .bupiz-product-head-sticky-frame > .woocommerce-product-gallery,
    body.single-product div.product > .images,
    body.single-product div.product > div.images,
    body.single-product div.product > .woocommerce-product-gallery{
        position:-webkit-sticky !important;
        position:sticky !important;
        top:88px !important;
        align-self:flex-start !important;
        z-index:5 !important;
        height:max-content !important;
        overflow:visible !important;
    }

    body.admin-bar.single-product div.product.bupiz-desktop-sticky-frame-ready > .bupiz-product-head-sticky-frame > .images,
    body.admin-bar.single-product div.product.bupiz-desktop-sticky-frame-ready > .bupiz-product-head-sticky-frame > div.images,
    body.admin-bar.single-product div.product.bupiz-desktop-sticky-frame-ready > .bupiz-product-head-sticky-frame > .woocommerce-product-gallery,
    body.admin-bar.single-product div.product > .images,
    body.admin-bar.single-product div.product > div.images,
    body.admin-bar.single-product div.product > .woocommerce-product-gallery{
        top:120px !important;
    }
}

@media (max-width:991px){
    body.single-product h1.product_title.bupiz-duplicate-product-title,
    body.single-product .product_title.bupiz-duplicate-product-title{
        display:none !important;
    }
}

@media (min-width:992px){
    body.single-product div.product.bupiz-desktop-sticky-frame-ready > .bupiz-product-head-sticky-frame{
        overflow:visible !important;
        align-items:start !important;
    }
    body.single-product div.product.bupiz-desktop-sticky-frame-ready > .bupiz-product-head-sticky-frame > .images,
    body.single-product div.product.bupiz-desktop-sticky-frame-ready > .bupiz-product-head-sticky-frame > div.images,
    body.single-product div.product.bupiz-desktop-sticky-frame-ready > .bupiz-product-head-sticky-frame > .woocommerce-product-gallery{
        position:-webkit-sticky !important;
        position:sticky !important;
        top:88px !important;
        align-self:start !important;
        height:max-content !important;
        max-height:none !important;
        overflow:visible !important;
        z-index:6 !important;
        will-change:transform !important;
    }
    body.admin-bar.single-product div.product.bupiz-desktop-sticky-frame-ready > .bupiz-product-head-sticky-frame > .images,
    body.admin-bar.single-product div.product.bupiz-desktop-sticky-frame-ready > .bupiz-product-head-sticky-frame > div.images,
    body.admin-bar.single-product div.product.bupiz-desktop-sticky-frame-ready > .bupiz-product-head-sticky-frame > .woocommerce-product-gallery{
        top:120px !important;
    }
}

@media (max-width:767px){
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-controlled-gallery,
    body.single-product.bupiz-has-controlled-gallery div.product .woocommerce-product-gallery.bupiz-gallery-desktop-locked{
        margin-bottom:6px !important;
    }
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-wrapper,
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-wrapper{
        display:flex !important;
        align-items:flex-start !important;
        justify-content:center !important;
        width:100% !important;
        max-height:75vh !important;
        min-height:0 !important;
        overflow:visible !important;
        background:#fff !important;
    }
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-slide,
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-slide,
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-slide a,
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-slide a{
        width:100% !important;
        max-height:75vh !important;
        align-items:flex-start !important;
        justify-content:center !important;
        background:#fff !important;
    }
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-slide.is-active,
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-slide.is-active{
        display:flex !important;
    }
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-slide img,
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-slide img{
        width:auto !important;
        max-width:100% !important;
        height:auto !important;
        max-height:75vh !important;
        object-fit:contain !important;
        object-position:center top !important;
        margin:0 auto !important;
    }
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-thumbs,
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-thumbs{
        margin:6px auto 0 !important;
        gap:6px !important;
    }
}

@media (max-width:390px){
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-wrapper,
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-wrapper,
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-slide,
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-slide,
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-slide a,
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-slide a,
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-controlled-gallery .bupiz-controlled-slide img,
    body.single-product.bupiz-has-controlled-gallery .woocommerce-product-gallery.bupiz-gallery-desktop-locked .bupiz-controlled-slide img{
        max-height:75vh !important;
    }
}

body.single-product div.product,
body.single-product div.product .summary,
body.single-product div.product .product_title,
body.single-product table.variations,
body.single-product .bupiz-mobile-color-thumbs,
body.single-product .bupiz-mobile-size-buttons,
body.single-product .bupiz-quick-delivery-note,
body.single-product .bupiz-single-delivery-card{
    font-family:"Inter","Poppins","Nunito Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif !important;
}

/* Product title: premium, smaller, still readable. */
body.single-product div.product .product_title,
body.single-product div.product .product_title.bupiz-primary-product-title{
    font-size:18px !important;
    line-height:1.22 !important;
    font-weight:780 !important;
    letter-spacing:-.10px !important;
    margin:0 0 6px !important;
    color:#111827 !important;
}

/* Variation headings: smaller than earlier large mobile style. */
body.single-product table.variations th.label label,
body.single-product form.cart table.variations th.label label,
body.single-product table.variations td.label label,
body.single-product form.cart table.variations td.label label{
    font-size:15px !important;
    line-height:1.16 !important;
    font-weight:800 !important;
    letter-spacing:-.03px !important;
}

body.single-product table.variations tbody,
body.single-product form.cart table.variations tbody{
    gap:6px !important;
}
body.single-product table.variations tr,
body.single-product form.cart table.variations tr{
    gap:5px !important;
}
body.single-product table.variations,
body.single-product form.cart table.variations{
    margin:2px 0 0 !important;
}

/* Color thumbnails and size buttons: compact but touch-friendly. */
body.single-product .bupiz-mobile-color-thumbs,
body.single-product .bupiz-mobile-size-buttons{
    gap:7px !important;
}
body.single-product .bupiz-mobile-color-thumb{
    width:64px !important;
    height:76px !important;
    padding:4px !important;
    border-radius:9px !important;
}
body.single-product .bupiz-mobile-color-thumb img{
    border-radius:6px !important;
}
body.single-product .bupiz-mobile-size-btn{
    min-width:48px !important;
    height:42px !important;
    padding:0 13px !important;
    border-radius:9px !important;
    font-size:14px !important;
    font-weight:900 !important;
}
body.single-product .bupiz-size-chart-popup-trigger{
    font-size:13px !important;
    margin-left:9px !important;
    padding-bottom:3px !important;
    color:#7C3AED !important;
    border-bottom-color:#8B5CF6 !important;
}

/* Price and top summary spacing: tighter without changing structure. */
body.single-product div.product p.price,
body.single-product div.product span.price,
body.single-product div.product .price{
    margin:0 0 7px !important;
    line-height:1.15 !important;
}
body.single-product div.product form.cart,
body.single-product div.product form.variations_form.cart{
    gap:6px !important;
}

/* Delivery typography: compact, cleaner brand feel. */
body.single-product .bupiz-quick-delivery-note{
    font-size:11.5px !important;
    line-height:1.28 !important;
    font-weight:520 !important;
    color:#374151 !important;
    margin:5px 0 6px !important;
}
body.single-product .bupiz-single-delivery-heading{
    font-size:12.5px !important;
    line-height:1.18 !important;
    margin:0 0 7px !important;
    font-weight:800 !important;
}
body.single-product .bupiz-single-delivery-card__top{
    font-size:11.5px !important;
    line-height:1.28 !important;
    font-weight:500 !important;
}
body.single-product .bupiz-single-delivery-date,
body.single-product .bupiz-single-delivery-step strong{
    font-size:10.5px !important;
}
body.single-product .bupiz-single-delivery-label{
    font-size:10px !important;
    line-height:1.13 !important;
}

@media (min-width:992px){
    body.single-product div.product .product_title,
    body.single-product div.product .product_title.bupiz-primary-product-title{
        font-size:18px !important;
        line-height:1.22 !important;
        max-width:94% !important;
    }
    body.single-product table.variations th.label label,
    body.single-product form.cart table.variations th.label label,
    body.single-product table.variations td.label label,
    body.single-product form.cart table.variations td.label label{
        font-size:14px !important;
        line-height:1.18 !important;
    }
    body.single-product .bupiz-mobile-color-thumb{
        width:58px !important;
        height:70px !important;
    }
    body.single-product .bupiz-mobile-size-btn{
        min-width:44px !important;
        height:38px !important;
        padding:0 12px !important;
        font-size:13px !important;
    }
    body.single-product .bupiz-size-chart-popup-trigger{
        font-size:12.5px !important;
    }
}

@media (max-width:767px){
    body.single-product div.product .summary.entry-summary,
    body.single-product div.product .summary{
        padding-left:13px !important;
        padding-right:13px !important;
    }
    body.single-product div.product .product_title,
    body.single-product div.product .product_title.bupiz-primary-product-title{
        font-size:15px !important;
        line-height:1.24 !important;
        font-weight:760 !important;
        margin:5px 0 5px !important;
        letter-spacing:-.06px !important;
    }
    body.single-product table.variations th.label label,
    body.single-product form.cart table.variations th.label label,
    body.single-product table.variations td.label label,
    body.single-product form.cart table.variations td.label label{
        font-size:17px !important;
        line-height:1.08 !important;
    }
    body.single-product .bupiz-mobile-color-thumb{
        width:50px !important;
        height:60px !important;
        padding:3px !important;
        border-radius:8px !important;
    }
    body.single-product .bupiz-mobile-size-btn{
        min-width:46px !important;
        height:39px !important;
        padding:0 12px !important;
        font-size:13.5px !important;
        border-radius:8px !important;
    }
    body.single-product .bupiz-size-chart-popup-trigger{
        font-size:13px !important;
        margin-left:9px !important;
    }
    body.single-product .bupiz-mobile-color-thumbs,
    body.single-product .bupiz-mobile-size-buttons{
        gap:7px !important;
    }
}

@media (max-width:390px){
    body.single-product div.product .product_title,
    body.single-product div.product .product_title.bupiz-primary-product-title{
        font-size:15px !important;
        line-height:1.24 !important;
    }
    body.single-product .bupiz-mobile-color-thumb{
        width:48px !important;
        height:58px !important;
    }
    body.single-product .bupiz-mobile-size-btn{
        min-width:44px !important;
        height:38px !important;
        font-size:13px !important;
    }
}


/* =========================================
   BUPIZ CLEAN PRODUCT CARDS - CASHBACK BADGE ONLY
   Removes old SAVE %, below-card cashback label, and free delivery row.
========================================= */
.woocommerce ul.products li.product .bupiz-save-badge,
.woocommerce-page ul.products li.product .bupiz-save-badge,
.bupiz-hot-deals-slider ul.products li.product .bupiz-save-badge{
    display:none !important;
}

.woocommerce ul.products li.product .bupiz-loop-top-label,
.woocommerce-page ul.products li.product .bupiz-loop-top-label,
.bupiz-hot-deals-slider ul.products li.product .bupiz-loop-top-label{
    display:none !important;
}

.woocommerce ul.products li.product .bupiz-home-delivery-row,
.woocommerce-page ul.products li.product .bupiz-home-delivery-row,
.bupiz-hot-deals-slider ul.products li.product .bupiz-home-delivery-row{
    display:none !important;
}

.woocommerce ul.products li.product .bupiz-loop-cashback-badge,
.woocommerce-page ul.products li.product .bupiz-loop-cashback-badge,
.bupiz-hot-deals-slider ul.products li.product .bupiz-loop-cashback-badge{
    position:absolute !important;
    top:5px !important;
    left:0 !important;
    z-index:8 !important;
    display:inline-flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:40px !important;
    min-height:20px !important;
    padding:4px 8px 3px !important;
    border-radius:0 10px 10px 0 !important;
    background:linear-gradient(135deg,#fa6efa 0%,#b52b8c 100%) !important;
    color:#fff !important;
    box-shadow:0 7px 18px rgba(15,143,95,.28) !important;
    text-transform:uppercase !important;
    pointer-events:none !important;
}

.woocommerce ul.products li.product .bupiz-loop-cashback-badge span,
.woocommerce-page ul.products li.product .bupiz-loop-cashback-badge span,
.bupiz-hot-deals-slider ul.products li.product .bupiz-loop-cashback-badge span{
    font-size:8px !important;
    line-height:1 !important;
    font-weight:950 !important;
}

.woocommerce ul.products li.product .bupiz-loop-cashback-badge small,
.woocommerce-page ul.products li.product .bupiz-loop-cashback-badge small,
.bupiz-hot-deals-slider ul.products li.product .bupiz-loop-cashback-badge small{
    margin-top:2px !important;
    font-size:8px !important;
    line-height:1 !important;
    font-weight:900 !important;
}


/* =========================================
   BUPIZ - CASHBACK BADGE CONTROL
   Category-level cashback rule remains active,
   but badge is hidden from home scroll/category rows.
========================================= */

/* Hide cashback badge inside compact home scroll rows like Hot Deals,
   New Arrivals, Discount-wise, Cashback/Offer-wise, Best Sellers, etc. */
body.home .bupiz-home-scroll-section .bupiz-loop-cashback-badge,
body.home .bupiz-home-scroll-track .bupiz-loop-cashback-badge,
body.home .bupiz-hot-deals-slider .bupiz-loop-cashback-badge,
body.home .bupiz-home-scroll-section .bupiz-loop-top-label,
body.home .bupiz-home-scroll-track .bupiz-loop-top-label,
body.home .bupiz-hot-deals-slider .bupiz-loop-top-label,
body.home .bupiz-home-scroll-section .bupiz-home-cashback-label,
body.home .bupiz-home-scroll-track .bupiz-home-cashback-label,
body.home .bupiz-hot-deals-slider .bupiz-home-cashback-label{
    display:none !important;
}

/* =========================================
   BUPIZ FOOTER SELL BUTTON - FORCE WHITE TEXT
========================================= */

body .bupiz-site-footer a.bupiz-footer-sell-btn,
body .bupiz-site-footer a.bupiz-footer-sell-btn:link,
body .bupiz-site-footer a.bupiz-footer-sell-btn:visited,
body .bupiz-site-footer a.bupiz-footer-sell-btn:hover,
body .bupiz-site-footer a.bupiz-footer-sell-btn:focus,
body .bupiz-site-footer a.bupiz-footer-sell-btn:active{
    background:#1B263B !important;
    color:#ffffff !important;
    border-color:#1B263B !important;
    text-decoration:none !important;
}

/* Force white color inside child elements also */
body .bupiz-site-footer a.bupiz-footer-sell-btn *,
body .bupiz-site-footer a.bupiz-footer-sell-btn span,
body .bupiz-site-footer a.bupiz-footer-sell-btn strong,
body .bupiz-site-footer a.bupiz-footer-sell-btn i{
    color:#ffffff !important;
    fill:#ffffff !important;
}

/* Hover background can be orange, but text stays pure white */
body .bupiz-site-footer a.bupiz-footer-sell-btn:hover,
body .bupiz-site-footer a.bupiz-footer-sell-btn:focus{
    background:#ff8400 !important;
    border-color:#ff8400 !important;
    color:#ffffff !important;
}


/* =========================================
   MOBILE DELIVERY TIMELINE — DATE CLEARANCE
   Keeps the connector line and dots above the dates.
========================================= */
@media (max-width:767px){
    body.single-product .bupiz-single-delivery-date,
    body.single-product .bupiz-single-delivery-step strong{
        margin-top:15px !important;
    }
}

/* =========================================
   BUPIZ TOP PROMOTIONAL BAR — REMOVED
   Applies on desktop and mobile without reserving blank space.
========================================= */
#bupiz-header-topbar,
.bupiz-header-topbar{
    display:none !important;
    height:0 !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    overflow:hidden !important;
}


/* =========================================================
   BUPIZ RESPONSIVE SHOWCASE HOME - v1.1.2
========================================================= */
.bupiz-showcase-top{
    width:100%;
    margin:0;
    padding:0 0 18px;
    background:#fff;
    color:var(--bupiz-text-dark);
}

.bupiz-showcase-hero,
.bupiz-showcase-trust,
.bupiz-showcase-categories{
    width:min(1440px, calc(100% - 32px));
    margin-inline:auto;
}

.bupiz-showcase-hero-card{
    position:relative;
    isolation:isolate;
    display:grid;
    grid-template-columns:minmax(0, 43%) minmax(0, 57%);
    min-height:390px;
    overflow:hidden;
    border:1px solid #f5d7c7;
    border-radius:12px;
    background:
        radial-gradient(circle at 7% 87%, rgba(246,115,61,.13) 0 3px, transparent 4px),
        radial-gradient(circle at 10% 91%, rgba(246,115,61,.10) 0 2px, transparent 3px),
        linear-gradient(108deg, #fff3eb 0%, #fff0e7 48%, #ffd8c6 100%);
    box-shadow:0 12px 32px rgba(88,46,20,.10);
}

.bupiz-showcase-copy{
    position:relative;
    z-index:3;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    padding:46px clamp(30px,4.2vw,72px);
}

.bupiz-showcase-eyebrow{
    margin:0 0 -2px;
    color:#e85b29;
    font-family:"Segoe Script","Brush Script MT","Lucida Handwriting",cursive;
    font-size:clamp(40px,3.8vw,64px);
    font-weight:700;
    line-height:.95;
    letter-spacing:-1.5px;
    transform:rotate(-3deg);
}

.bupiz-showcase-title{
    margin:0 !important;
    color:#1f2530 !important;
    font-size:clamp(42px,4.25vw,72px) !important;
    font-weight:900 !important;
    line-height:.98 !important;
    letter-spacing:-2.4px;
    font-family:Arial,"Helvetica Neue",sans-serif !important;
}

.bupiz-showcase-subtitle{
    margin:20px 0 4px !important;
    color:#3f4650;
    font-size:clamp(17px,1.45vw,23px);
    font-weight:500;
    font-family:Arial,"Helvetica Neue",sans-serif;
    line-height:1.45;
}

.bupiz-showcase-tagline{
    display:flex;
    flex-wrap:wrap;
    gap:0 .34em;
    color:#f15a2a;
    font-family:Arial,"Helvetica Neue",sans-serif;
    font-size:clamp(17px,1.35vw,22px);
    font-weight:800;
    line-height:1.35;
    letter-spacing:-.2px;
}

.bupiz-showcase-tagline span{
    display:inline-block;
}

.bupiz-showcase-actions{
    display:flex;
    flex-wrap:wrap;
    gap:11px;
    margin-top:24px;
}

.bupiz-showcase-btn{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:11px 24px !important;
    border:1px solid transparent !important;
    border-radius:8px !important;
    text-decoration:none !important;
    text-transform:uppercase;
    font-size:14px !important;
    font-weight:900 !important;
    letter-spacing:.45px;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.bupiz-showcase-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 8px 18px rgba(103,48,18,.16);
}

.bupiz-showcase-btn-primary{
    background:#ff5425 !important;
    border-color:#ff5425 !important;
    color:#fff !important;
}

.bupiz-showcase-btn-primary:hover{
    background:#e9471d !important;
    color:#fff !important;
}

.bupiz-showcase-btn-secondary{
    background:#fff !important;
    border-color:#f06436 !important;
    color:#f15a2a !important;
}

.bupiz-showcase-btn-secondary:hover{
    background:#fff8f2 !important;
    color:#c94c17 !important;
}

.bupiz-showcase-media{
    position:relative;
    z-index:1;
    min-width:0;
    overflow:hidden;
}

.bupiz-showcase-media::before{
    content:"";
    position:absolute;
    z-index:2;
    inset:0 auto 0 0;
    width:34%;
    background:linear-gradient(90deg,#ffe0cf 0%,rgba(255,224,207,.72) 35%,rgba(255,224,207,0) 100%);
    pointer-events:none;
}

.bupiz-showcase-media picture,
.bupiz-showcase-media img{
    display:block;
    width:100%;
    height:100%;
}

.bupiz-showcase-media img{
    object-fit:cover;
    object-position:center 43%;
    filter:saturate(.96) contrast(.98);
}

/* Desktop: softly blend the text panel into the hero photograph.
   The image overlaps the colour panel and fades in gradually, avoiding
   a visible vertical join while leaving the copy fully readable. */
@media (min-width:768px){
    .bupiz-showcase-media{
        --bupiz-hero-fade-overlap:clamp(82px,8vw,128px);
        width:calc(100% + var(--bupiz-hero-fade-overlap));
        margin-left:calc(-1 * var(--bupiz-hero-fade-overlap));
        -webkit-mask-image:linear-gradient(90deg,
            transparent 0%,
            rgba(0,0,0,.08) 8%,
            rgba(0,0,0,.38) 20%,
            rgba(0,0,0,.82) 34%,
            #000 46%,
            #000 100%);
        mask-image:linear-gradient(90deg,
            transparent 0%,
            rgba(0,0,0,.08) 8%,
            rgba(0,0,0,.38) 20%,
            rgba(0,0,0,.82) 34%,
            #000 46%,
            #000 100%);
    }

    .bupiz-showcase-media::before{
        width:42%;
        background:linear-gradient(90deg,
            #fff0e7 0%,
            rgba(255,240,231,.78) 24%,
            rgba(255,232,220,.36) 58%,
            rgba(255,224,207,0) 100%);
    }
}

.bupiz-showcase-spark{
    position:absolute;
    z-index:4;
    color:#f5a14d;
    opacity:.9;
    font-size:24px;
    pointer-events:none;
}

.bupiz-showcase-spark-one{left:38%;top:18%;}
.bupiz-showcase-spark-two{left:7%;bottom:13%;font-size:16px;}

.bupiz-showcase-trust{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    min-height:78px;
    margin-top:0;
    overflow:hidden;
    border:1px solid #ececec;
    border-top:0;
    border-radius:0 0 10px 10px;
    background:#fff;
    box-shadow:0 7px 20px rgba(0,0,0,.05);
}

.bupiz-showcase-trust-item{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    min-width:0;
    padding:16px 18px;
    border-right:1px solid #ededed;
}

.bupiz-showcase-trust-item:last-child{border-right:0;}

.bupiz-showcase-trust-icon{
    display:grid;
    flex:0 0 40px;
    width:40px;
    height:40px;
    place-items:center;
    border-radius:50%;
    background:#fff3e8;
    color:#e96c31;
}

.bupiz-showcase-trust-icon svg{
    width:23px;
    height:23px;
}

.bupiz-showcase-trust-copy{
    display:flex;
    min-width:0;
    flex-direction:column;
    line-height:1.22;
}

.bupiz-showcase-trust-copy strong{
    color:#202733;
    font-size:14px;
    font-weight:800;
}

.bupiz-showcase-trust-copy small{
    margin-top:3px;
    color:#777f89;
    font-size:11px;
}

.bupiz-showcase-categories{
    margin-top:20px;
}

.bupiz-showcase-category-track{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:14px;
}

.bupiz-showcase-category{
    display:flex;
    min-width:0;
    flex-direction:column;
    align-items:center;
    color:#252b35 !important;
    text-decoration:none !important;
}

.bupiz-showcase-category-image{
    display:block;
    width:100%;
    aspect-ratio:1.22/1;
    overflow:hidden;
    border:1px solid #ececec;
    border-radius:12px;
    background:#f7f7f7;
    box-shadow:0 5px 16px rgba(0,0,0,.05);
}

.bupiz-showcase-category-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .25s ease;
}

.bupiz-showcase-category:hover .bupiz-showcase-category-image img{
    transform:scale(1.035);
}

.bupiz-showcase-category-title{
    margin-top:8px;
    overflow:hidden;
    max-width:100%;
    color:#252b35;
    font-size:13px;
    font-weight:800;
    line-height:1.2;
    text-align:center;
    text-overflow:ellipsis;
    white-space:nowrap;
}

/* Refine the existing Bupiz header to match the clean reference layout. */
@media (min-width:768px){
    #bupiz-main-header-desktop{
        border-bottom:1px solid #ececec !important;
        background:#fff !important;
        box-shadow:0 3px 14px rgba(0,0,0,.045) !important;
    }

    #bupiz-main-header-desktop .bupiz-header-shell{
        width:min(1440px,calc(100% - 32px)) !important;
        max-width:1440px !important;
        margin-inline:auto !important;
    }

    #bupiz-main-header-desktop .bupiz-header-row-main{
        min-height:60px !important;
        padding:7px 0 !important;
    }

    #bupiz-main-header-desktop .bupiz-header-row-menu{
        min-height:34px !important;
        border-top:1px solid #f0f0f0 !important;
    }

    #bupiz-main-header-desktop .bupiz-header-logo,
    #bupiz-main-header-desktop .bupiz-header-logo img{
        max-width:118px !important;
        max-height:40px !important;
        object-fit:contain !important;
    }

    #bupiz-main-header-desktop .bupiz-header-searchbar-form{
        min-height:38px !important;
        border:1px solid #d9dde3 !important;
        border-radius:6px !important;
        background:#fafafa !important;
        box-shadow:none !important;
    }

    #bupiz-main-header-desktop .bupiz-header-searchbar-submit{
        min-width:88px !important;
        border-radius:0 5px 5px 0 !important;
        background:#f06a2c !important;
        color:#fff !important;
    }

    #bupiz-main-header-desktop .bupiz-desktop-menu{
        justify-content:center !important;
        gap:clamp(18px,2.4vw,42px) !important;
    }

    #bupiz-main-header-desktop .bupiz-desktop-menu > li > a{
        min-height:34px !important;
        padding:7px 0 !important;
        color:#28303c !important;
        font-size:12px !important;
        font-weight:700 !important;
        text-transform:uppercase;
        letter-spacing:.25px;
    }
}

.bupiz-mobile-bottom-nav{
    display:none;
}

@media (max-width:767px){
    body.bupiz-has-mobile-bottom-nav{
        padding-bottom:67px !important;
    }

    #bupiz-main-header-mobile{
        border-bottom:1px solid #ececec !important;
        background:#fff !important;
        box-shadow:0 3px 12px rgba(0,0,0,.055) !important;
    }

    #bupiz-main-header-mobile .bupiz-mobile-header-inner{
        min-height:48px !important;
        padding:4px 12px !important;
    }

    #bupiz-main-header-mobile .bupiz-mobile-search-row{
        padding:4px 12px 8px !important;
        background:#fff !important;
    }

    #bupiz-main-header-mobile .bupiz-search-form{
        min-height:38px !important;
        border:1px solid #d9dde3 !important;
        border-radius:7px !important;
        background:#f8f8f8 !important;
    }

    #bupiz-main-header-mobile .bupiz-search-form button{
        width:42px !important;
        border-radius:0 6px 6px 0 !important;
        background:#f06a2c !important;
        color:#fff !important;
    }

    #bupiz-main-header-mobile .bupiz-header-logo,
    #bupiz-main-header-mobile .bupiz-header-logo img{
        max-width:92px !important;
        max-height:34px !important;
        object-fit:contain !important;
    }

    .bupiz-showcase-top{
        padding-bottom:12px;
    }

    .bupiz-showcase-hero,
    .bupiz-showcase-trust,
    .bupiz-showcase-categories{
        width:100%;
    }

    .bupiz-showcase-hero-card{
        grid-template-columns:49% 51%;
        min-height:244px;
        border-right:0;
        border-left:0;
        border-radius:0;
        background:linear-gradient(104deg, #eef9fa 0%, #f1f8f7 47%, #fff0eb 74%, #ffd8d1 100%);
        box-shadow:none;
    }

    .bupiz-showcase-copy{
        justify-content:center;
        padding:17px 5px 16px 16px;
    }

    .bupiz-showcase-eyebrow{
        margin:0 0 2px;
        color:#ff5425;
        font-family:"Segoe Script","Brush Script MT","Lucida Handwriting",cursive;
        font-size:31px;
        line-height:.95;
        letter-spacing:-1px;
        transform:rotate(-3deg);
    }

    .bupiz-showcase-title{
        position:relative;
        margin-bottom:15px !important;
        color:#050505 !important;
        font-family:Arial,"Helvetica Neue",sans-serif !important;
        font-size:30px !important;
        font-weight:900 !important;
        line-height:.96 !important;
        letter-spacing:-1.5px;
    }

    .bupiz-showcase-title::after{
        content:"";
        position:absolute;
        left:1px;
        bottom:-9px;
        width:35px;
        height:3px;
        border-radius:99px;
        background:#ff5425;
    }

    .bupiz-showcase-subtitle{
        display:none !important;
    }

    .bupiz-showcase-tagline{
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        gap:2px;
        color:#ff5425;
        font-family:Arial,"Helvetica Neue",sans-serif;
        line-height:1.12;
        letter-spacing:-.45px;
    }

    .bupiz-showcase-tagline span{
        display:block;
        margin:0;
        white-space:nowrap;
    }

    .bupiz-showcase-tagline span:nth-child(1){
        font-size:16px;
        font-weight:700;
    }

    .bupiz-showcase-tagline span:nth-child(2){
        font-size:19px;
        font-weight:800;
    }

    .bupiz-showcase-tagline span:nth-child(3){
        font-size:22px;
        font-weight:900;
        letter-spacing:-.65px;
    }

    .bupiz-showcase-actions{
        gap:0;
        margin-top:9px;
    }

    .bupiz-showcase-btn{
        min-height:34px;
        padding:7px 12px !important;
        border-radius:7px !important;
        font-size:10px !important;
        letter-spacing:.1px;
    }

    .bupiz-showcase-btn-secondary{
        display:none !important;
    }

    .bupiz-showcase-media::before{
        width:27%;
        background:linear-gradient(90deg,#f1f8f7 0%,rgba(241,248,247,.72) 38%,rgba(241,248,247,0) 100%);
    }

    .bupiz-showcase-media img{
        object-position:center center;
    }

    .bupiz-showcase-spark-one{left:43%;top:11%;font-size:14px;}
    .bupiz-showcase-spark-two{left:5%;bottom:9%;font-size:10px;}

    .bupiz-showcase-trust{
        grid-template-columns:repeat(4,minmax(0,1fr));
        min-height:64px;
        border-right:0;
        border-left:0;
        border-radius:0;
        box-shadow:none;
    }

    .bupiz-showcase-trust-item{
        flex-direction:column;
        gap:4px;
        padding:8px 3px;
        text-align:center;
    }

    .bupiz-showcase-trust-icon{
        flex-basis:25px;
        width:25px;
        height:25px;
    }

    .bupiz-showcase-trust-icon svg{
        width:16px;
        height:16px;
    }

    .bupiz-showcase-trust-copy strong{
        font-size:8.5px;
        line-height:1.15;
    }

    .bupiz-showcase-trust-copy small{
        display:none;
    }

    .bupiz-showcase-categories{
        margin-top:11px;
        overflow:hidden;
    }

    .bupiz-showcase-category-track{
        display:flex;
        gap:10px;
        overflow-x:auto;
        padding:0 12px 5px;
        scroll-snap-type:x proximity;
        scrollbar-width:none;
    }

    .bupiz-showcase-category-track::-webkit-scrollbar{display:none;}

    .bupiz-showcase-category{
        flex:0 0 68px;
        scroll-snap-align:start;
    }

    .bupiz-showcase-category-image{
        width:68px;
        height:68px;
        aspect-ratio:auto;
        border-radius:50%;
    }

    .bupiz-showcase-category-title{
        margin-top:5px;
        font-size:10px;
    }

    .bupiz-mobile-bottom-nav{
        position:fixed;
        z-index:99996;
        right:0;
        bottom:0;
        left:0;
        display:grid;
        grid-template-columns:repeat(5,minmax(0,1fr));
        min-height:62px;
        padding:5px max(5px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left));
        border-top:1px solid #dedede;
        background:rgba(255,255,255,.97);
        box-shadow:0 -5px 18px rgba(0,0,0,.09);
        backdrop-filter:blur(12px);
    }

    .bupiz-mobile-bottom-item{
        position:relative;
        display:flex;
        min-width:0;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:2px;
        margin:0 !important;
        padding:2px !important;
        border:0 !important;
        border-radius:0 !important;
        background:transparent !important;
        box-shadow:none !important;
        color:#5b616a !important;
        font-family:inherit !important;
        font-size:9px !important;
        font-weight:700 !important;
        line-height:1.1 !important;
        text-decoration:none !important;
        text-transform:none !important;
        cursor:pointer;
    }

    .bupiz-mobile-bottom-item.is-active,
    .bupiz-mobile-bottom-item:hover,
    .bupiz-mobile-bottom-item:focus{
        color:#f06a2c !important;
        background:transparent !important;
        transform:none !important;
    }

    .bupiz-mobile-bottom-icon{
        display:block;
        width:22px;
        height:22px;
    }

    .bupiz-mobile-bottom-icon svg{
        display:block;
        width:100%;
        height:100%;
    }

    .bupiz-mobile-bottom-count{
        position:absolute;
        top:0;
        left:calc(50% + 7px);
        display:grid;
        min-width:15px;
        height:15px;
        padding:0 3px;
        place-items:center;
        border:2px solid #fff;
        border-radius:999px;
        background:#f06a2c;
        color:#fff;
        font-size:8px;
        line-height:1;
    }
}

@media (max-width:420px){
    .bupiz-showcase-hero-card{
        min-height:232px;
    }

    .bupiz-showcase-title{
        font-size:27px !important;
    }

    .bupiz-showcase-eyebrow{
        font-size:28px;
    }

    .bupiz-showcase-tagline span:nth-child(1){font-size:15px;}
    .bupiz-showcase-tagline span:nth-child(2){font-size:17.5px;}
    .bupiz-showcase-tagline span:nth-child(3){font-size:20.5px;}

    .bupiz-showcase-copy{
        padding-left:13px;
    }
}


/* =========================================
   BUPIZ ADDRESS SELECTOR FIX — v1.1.7
   Keep the save button visible and separate from the dropdown.
========================================= */
.bupiz-saved-address-row{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    gap:12px !important;
    align-items:center !important;
    width:100% !important;
    overflow:visible !important;
}

#bupiz_saved_address_select{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    min-height:48px !important;
    margin:0 !important;
    padding:10px 42px 10px 14px !important;
    background:#fff !important;
    border:1px solid #d8dde6 !important;
    border-radius:4px !important;
    color:#172033 !important;
    position:relative !important;
    z-index:1 !important;
}

#bupiz-save-checkout-address-btn{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:auto !important;
    min-width:190px !important;
    min-height:48px !important;
    margin:0 !important;
    padding:10px 18px !important;
    white-space:nowrap !important;
    position:relative !important;
    z-index:2 !important;
}

.bupiz-checkout-address-msg{
    min-height:18px;
    color:#5b6472;
}
.bupiz-checkout-address-msg.success{color:#08783e;font-weight:700;}
.bupiz-checkout-address-msg.error{color:#b42318;font-weight:700;}

@media (max-width:767px){
    .bupiz-saved-address-row{
        grid-template-columns:1fr !important;
    }
    #bupiz-save-checkout-address-btn{
        width:100% !important;
        min-width:0 !important;
    }
}


/* =========================================================
   PHASE 6A — CUSTOMER PHOTO REVIEWS
   Photo-first review rail, review-card thumbnails and responsive viewer.
========================================================= */
.bupiz-customer-photos{
    margin:22px 0 24px;
    padding:18px;
    border:1px solid #e5e7eb;
    border-radius:16px;
    background:linear-gradient(145deg,#ffffff 0%,#fffaf4 100%);
    box-shadow:0 12px 34px rgba(27,38,59,.07);
}
.bupiz-customer-photos__head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    margin-bottom:14px;
}
.bupiz-customer-photos__head h3{
    margin:0 !important;
    color:#1b263b;
    font-size:18px;
    line-height:1.25;
    font-weight:800;
}
.bupiz-customer-photos__head h3 span{color:#6b7280;font-weight:700;}
.bupiz-customer-photos__head p{
    margin:4px 0 0 !important;
    color:#6b7280;
    font-size:13px;
    line-height:1.45;
}
.bupiz-customer-photos__hint{
    flex:0 0 auto;
    padding:7px 10px;
    border-radius:999px;
    background:#fff0df;
    color:#c75f00;
    font-size:12px;
    font-weight:800;
}
.bupiz-customer-photos__rail{
    display:flex;
    gap:10px;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scroll-snap-type:x proximity;
    scrollbar-width:thin;
    padding:2px 2px 8px;
}
.bupiz-customer-photo{
    position:relative;
    flex:0 0 94px;
    width:94px;
    height:118px;
    padding:0 !important;
    overflow:hidden;
    border:1px solid #e2e6ec !important;
    border-radius:12px !important;
    background:#eef1f5 !important;
    box-shadow:0 7px 18px rgba(27,38,59,.09) !important;
    scroll-snap-align:start;
    cursor:pointer;
    transform:none !important;
}
.bupiz-customer-photo:hover,
.bupiz-customer-photo:focus-visible{
    border-color:#ff8400 !important;
    box-shadow:0 0 0 3px rgba(255,132,0,.16),0 10px 24px rgba(27,38,59,.14) !important;
}
.bupiz-customer-photo img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .25s ease;
}
.bupiz-customer-photo:hover img{transform:scale(1.035);}
.bupiz-customer-photo__rating{
    position:absolute;
    left:7px;
    bottom:7px;
    min-width:34px;
    padding:4px 7px;
    border-radius:999px;
    background:#0b8f83;
    color:#fff;
    font-size:11px;
    line-height:1;
    font-weight:900;
    box-shadow:0 4px 12px rgba(0,0,0,.18);
}

/* Make photo reviews visibly lead the customer-review list. */
.bupiz-review-images{
    display:flex !important;
    gap:9px !important;
    flex-wrap:wrap !important;
    margin:12px 0 0 !important;
}
.bupiz-review-image-button{
    position:relative;
    display:block !important;
    width:76px !important;
    height:92px !important;
    padding:0 !important;
    overflow:hidden !important;
    border:1px solid #dde2e8 !important;
    border-radius:10px !important;
    background:#f3f4f6 !important;
    box-shadow:0 5px 14px rgba(27,38,59,.08) !important;
    cursor:pointer;
    transform:none !important;
}
.bupiz-review-image-button img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
}
.bupiz-review-image-button span{
    position:absolute;
    inset:auto 5px 5px 5px;
    padding:3px 4px;
    border-radius:999px;
    background:rgba(27,38,59,.82);
    color:#fff;
    font-size:9px;
    line-height:1;
    font-weight:800;
    text-align:center;
    opacity:0;
    transition:opacity .2s ease;
}
.bupiz-review-image-button:hover span,
.bupiz-review-image-button:focus-visible span{opacity:1;}
.bupiz-review-image-button:hover,
.bupiz-review-image-button:focus-visible{
    border-color:#ff8400 !important;
    box-shadow:0 0 0 3px rgba(255,132,0,.14),0 8px 18px rgba(27,38,59,.12) !important;
}

html.bupiz-review-gallery-open,
body.bupiz-review-gallery-open{overflow:hidden !important;}
.bupiz-review-gallery-modal[hidden]{display:none !important;}
.bupiz-review-gallery-modal{
    position:fixed;
    inset:0;
    z-index:2147483000;
    display:grid;
    place-items:center;
    padding:24px;
    opacity:0;
    visibility:hidden;
    transition:opacity .18s ease,visibility .18s ease;
}
.bupiz-review-gallery-modal.is-open{opacity:1;visibility:visible;}
.bupiz-review-gallery-backdrop{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:rgba(12,18,31,.78) !important;
    box-shadow:none !important;
    backdrop-filter:blur(5px);
}
.bupiz-review-gallery-dialog{
    position:relative;
    z-index:1;
    width:min(1180px,calc(100vw - 48px));
    height:min(760px,calc(100vh - 48px));
    overflow:hidden;
    border-radius:18px;
    background:#fff;
    box-shadow:0 28px 80px rgba(0,0,0,.35);
    transform:translateY(12px) scale(.985);
    transition:transform .18s ease;
}
.bupiz-review-gallery-modal.is-open .bupiz-review-gallery-dialog{transform:none;}
.bupiz-review-gallery-close{
    position:absolute;
    top:14px;
    right:14px;
    z-index:8;
    display:grid !important;
    place-items:center;
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    padding:0 !important;
    border:1px solid rgba(255,255,255,.35) !important;
    border-radius:50% !important;
    background:rgba(27,38,59,.82) !important;
    color:#fff !important;
    font-size:28px !important;
    line-height:1 !important;
    font-weight:400 !important;
    box-shadow:0 8px 22px rgba(0,0,0,.2) !important;
    transform:none !important;
}
.bupiz-review-gallery-desktop{
    display:grid;
    grid-template-columns:minmax(0,1.55fr) minmax(330px,.75fr);
    width:100%;
    height:100%;
}
.bupiz-review-gallery-stage{
    position:relative;
    display:grid;
    place-items:center;
    min-width:0;
    min-height:0;
    padding:28px 72px 112px;
    overflow:hidden;
    background:radial-gradient(circle at 50% 40%,#2e3b58 0%,#172137 58%,#0f1728 100%);
}
.bupiz-review-gallery-viewport{
    position:relative;
    display:grid;
    place-items:center;
    width:100%;
    height:100%;
    min-width:0;
    min-height:0;
    overflow:hidden;
    border-radius:12px;
    touch-action:none;
}
.bupiz-review-gallery-main{
    display:block;
    width:auto;
    height:auto;
    max-width:100%;
    max-height:100%;
    min-width:0;
    min-height:0;
    object-fit:contain;
    object-position:center;
    user-select:none;
    -webkit-user-select:none;
    -webkit-user-drag:none;
    cursor:zoom-in;
    transform:translate3d(0,0,0) scale(1);
    transform-origin:center center;
    transition:transform .16s ease;
    will-change:transform;
    filter:drop-shadow(0 16px 28px rgba(0,0,0,.28));
}
.bupiz-review-gallery-main.is-zoomed{cursor:grab;transition:none;}
.bupiz-review-gallery-viewport.is-dragging .bupiz-review-gallery-main{cursor:grabbing;}
.bupiz-review-gallery-nav{
    position:absolute;
    top:50%;
    z-index:3;
    display:grid !important;
    place-items:center;
    width:46px !important;
    height:46px !important;
    min-width:46px !important;
    padding:0 !important;
    border:1px solid rgba(255,255,255,.28) !important;
    border-radius:50% !important;
    background:rgba(255,255,255,.12) !important;
    color:#fff !important;
    font-size:36px !important;
    line-height:1 !important;
    font-weight:300 !important;
    box-shadow:none !important;
    transform:translateY(-50%) !important;
}
.bupiz-review-gallery-nav:hover{background:rgba(255,255,255,.22) !important;}
.bupiz-review-gallery-nav.is-prev{left:18px;}
.bupiz-review-gallery-nav.is-next{right:18px;}
.bupiz-review-gallery-count{
    position:absolute;
    top:18px;
    left:20px;
    padding:7px 11px;
    border-radius:999px;
    background:rgba(15,23,40,.68);
    color:#fff;
    font-size:12px;
    font-weight:800;
}
.bupiz-review-gallery-zoom-controls{
    position:absolute;
    top:17px;
    right:18px;
    z-index:5;
    display:flex;
    align-items:stretch;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.28);
    border-radius:12px;
    background:rgba(15,23,40,.72);
    box-shadow:0 8px 22px rgba(0,0,0,.18);
    backdrop-filter:blur(7px);
}
.bupiz-review-gallery-zoom-controls button{
    display:grid !important;
    place-items:center;
    min-width:39px !important;
    height:39px !important;
    margin:0 !important;
    padding:0 10px !important;
    border:0 !important;
    border-right:1px solid rgba(255,255,255,.16) !important;
    border-radius:0 !important;
    background:transparent !important;
    color:#fff !important;
    font-size:21px !important;
    line-height:1 !important;
    box-shadow:none !important;
    transform:none !important;
}
.bupiz-review-gallery-zoom-controls button:last-child{border-right:0 !important;}
.bupiz-review-gallery-zoom-controls button:hover:not(:disabled){background:rgba(255,255,255,.14) !important;}
.bupiz-review-gallery-zoom-controls button:disabled{opacity:.38;cursor:not-allowed;}
.bupiz-review-gallery-zoom-controls .bupiz-review-gallery-zoom-reset{
    display:flex !important;
    min-width:66px !important;
    flex-direction:column;
    gap:1px;
    font-size:11px !important;
    font-weight:800 !important;
}
.bupiz-review-gallery-zoom-reset small{font-size:8px;line-height:1;color:#cbd5e1;text-transform:uppercase;letter-spacing:.08em;}
.bupiz-review-gallery-thumbs{
    position:absolute;
    left:24px;
    right:24px;
    bottom:22px;
    display:flex;
    justify-content:center;
    gap:8px;
    min-height:72px;
    overflow:hidden;
}
.bupiz-review-gallery-thumb{
    flex:0 0 54px;
    width:54px !important;
    height:68px !important;
    min-width:54px !important;
    padding:0 !important;
    overflow:hidden;
    border:2px solid transparent !important;
    border-radius:8px !important;
    background:#fff !important;
    opacity:.66;
    box-shadow:0 6px 18px rgba(0,0,0,.2) !important;
    transform:none !important;
}
.bupiz-review-gallery-thumb.is-active{border-color:#ff9b42 !important;opacity:1;}
.bupiz-review-gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.bupiz-review-gallery-details{
    display:flex;
    flex-direction:column;
    min-width:0;
    padding:72px 34px 34px;
    background:linear-gradient(180deg,#fff 0%,#fffaf5 100%);
    color:#1b263b;
}
.bupiz-review-gallery-rating{
    align-self:flex-start;
    margin-bottom:20px;
    padding:7px 10px;
    border-radius:8px;
    background:#0b8f83;
    color:#fff;
    font-size:13px;
    line-height:1;
    font-weight:900;
}
.bupiz-review-gallery-copy{
    margin:0 !important;
    overflow:auto;
    color:#273449;
    font-size:16px;
    line-height:1.65;
    white-space:pre-line;
}
.bupiz-review-gallery-person{
    display:flex;
    flex-direction:column;
    gap:3px;
    margin-top:auto;
    padding-top:24px;
    border-top:1px solid #eceff3;
}
.bupiz-review-gallery-person strong{font-size:14px;color:#1b263b;}
.bupiz-review-gallery-person span{font-size:12px;color:#6b7280;}
.bupiz-review-gallery-verified{
    align-self:flex-start;
    margin-top:10px;
    color:#0b8f83;
    font-size:12px;
    font-weight:800;
}
.bupiz-review-gallery-mobile{display:none;}

@media (max-width:767px){
    .bupiz-customer-photos{
        margin:16px -2px 20px;
        padding:14px 12px 12px;
        border-radius:14px;
    }
    .bupiz-customer-photos__head{align-items:center;margin-bottom:11px;}
    .bupiz-customer-photos__head h3{font-size:16px;}
    .bupiz-customer-photos__head p{display:none;}
    .bupiz-customer-photos__hint{font-size:10px;padding:6px 8px;}
    .bupiz-customer-photos__rail{gap:8px;padding-bottom:5px;}
    .bupiz-customer-photo{
        flex-basis:82px;
        width:82px;
        height:104px;
        border-radius:10px !important;
    }
    .bupiz-review-image-button{
        width:70px !important;
        height:86px !important;
    }
    .bupiz-review-image-button span{display:none;}

    .bupiz-review-gallery-modal{
        display:block;
        padding:0;
        background:#0d1423;
    }
    .bupiz-review-gallery-backdrop{display:none !important;}
    .bupiz-review-gallery-dialog{
        width:100vw;
        height:100dvh;
        max-width:none;
        max-height:none;
        border-radius:0;
        background:#0d1423;
        box-shadow:none;
        transform:translateY(16px);
    }
    .bupiz-review-gallery-close{
        position:fixed;
        top:max(12px,env(safe-area-inset-top));
        right:12px;
        width:40px !important;
        height:40px !important;
        min-width:40px !important;
        background:rgba(15,23,40,.72) !important;
        backdrop-filter:blur(8px);
    }
    .bupiz-review-gallery-desktop{display:none;}
    .bupiz-review-gallery-mobile{
        display:block;
        width:100%;
        height:100%;
    }
    .bupiz-review-gallery-mobile-feed{
        width:100%;
        height:100%;
        overflow-y:auto;
        overscroll-behavior:contain;
        scroll-snap-type:y mandatory;
        scrollbar-width:none;
        background:#0d1423;
    }
    .bupiz-review-gallery-mobile-feed::-webkit-scrollbar{display:none;}
    .bupiz-review-gallery-mobile-slide{
        position:relative;
        width:100%;
        min-height:100dvh;
        scroll-snap-align:start;
        scroll-snap-stop:always;
        background:#0d1423;
    }
    .bupiz-review-gallery-mobile-image{
        display:grid;
        place-items:center;
        width:100%;
        height:100dvh;
        padding:0 0 max(205px,28vh);
        background:radial-gradient(circle at 50% 38%,#263651 0%,#111a2d 64%,#0b1220 100%);
    }
    .bupiz-review-gallery-mobile-image img{
        display:block;
        width:100%;
        height:100%;
        object-fit:contain;
    }
    .bupiz-review-gallery-mobile-copy{
        position:absolute;
        left:0;
        right:0;
        bottom:0;
        max-height:42vh;
        overflow-y:auto;
        padding:78px 18px calc(22px + env(safe-area-inset-bottom));
        color:#fff;
        background:linear-gradient(180deg,transparent 0%,rgba(8,13,24,.74) 24%,rgba(8,13,24,.97) 100%);
    }
    .bupiz-review-gallery-mobile-progress{
        display:block;
        margin-bottom:10px;
        color:rgba(255,255,255,.72);
        font-size:11px;
        font-weight:700;
    }
    .bupiz-review-gallery-mobile-rating{
        display:inline-flex;
        margin-bottom:10px;
        padding:6px 9px;
        border-radius:7px;
        background:#0b8f83;
        color:#fff;
        font-size:12px;
        line-height:1;
    }
    .bupiz-review-gallery-mobile-copy p{
        margin:0 0 10px !important;
        color:#fff !important;
        font-size:14px !important;
        line-height:1.55 !important;
        white-space:pre-line;
    }
    .bupiz-review-gallery-mobile-person{
        color:rgba(255,255,255,.82);
        font-size:12px;
        font-weight:700;
    }
    .bupiz-review-gallery-mobile-verified{
        display:block;
        margin-top:7px;
        color:#71e6cf;
        font-size:11px;
        font-weight:800;
    }
}

@media (prefers-reduced-motion:reduce){
    .bupiz-review-gallery-modal,
    .bupiz-review-gallery-dialog,
    .bupiz-customer-photo img{transition:none !important;}
}


/* =========================================
   PHASE 6B — REVIEW PHOTO UPLOAD + APPROVAL FIX
========================================= */
.comment-form-bupiz-review-images{
    margin:16px 0 0 !important;
    padding:14px !important;
    border:1px solid #e1e6ee !important;
    border-radius:12px !important;
    background:#fbfcfe !important;
}
.comment-form-bupiz-review-images label{
    display:block !important;
    margin:0 0 8px !important;
    color:#1b263b !important;
    font-size:14px !important;
    font-weight:800 !important;
}
.comment-form-bupiz-review-images label span{
    color:#7b8494 !important;
    font-size:12px !important;
    font-weight:600 !important;
}
.comment-form-bupiz-review-images input[type="file"]{
    display:block !important;
    width:100% !important;
    padding:10px !important;
    border:1px dashed #b9c3d1 !important;
    border-radius:10px !important;
    background:#fff !important;
    color:#1f2937 !important;
}
.comment-form-bupiz-review-images small{
    display:block !important;
    margin-top:8px !important;
    color:#697386 !important;
    line-height:1.45 !important;
}
.bupiz-review-photo-selection{
    min-height:18px !important;
    margin-top:6px !important;
    color:#087b62 !important;
    font-size:12px !important;
    font-weight:700 !important;
}
.bupiz-review-images{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:9px !important;
    margin:12px 0 2px !important;
}
.bupiz-review-image-button{
    position:relative !important;
    width:84px !important;
    height:100px !important;
    padding:0 !important;
    overflow:hidden !important;
    border:1px solid #d9e0e9 !important;
    border-radius:10px !important;
    background:#f5f7fa !important;
    cursor:pointer !important;
    box-shadow:none !important;
}
.bupiz-review-image-button img{
    width:100% !important;
    height:100% !important;
    display:block !important;
    object-fit:cover !important;
}
.bupiz-review-image-button span{
    position:absolute !important;
    right:5px !important;
    bottom:5px !important;
    padding:3px 6px !important;
    border-radius:999px !important;
    background:rgba(27,38,59,.82) !important;
    color:#fff !important;
    font-size:9px !important;
    font-weight:700 !important;
    line-height:1 !important;
}
.bupiz-review-image-button:hover,
.bupiz-review-image-button:focus-visible{
    border-color:#ff8400 !important;
    transform:translateY(-1px);
}
@media(max-width:767px){
    .comment-form-bupiz-review-images{padding:12px !important;}
    .bupiz-review-image-button{width:72px !important;height:88px !important;}
}


/* ================================================================
   Phase 13C-R2 — Visual Product Story presentation
   Marketplace supplies escaped content; theme controls presentation only.
================================================================ */
body.single-product .bupiz-visual-product-story{
    position:relative;
    overflow:hidden;
    margin-top:18px;
    border:1px solid rgba(27,38,59,.12);
    border-radius:18px;
    background:
        radial-gradient(circle at 100% 0,rgba(255,164,28,.16),transparent 35%),
        linear-gradient(180deg,#ffffff 0%,#fffaf4 100%);
    box-shadow:0 12px 30px rgba(27,38,59,.07);
}
body.single-product .bupiz-visual-product-story h3{
    position:relative;
    padding-left:14px;
}
body.single-product .bupiz-visual-product-story h3::before{
    content:"";
    position:absolute;
    left:0;
    top:.15em;
    bottom:.15em;
    width:4px;
    border-radius:999px;
    background:var(--bupiz-buy-now-bg,#FFA41C);
}
body.single-product .bupiz-visual-product-story-list{
    grid-template-columns:1fr!important;
}
body.single-product .bupiz-visual-product-story .bupiz-product-detail-item{
    grid-template-columns:minmax(150px,220px) minmax(0,1fr);
    align-items:start;
    border:0;
    background:rgba(255,255,255,.78);
}
body.single-product .bupiz-visual-product-story .bupiz-product-detail-label{
    color:var(--bupiz-dark,#1B263B);
    font-weight:800;
}
body.single-product .bupiz-visual-product-story .bupiz-product-detail-value{
    color:var(--bupiz-text-dark,#1F2937);
    line-height:1.7;
    white-space:normal;
}
@media(max-width:640px){
    body.single-product .bupiz-visual-product-story .bupiz-product-detail-item{
        grid-template-columns:1fr;
        gap:6px;
    }
}

/* =========================================================
   Phase 13D-R1 — Free Premium Product Story
   Full-width visual story immediately above Product Details.
========================================================= */
.single-product div.product > .bupiz-premium-story-shell{
    grid-column:1 / -1 !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    clear:both !important;
    order:3 !important;
    margin:0 0 24px !important;
}
.bupiz-premium-story{
    width:min(100%,1440px);
    margin:0 auto;
    display:grid;
    gap:22px;
}
.bupiz-premium-story__block{
    position:relative;
    width:100%;
    min-width:0;
    overflow:hidden;
    border-radius:18px;
    background:#fff;
    border:1px solid var(--bupiz-border-soft,#e5e7eb);
    box-sizing:border-box;
}
.bupiz-premium-story img{display:block;width:100%;height:auto;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;}
.bupiz-premium-story__hero,.bupiz-premium-story__lifestyle{background:#111827;}
.bupiz-premium-story__hero-image{aspect-ratio:1600/650;object-fit:cover;}
.bupiz-premium-story__lifestyle-image{aspect-ratio:2/1;object-fit:cover;}
.bupiz-premium-story__overlay-copy{
    position:absolute;
    left:clamp(18px,4vw,58px);
    bottom:clamp(18px,4vw,50px);
    max-width:min(620px,72%);
    padding:16px 20px;
    border-radius:14px;
    background:rgba(8,17,31,.72);
    backdrop-filter:blur(7px);
    color:#fff;
}
.bupiz-premium-story__overlay-copy h3,.bupiz-premium-story__overlay-copy p{color:#fff!important;margin:0!important;}
.bupiz-premium-story__overlay-copy h3{font-size:clamp(22px,3vw,38px)!important;line-height:1.08!important;font-weight:800!important;}
.bupiz-premium-story__overlay-copy p{margin-top:8px!important;font-size:clamp(14px,1.5vw,18px)!important;line-height:1.45!important;}
.bupiz-premium-story__image-text{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;}
.bupiz-premium-story__image-text.is-image-right .bupiz-premium-story__media{order:2;}
.bupiz-premium-story__image-text.is-image-right .bupiz-premium-story__copy{order:1;}
.bupiz-premium-story__media{min-height:100%;background:#f4f6f8;}
.bupiz-premium-story__square-image{width:100%;height:100%!important;aspect-ratio:1/1;object-fit:cover;}
.bupiz-premium-story__copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(22px,5vw,64px);}
.bupiz-premium-story__copy h3,.bupiz-premium-story__caption h3,.bupiz-premium-story__care h3,.bupiz-premium-story__section-title,.bupiz-premium-story__legacy h3{margin:0 0 10px!important;font-size:clamp(22px,2.4vw,34px)!important;line-height:1.14!important;color:var(--bupiz-text-dark,#111827)!important;font-weight:800!important;}
.bupiz-premium-story__copy p,.bupiz-premium-story__caption p,.bupiz-premium-story__care p,.bupiz-premium-story__legacy p{margin:0!important;font-size:16px!important;line-height:1.65!important;color:#445066!important;}
.bupiz-premium-story__features,.bupiz-premium-story__showcase,.bupiz-premium-story__care,.bupiz-premium-story__legacy{padding:clamp(18px,3vw,34px);}
.bupiz-premium-story__section-title{text-align:center;margin-bottom:20px!important;}
.bupiz-premium-story__feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.bupiz-premium-story__card{min-width:0;text-align:center;border:1px solid #e6e9ee;border-radius:14px;overflow:hidden;background:#fff;padding-bottom:16px;}
.bupiz-premium-story__card-image{aspect-ratio:1/1;object-fit:cover;}
.bupiz-premium-story__card h4{margin:14px 12px 5px!important;font-size:17px!important;line-height:1.25!important;color:#111827!important;font-weight:800!important;}
.bupiz-premium-story__card p{margin:0 14px!important;font-size:14px!important;line-height:1.5!important;color:#5a6578!important;}
.bupiz-premium-story__showcase-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.bupiz-premium-story__showcase figure{margin:0!important;position:relative;border-radius:12px;overflow:hidden;background:#f4f6f8;}
.bupiz-premium-story__showcase-image{aspect-ratio:4/5;object-fit:cover;}
.bupiz-premium-story__showcase figure span{position:absolute;left:10px;bottom:10px;background:rgba(17,24,39,.78);color:#fff;padding:5px 8px;border-radius:7px;font-size:12px;font-weight:700;}
.bupiz-premium-story__caption{padding:18px 22px 20px;background:#fff;}
.bupiz-premium-story__caption h3{font-size:clamp(20px,2vw,28px)!important;}
.bupiz-premium-story__care-grid{display:flex;flex-wrap:wrap;gap:10px;margin:4px 0 14px;}
.bupiz-premium-story__care-chip{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:999px;border:1px solid #dfe5ed;background:#f8fafc;font-size:13px;font-weight:700;color:#23324a;}
.bupiz-premium-story__care-chip>span{display:inline-grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#edf7ee;color:#16752c;font-size:11px;}
@media(max-width:767px){
    .single-product div.product > .bupiz-premium-story-shell{margin:0 0 14px!important;padding:0!important;}
    .bupiz-premium-story{gap:14px;}
    .bupiz-premium-story__block{border-radius:14px;}
    .bupiz-premium-story__hero-image{aspect-ratio:16/9;min-height:210px;}
    .bupiz-premium-story__overlay-copy{left:12px;right:12px;bottom:12px;max-width:none;padding:12px 14px;}
    .bupiz-premium-story__overlay-copy h3{font-size:22px!important;}
    .bupiz-premium-story__overlay-copy p{font-size:14px!important;}
    .bupiz-premium-story__image-text,.bupiz-premium-story__image-text.is-image-right{grid-template-columns:1fr;}
    .bupiz-premium-story__image-text.is-image-right .bupiz-premium-story__media,.bupiz-premium-story__image-text.is-image-right .bupiz-premium-story__copy{order:initial;}
    .bupiz-premium-story__copy{padding:20px 16px 22px;}
    .bupiz-premium-story__copy h3,.bupiz-premium-story__care h3,.bupiz-premium-story__legacy h3{font-size:22px!important;}
    .bupiz-premium-story__copy p,.bupiz-premium-story__caption p,.bupiz-premium-story__care p,.bupiz-premium-story__legacy p{font-size:15px!important;}
    .bupiz-premium-story__features,.bupiz-premium-story__showcase,.bupiz-premium-story__care,.bupiz-premium-story__legacy{padding:16px 12px;}
    .bupiz-premium-story__feature-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px;gap:10px;}
    .bupiz-premium-story__card{flex:0 0 72%;scroll-snap-align:start;}
    .bupiz-premium-story__showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
    .bupiz-premium-story__lifestyle-image{aspect-ratio:16/9;object-fit:cover;}
    .bupiz-premium-story__caption{padding:14px 14px 16px;}
}
@media(max-width:767px){
    .bupiz-premium-story__hero-image{height:clamp(210px,56vw,340px)!important;min-height:0!important;object-fit:cover!important;}
    .bupiz-premium-story__lifestyle-image{height:clamp(190px,52vw,320px)!important;object-fit:cover!important;}
}
/* Avoid double inset when migrating the old text-only Material & Craftsmanship story. */
.bupiz-premium-story__legacy .bupiz-premium-story__copy{padding:0;}

/* =========================================================
 * BUPIZ PREMIUM STORY — RESPONSIVE SPLIT UPGRADE
 * Feature-only override: dedicated desktop/mobile media,
 * image + editable text layout, approved palette and no crop.
 * Does not alter normal product/gallery/vendor header logic.
========================================================= */
.bupiz-premium-story .bupiz-premium-story__split{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    align-items:stretch!important;
    background:inherit;
}
.bupiz-premium-story .bupiz-premium-story__split.is-desktop-image-right .bupiz-premium-story__media{order:2}
.bupiz-premium-story .bupiz-premium-story__split.is-desktop-image-right .bupiz-premium-story__copy{order:1}
.bupiz-premium-story .bupiz-premium-story__split.is-desktop-image-left .bupiz-premium-story__media{order:1}
.bupiz-premium-story .bupiz-premium-story__split.is-desktop-image-left .bupiz-premium-story__copy{order:2}
.bupiz-premium-story .bupiz-premium-story__split .bupiz-premium-story__media{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    min-height:0!important;
    background:rgba(255,255,255,.36)!important;
    overflow:hidden!important;
}
.bupiz-premium-story .bupiz-premium-story__hero .bupiz-premium-story__media,
.bupiz-premium-story .bupiz-premium-story__lifestyle .bupiz-premium-story__media{aspect-ratio:6/5!important}
.bupiz-premium-story .bupiz-premium-story__image-text .bupiz-premium-story__media{aspect-ratio:1/1!important}
.bupiz-premium-story .bupiz-premium-story__responsive-image{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-width:0!important;
}
.bupiz-premium-story .bupiz-premium-story__responsive-image img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:center!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:transparent!important;
}
.bupiz-premium-story .bupiz-premium-story__split.pos-desktop-top .bupiz-premium-story__responsive-image img{object-position:center top!important}
.bupiz-premium-story .bupiz-premium-story__split.pos-desktop-bottom .bupiz-premium-story__responsive-image img{object-position:center bottom!important}
.bupiz-premium-story .bupiz-premium-story__split.pos-desktop-left .bupiz-premium-story__responsive-image img{object-position:left center!important}
.bupiz-premium-story .bupiz-premium-story__split.pos-desktop-right .bupiz-premium-story__responsive-image img{object-position:right center!important}
.bupiz-premium-story .bupiz-premium-story__split .bupiz-premium-story__copy{
    min-width:0!important;
    padding:clamp(24px,4.5vw,64px)!important;
    background:transparent!important;
}

/* Seller-selected storefront section backgrounds: allow-listed tokens only. */
.bupiz-premium-story .bupiz-premium-story__block.bg-white{background:#ffffff!important}
.bupiz-premium-story .bupiz-premium-story__block.bg-cream{background:#fff9ee!important}
.bupiz-premium-story .bupiz-premium-story__block.bg-blush{background:#fff5f7!important}
.bupiz-premium-story .bupiz-premium-story__block.bg-sand{background:#fbf4e8!important}
.bupiz-premium-story .bupiz-premium-story__block.bg-mist{background:#f3f8fc!important}
.bupiz-premium-story .bupiz-premium-story__block.bg-sage{background:#f1f8f2!important}
.bupiz-premium-story .bupiz-premium-story__block.bg-lavender{background:#f7f3ff!important}
.bupiz-premium-story .bupiz-premium-story__block.bg-charcoal{background:#273142!important}

/* Controlled text formatting. Vendors never provide raw CSS/HTML. */
.bupiz-premium-story .bupiz-premium-story__block.tone-navy p{color:#1B263B!important}
.bupiz-premium-story .bupiz-premium-story__block.tone-slate p{color:#445066!important}
.bupiz-premium-story .bupiz-premium-story__block.tone-black p{color:#111111!important}
.bupiz-premium-story .bupiz-premium-story__block.tone-blue p{color:#1d4ed8!important}
.bupiz-premium-story .bupiz-premium-story__block.tone-green p{color:#166534!important}
.bupiz-premium-story .bupiz-premium-story__block.tone-purple p{color:#7e22ce!important}
.bupiz-premium-story .bupiz-premium-story__block.tone-rust p{color:#9a3412!important}
.bupiz-premium-story .bupiz-premium-story__block.tone-white p{color:#ffffff!important}
.bupiz-premium-story .bupiz-premium-story__block.heading-navy h3{color:#1B263B!important}
.bupiz-premium-story .bupiz-premium-story__block.heading-slate h3{color:#445066!important}
.bupiz-premium-story .bupiz-premium-story__block.heading-black h3{color:#111111!important}
.bupiz-premium-story .bupiz-premium-story__block.heading-blue h3{color:#1d4ed8!important}
.bupiz-premium-story .bupiz-premium-story__block.heading-green h3{color:#166534!important}
.bupiz-premium-story .bupiz-premium-story__block.heading-purple h3{color:#7e22ce!important}
.bupiz-premium-story .bupiz-premium-story__block.heading-rust h3{color:#9a3412!important}
.bupiz-premium-story .bupiz-premium-story__block.heading-white h3{color:#ffffff!important}
.bupiz-premium-story .bupiz-premium-story__block.is-text-bold p{font-weight:700!important}
.bupiz-premium-story .bupiz-premium-story__block.is-text-italic p{font-style:italic!important}
.bupiz-premium-story .bupiz-premium-story__block.align-center .bupiz-premium-story__copy,
.bupiz-premium-story .bupiz-premium-story__block.align-center .bupiz-premium-story__section-title,
.bupiz-premium-story .bupiz-premium-story__block.align-center.bupiz-premium-story__care{text-align:center!important}

@media(max-width:767px){
    /* Mobile keeps the requested one-side-image/one-side-text presentation. */
    .bupiz-premium-story .bupiz-premium-story__split,
    .bupiz-premium-story .bupiz-premium-story__image-text,
    .bupiz-premium-story .bupiz-premium-story__image-text.is-image-right{
        grid-template-columns:minmax(0,45%) minmax(0,55%)!important;
    }
    .bupiz-premium-story .bupiz-premium-story__split.is-mobile-image-left .bupiz-premium-story__media{order:1!important}
    .bupiz-premium-story .bupiz-premium-story__split.is-mobile-image-left .bupiz-premium-story__copy{order:2!important}
    .bupiz-premium-story .bupiz-premium-story__split.is-mobile-image-right .bupiz-premium-story__media{order:2!important}
    .bupiz-premium-story .bupiz-premium-story__split.is-mobile-image-right .bupiz-premium-story__copy{order:1!important}
    .bupiz-premium-story .bupiz-premium-story__hero .bupiz-premium-story__media,
    .bupiz-premium-story .bupiz-premium-story__lifestyle .bupiz-premium-story__media,
    .bupiz-premium-story .bupiz-premium-story__image-text .bupiz-premium-story__media{
        aspect-ratio:4/5!important;
        min-height:0!important;
    }
    .bupiz-premium-story .bupiz-premium-story__split .bupiz-premium-story__copy{padding:18px 14px!important}
    .bupiz-premium-story .bupiz-premium-story__split .bupiz-premium-story__copy h3{font-size:clamp(18px,5vw,23px)!important;line-height:1.18!important}
    .bupiz-premium-story .bupiz-premium-story__split .bupiz-premium-story__copy p{font-size:14px!important;line-height:1.55!important}
    .bupiz-premium-story .bupiz-premium-story__split.pos-mobile-center .bupiz-premium-story__responsive-image img{object-position:center!important}
    .bupiz-premium-story .bupiz-premium-story__split.pos-mobile-top .bupiz-premium-story__responsive-image img{object-position:center top!important}
    .bupiz-premium-story .bupiz-premium-story__split.pos-mobile-bottom .bupiz-premium-story__responsive-image img{object-position:center bottom!important}
    .bupiz-premium-story .bupiz-premium-story__split.pos-mobile-left .bupiz-premium-story__responsive-image img{object-position:left center!important}
    .bupiz-premium-story .bupiz-premium-story__split.pos-mobile-right .bupiz-premium-story__responsive-image img{object-position:right center!important}
}
@media(max-width:360px){
    /* Accessibility/readability fallback for very narrow devices only. */
    .bupiz-premium-story .bupiz-premium-story__split,
    .bupiz-premium-story .bupiz-premium-story__image-text,
    .bupiz-premium-story .bupiz-premium-story__image-text.is-image-right{grid-template-columns:1fr!important}
    .bupiz-premium-story .bupiz-premium-story__split .bupiz-premium-story__media,
    .bupiz-premium-story .bupiz-premium-story__split .bupiz-premium-story__copy{order:initial!important}
    .bupiz-premium-story .bupiz-premium-story__split .bupiz-premium-story__media{aspect-ratio:4/5!important;max-height:430px!important}
}

/* ============================================================
   Phase 13K — global spacing-only refinement
   Footer chrome only; no navigation, typography or interaction changes.
============================================================ */
body .bupiz-site-footer{margin-top:28px;}
body .bupiz-site-footer .bupiz-footer-sign-inner{min-height:50px;gap:12px;}
body .bupiz-site-footer .bupiz-footer-quick-list{gap:8px 28px;padding:10px 0;}
body .bupiz-site-footer .bupiz-footer-toplink{min-height:48px;gap:6px;}
body .bupiz-site-footer .bupiz-footer-brand-row{padding:22px 0 18px;}
body .bupiz-site-footer .bupiz-footer-brand-logo{margin-bottom:10px;}
body .bupiz-site-footer .bupiz-footer-pill-row{margin-top:12px;gap:8px;}
body .bupiz-site-footer .bupiz-footer-grid-desktop{gap:28px;padding:28px 0 30px;}
body .bupiz-site-footer .bupiz-footer-col h4{margin-bottom:12px;}
body .bupiz-site-footer .bupiz-footer-col li + li{margin-top:9px!important;}
body .bupiz-site-footer .bupiz-footer-col-partner p{margin-bottom:12px;}
body .bupiz-site-footer .bupiz-footer-bottom-desktop-inner{min-height:52px;gap:10px;}
@media (max-width:767px){
    body .bupiz-site-footer .bupiz-footer-quick-list{gap:8px 18px;padding:10px 0 12px;}
    body .bupiz-site-footer .bupiz-footer-brand-row{padding:14px 0 16px;}
    body .bupiz-site-footer .bupiz-footer-brand-logo{margin-bottom:8px;}
    body .bupiz-site-footer .bupiz-footer-pill-row{margin-top:10px;gap:7px;}
    body .bupiz-site-footer .bupiz-footer-grid-mobile{gap:14px 20px;padding:14px 0 16px;}
    body .bupiz-site-footer .bupiz-footer-col-mobile h4{margin-bottom:10px;}
    body .bupiz-site-footer .bupiz-footer-col-mobile li + li{margin-top:8px!important;}
    body .bupiz-site-footer .bupiz-footer-toplink{min-height:48px;}
    body .bupiz-site-footer .bupiz-footer-bottom-mobile-inner{min-height:44px!important;padding:8px 10px!important;gap:6px;}
}
