@media only screen and (min-width:767px) {
    .mobile-menu {
        display: none;
    }
    .mobile-search {
        display: none;
    }
    .mobile-filter-toggle {
        display: none;
    }
}
@media only screen and (min-width:320px) and (max-width:767px) {
    .d-flex.single_product {
      display: block !important;
      width: 100%;
   }
   .add_cart_btn {
    width: 100%;
   }
  .order_now_btn {
    /* Previous UI: width: 98%; */
    width: 100%;
    margin-left:0;
}
    .pro_img {
    /* Previous UI: height: 158px; */
    /* UI Modernization: preserve useful product imagery in two-column grids */
    height: 170px;
}
    header#navbar_top {
    position: inherit;
}
    .product_sliders {
    grid-template-columns: repeat(2,1fr);
    /* Previous UI: grid-gap: 10px; */
    /* UI Modernization: align mobile product spacing with the shared grid rhythm */
    grid-gap: 12px;
}
    .cat_img a {
    display: block;
    height: 100%;
}
.cat_img img {
    height: 100%;
}
    .cat_img {
    height: 75px;
    text-align: center;
}
    
    .topcategory {
     grid-template-columns: repeat(3,1fr);
   }
    .payment-method-wrappers {
        grid-template-columns: repeat(2, 1fr);
    }
    .filter_sort {
        display: grid;
        /* Previous UI: grid-template-columns: 1fr 1fr; */
        /* UI Modernization: reserve only the space needed by the filter trigger */
        grid-template-columns: auto 1fr;
        align-items: center;
        /* Previous UI: padding: 0 6px; */
        /* UI Modernization: align filter and sort controls with the toolbar */
        padding: 0;
        /* Previous UI: margin-top: 12px; */
        /* UI Modernization: compact the mobile discovery toolbar */
        margin-top: 8px;
        gap: 10px;
    }

    .page-sort,
    .page-sort .sort-form,
    .page-sort .form-select {
        width: 100%;
    }
    .filter_sidebar {
        position: fixed;
        visibility: hidden;
        opacity: 0;
        /* Previous UI: top: 30px; */
        /* UI Modernization: anchor the filter drawer to the viewport */
        top: 0;
        left: -100%;
        /* Previous UI: transition: 0.35s all; */
        /* UI Modernization: animate only drawer position and visibility */
        transition: left 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        background: #fff;
        width: min(90vw, 380px);
        height: 100vh;
        padding: 14px;
        overflow-y: auto;
        box-shadow: 18px 0 40px rgba(16, 24, 40, 0.16);
    }
    .filter_sidebar.active {
        background: #fff;
        z-index: 9999;
        /* Previous UI: height: 100%; width: 97%; top: 2px; */
        /* UI Modernization: preserve the new drawer dimensions */
        height: 100vh;
        width: min(90vw, 380px);
        top: 0;
        left: 0;
        visibility: visible;
        opacity: 1;
        overflow-y: auto;
    }
    .filter_sidebar.active::-webkit-scrollbar-track
    {
    	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    	background-color: #F5F5F5;
    }
    
    .filter_sidebar.active::-webkit-scrollbar
    {
    	width: 6px;
    	background-color: #F5F5F5;
    }
    
    .filter_sidebar.active::-webkit-scrollbar-thumb
    {
    	background-color: #152B2F;
    }

    .filter_btn {
        display: inline-block;
        background: #152B2F;
        color: #fff;
        /* Previous UI: width: 55px; */
        /* UI Modernization: use a compact square filter control */
        width: 44px;
        /* Previous UI: height: 33px; */
        /* UI Modernization: provide an accessible touch target */
        height: 44px;
        /* Previous UI: line-height: 33px; */
        /* UI Modernization: center the filter icon */
        line-height: 44px;
        font-size: 17px;
        /* Previous UI: border: 1px solid #ddd; */
        /* UI Modernization: keep the branded control visually clean */
        border: 1px solid #152B2F;
        text-align: center;
        text-transform: capitalize;
        cursor: pointer;
        border-radius: 8px;
    }
    .filter_close {
        background: #152B2F;
        padding: 10px 15px;
        font-size: 18px;
        color: #fff;
        /* Previous UI: border-radius: 5px; */
        /* UI Modernization: align drawer actions with shared controls */
        border-radius: 8px;
        margin: 8px 0;
        cursor: pointer;
        display: block;
    }
    .sidebar-menu {
        display: none;
    }
      li.mobile_home {
        border: 2px solid #ddd;
        margin-top: -35px;
        background: #152B2F;
        padding-top: 15px;
        border-radius: 50%;
        width: 75px;
        height: 75px;
    }
    
    li.mobile_home a {
        color: #fff;
    }
    
	.scrolltop {
	    display: none !important;
	}
    .hightlight_cont ul {

    padding-left: 5px;
}
    .mobile_hide {
        display:none;
    }
    .desktop_hide {
        display:block;
    }
    .sorting-section {
        /* Previous UI: margin-top: -15px; */
        /* UI Modernization: remove toolbar overlap on mobile */
        margin-top: 0;
        margin-bottom: 16px;
        padding: 12px;
    }
    .card-body.cartlist {
    overflow-x: scroll;
}
.section-title-header .section-title-name {
    /* Previous UI: font-size: 15px; */
    /* UI Modernization: retain hierarchy and readability on narrow screens */
    font-size: 17px;
}

#content {
    margin-left: 0;
    padding-top: 0;
}

   .meta_description {
   	display: none;
   }
	.mm-ocd {
    display: none;
   }
    .page-sort {
        padding-right: 6px;
    }
    .showing-data {
        display: none;
    }
    .mobile-filter-toggle {
        display: flex;
        justify-content: center;
        margin: 10px 0;
        align-items: center;
        column-gap: 10px;
        display: none;
    }
.mobile-filter-toggle span {
    font-size: 17px;
    text-transform: uppercase;
    font-weight: 500;
}
    .home-slider-container {
        width: 100%;
        margin-left: 0;
    }
    .feature-products p {
        padding-left: 20px;
    }
.feature-products {
    position: fixed;
    top: 0;
    z-index: 99999;
    background-color: #fff;
    left: -300px;
    width: 300px;
    padding-top: 10px;
    height: 100vh;
    overflow-y: auto;
    transition: all 0.3s ease;
}
.category-breadcrumb {
    /* Previous UI: justify-content: center; */
    /* UI Modernization: align mobile breadcrumbs with page content */
    justify-content: flex-start;
}
.feature-products.active {
    left: 0;
}

    .mobile-menu.active {
    left: 0;
}
.mobile-menu {
    /* Previous UI: width: 300px; */
    /* UI Modernization: use more of the viewport while preserving context */
    width: min(86vw, 340px);
    /* Previous UI: left: -300px; */
    /* UI Modernization: fully hide the flexible-width drawer */
    left: -100%;
    position: fixed;
    top: 0;
    z-index: 99999;
    background-color: #fff;
    height: 100vh;
    /* Previous UI: transition: all 0.3s ease; */
    /* UI Modernization: limit animation to the property that changes */
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 18px 0 40px rgba(16, 24, 40, 0.16);
}
.mobile-menu::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

.mobile-menu::-webkit-scrollbar
{
	width: 6px;
	background-color: #F5F5F5;
}

.mobile-menu::-webkit-scrollbar-thumb
{
	background-color: #152B2F;
}

.mobile-search {
    background-color: #fff;
    /* Previous UI: padding: 15px 16px; padding-top: 0; */
    /* UI Modernization: give mobile search balanced spacing */
    padding: 0 16px 12px;
}
.mobile-search form {
    display: flex;
    border: 1px solid;
    /* Previous UI: border-radius: 5px; */
    /* UI Modernization: align mobile search with the shared control radius */
    border-radius: 10px;
    background-color: #152B2F;
    /* Previous UI: height: 40px; */
    /* UI Modernization: improve the mobile search touch target */
    height: 44px;
    overflow: hidden;
    position: relative;
    /* Previous UI: border-color: hsla(0,0%,100%,.09); */
    /* UI Modernization: define the search field against the white header */
    border-color: #d0d5dd;
}
.mobile-search form svg {
    height: 16px;
    width: 16px;
    color: #fff;
}
.mobile-search form input {
    text-align: left;
    padding-left: 15px;
    color: #000;
    background: #fff;
}

