 #footer-placeholder {
      margin-top: 1% !important;
      padding-top: 20px;
    }

    .hover-dropdown .dropdown-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: 100%;
  z-index: 1000;
  transition: opacity 0.2s ease-in-out;
}

.hover-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


    #checkoutSlideCaption {
      bottom: 40% !important;
      right: 30%;
      left: auto !important;
      width: 25% !important;
      text-align: right;
    }
    #checkoutSlideCaption .btn {
      border: 2px solid black;
      color: black;
      background-color: transparent;
      font-weight: 600;
      transition: background-color 0.3s ease, color 0.3s ease;
    }
    #checkoutSlideCaption .btn:hover {
      background-color: black;
      color: #FFD700;
    }
    /* Custom Dropdown Styling */
    #signInMenu {
      min-width: 220px;
      padding: 10px 0;
    }
    #signInMenu .dropdown-item {
      display: flex;
      align-items: center;
      padding: 10px 16px;
      font-size: 1rem;
    }
    .product-title {
      font-size: 1rem !important;
      font-weight: normal !important;
      font-family: Arial, sans-serif;
    }
    .icon-email { color: #6c757d; }
    .icon-google { color: #db4437; }
    .icon-facebook { color: #3b5998; }
    #oledCarouselCaption {
      top: 250px;
      left: 50%;
      width: 30%;
    }
    #suggestions {
      max-width: 500px;
      width: 100%;
      position: absolute;
      z-index: 1000;
      background-color: white;
      border: 1px solid #ddd;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      overflow: hidden;
    }

          #indicatorsRectangular {
    bottom: 2px !important; /* move closer to bottom on mobile */
  }




       #slideCounter { font-size: 0.85rem; right: 80px  !important; }

    @media (max-width: 1024px) {
      #footer-placeholder {
        margin-top: 10% !important;
        padding-top: 20px;
      }
      .carousel-caption {
        font-size: 14px;
      }
      .carousel-item img {
        max-height: 400px;
        height: auto;
        object-fit: cover;
      }
    }
    @media (max-width: 520px) {
      #footer-placeholder {
        margin-top: -10% !important;
        padding-top: 20px;
      }

 .favorite-btn {
    top: 2px !important;
    left: 4px !important;
    transform: scale(0.9);
  }


             #indicatorsRectangular {
    bottom: 2px !important; /* move closer to bottom on mobile */
  }



       #slideCounter { font-size: 0.85rem; right:40px  !important; }


         .carousel-item {
    transition-duration: 0.35s !important; /* Faster slide on mobile */
    transition-timing-function: ease-out !important; /* Smooth easing */
  }

      #suggestions {
        position: relative;
        top: 45px !important;
        left: 5px !important;
        max-width: 385px !important;
        width: 100vw !important;
        right: 10px;
      }
      #oledCarouselCaption {
        top: 165px;
        width: 60%;
        height: 20px;
        left: 37%;
      }
      #checkoutSlideCaption {
        bottom: 35% !important;
        right: 11%;
        height: 40px;
        left: auto !important;
        width: 80% !important;
        text-align: right;
      }
      .carousel-inner img {
        max-height: 300px;
      }
      #d-flexmx-auto .btn-group {
        display: flex;
        justify-content: space-between;
      }
      #d-flexmx-auto button {
        font-size: 16px;
        padding: 10px 0;
      }
      .product-title {
        font-size: 1rem;
        font-weight: normal;
        font-family: Arial, sans-serif;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 1.2rem;
        max-height: 2.4rem;
        max-width: 160px;
      }
    }
    .card-img-top {
      height: 200px;
      object-fit: cover;
      width: 100%;
    }
    #bestSellerItems,
    #topDealItems {
      margin-bottom: 5px;
    }
    .card-img-wrapper:hover .pc-image {
      transform: scale(1.05);
    }
    /* Position Pause/Play button */
    .carousel-inner {
      position: relative;
    }
    .carousel-overlay {
      position: absolute;
      bottom: 15px;
      right: 15px;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 10;
    }
    .square-btn {
      width: 40px;
      height: 40px;
      padding: 0;
      font-size: 18px;
      border-radius: 5px;
      display: flex;
      justify-content: center;
      align-items: center;
      transition: background-color 0.3s ease;
    }
    .btn-success {
      background-color: #28a745 !important;
      border-color: #28a745;
    }
    .btn-primary {
      background-color: #007bff !important;
      border-color: #007bff;
    }
    .paused {
      background-color: #dc3545 !important;
      border-color: #dc3545;
    }
    .bi {
      font-size: 20px;
    }
    .square-btn:hover {
      background-color: #17a2b8 !important;
    }


         #filterCard {
  position: relative !important;
  left: -5% !important;
  width: 340px !important;
  max-width: 400px !important;
  height: 98% !important;
  overflow-y: auto;          /* enable vertical scroll */
  overflow-x: hidden;        /* hide horizontal scroll */
  padding-right: 8px;
  box-sizing: border-box;    /* ensure padding doesn't expand width */
}



    @media (max-width: 576px) {
      .square-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
      }
      .carousel-overlay {
        bottom: 10px;
        right: 10px;
      }
      .carousel-inner img {
        max-height: 300px;
      }
    }
    @media (max-width: 768px) {
      .square-btn {
        position: relative !important;
        left: -10% !important;
        width: 38px;
        height: 38px;
        font-size: 17px;
      }
    }