@media screen and (max-width: 1000px) {
    #wrapper {max-width: 800px;}
    .sub-footer {max-width: 800px;}
    #rightSidebar,
    .lan_corner,
    #tools_letter {display: none;}
}

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

    body {background: #fff url(../images/body_mob.png) repeat-x;}
    #container {max-width: 100%;  box-sizing: border-box; padding: 15px;}
    .content {background: #fff; padding-bottom: 0;}
    .main-banner {width: 100%; height: auto;}
    .old-main-banner {width: 100%;}
    .old-main-banner img {max-width: 100%; height: auto;}
    .mob-header {display: flex;}
    #header_bg { display: none !important; }
    #leftSidebar,
    .header_bottom #header_online_chat,
    .split-border,
    .banner-wrapper,
    .header-left-side,
    .header-right-side,
    .top_menu,
    .sep,
    .bgLandFooter {display: none;}
    .mob-side,
    .mob-view,
    .app-download {display: block;}
    #footer {background: #f2f2f2;}
    .sub-footer {flex-direction: column; padding: 15px;}
    .bottom_menu {flex-wrap: wrap; justify-content: center; border-bottom: 1px solid #dbdbdb; padding-bottom: 20px;}
    .bottom_menu a {margin: 10px 10px 0 10px;}
    .mob-shipping {display: flex;}
    .mob-payment {padding: 0 10px; margin-bottom: 10px; text-align: center;}
    .header_bottom{padding: 0 15px;}
    #static_sidebar_search {padding: 0; width: 100%;}
    .side_search,
    #gift_list {flex-grow: 1;}
    .side_search .text {width: 100%;}
    .about_us, .our_policy {padding: 0;}
    .header_bottom {height: 50px;}
    .side_search .text {height: 35px;}
    .side_search .bttn {top: 9px; right: 9px;}
    #gift_list {height: 34px; background: #fff url('../images/select.png') no-repeat center right 7px;}
    .continue-shopping {height: 40px;}
    .checkout-cart {height: 40px;}
}

@media screen and (max-width: 650px) {
    .ed_info {margin: 0;}
    .ed-pick-pc {display: none;}
    .ed-pick-mob {display: block;}
    .ed_caption {border: 0;}
    .ed_content {border-top: 1px dotted #dbdbdb; padding-top: 10px; margin-top: 5px;}
}

@media screen and (max-width: 576px) {
    .product-tbl td.product-tbl-bestsale {display: none;}
    .order-stat-tbl,
    .order-stat-tbl-inputs textarea,
    .order-stat-tbl-inputs input[type="email"],
    .order-stat-tbl-inputs input[type="text"] {width: 100%;}
    .order-stat-tbl td {padding: 5px;}
    .ed_per_pill {display: none;}
    .ed-pick-mob {width: 100px;}
}

@media screen and (max-width: 425px) {
    .cart-pill-img {width: 60px;}
    .cart-pill-img img {height: 40px; padding: 10px 0;}
    .continue-shopping,
    .checkout-cart {min-width: 47%;}
    .update-pills {font-size: 12px;}
    .shipping-item-label span {padding-left: 5px;}
    .bottom_menu a {margin: 10px 15px 0 15px;}
    .order-stat-tbl img {width: 100%;}
}
    #leftSidebar, #rightSidebar { display: none !important; }
    #container { float: none !important; width: 100% !important; max-width: 100% !important; margin: 0 !important; }
    .old-main-banner, .old-main-banner img, .main-banner { width: 100% !important; max-width: 100% !important; height: auto !important; }
    .pblocks { width: 100% !important; }
    .pblock { box-sizing: border-box; }
}
    .mob-header { display: flex !important; align-items: center; justify-content: space-between; }
    .mob-sitename { flex: 1; display: flex !important; align-items: center; justify-content: center; padding: 6px 8px !important; font-size: inherit !important; color: inherit !important; }
    .mob-sitename .mob-logo,
    .mob-logo { display: block !important; height: 36px !important; width: auto !important; max-width: 70vw !important; object-fit: contain; }
    .app-download,
    .bgLandFooter,
    .labding-footer,
    .bottBannerLink,
    .lan_corner,
    #landCornerFull,
    #landing-side { display: none !important; }
}

/* ==== mobile header fix (absolute overlay broken once header_bg hidden) ==== */
@media screen and (max-width: 800px) {
    #wrapper, .content, .sub-footer { max-width: 100% !important; width: 100% !important; }
    #leftSidebar, #rightSidebar { display: none !important; }
    #container { float: none !important; width: 100% !important; max-width: 100% !important; margin: 0 !important; }

    #header {
        position: relative !important;
        padding-top: 0 !important;
        min-height: 0 !important;
    }
    #header_bg {
        display: none !important;
        height: 0 !important;
        background: none !important;
    }
    .mob-header {
        display: flex !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: 56px !important;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        padding: 0 8px !important;
        margin: 0 !important;
        background: #ffffff !important;
        border-bottom: 1px solid #e5e5e5 !important;
        z-index: 20;
    }
    .mob-header a { padding: 8px !important; }
    .mob-sitename {
        flex: 1 1 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    .mob-sitename .mob-logo,
    .mob-logo {
        display: block !important;
        height: 40px !important;
        width: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
    }
    .top_menu { display: none !important; }

    .header_bottom {
        display: flex !important;
        align-items: center !important;
        height: auto !important;
        min-height: 50px !important;
        padding: 8px 12px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        overflow: hidden !important;
    }
    #static_sidebar_search {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    #static_sidebar_search .search-title {
        flex: 0 0 auto;
        margin-right: 8px;
        white-space: nowrap;
        font-size: 13px;
    }
    #static_sidebar_search .side_search {
        flex: 1 1 auto !important;
        position: relative !important;
        min-width: 0 !important;
    }
    #static_sidebar_search .side_search .text {
        width: 100% !important;
        box-sizing: border-box !important;
        height: 36px !important;
        padding-right: 40px !important;
    }
    #static_sidebar_search .side_search .bttn {
        top: 50% !important;
        transform: translateY(-50%);
        right: 6px !important;
    }

    .old-main-banner, .old-main-banner img, .main-banner {
        width: 100% !important; max-width: 100% !important; height: auto !important;
    }
    .app-download, .bgLandFooter, .labding-footer, .bottBannerLink,
    .lan_corner, #landCornerFull, #landing-side { display: none !important; }
}