.mobile-search form button {
    background-color: #152B2F;
    flex: 0 0 60px;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-menu-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Previous UI: border-bottom: 1px solid #ddd; */
    /* UI Modernization: soften drawer header separation */
    border-bottom: 1px solid #e4e7ec;
    /* Previous UI: padding: 10px 15px; */
    /* UI Modernization: improve drawer header spacing */
    padding: 12px 16px;
}
.logo-image img {
    height: 40px;
    width: auto;
}
.mobile-menu-close {
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.mobile-menu-close i {
    font-size: 22px;
}
.first-nav .parent-category {
    display: block;
    line-height: 33px;
}
.first-nav .menu-category-list {
    display: block;
}
.first-nav .menu-category-list .menu-category-link {
    padding: 10px 0;
    display: block;
    padding-left: 20px;
}
.first-nav .parent-category .menu-category-name {
    display: block;
    padding: 10px;
    padding-left: 20px;
    text-transform: capitalize;
    font-weight: 600;
    color: #222;
}
.mobile-menu li.parent-category {
    position: relative;
}
.mobile-menu span.menu-category-toggle {
    position: absolute;
    right: 0px;
    top: 0px;
    display: flex;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
}
.mobile-menu span.menu-category-toggle.active i {
    transition: transform 0.3s ease;
}
.mobile-menu span.menu-category-toggle.active i {
    transform: rotate(180deg);
}
.second-nav {
    padding: 0 0px;
    background-color: #fff;
}
.second-nav.active {
    min-height: 15px;
}
.parent-subcategory {
    display: block;
    position: relative;
    padding: 0px;
}
.parent-subcategory .menu-subcategory-name {
    display: block;
    padding: 10px;
    padding-left: 40px;
}
span.menu-subcategory-toggle {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
}

span.menu-subcategory-toggle.active i {
    transition: transform 0.3s ease;
}
span.menu-subcategory-toggle.active i {
    transform: rotate(180deg);
}
li.childcategory {
    display: block;
}
ul.third-nav {
    padding: 0;
    background-color: #f2f2f2;
}
li.parent-category.active {
    background-color: rgba(0,0,0,.05);
}
li.parent-subcategory.active {
    background-color: #fff;
}

.menu-childcategory-name {
    display: block;
    padding: 10px 0;
    padding-left: 60px;
}
header .toggle {
    margin-top: 0;
    padding-left: 30px;
}
.mobile-menu-social .mobile-social-list .mobile-social-link i {
    color: #c0c0c0;
    font-size: 16px;
}
.mobile-menu-social .mobile-social-list .mobile-social-link {
    border: 2px solid #c0c0c0;
    padding: 5px 13px;
    border-radius: 5px;
    display: block;
}
.mobile-menu-social .mobile-menu-social {
    display: flex;
    column-gap: 5px;
    padding-left: 20px;
}
    .logo-area {
        display: none;
    }
    .menu-area {
        display: none;
    }
    .header-left {
        justify-content: center;
    }
    .header-right {
        display: none;
    }
	.category-item {
	    padding: 5px 0;
	}
	.category-item p {
	    font-weight: 400;
	}
.qty-cart .quantity {
    /* Previous UI: height: 35px; */
    /* UI Modernization: retain an accessible mobile quantity target */
    height: 44px;
    /* Previous UI: margin-left: 4px; */
    margin-left: 0;
}
	.quantity .minus,.quantity .plus {
	    /* Previous UI: height: 35px; line-height: 35px; width: 35px; */
	    height: 44px;
	    line-height: 44px;
	    width: 40px;
	    font-size: 26px;
	}
.d-flex.single_product.col-sm-6 {
    /* Previous UI: margin-left: 4px; */
    margin-left: 0;
    margin-top: 10px;
    gap: 10px;
}

	.qty-cart {
	    width: auto !important;
	}
	.cus-order-2 {
	    order: 0;
	}
	.cus-order-1 {
	    order: 1;
	}
	.chheckout-section {
	    /* Previous UI: padding: 10px 0. */
	    /* UI Modernization: retain compact mobile checkout spacing. */
	    padding: 12px 0;
	}
	.cart_details{
	    margin-bottom: 15px;
	}
    .success-img img {
        /* Previous UI: width: 200px. */
        /* UI Modernization: responsive confirmation artwork. */
        width: min(200px, 70vw);
    }
	.form-content {
	    /* Previous UI: desktop 32px vertical card margin. */
	    /* UI Modernization: fit authentication cards comfortably on mobile. */
	    margin: 16px 0;
	}
	.form-content form,
	.auth-title {
	    /* Previous UI: desktop 24px horizontal spacing. */
	    /* UI Modernization: preserve usable narrow-screen form width. */
	    padding-left: 16px;
	    padding-right: 16px;
	}
	.vcart-inner,
	.customer-content {
	    /* Previous UI: desktop 22-24px panel padding. */
	    /* UI Modernization: compact transaction panels on small screens. */
	    padding: 14px;
	}
	.customer-sidebar {
	    /* Previous UI: full-height sidebar adjacent to account content. */
	    /* UI Modernization: separate stacked mobile account navigation. */
	    height: auto;
	    margin-bottom: 16px;
	}
	.payment_option {
	    /* Previous UI: forced three-column payment grid. */
	    /* UI Modernization: readable single-column mobile payment choices. */
	    grid-template-columns: 1fr !important;
	}
	.main_product_inner {
	    grid-template-columns: 1fr 1fr;
	    /* UI Modernization: keep two-column product cards evenly separated */
	    grid-gap: 12px;
	}

    .product_item {
        /* Previous UI inherited desktop padding: 8px. */
        /* UI Modernization: preserve product space on narrow cards */
        padding: 7px;
    }

    .pro_name {
        height: 44px;
        margin-top: 8px;
    }

    .pro_name a {
        font-size: 13px;
    }

    .product_item .order-btn,
    .product_item .order-btn-link,
    .product_item .cart-icon-btn,
    .product_item .cart-icon-link,
    .pro_btn button,
    .cart_btn a {
        min-height: 40px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
	.qty-cart {
		grid-template-columns: 130px auto;
	    width: 100% !important;
	}
	.quantity .minus {
		width: 40px;
	}
	.quantity .plus {
		width: 40px;
	} 

    .product-cart .name {
        font-size: 23px;
        line-height: 1.3;
    }

    .details-price {
        font-size: 24px;
    }

    .dimage_item img {
        /* Previous UI inherited desktop height: 500px !important; */
        /* UI Modernization: fit the gallery comfortably on mobile */
        height: 340px !important;
    }

    .details_right {
        margin-top: 14px;
        padding: 18px 16px;
    }

    .indicator-item img {
        height: 64px !important;
    }

    .desc-nav-ul {
        margin-left: 0;
        gap: 8px;
    }

    .desc-nav-ul li a {
        padding: 8px 12px;
        font-size: 13px;
    }

    .description {
        padding: 16px;
    }
	.compare_store.mobile-show {
        display: block !important;
        line-height: 42px;
        text-align: center;
    }
    
	.add-to-cart.mobile-fix {
		position: fixed;
		bottom: 64px;
		left: 0;
		right: 0;
		z-index: 999;
		padding: 10px;
		margin: 0 10px;
	}
	.footer-top {
		padding: 30px 0;
	}
	.footer-menu ul li img {
		margin: 0 auto;
		display: block;
	}
	.front-view-flex {
		padding: 10px 0px;
	}
	.front_category_title h1 {
		font-size: 20px;
	}
	.front-view-item {
		margin-bottom: 15px;
	}
	.front-view-title a {
		font-size: 13px;
	}
	.home-page-section-title-box h3 {
		font-size: 20px;
	}
	.category-banner-products {
		padding: 20px 5px;
	}
    .flash-product-section .col-sm-4 {
        padding: 10px 10px !important;
    }
    .flash_all {
        margin-top: 10px;
    }
    .slider-section .offset-sm-3 {
        padding-left: 5px;
    }
	.main-header {
	    display: none;
	}
	.mobile-header {
	    display: block;
	    background-color: #fff;
        border-bottom: 1px solid #eef0f3;
        box-shadow: 0 3px 12px rgba(16, 24, 40, 0.06);
	}
	.mobile-top {
	    background: #108BC3;
	    padding: 8px 0;
	}
	.mobile-top ul{
		text-align: right;
	}
	.mobile-top ul li a {
	    color: #fff;
	    margin: 0 5px;
	}
	.menu-bar i {
    font-size: 22px;
}
.mobile-logo {
    display: grid;
    grid-template-columns: 16% 68% 16%;
    text-align: center;
    font-size: 16px;
    /* Previous UI: height: 70px; */
    /* UI Modernization: create a more compact mobile header */
    height: 64px;
    align-items: center;
}
	.fixed-top .mobile-logo {
		margin-bottom: 0px;
	}
.menu-logo img {
    width: auto;
    /* Previous UI: height: 50px; */
    /* UI Modernization: balance the logo within the compact header */
    height: 44px;
    margin-top: 0;
}
.footer-menu ul li a {
    text-align: center;
    text-transform: capitalize;
}
	.main-search.mobile-search {
	    margin: 18px 0;
	    padding: 0 10px;
	}
.menu-bar {
    margin-top: 0;
}

.menu-bag .margin-shopping {
    position: relative;
    width: 30px;
}
.menu-bag .margin-shopping span {
    position: absolute;
    display: inline-block;
    background-color: #152B2F;
    height: 20px;
    border-radius: 50px;
    padding: 1px 7px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    top: -10px;
    right: 0;
}
.menu-bag .margin-shopping span i.fa-solid.fa-bag-shopping {
    font-size: 22px;
}
.menu-bag {
    margin-top: 0px;
    display: flex;
    justify-content: flex-end;
    margin-right: 7px;
}
	.menu-bag ul li a {
	    margin-right: 15px;
	    position: relative;
	}
	.menu-bag li span {
	    background: #E62E04;
	    font-size: 10px;
	    color: #fff;
	    position: absolute;
	    top: 0;
	    left: 12px;
	    width: 15px;
	    height: 15px;
	    border-radius: 50px;
	    line-height: 15px;
	}

	.slider-item {
	    height: 150px;
	    margin-top: 0px;
	}
	.footer-about p {
	    text-align: center;
	}
.footer-bottom {
    /* Previous UI: margin-bottom: 24px; */
    /* UI Modernization: remove the unexplained gap above fixed navigation */
    margin-bottom: 0;
    padding-bottom: 77px;
}
	
	.footer-about {
        text-align: center;
        padding: 0 15px;
    }
	.footer_nav {
	    display: block;
	}

    .footer_nav {
        /* Previous UI: padding: 10px 0; */
        /* UI Modernization: provide compact navigation plus safe-area clearance */
        padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
        /* Previous UI: border-top: 1px solid #ddd; */
        /* UI Modernization: soften fixed navigation separation */
        border-top: 1px solid #e4e7ec;
        box-shadow: 0 -6px 20px rgba(16, 24, 40, 0.08);
    }

    .footer_nav ul li a {
        color: #475467;
        font-size: 12px;
        font-weight: 500;
    }
	.section-title-left h4 {
	    font-size: 16px;
	}
	.section-title-right a {
	    font-size: 13px;
	}
	.product-info .name {
	    height: 70px;
	}
	.product-info {
	    padding: 15px 10px;
	}
	.row>* {
	    padding-right: calc(var(--bs-gutter-x) * .3);
	    padding-left: calc(var(--bs-gutter-x) * .3);
	}
	.feature-title ul {
	    text-align: center;
	    overflow-y: scroll;
	}
	.feature-title h4 {
		text-align: center;
	    margin-bottom: 10px;
	}
	.footer-top {
	    padding-bottom: 32px;
	}

	.category-sidebar {
	    position: fixed;
	    z-index: 9999;
	    width: 100%;
	    top: 0;
	    background: #fff;
	    left: 0;
	    visibility: hidden;
	    opacity: 0;
	    transition: 0.35s all;
	}
	.close_filter {
	    position: absolute;
	    top: 0;
	    right: 12px;
	    border: 2px solid #ddd;
	    font-size: 19px;
	    padding: 0px 10px;
	    border-radius: 50px;
	    background: #d3b520;
	    color: #fff;
	}
	.close_filter,.show_filter {
	    display: block;
	}
	.show_filter {
	    display: inline-block;
	    margin-right: 10px;
	    margin-left: 8px;
	}
	.page-title h5 {
   		 font-size: 16px;
	}
	.product-section {
	    margin-top: 0;
	}
	.sort-form select {
	    font-size: 14px;
	}
	.category-sidebar.active {
	    visibility: visible;
	    opacity: 1;
	}
	.auth-section, .checkout-shipping {
      margin-top: 5px;
    }
	.payment-form .gap-3 {
	    gap: 0 !important;
	}
	.modal-view.quick-product {
    	width: 100%;
	}
	.quick-product .short_description,.quick-product .details_short {
	    display: none;
	} 	
	.quick-product-img {
	    width: 20%;
	}
	.quick-product-content {
	    width: 80%;
	}
	.close-modal {
	    left: 50%;
	    top: -17px;
	    transform: translateX(-50%);
	}
	.vcart-section {
	    margin-top: 60px;
	}
	.menu-product{
		display: none;
	}
	.details-wishlist {
        display: none !important;
    }
    a.details-wishlist.compare_store.cursor {
    display: none !important;
}
}
@media only screen and (min-width:767px) and (max-width:991px) {
.menu-product{
	display: none;
}

    .logo-header {
        /* Previous UI: desktop minimum header tracks exceeded the tablet container. */
        /* UI Modernization: retain logo, search, and utilities without horizontal clipping. */
        grid-template-columns: 150px minmax(250px, 1fr) minmax(230px, auto);
        grid-gap: 12px;
    }

    .header-list-items ul {
        /* Previous UI: desktop 14px utility gaps at tablet widths. */
        /* UI Modernization: compact utilities while retaining every action. */
        gap: 8px;
    }

    .header-list-items ul li a {
        /* Previous UI: desktop utility typography at tablet widths. */
        /* UI Modernization: fit utility labels without hiding them. */
        font-size: 12px;
        gap: 4px;
    }

    .main_product_inner,
    .product_sliders {
        /* Previous UI: tablet inherited desktop five/six-column product grids. */
        /* UI Modernization: preserve useful card width on tablets. */
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 14px;
    }

    .topcategory {
        /* Previous UI: tablet inherited five categories per row. */
        /* UI Modernization: balance category tiles at intermediate widths. */
        grid-template-columns: repeat(4, 1fr);
    }

    .modal-view {
        /* Previous UI: fixed 1000px quick-view dialog. */
        /* UI Modernization: keep dialogs inside the tablet viewport. */
        width: calc(100vw - 48px);
        max-height: calc(100vh - 48px);
        overflow-y: auto;
        padding: 24px;
    }

    .dimage_item img {
        /* Previous UI: desktop 500px product-detail gallery. */
        /* UI Modernization: fit product imagery within tablet view height. */
        height: 420px !important;
    }

    .customer-sidebar,
    .customer-content {
        /* Previous UI: desktop account panels retained full spacing on tablets. */
        /* UI Modernization: compact account workspace without changing columns. */
        padding: 16px;
    }

    .chheckout-section {
        /* Previous UI: desktop checkout used 35px vertical padding. */
        /* UI Modernization: reduce tablet scroll without crowding forms. */
        padding: 24px 0;
    }

}
@media only screen and (min-width:992px) and (max-width:1140px) {

    .modal-view {
        /* Previous UI: fixed 1000px dialog could touch laptop viewport edges. */
        /* UI Modernization: reserve safe viewport clearance. */
        width: calc(100vw - 64px);
        max-width: 1000px;
        max-height: calc(100vh - 48px);
        overflow-y: auto;
    }

    .main_product_inner {
        /* Previous UI: five-column catalog grid at narrow desktop widths. */
        /* UI Modernization: retain comfortable product-card width. */
        grid-template-columns: repeat(4, 1fr);
    }

    .product_sliders {
        /* Previous UI: six-column slider fallback at narrow desktop widths. */
        /* UI Modernization: reduce density at laptop widths. */
        grid-template-columns: repeat(5, 1fr);
    }


}
@media only screen and (min-width:1141px){


}

/*==== PHASE 10: RESPONSIVE HARMONIZATION START ==== */
@media only screen and (max-width: 766px) {
    html,
    body {
        /* Previous UI: fixed and wide components could produce horizontal page drift. */
        /* UI Modernization: contain the page while component wrappers retain intentional scrolling. */
        max-width: 100%;
        overflow-x: hidden;
    }

    .container,
    .container-fluid {
        /* Previous UI: mixed legacy gutters across mobile sections. */
        /* UI Modernization: consistent storefront edge spacing. */
        padding-left: 12px;
        padding-right: 12px;
    }

    .modal-view,
    .modal-view.quick-product {
        /* Previous UI: quick view used full width without reliable viewport height limits. */
        /* UI Modernization: safe mobile dialog inset with internal scrolling. */
        width: calc(100vw - 24px);
        max-height: calc(100dvh - 32px);
        padding: 18px 14px;
        overflow-y: auto;
        border-radius: 12px;
    }

    .quick-product-img,
    .quick-product-content {
        /* Previous UI: mobile quick view retained a 20/80 floated split. */
        /* UI Modernization: stack product media and details for readable narrow layouts. */
        float: none;
        width: 100%;
    }

    .quick-product-content {
        /* Previous UI: inherited desktop horizontal padding. */
        /* UI Modernization: align stacked quick-view content. */
        padding: 14px 0 0;
    }

    .quick-product-img img {
        /* Previous UI: image sizing depended on the narrow floated column. */
        /* UI Modernization: constrain preview imagery to the available viewport. */
        width: 100%;
        max-height: 260px;
        object-fit: contain;
    }

    .vcart-content,
    .track_info,
    .success-table {
        /* Previous UI: wide transactional content could escape narrow panels. */
        /* UI Modernization: preserve content through intentional horizontal scrolling. */
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .vcart-content table,
    .tracktable {
        /* Previous UI: tables compressed columns until content became difficult to scan. */
        /* UI Modernization: retain readable columns inside scroll containers. */
        min-width: 680px;
    }

    .coupon-form form {
        /* Previous UI: responsive form could still inherit a content-sized width. */
        /* UI Modernization: fill the available cart panel. */
        width: 100%;
    }

    .checkout-shipping .card-body,
    .cart_details .card-body {
        /* Previous UI: desktop card padding reduced usable checkout width. */
        /* UI Modernization: compact checkout panels while preserving field spacing. */
        padding: 14px;
    }

    .customer-auth {
        /* Previous UI: fixed 60px identity column consumed narrow account width. */
        /* UI Modernization: slightly compact customer identity panel. */
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: center;
    }

    .customer-img img {
        /* Previous UI: customer image inherited its desktop size. */
        /* UI Modernization: fit the compact account identity column. */
        width: 48px;
        height: 48px;
        object-fit: cover;
    }

    .desc-nav-ul {
        /* Previous UI: wrapped product tabs could create uneven multi-row labels. */
        /* UI Modernization: provide a single touch-scrollable tab row. */
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .desc-nav-ul li {
        /* Previous UI: tab items could shrink inside the wrapped row. */
        /* UI Modernization: preserve readable tab labels. */
        flex: 0 0 auto;
    }

    .footer-menu .title {
        /* Previous UI: desktop footer heading spacing carried into stacked columns. */
        /* UI Modernization: compact but distinct mobile footer sections. */
        margin-top: 18px;
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 420px) {
    .topcategory {
        /* Previous UI: three category tiles per row on all mobile widths. */
        /* UI Modernization: prevent cramped labels on compact devices. */
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .payment-method-wrappers {
        /* Previous UI: two payment choices per row on compact devices. */
        /* UI Modernization: make payment choices comfortably tappable. */
        grid-template-columns: 1fr;
    }

    .mobile-logo {
        /* Previous UI: percentage columns could squeeze header controls. */
        /* UI Modernization: reserve stable touch areas around a flexible logo. */
        grid-template-columns: 48px minmax(0, 1fr) 48px;
    }

    .filter_sort {
        /* Previous UI: filter and sort shared a single narrow row. */
        /* UI Modernization: retain the filter target while allowing the select to shrink safely. */
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .product-cart .name {
        /* Previous UI: 23px mobile detail title on all small screens. */
        /* UI Modernization: prevent long product names dominating compact viewports. */
        font-size: 21px;
    }

    .dimage_item img {
        /* Previous UI: 340px gallery height on all mobile devices. */
        /* UI Modernization: balance image height on compact phones. */
        height: 290px !important;
    }
}
/*==== PHASE 10: RESPONSIVE HARMONIZATION END ==== */

/*==== REFERENCE UI PHASE 1: RESPONSIVE SHELL START ==== */
@media only screen and (min-width: 767px) and (max-width: 991px) {
    .main-header .container,
    .menu-area .container,
    section.slider-section .container,
    section.homeproduct .container {
        /* Previous UI: reference canvas used a 1240px desktop maximum. */
        /* UI Modernization: respect Bootstrap tablet viewport clearance. */
        max-width: 960px;
    }

    .header-list-items ul li a {
        /* Previous UI: 40px branded desktop utility actions. */
        /* UI Modernization: retain actions within the tablet header. */
        min-height: 38px;
        padding: 7px 9px;
        font-size: 11px;
    }

    .catagory_menu > ul {
        /* Previous UI: navigation row attempted to center every category at once. */
        /* UI Modernization: keep all category links reachable on tablets. */
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .slider-item {
        /* Previous UI: 380px reference desktop hero. */
        /* UI Modernization: balance hero height on tablets. */
        height: 320px;
    }
}

@media only screen and (max-width: 766px) {
    section.slider-section {
        /* Previous UI: desktop 8px/24px hero margins. */
        /* UI Modernization: compact spacing below the mobile search/header. */
        margin-top: 8px;
        margin-bottom: 18px;
    }

    .home-slider-container,
    .main_slider,
    .slider-item {
        /* Previous UI: desktop 10px hero radius. */
        /* UI Modernization: retain the reference frame on mobile. */
        border-radius: 8px;
    }

    .slider-item {
        /* Previous UI: legacy mobile height: 150px. */
        /* UI Modernization: give existing hero artwork useful mobile presence. */
        height: clamp(160px, 42vw, 220px);
    }

    section.slider-section + section.homeproduct .section-title-header {
        /* Previous UI: desktop 18px title-rule gap. */
        /* UI Modernization: fit the category landmark on narrow screens. */
        gap: 10px;
    }

    section.slider-section + section.homeproduct .section-title-header::before,
    section.slider-section + section.homeproduct .section-title-header::after {
        /* Previous UI: desktop rules up to 190px. */
        /* UI Modernization: proportionate compact title rules. */
        width: min(16vw, 70px);
    }

    section.slider-section + section.homeproduct .section-title-name {
        /* Previous UI: desktop 20px category landmark. */
        /* UI Modernization: readable mobile category title. */
        font-size: 17px;
    }

    .category-sliger .owl-item img {
        /* Previous UI: desktop category artwork capped at 124px. */
        /* UI Modernization: compact category choices for mobile carousel widths. */
        width: min(100%, 92px) !important;
    }
}
/*==== REFERENCE UI PHASE 1: RESPONSIVE SHELL END ==== */

/*==== REFERENCE UI PHASE 2: RESPONSIVE MERCHANDISING START ==== */
@media only screen and (min-width: 767px) and (max-width: 991px) {
    .category-product.main_product_inner {
        /* Previous UI: five-column reference desktop grid. */
        /* UI Modernization: three readable product columns on tablets. */
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .pro_img {
        /* Previous UI: 220px reference desktop product stage. */
        /* UI Modernization: balanced tablet card imagery. */
        height: 210px;
    }

    section.homeproduct:has(.offer_timer) .section-title-header {
        /* Previous UI: 76px sale bar with 18px horizontal padding. */
        /* UI Modernization: compact tablet sale campaign bar. */
        min-height: 70px;
        padding: 12px 15px;
    }
}

@media only screen and (max-width: 766px) {
    section.homeproduct:not(:has(.category-sliger)) {
        /* Previous UI: desktop 24px/30px merchandising padding. */
        /* UI Modernization: compact mobile section rhythm. */
        padding: 18px 0 22px;
        margin-bottom: 12px;
    }

    section.homeproduct:has(.offer_timer) .section-title-header {
        /* Previous UI: horizontal desktop sale bar. */
        /* UI Modernization: stack sale title and countdown without crowding. */
        min-height: auto;
        padding: 14px;
    }

    section.homeproduct:has(.offer_timer) .timer_inner {
        /* Previous UI: one-row title and timer arrangement. */
        /* UI Modernization: mobile sale-bar stack. */
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    section.homeproduct:has(.offer_timer) .section-title-name {
        /* Previous UI: 23px desktop sale heading. */
        /* UI Modernization: compact mobile campaign heading. */
        font-size: 19px;
    }

    section.homeproduct:has(#flash_sale_timer) .timer_inner .syotimer-cell,
    section.homeproduct:has(#simple_timer) .timer_inner .syotimer-cell {
        /* Previous UI: 46px desktop countdown tiles. */
        /* UI Modernization: fit complete countdown on narrow screens. */
        width: 42px;
        min-height: 42px;
        padding: 6px 4px;
        font-size: 13px;
    }

    .category-product.main_product_inner {
        /* Previous UI: general mobile grid declaration. */
        /* UI Modernization: stable two-column reference product grid. */
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .pro_img {
        /* Previous UI: mobile product stage inherited 170px. */
        /* UI Modernization: reference card imagery within two-column cards. */
        height: clamp(165px, 44vw, 205px);
    }

    #content > section:not(.homeproduct) > .container > .row > .col-md-12 > a {
        /* Previous UI: desktop 24px campaign-banner margins. */
        /* UI Modernization: compact mobile banner separation. */
        margin: 16px 0;
        border-radius: 8px;
    }

    #content > section:not(.homeproduct) > .container > .row > .col-md-12 > a img {
        /* Previous UI: desktop 170px minimum campaign height. */
        /* UI Modernization: preserve complete banner proportions on mobile. */
        min-height: 110px;
        max-height: 210px;
        border-radius: 8px;
    }

    section.homeproduct:not(:has(.category-sliger)):not(:has(.offer_timer)) .section-title-name {
        /* Previous UI: 21px desktop commerce heading. */
        /* UI Modernization: readable mobile section hierarchy. */
        font-size: 18px;
    }
}

@media only screen and (max-width: 420px) {
    .product_item {
        /* Previous UI: 9px reference card inset. */
        /* UI Modernization: retain product width on compact phones. */
        padding: 7px;
    }

    .pro_name a {
        /* Previous UI: 13px reference product name. */
        /* UI Modernization: compact-phone card typography. */
        font-size: 12px;
    }

    .product_item .pro_btn {
        /* Previous UI: 7px action gap. */
        /* UI Modernization: preserve action width in narrow cards. */
        gap: 5px;
    }

    .product_item .pro_btn > form:last-child,
    .product_item .pro_btn > a.cart-icon-link {
        /* Previous UI: fixed 44px compact cart column. */
        /* UI Modernization: slightly narrower compact-phone cart action. */
        flex-basis: 40px;
        max-width: 40px;
    }
}
/*==== REFERENCE UI PHASE 2: RESPONSIVE MERCHANDISING END ==== */

/*==== REFERENCE UI PHASE 3: RESPONSIVE FINAL POLISH START ==== */
@media only screen and (min-width: 767px) and (max-width: 991px) {
    .footer-top .row {
        /* Previous UI: 42px desktop footer gutters. */
        /* UI Modernization: balanced tablet footer columns. */
        --bs-gutter-x: 24px;
    }

    .footer-about a img {
        /* Previous UI: 156px desktop contrast-backed logo. */
        /* UI Modernization: fit the narrower tablet identity column. */
        width: 138px;
    }
}

@media only screen and (max-width: 766px) {
    section.homeproduct:has(.customer-review) .sec_title h5 {
        /* Previous UI: 19px desktop review landmark. */
        /* UI Modernization: compact mobile review heading. */
        padding: 12px 14px !important;
        font-size: 16px;
        line-height: 1.4;
    }

    .footer-top {
        /* Previous UI: 52px/44px desktop dark-footer padding. */
        /* UI Modernization: compact stacked mobile footer. */
        padding: 34px 0 28px;
    }

    .footer-top .row {
        /* Previous UI: 42px desktop footer gutters. */
        /* UI Modernization: practical mobile column gutters. */
        --bs-gutter-x: 20px;
    }

    .footer-about,
    .footer-about p {
        /* Previous UI: earlier mobile rules centered footer identity content. */
        /* UI Modernization: reference-style left-aligned business details. */
        text-align: left;
    }

    .footer-about {
        /* Previous UI: mobile 15px horizontal identity padding. */
        /* UI Modernization: align identity with the footer grid. */
        padding: 0;
        margin-bottom: 22px;
    }

    .footer-menu ul li a {
        /* Previous UI: earlier mobile rules centered all footer links. */
        /* UI Modernization: improve stacked footer scanning. */
        text-align: left;
    }

    .footer-menu .title {
        /* Previous UI: mobile margin-top: 18px. */
        /* UI Modernization: consistent stacked column spacing. */
        margin-top: 12px;
        margin-bottom: 12px;
    }

    .footer-menu .social_link {
        /* Previous UI: desktop left-aligned social group. */
        /* UI Modernization: retain left alignment in the full-width mobile column. */
        justify-content: flex-start;
    }

    .footer-bottom {
        /* Previous UI: 77px bottom padding reserved above fixed navigation. */
        /* UI Modernization: retain fixed-navigation clearance with compact copyright spacing. */
        padding: 12px 10px calc(80px + env(safe-area-inset-bottom));
    }

    .copyright p {
        /* Previous UI: 13px desktop copyright line. */
        /* UI Modernization: readable wrapping mobile legal copy. */
        font-size: 12px;
        line-height: 1.55;
    }

    .main_slider .owl-prev,
    .main_slider .owl-next,
    .category-sliger .owl-prev,
    .category-sliger .owl-next,
    .flash_sale_slider .owl-prev,
    .flash_sale_slider .owl-next,
    .product_slider .owl-prev,
    .product_slider .owl-next,
    .customer-review .owl-prev,
    .customer-review .owl-next {
        /* Previous UI: 36px desktop carousel controls. */
        /* UI Modernization: compact mobile carousel navigation. */
        width: 32px;
        height: 32px;
        font-size: 18px !important;
    }
}
/*==== REFERENCE UI PHASE 3: RESPONSIVE FINAL POLISH END ==== */

/*==== POST-QA RESPONSIVE HEADER & HERO FIXES START ==== */
@media only screen and (min-width: 767px) and (max-width: 991px) {
    .catagory_menu > ul > li:not(:last-child)::after {
        /* Previous UI: tablet navigation dividers were 46% tall. */
        /* UI Modernization: match the shorter centered desktop divider in the scrollable navigation. */
        height: 34%;
    }

    .main_slider .owl-prev,
    .main_slider:hover.main_slider .owl-prev {
        /* Previous UI: desktop 14px arrow inset. */
        /* UI Modernization: slightly tighter tablet hero control. */
        left: 10px;
    }

    .main_slider .owl-next,
    .main_slider:hover.main_slider .owl-next {
        /* Previous UI: desktop 14px arrow inset. */
        /* UI Modernization: slightly tighter tablet hero control. */
        right: 10px;
    }
}

@media only screen and (max-width: 766px) {
    .main_slider .owl-prev,
    .main_slider:hover.main_slider .owl-prev {
        /* Previous UI: desktop 14px arrow inset. */
        /* UI Modernization: preserve more mobile banner content. */
        left: 7px;
    }

    .main_slider .owl-next,
    .main_slider:hover.main_slider .owl-next {
        /* Previous UI: desktop 14px arrow inset. */
        /* UI Modernization: preserve more mobile banner content. */
        right: 7px;
    }

    section.slider-section + section.homeproduct .section-title-name {
        /* Previous UI: desktop capsule used 9px/20px spacing. */
        /* UI Modernization: compact mobile category landmark. */
        padding: 8px 15px;
        font-size: 16px;
    }
}
/*==== POST-QA RESPONSIVE HEADER & HERO FIXES END ==== */

/*==== POST-QA RESPONSIVE PRODUCT PURCHASE PANEL FIX START ==== */
@media only screen and (max-width: 575px) {
    .main-details-page .product-contact-actions {
        /* Previous UI: desktop two-column contact actions could become narrow on phones. */
        /* UI Modernization: stack complete phone and WhatsApp labels on compact screens. */
        grid-template-columns: 1fr;
    }

    .main-details-page .single_product {
        /* Previous UI: mobile rule forced a block layout for the purchase actions. */
        /* UI Modernization: explicitly stack the redesigned full-width actions with consistent spacing. */
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .main-details-page .add_cart_btn,
    .main-details-page .order_now_btn {
        /* Previous UI: mobile widths depended on independent legacy button declarations. */
        /* UI Modernization: ensure both purchase actions fill the compact layout. */
        width: 100%;
    }
}
/*==== POST-QA RESPONSIVE PRODUCT PURCHASE PANEL FIX END ==== */

/*==== POST-QA RESPONSIVE BACKEND-RATIO SLIDER FIX START ==== */
@media only screen and (max-width: 991px) {
    .main_slider .slider-item {
        /* Previous UI: tablet and mobile rules forced 320px or clamped heights that cropped 1060x395 artwork. */
        /* UI Modernization: preserve the backend-defined banner ratio at every responsive width. */
        height: auto;
        aspect-ratio: 1060 / 395;
    }

    .main_slider .slider-item img {
        /* Previous UI: responsive fixed-height surfaces inherited desktop cover cropping. */
        /* UI Modernization: keep the complete uploaded banner visible on tablets and phones. */
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }
}
/*==== POST-QA RESPONSIVE BACKEND-RATIO SLIDER FIX END ==== */

/*==== FRONTEND UI PHASE 3: RESPONSIVE HEADER & HERO START ==== */
@media only screen and (max-width: 1199px) and (min-width: 992px) {
    .logo-header {
        grid-template-columns: 155px minmax(280px, 1fr) auto;
        gap: 16px;
    }

    .main-logo,
    .main-logo img {
        max-width: 155px;
    }

    .header-list-items ul li a {
        padding: 7px 8px;
    }

    .header-list-items .header-action-copy small {
        display: none;
    }

    .header-list-items .header-action-copy strong {
        font-size: 11px;
    }

    .catagory_menu > ul > li > a {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 12px;
    }
}

@media only screen and (max-width: 991px) {
    .storefront-header {
        box-shadow: 0 3px 14px rgba(16, 24, 40, 0.08);
    }

    .top_header {
        min-height: 34px;
    }

    .top_header .container {
        min-height: 34px;
        display: block;
        padding-right: 14px;
        padding-left: 14px;
    }

    .top_header .announcement-hotline {
        /* Previous UI: Bootstrap displayed the hotline from the small breakpoint, stacking it above the tablet ticker. */
        /* UI Redesign: reserve the compact support label for the full desktop shell. */
        display: none !important;
    }

    .main-header {
        /* Previous UI: the desktop toolbar remained active at tablet width while its search was hidden. */
        /* UI Redesign: use the complete touch-first header consistently through tablet widths. */
        display: none;
    }

    .mobile-header,
    .mobile-search {
        display: block;
    }

    .announcement-marquee {
        min-height: 34px;
        mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
    }

    .announcement-track span {
        padding-right: 48px;
        font-size: 11px;
        line-height: 34px;
    }

    .mobile-header {
        border-bottom: 0;
        box-shadow: none;
    }

    .mobile-logo {
        height: 62px;
        grid-template-columns: 48px minmax(0, 1fr) 48px;
        padding: 0 14px;
    }

    .menu-bar,
    .menu-bag {
        margin: 0;
    }

    .menu-bar .toggle,
    .menu-bag .margin-shopping {
        width: 42px;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #e4e7ec;
        border-radius: 12px;
        background: #fff;
        color: #344054;
        box-shadow: 0 2px 7px rgba(16, 24, 40, 0.04);
    }

    .menu-bar .toggle:hover,
    .menu-bag .margin-shopping:hover {
        border-color: color-mix(in srgb, #152B2F 32%, #e4e7ec);
        color: #152B2F;
    }

    .menu-logo img {
        width: min(170px, 100%);
        height: 42px;
        object-fit: contain;
    }

    .menu-bag {
        margin-right: 0;
    }

    .menu-bag .margin-shopping span {
        top: -7px;
        right: -7px;
        min-width: 19px;
        height: 19px;
        padding: 1px 5px;
        border: 2px solid #fff;
        line-height: 13px;
    }

    .mobile-search {
        padding: 0 14px 13px;
        border-bottom: 1px solid #eef0f3;
    }

    .mobile-search form {
        height: 46px;
        border-color: #e4e7ec;
        border-radius: 13px;
        background: #f7f8fa;
        box-shadow: none;
    }

    .mobile-search form input {
        padding-left: 15px;
        background: transparent;
        color: #1d2939;
        font-size: 13px;
    }

    .mobile-search form button {
        width: 44px;
        flex-basis: 44px;
        margin: 3px;
        height: 38px;
        border-radius: 10px;
    }

    section.slider-section {
        margin-top: 12px;
        margin-bottom: 24px;
    }

    .home-slider-container,
    .main_slider,
    .main_slider .slider-item {
        border-radius: 14px;
    }

    .home-slider-container {
        box-shadow: 0 10px 28px rgba(16, 24, 40, 0.1);
    }

    .main_slider .owl-prev,
    .main_slider .owl-next {
        width: 36px;
        height: 36px;
    }

    .main_slider .owl-prev,
    .main_slider:hover.main_slider .owl-prev {
        left: 8px;
    }

    .main_slider .owl-next,
    .main_slider:hover.main_slider .owl-next {
        right: 8px;
    }

    .main_slider .owl-dots {
        bottom: 8px;
        padding: 4px 7px;
    }
}

@media only screen and (max-width: 575px) {
    .mobile-logo {
        padding-right: 10px;
        padding-left: 10px;
    }

    .mobile-search {
        padding-right: 10px;
        padding-left: 10px;
    }

    section.slider-section .container {
        padding-right: 10px;
        padding-left: 10px;
    }

    .home-slider-container,
    .main_slider,
    .main_slider .slider-item {
        border-radius: 11px;
    }

    .main_slider .owl-prev,
    .main_slider .owl-next {
        width: 32px;
        height: 32px;
    }

    .main_slider .owl-dots {
        bottom: 6px;
    }
}

@media only screen and (min-width: 767px) and (max-width: 991px) {
    .main-header {
        /* Previous Phase 3 draft switched tablets to a drawer whose legacy sizing only exists below 767px. */
        /* UI Redesign: honor the application's established tablet shell with a compact commerce toolbar. */
        display: block;
    }

    .mobile-header,
    .mobile-search {
        display: none;
    }

    .logo-area {
        padding: 12px 0;
    }

    .logo-header {
        display: grid;
        grid-template-columns: 138px minmax(240px, 1fr) auto;
        gap: 12px;
    }

    .main-logo,
    .main-logo img {
        width: 138px;
        max-width: 138px;
        height: 46px;
    }

    .main-search {
        display: block;
        width: 100%;
    }

    .main-search form {
        height: 46px;
    }

    .main-search form button {
        width: 40px;
        height: 38px;
    }

    .header-list-items {
        display: block;
    }

    .header-list-items ul {
        gap: 6px;
    }

    .header-list-items ul li a,
    .header-list-items .cart-dialog > a {
        width: 42px;
        min-height: 42px;
        padding: 6px;
        justify-content: center;
    }

    .header-list-items ul li .header-action-copy {
        display: none;
    }

    .catagory_menu > ul {
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
    }

    .catagory_menu > ul::-webkit-scrollbar {
        display: none;
    }

    .catagory_menu > ul > li {
        flex: 0 0 auto;
    }
}
/*==== FRONTEND UI PHASE 3: RESPONSIVE HEADER & HERO END ==== */

/*==== FRONTEND UI PHASE 4: RESPONSIVE HOMEPAGE MERCHANDISING START ==== */
@media only screen and (max-width: 991px) {
    .home-categories-section {
        padding: 24px 0 28px !important;
        margin-bottom: 22px !important;
    }

    .featured-product-section {
        padding: 28px 0 32px !important;
    }

    section.homeproduct.home-categories-section .section-title-header .section-title-name,
    section.homeproduct.featured-product-section .section-title-header .section-title-name,
    section.homeproduct.category-product-section .section-title-header .section-title-name {
        font-size: 22px;
    }

    .home-categories-section .category-sliger .owl-item > div {
        border-radius: 15px;
    }

    .home-ad-section {
        padding: 22px 0;
    }

    .home-ad-grid,
    .home-ad-grid:has(.home-ad-item:nth-child(3)) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 12px;
    }

    .home-ad-grid:has(.home-ad-item:nth-child(3)) .home-ad-item:first-child {
        grid-row: auto;
        grid-column: 1 / -1;
    }

    .home-ad-grid:has(.home-ad-item:nth-child(3)) .home-ad-item:first-child img {
        aspect-ratio: 3 / 1;
    }

    .customer-review-section {
        padding: 32px 0 !important;
    }
}

@media only screen and (max-width: 575px) {
    .home-categories-section,
    .featured-product-section,
    .customer-review-section {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .home-categories-section .sec_title,
    .featured-product-section .sec_title,
    .customer-review-section .sec_title {
        margin-bottom: 16px;
    }

    .home-categories-section .section-title-header,
    .featured-product-section .section-title-header {
        min-height: 38px;
    }

    .home-categories-section .timer_inner,
    .featured-product-section .timer_inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    section.homeproduct.home-categories-section .section-title-header .section-title-name,
    section.homeproduct.featured-product-section .section-title-header .section-title-name,
    section.homeproduct.category-product-section .section-title-header .section-title-name {
        min-height: 34px;
        padding-left: 14px;
        font-size: 19px;
    }

    section.homeproduct.home-categories-section .section-title-header .section-title-name::before,
    section.homeproduct.featured-product-section .section-title-header .section-title-name::before,
    section.homeproduct.category-product-section .section-title-header .section-title-name::before {
        top: 6px;
        width: 4px;
        height: 22px;
    }

    .home-categories-section .category-sliger .owl-item > div {
        padding: 8px;
        border-radius: 13px;
    }

    .home-categories-section .category-sliger .owl-item img {
        padding: 6px;
        border-radius: 11px;
    }

    .home-categories-section .category-sliger .text-center:last-child {
        padding-top: 7px;
    }

    .featured-product-section .product_item {
        border-radius: 13px;
    }

    .featured-product-section .pro_des {
        padding-right: 10px;
        padding-left: 10px;
    }

    .featured-product-section .pro_btn {
        padding: 0 9px 9px;
    }

    .home-ad-section {
        padding: 18px 0;
    }

    .home-ad-section .container {
        padding-right: 10px;
        padding-left: 10px;
    }

    .home-ad-grid,
    .home-ad-grid:has(.home-ad-item:nth-child(3)) {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .home-ad-grid:has(.home-ad-item:nth-child(3)) .home-ad-item:first-child {
        grid-column: auto;
    }

    .home-ad-item {
        border-radius: 13px;
    }

    .home-ad-item img {
        min-height: 96px;
    }

    .customer-review-title {
        font-size: 20px;
        line-height: 1.35;
    }

    .customer-review-card {
        padding: 5px;
        border-radius: 13px;
    }
}
/*==== FRONTEND UI PHASE 4: RESPONSIVE HOMEPAGE MERCHANDISING END ==== */

/*==== FRONTEND UI PHASE 5: RESPONSIVE CATALOG & FILTERS START ==== */
@media only screen and (max-width: 1199px) {
    .catalog-page--filtered .category-product.main_product_inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .catalog-page--simple .category-product.main_product_inner {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 991px) {
    .catalog-page {
        padding: 22px 0 42px;
    }

    .catalog-page .sorting-section {
        padding: 14px;
        border-radius: 14px;
    }

    .catalog-page .category-breadcrumb strong {
        font-size: 16px;
    }

    .catalog-page .showing-data {
        justify-content: flex-start;
    }

    .catalog-page .filter_sidebar > form {
        top: 12px;
    }

    .catalog-page--filtered .category-product.main_product_inner,
    .catalog-page--simple .category-product.main_product_inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}

@media only screen and (max-width: 767px) {
    .catalog-page {
        padding: 14px 0 34px;
    }

    .catalog-page > .container {
        padding-right: 10px;
        padding-left: 10px;
    }

    .catalog-page .sorting-section {
        margin-bottom: 16px;
        padding: 12px;
        border-radius: 13px;
    }

    .catalog-page .sorting-section > .row {
        gap: 10px;
    }

    .catalog-page .sorting-section > .row > [class*="col-"] {
        width: 100%;
    }

    .catalog-page .category-breadcrumb {
        min-height: 36px;
    }

    .catalog-page .category-breadcrumb::before {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        font-size: 12px;
    }

    .catalog-page .sorting-section .col-sm-6 > .row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }

    .catalog-page .sorting-section .col-sm-6 > .row > .col-sm-6 {
        width: auto;
        min-width: 0;
        padding: 0;
    }

    .catalog-page .showing-data {
        min-height: 42px;
    }

    .catalog-page .showing-data span {
        font-size: 11px;
    }

    .catalog-page .filter_sort {
        gap: 6px;
    }

    .catalog-page .page-sort {
        width: min(170px, 48vw);
    }

    .catalog-page .filter_sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        z-index: 100000;
        width: min(88vw, 360px);
        height: 100vh;
        display: block;
        padding: 0 12px 18px;
        background: #f7f9f8;
        box-shadow: 20px 0 46px rgba(16, 24, 40, 0.2);
        overflow-y: auto;
        transition: left 0.25s ease;
    }

    .catalog-page .filter_sidebar.active {
        left: 0;
    }

    .catalog-page .filter_close {
        position: sticky;
        top: 0;
        z-index: 3;
        display: flex;
        margin: 0 -12px 14px;
        background: #fff;
    }

    .catalog-page .filter_sidebar > form {
        position: static;
    }

    .catalog-page--filtered .category-product.main_product_inner,
    .catalog-page--simple .category-product.main_product_inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .catalog-page--filtered > .container > .row > .col-sm-9 {
        width: 100%;
    }

    .catalog-page .product_item {
        border-radius: 13px;
    }

    .catalog-page .pro_des {
        padding-right: 10px;
        padding-left: 10px;
    }

    .catalog-page .pro_btn {
        padding: 0 9px 9px;
    }

    .catalog-page .custom_paginate {
        margin-top: 24px;
        overflow-x: auto;
    }

    .catalog-page .pagination {
        min-width: max-content;
        padding-bottom: 4px;
    }
}

@media only screen and (max-width: 359px) {
    .catalog-page .category-product.main_product_inner {
        gap: 8px;
    }

    .catalog-page .page-sort {
        width: 146px;
    }

    .catalog-page .page-sort .form-select {
        padding-left: 9px;
        font-size: 10px;
    }
}
/*==== FRONTEND UI PHASE 5: RESPONSIVE CATALOG & FILTERS END ==== */

/*==== FRONTEND UI PHASE 6: RESPONSIVE PRODUCT DETAIL START ==== */
@media only screen and (max-width: 991px) {
    .homeproduct.main-details-page {
        padding: 22px 0 32px;
    }

    .main-details-page .product-detail-shell > .container > .row {
        --bs-gutter-x: 18px;
    }

    .main-details-page .product-gallery-column {
        position: static !important;
    }

    .main-details-page .details_slider,
    .main-details-page .product-purchase-panel {
        border-radius: 16px;
    }

    .main-details-page .details_slider .dimage_item {
        padding: 24px;
    }

    .main-details-page .product-purchase-panel {
        padding: 20px;
    }

    .main-details-page .product-contact-actions {
        grid-template-columns: 1fr;
    }

    .main-details-page .product-contact-actions a {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .main-details-page .product-cart .name {
        font-size: 25px;
    }

    .main-details-page .details-price #newPrice {
        font-size: 25px;
    }

    .description-nav-wrapper .desc-nav-ul {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .description-nav-wrapper .desc-nav-ul::-webkit-scrollbar {
        display: none;
    }

    .description-nav-wrapper .desc-nav-ul li {
        flex: 0 0 auto;
    }

    .pro_details_area {
        padding: 30px 0 36px;
    }

    .related-product-section {
        padding: 34px 0 44px;
    }
}

@media only screen and (max-width: 767px) {
    .homeproduct.main-details-page {
        padding: 12px 0 26px;
    }

    .main-details-page > .container,
    .description-nav-wrapper > .container,
    .pro_details_area > .container,
    .related-product-section > .container {
        padding-right: 10px;
        padding-left: 10px;
    }

    .main-details-page .product-detail-shell > .container > .row {
        --bs-gutter-x: 0;
        gap: 14px;
    }

    .main-details-page .product-gallery-column,
    .main-details-page .product-info-column {
        width: 100%;
        padding: 0;
    }

    .main-details-page .details_slider {
        border-radius: 14px;
    }

    .main-details-page .details_slider .dimage_item {
        padding: 18px;
    }

    .main-details-page .product-details-discount-badge {
        top: 10px;
        left: 10px;
    }

    .main-details-page .indicator_thumb {
        gap: 7px;
        margin-top: 8px;
    }

    .main-details-page .indicator_thumb .indicator-item {
        width: 62px;
        height: 62px;
        flex-basis: 62px;
        padding: 5px;
        border-radius: 9px;
    }

    .main-details-page .product-purchase-panel {
        padding: 17px 14px;
        border-radius: 14px;
    }

    .main-details-page .breadcrumb {
        margin-bottom: 10px;
    }

    .main-details-page .product-cart .name {
        margin-bottom: 10px;
        font-size: 22px;
    }

    .main-details-page .details-price {
        padding: 10px 12px;
    }

    .main-details-page .details-price #newPrice {
        font-size: 23px;
    }

    .main-details-page .details-ratting-wrapper {
        align-items: center;
    }

    .main-details-page .all-reviews-button {
        margin-left: 3px;
    }

    .main-details-page .product-meta-item {
        margin-right: 4px;
        padding: 6px 8px;
    }

    .main-details-page .pro-color,
    .main-details-page .pro-size {
        padding: 12px;
    }

    .main-details-page .single_product {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .main-details-page .product-contact-actions {
        grid-template-columns: 1fr;
    }

    .description-nav-wrapper {
        position: relative;
        top: auto;
    }

    .description-nav-wrapper .desc-nav-ul {
        min-height: 52px;
        gap: 5px;
        padding: 5px 0;
    }

    .description-nav-wrapper .desc-nav-ul li a {
        min-height: 40px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .pro_details_area {
        padding: 22px 0 28px;
    }

    .pro_details_area .details-action-box,
    .pro_details_area .pro_vide {
        margin-bottom: 12px;
        padding: 17px 14px;
        border-radius: 14px;
    }

    .pro_details_area .details-action-box h2,
    .pro_details_area .pro_vide h2,
    .pro_details_area .section-head h2 {
        font-size: 20px;
    }

    .pro_details_area .description,
    .pro_details_area .description p,
    .pro_details_area .description li {
        font-size: 14px;
        line-height: 1.72;
    }

    .pro_details_area .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .related-product-section {
        padding: 28px 0 36px;
    }

    .related-product-section .related-title h5 {
        font-size: 21px;
    }

    .related-product-section .related-title h5::before {
        top: 2px;
        height: 22px;
    }

    .related-product-section .related_slider .owl-prev,
    .related-product-section .related_slider .owl-next {
        width: 40px;
        height: 40px;
        line-height: 38px;
    }

    .related-product-section .related_slider .owl-prev {
        left: 5px;
    }

    .related-product-section .related_slider .owl-next {
        right: 5px;
    }
}
/*==== FRONTEND UI PHASE 6: RESPONSIVE PRODUCT DETAIL END ==== */

/*==== FRONTEND UI PHASE 7: RESPONSIVE COMMERCE & ACCOUNT START ==== */
@media only screen and (max-width: 991px) {
    .auth-experience .form-content { grid-template-columns: 1fr 1fr; }
    .auth-story { padding: 38px; }
    .auth-form-panel { padding: 34px; }
    .account-experience .customer-content { padding: 24px; }
    .transaction-page .cart-summary { position: static; margin-top: 20px; }
}

@media only screen and (max-width: 767px) {
    .transaction-page,
    .auth-experience,
    .account-experience { padding: 22px 0 44px; }
    .transaction-page > .container,
    .auth-experience > .container,
    .account-experience > .container { padding-right: 10px; padding-left: 10px; }
    .transaction-page-head,
    .account-page-head { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 20px; }
    .transaction-page-head h1 { font-size: 30px; }
    .transaction-back,
    .account-edit-action { width: 100%; }
    .transaction-page .vcart-inner { padding: 14px; border-radius: 15px; }
    .transaction-page .vcart-content .table-responsive { overflow: visible; }
    .transaction-page .vcart-content table,
    .transaction-page .vcart-content tbody,
    .transaction-page .vcart-content tr,
    .transaction-page .vcart-content td { display: block; width: 100%; }
    .transaction-page .vcart-content table { min-width: 0; }
    .transaction-page .vcart-content thead { display: none; }
    .transaction-page .vcart-content tr { position: relative; display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 7px 12px; padding: 14px 42px 14px 0; border-bottom: 1px solid #e8ede9; }
    .transaction-page .vcart-content tr:last-child { border-bottom: 0; }
    .transaction-page .vcart-content td { padding: 0; border: 0; }
    .transaction-page .vcart-content td:first-child { grid-row: 1 / 5; }
    .transaction-page .vcart-content td:nth-child(2),
    .transaction-page .vcart-content td:nth-child(3),
    .transaction-page .vcart-content td:nth-child(4),
    .transaction-page .vcart-content td:nth-child(5) { grid-column: 2; }
    .transaction-page .vcart-content td:nth-child(6) { position: absolute; top: 12px; right: 0; width: 36px; }
    .transaction-page .vcart-content .cart-empty-row { display: block; padding: 0; }
    .transaction-page .vcart-content .cart-empty-row td { display: block; width: 100%; }
    .transaction-page .vcart-content .cart-empty-state { width: 100%; padding: 38px 12px; }
    .transaction-page .vcart-content img { width: 82px; height: 92px; }
    .transaction-page .cart_name { min-width: 0; }
    .transaction-page .coupon-form form { width: 100%; }
    .transaction-page .cart-summary { border-radius: 15px; }
    .auth-experience .form-content { display: block; min-height: 0; border-radius: 18px; }
    .auth-story { min-height: 300px; padding: 34px 24px; }
    .auth-story h1 { font-size: 34px; }
    .auth-story > p { margin: 15px 0 20px; font-size: 14px; }
    .auth-benefits span { padding: 7px 9px; font-size: 10px; }
    .auth-form-panel { padding: 28px 20px; }
    .auth-experience .auth-title { font-size: 22px; }
    .checkout-assurance { display: none; }
    .checkout-experience .checkout-shipping .card-body { padding: 16px; }
    .account-experience .customer-sidebar { position: static; margin-bottom: 14px; }
    .account-experience .customer-content { min-height: 0; padding: 20px 15px; border-radius: 15px; }
    .account-detail-grid { grid-template-columns: 1fr; }
    .account-detail-card--wide { grid-column: auto; }
    .account-page-head h1 { font-size: 27px; }
    .account-experience .table-responsive { border-radius: 11px; }
}

@media only screen and (max-width: 359px) {
    .auth-story { padding: 28px 18px; }
    .auth-story h1 { font-size: 30px; }
    .auth-form-panel { padding: 24px 16px; }
    .account-detail-card { padding: 15px; }
}
/*==== FRONTEND UI PHASE 7: RESPONSIVE COMMERCE & ACCOUNT END ==== */
