@media (max-width: 768px) {
  .sidebar-overlay{
    display: none !important;
  }
  .home {
    display: none;
  }
  .home-for-mobile {
    margin: 0;
    padding: 0;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
    box-sizing: inherit;
    display: block;
  }
  .sidebar-overlay {
    display: block;
  }
  .sidebarall{
    display: block;
  }
  .header-for-phone {
    background-color: #232f3e;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* direction: rtl; */
    width: 100%;
    box-sizing: border-box;
  }
  .header-top-for-phone {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 12px 5px 12px;
  }
  .header-top-for-phone a {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
  }
  .menu-icon i {
    margin-inline-end: 40px;
    font-size: 22px;
    color: #fff;
  }
  .logo-for-phone img {
    margin-inline-end: 60px;
    height: 30px;
    object-fit: contain;
  }
  .user-cart-for-phone a > div {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .user-cart-for-phone p {
    font-size: 15px;
    color: #ffffff;
    white-space: nowrap;
  }
  .user-cart-for-phone .user-icon i {
    font-size: 20px;
  }
  .cart-for-phone .cart {
    position: relative;
    padding: 0 20px;
  }
  .cart-for-phone .cart-icon i {
    font-size: 22px;
  }
  .cart-for-phone .cart-count {
    position: absolute;
    top: -12px;
    inset-inline-start: -5px;
    background-color: transparent;
    color: #f08804;
    font-weight: bold;
    font-size: 14px;
  }
  .search-bar-for-phone {
    display: flex;
    padding: 5px 12px 10px 12px;
  }
  .search-bar-for-phone input {
    flex: 1;
    height: 44px;
    border: none;
    padding: 0 12px;
    font-size: 15px;
    outline: none;
    background-color: #ffffff;
  }
  .search-bar-for-phone button {
    width: 50px;
    height: 44px;
    background-color: #ffb74d;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .search-bar-for-phone button i {
    font-size: 18px;
    color: #111;
  }
  .navbar-for-phone {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 8px 12px;
    background-color: #37475a;
    scroll-behavior: smooth;
  }
  .navbar-for-phone::-webkit-scrollbar {
    display: none;
  }
  .navbar-for-phone a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 3px;
  }
  .navbar-for-phone a i {
    font-size: 10px;
    color: #ccc;
  }
  .location-bar-for-phone {
    display: flex;
    align-items: center;
    background-color: #293847;
    padding: 8px 12px;
    gap: 8px;
  }
  .location-bar-for-phone i.fa-location-dot {
    color: #ffffff;
    font-size: 15px;
  }
  .location-bar-for-phone p {
    color: #ffffff;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
  }
  .location-bar-for-phone i.fa-chevron-down {
    font-size: 10px;
    color: #ffffff;
  }
  .main-content-phone section {
    display: flex;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
  }
  .main-content-phone {
    padding: 10px;
    /* direction: rtl; */
    font-family: sans-serif;
    width: 100%;
    box-sizing: border-box;
  }
  .banners-carousel {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100%;
  }
  .banners-carousel::-webkit-scrollbar {
    display: none;
  }
  .banners-carousel img {
    width: 85%;
    height: 450px;
    flex-shrink: 0;
    scroll-snap-align: start;
    border-radius: 12px;
    object-fit: cover;
  }
  .offer-one, .offer-two {
    width: 94%;
    height: 450px;
    padding: 15px;
    border-radius: 8px;
    box-sizing: border-box;
  }
  .offer-one {
    background-color: #10cc64; 
  }
  .offer-two {
    background-color: #004b87; 
  }
  .offer-one h2, .offer-two h2 {
    color: #000000;
    font-size: 22px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: right;
  }
  .offer-two h2 {
    color: #ffffff;
  }
  .grid-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
  }
  .grid-images .img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .grid-images .item img {
    width:130px;
    height: 150px;
    object-fit: contain;
  }
  .grid-images .discount-badge {
    background-color: #cc0c39;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    align-self: flex-start;
    margin-top: 5px;
  }
  .mid-for-phone{
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .mid-for-phone p{
    font-size: 20px;
    font-weight: bold;
    text-align: right;
  }
  .mid-for-phone button{
    background-color: #f0c504e3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
  }
  .mid-for-phone a{
    text-decoration: none;
    color: #007185;
    font-size: 16px;
  }
  .categories-for-phone {
    display: grid;
    grid-template-rows: repeat(2, auto); 
    grid-auto-flow: column; 
    grid-auto-columns: 85px; 
    gap: 15px 10px;
    overflow-x: auto;
    padding: 15px 10px;
    background-color: #ffffff;
    /* direction: rtl; */
    -webkit-overflow-scrolling: touch;
  }
  .categories-for-phone::-webkit-scrollbar {
    display: none;
  }
  .category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
  }
  .category-item img {
    width: 60px; 
    height: 60px;
    object-fit: contain; 
    margin-bottom: 6px;
  }
  .category-item p {
    font-size: 13px;
    color: #111111;
    margin: 0;
    font-weight: 500;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
  }
  .product-for-you-phone {
    background-color: #ffffff;
    padding: 15px 0;
    width: 100%;
    font-family: sans-serif;
  }
  .product-for-you-phone h2 {
    font-size: 20px;
    font-weight: bold;
    color: #111111;
    margin-bottom: 15px;
    margin-top: 0;
  }
  .price-product-for-phone {
    display: flex;
    gap: 8px;
    margin: 0 6px;
    overflow-x: auto;
    padding-bottom: 15px;
  }
  .price-product-for-phone::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    background-color: #ffffff;
    border: 1px solid #c2c5c5;
    border-radius: 6px;
    padding: 4px 4px;
    font-weight: bold;
    font-size: 14px;
    color: #0f1111;
    white-space: nowrap;
    cursor: pointer;
  }
  .filter-btn i {
    font-size: 12px;
    margin-inline-end: 4px;
  }
  .home-for-mobile .product-grid-for-phone {
    padding-top: 10px;
    border-top: 1px solid #ddd;
    display: grid;
    grid-template-columns: repeat(2, 190px);
    gap: 0 12px  ;
  }
  .home-for-mobile .product-link{
    width: 180px;
    height: 300px;
    display: flex;
    text-decoration: none;
    z-index: 1;
  }
  .home-for-mobile .product-card {
    width: 180px;
    background-color: #ffffff;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    font-family: sans-serif;
 }
  .home-for-mobile .image-wrapper {
    width: 190px;
    position: relative;
    background-color: #f8f8f8;
    padding: 10px 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
 }
 .home-for-mobile .image-wrapper img {
    width: 170px;
    height: 180px;
 }
 .home-for-mobile .add-to-cart-btn {
    position: absolute;
    bottom: 15px;
    inset-inline-start: 135px;
    background-color: #ffd814;
    border: 1px solid #fcd200;
    color: #0f1111;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 30px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
 }
 .add-to-cart-btn:hover {
    background-color: #f7ca00;
 }
 .product-info {
    padding: 16px 8px 8px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
 }
 .product-title {
    font-size: 13px;
    color: #0f1111;
    font-weight: normal;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
 }
 .price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
 }
 .price-box {
    display: flex;
    align-items: flex-start;
    color: #0f1111;
 }
 .price-main {
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
 }
 .price-decimal {
    font-size: 11px;
    font-weight: 500;
    vertical-align: super;
    margin-top: 1px;
 }
 .currency {
    font-size: 12px;
    margin-inline-start: 4px;
    align-self: center;
 }
 .discount-badge {
    background-color: #cc0c39;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    direction: ltr;
 }
 .old-price {
    font-size: 12px;
    color: #565959;
    text-decoration: line-through;
    margin-top: -2px;
 }
 .bought-status {
    font-size: 11px;
    color: #565959;
    margin-top: 2px;
 }
 .fashion-section-mobile, .appliances-section-mobile {
    background-color: #ffffff;
    padding: 15px;
    margin-bottom: 10px;
    /* direction: rtl; */
    width: 100%;
    box-sizing: border-box;
 }
 .fashion-section-mobile h2, .appliances-section-mobile h2 {
    font-size: 18px;
    font-weight: bold;
    color: #111111;
    margin-top: 0;
    margin-bottom: 12px;
 }
 .fashion-grid-mobile {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
 }
 .fashion-item-mobile {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
 }
 .fashion-item-mobile .img-container {
    background: white;
    border-radius: 4px;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
 }
 .fashion-item-mobile img {
    width: 90%;
    height: 90%;
    object-fit: contain;
 }
 .fashion-item-mobile p {
    font-size: 13px;
    color: #111;
    margin: 6px 0 0 0;
 }
 .appliances-grid-mobile {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
 }
 .appliance-item-mobile {
  border: 1px solid #ddd;
    border-radius: 4px;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    box-sizing: border-box;
 }
 .appliance-item-mobile img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
 }
 .see-more-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 14px;
    color: #007185;
    text-decoration: none;
 }
 .footer-mobile {
    background-color: #232f3e;
    color: #ffffff;
    /* direction: rtl; */
    font-family: sans-serif;
    width: 100%;
    box-sizing: border-box;
 }
 .back-to-top {
    background-color: #37475a;
    padding: 8px;
    text-align: center;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
 }
 .back-to-top button {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 12px;
    cursor: pointer;
    font-weight: bold;
    
 }
 .footer-links-mobile {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 25px 15px;
    gap: 20px;
    background-color: #232f3e;
    border-bottom: 1px solid #3a4b5d;
 }
 .links-column-mobile {
    display: flex;
    flex-direction: column;
    gap: 14px;
 }
 .links-column-mobile a {
    color: #dddddd;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.3;
 }
 .footer-settings-mobile {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px 15px;
    background-color: #232f3e;
    border-bottom: 1px solid #3a4b5d;
 }
 .setting-item-mobile {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #ffffff;
 }
 .footer-bottom-mobile {
    background-color: #131a22;
    padding: 25px 15px;
    text-align: center;
 }
 .login-prompt {
    font-size: 14px;
    margin: 0 0 20px 0;
    color: #ffffff;
 }
 .login-prompt a {
    color: #ffffff;
    text-decoration: underline;
 }
 .legal-links-mobile {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
 }
 .legal-links-mobile a {
    color: #b1b3b6;
    text-decoration: none;
    font-size: 12px;
 }
 .copyright-text {
    font-size: 11px;
    color: #b1b3b6;
    margin: 0;
    line-height: 1.5;
 }
}