/* ==========================
   FOOTER ICONS
========================== */
.footer-mobile-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999999;
  background-color: #333;
  padding: 5px 0;
}
.footer-mobile-menu > div {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-mobile-menu > div > div {
  flex: 1;
  text-align: center;
}
.footer-mobile-menu a {
  color: #DFE2E6;
  text-decoration: none;
  font-weight: 300;
}
.footer-mobile-menu i {
  font-size: 25px;
  color: #DFE2E6;
}

/* ==========================
   MAIN MENU OVERLAY
========================== */
.mobilemenu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 92vh;
  background-color: #ffffff;
  z-index: 9999998;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
  box-sizing: border-box;
  display: none;
}
.mobilemenu.show {
  transform: translateY(0);
  display: block;
}
body.mobile-menu-open {
  overflow: hidden !important;
}
.menu-header {
  background-color: #e8d3ca;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000000;
  border-bottom: 1px solid #ddd;
}
.menu-header .menu-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}
.menu-header .close-menu i {
  font-size: 1rem;
  cursor: pointer;
}

/* Categories */
.category-list {
  list-style: none;
  padding: 0;
  margin: 0px;
}
.category-list li {
  margin-bottom: 0px;
}
.category-list li a {
  display: block;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f8f8f8;
  transition: background-color 0.3s;
}
.category-list li a:hover {
  background-color: #e0e0e0;
}
.category-list li a i {
  margin-right: 10px;
  font-size: .9rem;
  float:right;
  color: #5a5a5a;
}

/* View All Link */
.view-all-link {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  color: #0073aa;
  text-decoration: none;
}
.view-all-link i {
  margin-right: 5px;
}
.view-all-link:hover {
  text-decoration: underline;
}

/* Static links */
.static-links ul.navbar-nav {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.static-links ul.navbar-nav li {
  margin-bottom: 0px;
}
.static-links ul.navbar-nav li a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  /*border: 1px solid #ddd;*/
  /*border-radius: 4px;*/
  background-color: #f8f8f8;
  transition: background-color 0.3s;
}
.static-links ul.navbar-nav li a:hover {
  background-color: #e0e0e0;
}
.static-links ul.navbar-nav li a i {
    margin-right: 8px;
    font-size: .9rem;
    color: #535353;
}

/* Product Carousel */
.mobile-product-carousel-row {
  display: flex;
  overflow-x: auto;
  margin-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mobile-product-carousel-row::-webkit-scrollbar {
  display: none;
}
.mobile-product-carousel-row > div {
  flex: 0 0 auto;
  margin-right: 10px;
  width: 140px;
}

/* Loader */
#mobile-menu-loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.8);
  padding: 20px;
  border-radius: 50%;
  z-index: 1000000;
  display: none;
}
#mobile-menu-loader i {
  font-size: 2rem;
  animation: spin 1s linear infinite;
  color: #0073aa;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================
   BOTTOM SHEETS
========================== */
/* SHIFT THEM UP by 60px to avoid the footer overlap (adjust if your footer is different) */
.bottomsheet {
  position: fixed;
  left: 0;
  bottom: 80px; /* <<--- SHIFT UP to avoid overlapping the sticky footer */
  width: 100%;
  background: #fff;
  z-index: 9999998;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  display: none;
  box-shadow: -1px 2px 17px 0px #00000038;
}
.bottomsheet.show {
  transform: translateY(0);
  display: block;
}
.bottomsheet-body .aws-wrapper {
  border: 1px solid #ededed;
}
.bottomsheet-header {
  background: #ddd;
  border-bottom: 1px solid #ddd;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bottomsheet-title i {
  font-size: .9rem;
  margin-left:7px;
  position: relative;
  top: -1px;
}
.bottomsheet-title {
  font-weight: bold;
  font-size: 1.1rem;
  color: #333;
}
.bottomsheet-close i {
  font-size: .9rem;
  cursor: pointer;
}
.bottomsheet-body {
  padding: 15px;
  max-height: 70vh; /* scroll if needed */
  overflow-y: auto;
}

.bottomsheet-body a.nav-link {
    border-bottom: 1px solid #ddd;
}

/* Responsive */
@media (max-width: 767.98px) {
  .menu-header .menu-title {
    font-size: 1rem;
    text-align: center;
    width: 100%;
  }
  .category-list li a,
  .static-links ul.navbar-nav li a {
    font-size: 0.95rem;
  }
  .mobile-product-carousel-row > div {
    width: 120px;
  }
}
.footer-mobile-menu a {
  color: #cbc2bd!important;
}
#mobilemenu-backbtn {
  float:left;
}
.category-list .category-name {
  font-weight: 400!important;
}
.product-image-container3 img {
  margin-left: 20%
}
.mrchr {
  margin-right: 10px;
  font-size: .9rem;
  color: #5a5a5a;
}

/* Replace your existing .cart-count block with: */
#mobilecarttoggle {
  position: relative;
  display: inline-block;
}

#mobilecarttoggle .cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  width: 18px;
  height: 18px;
  background: #e74c3c;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
}
