@media only screen and (max-width: 768px) {
    /* premium-welcome-modal */
    #premium-welcome-modal .modal-body{
        padding: 35px !important;
    }


    /* carts */
       .carts-page  .carts > div{
        padding: 0 7px 11px 7px !important;
       }
    .carts-page  .carts h4
 {
        font-size: 14px !important;
     
    }
          .carts-page  .carts span{
   padding: 7px  !important;
   font-weight: normal;
           font-size: 11px !important;

          }
      .carts-page .empty-icon-wrapper {
    width: 80px !important;
    height: 80px !important;
    }
      .carts-page .empty-icon-wrapper i{
            font-size: 35px !important;

    }
      .carts-page .btn-start-shopping {
margin-top: 41px !important;

    }




    /* loginModal */
    #loginModal{
            width: 93%;
    margin: auto;
    left: 15px;
    }
      #loginModal .modal-content{
    padding: 10px 0 !important;

    }

    /* .promotional-banners-stack */
    .promotional-banners-stack{
            margin: 34px 0 0 0 !important;
    }
    .collection-banner-content{
      overflow: unset;
    }
    .collection-banner-content h2{
        padding: 0 8px 0px 0 !important;
        font-size: 18px;
    }
    .collection-banner-content .text-section{
      padding: 0;
    }
    
    .collection-banner-content img{
      border-radius: 0 !important;
    }
    .collection-banner-content img{
      height: 140px;
    }

.best-seller .section-title{
      top: 5px;
}
    .best-seller::after{
          top: 200px;
          height: 84%;
    }
    .best-seller-modern .card .border-action-new{
      left: 0;
    }
      .best-seller-modern .card .border-action-new2{
      left: 0;
      bottom: -40px !important;
      width: 107% !important;
    }

    .promotional-banners-stack .container-fluid{
      margin: 0;
      padding: 0;
    }
    /* .collection-product-card{
      border-radius: 0 !important;
    } */
  .collection-product-card .card-inner{
    padding: 0;
  }
  .best-seller-modern .card{
    /* border-radius: 0 !important;
    overflow: unset !important; */
    border-radius: 10px !important;
  }
  .collection-product-card .icons{
    position: unset;
  }
  .collection-product-card .card-img-top{
    margin: 0;
  }
  .collection-product-card .card-header-top{
    justify-content: flex-start !important;
    direction: ltr !important;
    padding: 5px 0 5px 5px;
        border-bottom: 1px solid #eee;
  }
  .collection-product-card .icons i{
    font-size: 19px;
  }


  /* By Category */
  .category-page .products{
    width: 100%;
  }
  /* .category-page .products .row > div{
    padding: 5px !important;
  } */
  .category-page .dropdown-toggle{
        border-radius: 9px !important;
    padding: 5px 12px !important;
  }
  .category-page .dropdown-menu{
    padding: 10px;
  }
  .category-page .dropdown .dropdown-menu .search-element{
            padding: 11px 4px;
  }
  .search-element input{
    border-radius: 0;
    font-size: 13px;
        padding: 7px 20px;
  }
  .brands .element{
    border-radius: 0;
    padding: 0 10px;
  }

  /* =========================================
     Mobile Cart/Fav Item Card Modern Design 
     ========================================= */
    .mobile-cart-card-container {
        display: flex !important;
        align-items: stretch !important;
        background-color: #fff !important;
        padding: 8px !important;
        margin-bottom: 1rem !important;
        box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
        border-radius: 12px !important;
        border: 1px solid #f0f0f0 !important;
        position: relative !important;
        /* Default Flex Direction */
        flex-direction: row !important; 
    }

    /* 
       RTL SPECIFIC LOGIC:
       In RTL (Right-to-Left):
       - Flex Row Flow: Start is Right, End is Left.
       - Order 1 (First) -> Appears on Right.
       - Order 2 (Middle) -> Appears in Middle.
       - Order 3 (Last) -> Appears on Left.
       
       Target Visual: [Image (Right)] [Info (Middle)] [Controls (Left)]
       
       So:
       - Image -> Order 1
       - Info -> Order 2
       - Controls -> Order 3
    */

    /* Image Column */
    .mobile-col-image {
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        margin-inline-end: 8px !important; 
        width: 85px !important;
        order: 1 !important;
    }
    
    .mobile-col-image img {
        width: 85px !important;
        height: 85px !important;
        object-fit: cover !important;
        border-radius: 10px !important; 
        border: 1px solid #eee !important;
    }

    /* Info Column */
    .mobile-col-info {
        flex-grow: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        padding-inline: 5px !important;
        order: 2 !important;
    }

    /* Controls Column */
    .mobile-col-controls {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        align-items: flex-end !important; /* Left in RTL context */
        min-width: 30% !important;
        padding: 4px !important;
        order: 3 !important;
    }
    .mobile-col-controls .price {
    display: none !important;
    }
    /* Attributes Styling */
    .mob-card-title {
        font-weight: bold !important;
        color: #212529 !important;
        font-size: 13px !important;
        line-height: 1.3 !important;
        margin-bottom: 6px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .mob-card-brand {
        font-size: 10px !important;
        letter-spacing: 1px !important;
        color: #6c757d !important;
        text-transform: uppercase !important;
        font-weight: bold !important;
    }

    .mob-card-price-new {
        font-weight: bold !important;
        color: #dc3545 !important;
        font-size: 15px !important;
    }
    
    .mob-card-price-old {
        font-size: 10px !important;
        text-decoration: line-through !important;
        color: #6c757d !important;
    }

    .mob-btn-edit {
        height: 22px !important;
        font-size: 10px !important;
        padding: 0 10px !important;
        border-radius: 50px !important;
        border: 1px solid #dee2e6 !important;
        background: #f8f9fa !important;
        color: #6c757d !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        margin: 5px 0 !important;
    }
    
    .mob-color-dot {
        width: 14px !important;
        height: 14px !important;
        border-radius: 50% !important;
        border: 1px solid #dee2e6 !important;
        display: inline-block !important;
    }

    .mob-qty-capsule {
        display: flex !important;
        align-items: center !important;
        border: 1px solid #dee2e6 !important;
        border-radius: 50px !important; 
        overflow: hidden !important;
        height: 30px !important;
        background: #fff !important;
    }

    .mob-qty-btn {
        border: 0 !important;
        background: transparent !important;
        height: 100% !important;
        padding: 0 10px !important;
        font-weight: bold !important;
        font-size: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #212529 !important;
    }

    .mob-qty-val {
        width: 25px !important;
        text-align: center !important;
        font-weight: bold !important;
        font-size: 13px !important;
        border-inline-start: 1px solid #dee2e6 !important;
        border-inline-end: 1px solid #dee2e6 !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .mob-fav-icon {
        font-size: 18px !important;
    }


    /* profile */
    .profile-page-prefix .icon-menu {
      gap: 0 !important;
    }
    .profile-page-prefix .icon-circle{
      width: 65px !important;
      height: 65px !important;
    }
    .profile-page-prefix .icon-circle img {
      width: 32px !important;
    }

    .app-steps .steps .step i {
      font-size: 17px !important;
    }
    a.badge.add-to-cart-btn{
      font-size: 16px;
    }
    #couponForm input {
      font-size: 12px !important;
    }
    .coupon-bg-image{
          object-fit: fill !important;

    }
    .empty-icon{
          font-size: 45px;
    width: 70px;
    height: 70px;
    }
    .empty-title
    {
          font-size: 18px;

    }
    .empty-subtitle
    {
          font-size: 12px;

    }
    .empty-products-card{
          padding: 22px 14px;

    }
    .single-product .product-details{
      padding:  6px !important;
    }
    .product-gallery{
      flex: 0 !important;
    }
    body .product-gallery{
      gap: 0 !important;
    }
}