/** ============================== **/
/**         HOME PAGE STYLES       **/
/** ============================== **/

html, body, main {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}


/* Layout Wrapper */
#d-flexmx-auto {
    position: absolute;
    left: 11.5%;

    width: 60%;
}

/* Main content area */
#mainContent {
    margin-top: 20px;
}

/* ============================== */
/*        THUMBNAIL STYLES       */
/* ============================== */

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
}

.-container {
    position: relative;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    color: white;
    display: none;
}

.thumbnail-container:hover .play-button {
    display: block;
}

/* ============================== */
/*        SUBSCRIBE FORM         */
/* ============================== */

#subscribeForm {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background-color: #fff;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

#subscribeForm input {
    width: 200px;
    padding: 5px;
}

#subscribeForm button {
    padding: 5px 10px;
}

/* ============================== */
/*          PRODUCT IMAGE        */
/* ============================== */

.card-img-top {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

/* ============================== */
/*          LOGIN LINKS          */
/* ============================== */

#loggedInLinks {
    display: none;
    position: absolute;
    top: 10%;
    left: 80%;
    height: 40%;
}

#loggedOutLinks {
    display: flex;
    position: absolute;
    top: 10%;
    left: 85%;
    width: 140px;
}

#logoutLink {
    position: absolute;
    left: -5%;
    width:100%;
    top: 20px;
    text-align: center;
    height: 28px;
}

/* ============================== */
/*      CAROUSEL STYLING        */
/* ============================== */

/* Carousel layout for product items */
.carousel-item .col-md-2 {
    flex: 1;
    margin: 0 5px;
}

/* Centered carousel on large screens */
#carouselExampleCaptions {
    width:75%;
    margin-left: 12.5%;
    margin-right: 15%;
    height: 360px !important;
}

 #signinSection
     {
         position:relative !important;
         top: -25px !important;
         width:70% !important;
         left:150px !important;
     }

  #signinSectionHome
     {
         position:relative !important;
         top: -25px !important;
         width:70% !important;
         left:150px !important;
     }

#descriptionHeading
{
   position:relative !important;
    top:35px !important;
        left:-8% !important
}


  div[id^="savedItem-"] {
    min-height: 200px;  /* Ensures the height is at least 300px */
    height: auto;       /* Allows the height to grow based on content */
}

     #description_for_product {
  height: 350px !important; /* or any value you want */
          top:45px !important;
        width:500px !important;
        position:relative !important;
        left:-8% !important;

}



 #signInMenu
 {
     position:relative;
     left:-100%;
     border-radius:10px;
 }


    #cartDropdown {
        position: relative !important;
        top: 7px !important;
        left: 45% !important;
        padding: 8px;
        border-radius: 8px;
    }

        #hrAfterTopDeals
{
    position:relative !important; left:15% !important;  top:20px;  width:70% !important; color: black;
}

       #shopProductSection
       {

       }

         #mainImage {
             position:relative;
             left:15px;
        width: 100% !important;
             background-color: white;
        height: auto;
        max-height: 500px;
        object-fit: contain;
    }



@media (max-width: 1024px) {

    #bestSellerContainer
    {
     width:100% !important;
    }

     #topDealsContainer
    {
width:100% !important;
    }


#clearanceContainer
{

width:90% !important;
}


#clearanceProducts
{
    position:relative;
    left:-5%;
    width:90%;
}


#macbookHardCasesContainer {
  width: 90% !important;
}


#iphoneCasesContainer {
  width: 90% !important;
}

  #iphoneCasesProducts
{
    position:relative;
    left:-5%;
    width:90%;
}


#hrAfterCarAccessories
{
    position: relative; top: -20px !important; left:5%;   width:100%; color: black;
}




    #signInButton {
            position:relative;
            top:10px;
            left:-40% !important;
            width: 100% !important;
            text-align: center !important;
        }


     #loggedInLinks {
        position: absolute !important; /* Stack vertically */
        top: -1px !important; /* Remove absolute positioning */
        left: 72% !important;
       /*/ display:none !important;*/
        margin-top: 10px; /* Add margin to separate from top */ /* Display the logged-in links */
    }



     .product-details
{
    margin-top:5% !important;
}




          #extraDescriptionSection
          {
              position:relative !important; width: 100%; height: auto;
          }


      #logoutLink {
            position:absolute !important;
            top:15px !important;
            left:10% !important;
            display: block !important;
            width: 100% !important;
            height:30px;
            text-align: center !important;
            margin-top: 5px !important;
        }

    #favouriteBtn {
  position: absolute !important;
    background:none;
  top: 10px !important;
  left: -20px !important;
  z-index: 10;
}

    #favoriteCount {
  position: absolute !important;
  top: 10px !important;
  left: -18px  !important;
  z-index: 10;
  font-weight: bold;
}

     #feedback-summary {
         display:none;
        position: absolute  !important;
        top: 1000px !important; /* Use top, not margin */
        left: 29% !important;
    }




       #relatedProductsCarousel {
    border:none;
      position:relative !important;
        margin-top:8% !important;
      top:30px;
        width: 100%;
        bottom: 20px; /* Position from the bottom of the page */
        right: 20px; /* Position from the right side of the page */
      height:40%;
      object-fit: contain;
}

     #my-custom-btn
     {
         position:relative !important;
         left:40px !important;

     }
       #cartDropdown {
        position: relative !important;
        top: 68px !important;
        left: -20% !important;
        padding: 8px;
        border-radius: 8px;
    }


    #loggedOutLinks {
        position: absolute !important; /* Stack vertically */
        left:60px !important;
        top:-1px !important;
        width: 100px; /* Adjust width */
        display: flex !important;  /* Display the logged-out links */
        margin-top: 10px; /* Add margin to separate from top */
    }

  #bestSellerItems .carousel-item img,
#topDealItems .carousel-item img,
#customBuiltItems .carousel-item img,
#clearanceItems .carousel-item img {
    width: 100% !important;
    object-fit: contain;
    margin: 0 2%;
    padding: 2px;
}

#bestSellerItems .carousel-item img,
    #topDealItems .carousel-item img,
    #customBuiltItems .carousel-item img {
        width: 40%; /* Show 2 images per slide on mobile */
         padding-left: 2px;
        padding-right: 2px;
    }





#bestSellersProducts
{
    position:relative;
    left:2% !important;
    width:90% !important;
}

#bestSellersProductsHeading
{
    position:relative;
    left:2% !important;
}


#topDealsProductsHeading
{
     position:relative;
    left:2% !important;
}

#carAccessoriesHeading
{
     position:relative;
    left:2% !important;
}



#topDealsProducts
{
    position:relative;
    left:2%  !important;
    width:90% !important;
}

 #carAccessoriesContainer
    {
        position: relative; top: -100px; width:95% !important;  height:400px; color: black;

    }

#carAccessoriesProducts
{
    position:relative;
    left:2%  !important;
    width:90% !important;
}



  #removeButtonCart
    {
        position:relative;
        top:98px;
        left:-75%;
        width:150px !important;
    }


    #saveButtonCart
    {
position:relative;
        top:98px;
        left:-75%;
        width:150px !important;
    }

       /* Layout Wrapper */
/* Layout Wrapper */
#d-flexmx-auto {
    position: absolute;
    left: 16.5%;

    width: 52%;
}


}



@media (max-width: 926px) and (orientation: landscape) {

      #shareDropdownWrapper {
          position:relative !important;
       top:-200px !important;
          left:-28% !important;
    max-width: 40% !important;
  }

         #searchForm{
          position: relative;
    left: 1%;
    width: 460px !important;

    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    }


          #searchButton
    {
      position:relative !important;
        left: 72% !important;
        top:-38.5px !important;
        width:20%;
        height:50% !important;
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
    }

    #searchButtonHome
    {
      position:relative !important;
        left: 71.5% !important;
        top:-40.5px !important;
        width:20%;
        height:49% !important;
    }


     #cartDropdown {
        position: relative !important;
        top: 68px !important;
        left: 770px !important;
        padding: 8px;
        border-radius: 8px;
    }

    #signinSection
     {
         position:relative !important;
         top: -195px !important;
         width:50% !important;
         left:10px !important;
     }

       #signinSectionHome
     {
         position:relative !important;
         top: -205px !important;
         width:50% !important;
         left:-100px !important;
     }

    #voiceSearchButton
    {
         position:relative !important;
        left:69% !important;
        border:none !important;
          top:-42px;
        height:39px;
        width:10% !important;
    }




               .custom-divider
{
    position:relative !important;
              left:-2% !important;
    top:30px !important; ;
    width:550px !important;
}

               #imageHint
    {
        position:relative;
        left:-45%;
    }


               #favouriteBtn {
  position: absolute !important;
    background:none;
  top: 5px !important;
  left:40% !important;
  z-index: 10;
}

               #favoriteCount {
  position: absolute !important;
  top: 10px !important;
  left:42%  !important;
  z-index: 10;
  font-weight: bold;
}





    #signInButton {
            position:relative !important;
            top:10px;
            left:-50% !important;
            width: 100% !important;
            text-align: center !important;
        }



#hrAfterBestSellers{
position: relative; border:0.5px solid grey !important; top: -40px !important; left:5%;   width:90% !important; color: black;
}


#hrAfterTopDeals{
position: relative; border:0.5px solid grey !important; top: -20px !important; left:5%;   width:90% !important; color: black;
}

#hrAfterClearance
{
 position: relative; top: -80px !important; left:5% !important;   width:90% !important; color: black;
}

#hrAfterMacbookHardCases
{
 position: relative; top: -20px !important; left:5% !important;   width:90% !important; color: black;
}

#hrAfterCarAccessories
{
    position: relative; top: 10px !important; left:5% !important;   width:90% !important; color: black;
}

#hrAfterIphoneCases
{
    position: relative; top: 10px !important; left:5% !important;   width:90% !important; color: black;
}



 #bestSellerContainer
    {
        position: relative; top: -40px; width:95% !important;  height:400px; color: black;

    }

   #bestSellersProducts
{
    position:relative;
    left:-5%;
    width:100% !important;
}



  #topDealsContainer
    {
        position: relative !important; top: -80px !important; width:95% !important;  height:400px; color: black;

    }

    #topDealsProducts
{
    position:relative;
    left:-5%;
    width:100% !important;
}




 #carAccessoriesContainer
    {
        position: relative; top: -60px; width:95% !important;  height:400px; color: black;

    }

   #carAccessoriesProducts
{
    position:relative;
    left:-5%;
    width:100% !important;
}




  #iphoneCasesContainer
    {
        position: relative; top: -100px; left:5%; width:95% !important;  height:400px; color: black;

    }

  #iphoneCasesProducts
{
    position:relative;
    left:2%;
    width:100% !important;
}



                    #hrLineBeforeFeedback {
    margin-top: 300px !important; /* Adjust value as needed */
}

     #hrAfterShareButton {
            position: relative !important;
            top: -150px !important;
            left: -3000px !important;
            width: 100px !important;
        }

     #extraDetails {
    position: relative !important;
    top: 50px !important;
  }

       #mainImage
        {
            position:relative !important;
            left:-130px !important;
           width:25% !important;
           border:none !important;
        }


   #shareDropdown {

        width:30% !important;  /* Narrow the button */
        left: 10px !important;   /* Move the button to the left */
        margin-top: 1rem !important;  /* Adjust margin for mobile */
        padding: 5px !important; /* Reduce padding */
    }

#description-wrapper {
    position: relative !important;
    top: -50px !important;
    display: flex !important;
    flex-direction: column !important;  /* Stack header and description vertically */
    justify-content: flex-start !important;
    width: 30% !important;  /* Reduce width of the wrapper */
    margin-right: 10px !important;
    left: -250px !important;  /* Move it further to the left, adjust as needed */
}

    /* Adjust the description text */
    #descriptionHeading {
          position:relative !important;
     top:-10px !important;
        left:-550px !important;
        font-size: 1.2rem !important;  /* Slightly reduce font size for landscape */
        margin-bottom: 1rem !important; /* Add some spacing between header and description */
    }

    #description_for_product {
          position:relative !important;
     top:-10px !important;
        left:-550px !important;
        width: 100% !important;  /* Make description fit within the wrapper */
        text-align: left !important;
        padding: 1rem !important;  /* Adjust padding to suit layout */
    }
}

@media (min-width: 992px) {
  #productDetails {
    height: 790px;
    overflow: hidden;
    margin-bottom: 20px;
  }
}

@media (max-width: 1560px) {
    #carouselExampleCaptions {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }


          #extraDetails
{
margin-top:50px !important;
}


    #description-wrapper {
    position:absolute !important;
    left: 10.5% !important;
    top:750px !important;
    width:30% !important;
  text-align: left ;
  padding: 0 1rem !important; /* Optional, add some horizontal padding */
}


     #shareDropdownWrapper {
         max-width: 40% !important;
           position:relative !important;
         left:-320px  !important;
  }

     #signinSection
     {
         position:relative !important;
         top: -25px !important;
         width:70% !important;
         left:65px !important;
     }

  #signinSectionHome
     {
         position:relative !important;
         top: -25px !important;
         width:70% !important;
         left:65px !important;
     }


        #hrAfterShareButton {
            position: relative !important;
            top: -40px !important;
            left: 135px !important;
            width: 40% !important;
        }


     #shareDropdown
    {
         position:relative !important;
       top:25px !important;
          left:-70% !important;
         width:100% !important;
    }



    #descriptionHeading
{
   position:relative !important;

        left:-30% !important
}


    #description_for_product {
  height: 350px !important; /* or any value you want */
        width:500px !important;
        position:relative !important;
        left:-30% !important;

}

    #thumbnailContainer {
  display: flex;
  flex-wrap: wrap; /* Allows wrapping for mobile */
  gap: 8px;
  overflow-x: auto; /* Enable horizontal scroll only if needed */
  overflow-y: hidden;
         z-index: 9999 !important; /* Make it appear above other content */
  padding: 8px 0;
  height: 170px; /* Height for desktop */
}



    .carousel-inner {
        width: 100% !important;
        height: 100%;
    }

    .carousel-item img {
        border-radius: 10px;
        object-fit: contain; /* Makes sure images cover the entire height and width */
        max-width: 100% !important;
        height: 85% !important;
        max-height: 90%; /* Ensures images take the full height of the carousel */
        transition: transform 0.3s ease-in-out;
    }

       .custom-divider
{
    position:relative !important;left:2% !important;
    margin: 7% auto !important;
    width:90% !important;
}

}



/* ============================== */
/* Devices: 1440px (15.6", 14")   */
/* ============================== */
@media (max-width: 1440px) {
     #carouselExampleCaptions {
      width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
    }



     #shareDropdownWrapper {
          position:relative !important;
       top:-280px !important;
          left:-23% !important;
    max-width: 40% !important;
  }


    #descriptionHeading
{
   position:relative !important;

        left:-45% !important
}

    #mainMediaContainer
    {
        position:relative;
        left:100px;
    }


    #description_for_product {
  height: 350px !important; /* or any value you want */
        width:500px !important;
        position:relative !important;
        left:-45% !important;

}




     #hrAfterBestSellers
{
    position:  relative !important; left:2% !important;   width:95% !important; color: black;
}

      .navbar-nav .nav-link {
    font-size: 0.9rem; /* slightly smaller */
    padding: 0.5rem 0.75rem;
    white-space: nowrap; /* 🛑 Prevents wrapping */
  }

       #navNumber6 {
    display: none !important;
  }



       #hrAfterTopDeals
{
    position:relative !important; left:2% !important;   width:95% !important; color: black;
}

    .carousel-inner {
      width: 100% !important;
      height: 100%;
    }

    .carousel-item img {
    border-radius: 10px;
    object-fit: contain; /* Makes sure images cover the entire height and width */
    max-width: 100% !important;
    height:85% !important;
    max-height: 90%; /* Ensures images take the full height of the carousel */
    transition: transform 0.3s ease-in-out;
}

    #searchBar
    {
        position:relative;
    top:40px;
        left:22% !important;
        width:30% !important;
    border:0.5px solid grey;
    border-radius:8px;
    }

       .custom-divider
{
    position:relative !important;
           left:-1% !important;
    margin: 5% auto !important;
    width:80% !important;
}

    #feedback-list {
    display: block !important;
    overflow: visible !important;
}

     #signInButton {
            position:relative;
            top:10px;
            left:-40% !important;
            width: 100% !important;
            text-align: center !important;
        }

     #hrAfterShareButton {
            position: relative;
            top: -15px;
            left: -100%;
            width: 200%;
        }

      #shareDropdown
    {
        position:relative !important;
        top:5px !important;
            left:-400% !important;
    }

       #feedback-summary {
        position: absolute  !important;
        top: 20% !important; /* Use top, not margin */
        left: 24% !important;
    }


       #extraDetails
{
margin-top:25% !important;
}


        #signinSection
     {
         position:relative !important;
         top: -30px !important;
         width:70% !important;
         left:90px !important;
     }

           #signinSectionHome
     {
         position:relative !important;
         top: -30px !important;
         width:70% !important;
         left:90px !important;
     }


        #welcomeMessage
        {
            position:relative !important;
            left:-1px !important;
        }

         #logoutLink {
            position:absolute;
            top:20px !important;
            left:30% !important;
            display: block !important;
            width: 50% !important;
            height:30px;
            text-align: center !important;
            margin-top: 5px !important;
        }

          #loggedOutLinks {
        position: absolute !important; /* Stack vertically */
        left: 90% !important;
        top:-1px !important;
        width: 100px; /* Adjust width */
        display: flex !important;  /* Display the logged-out links */
        margin-top: 10px; /* Add margin to separate from top */
    }

}


/* ============================== */
/* Devices: 1024px (Tablets)      */
/* ============================== */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    #carouselExampleCaptions {
        max-width: 1200px !important; /* reduced from 100% */
        width: 120% !important;
        margin: 0 auto;
        /* center it */
    }

    #productImage {
        width: 100% !important;
        height: 75% !important;
        border: none !important;
        left: -1% !important;
    }

    #description-wrapper {
        position: relative !important;
        left:-100px !important;
        top: 850px !important;
        width: 100% !important;
        text-align: left;
        padding: 0 1rem !important; /* Optional, add some horizontal padding */
    }


     #navbarNav
    {
        position:relative !important;
        left:0.5% !important;

    }


#feedback-list {
    display: block;
    overflow: visible !important;
    width:100% !important;
}

#col-md-3-customer_feedback
{
    position:relative !important;
    left:2% !important;
}




           #navLaptopaccessories,
    #navNumber3,
    #navNumber4,
    #navNumber5,
    #navNumber6,
    #navCellphoneacc {
        display: inline-block !important; /* Show these elements */
    }


    #feedback-col-md-12
{
    position:relative !important;
    margin-top:35% !important;
}


    #feedbackModal
    {
        position:relative !important;
        margin-top: 1% !important;
    }


     #hrLineBeforeFeedback {
            display:none;
    margin-top: 300px !important; /* Adjust value as needed */
}


    #signInButton {
            position:relative;
            top:10px;
            width: 100% !important;
         left:90% !important;
            text-align: center !important;
        }



    #signinSection
     {
         position:relative !important;
         top: -30px !important;
         width:70% !important;
         left:1px !important;
     }


        #signinSectionHome
     {
         position:relative !important;
         top: -30px !important;
           width:70% !important;
         left:1px !important;
     }

    #descriptionHeading
{
   position:relative !important;
    top:80px !important;
        left:-150px !important;
          width: 200px !important;
}



     #navbarNav
     {

          height:80px !important;
     }


    #navYourAccount, #navShop, #navLaptopaccessories, #navCellphoneacc {
        display: flex !important; /* or block */
        position:relative !important;
         top:1px !important;
         left:100px !important;
    }



#description_for_product {
  height: 350px !important; /* or any value you want */
position:relative !important;
    top:75px !important;
     left:-150px !important;
    width:500px !important;
}


    #shareDropdownWrapper {
        position: relative !important;
        left: -25% !important;
        max-width: 45% !important;
    }

    #shareDropdown {

        margin-top: 25% !important; /* space between button and dropdown */
        z-index: 1000;
        padding: 10px;
        width: 28% !important;

    }

    .custom-divider {
        border: 0.5px solid grey;
        position: relative !important;
        margin-top: 34% !important;
        width: 90% !important;
    }

    #hrAfterShareButton {
        position: relative !important;
        margin-top: -22% !important;
        left: 4% !important;
        width: 44% !important;
    }


    #mainMediaContainer {
        position: relative !important;
        left: 200px !important;
        width:  70% !important;
    }


    #mainImage {

        position: relative !important;
        left: -50% !important;
        width: 38% !important;
        border: none !important;
    }

    .carousel-inner {
        position: relative;
        height: 100% !important; /* Ensures that inner content takes full height */
        width: 100% !important;

    }

    #imageHint
    {
        position:relative;
        left:-45%;
    }



        #thumbnailContainer {
    position: relative;
    top:20px;
    display: flex;
            left:5%;
    justify-content: center;  /* Center all items horizontally */
    align-items: center;      /* Center items vertically (if needed) */
    width: 100%;
    flex-wrap: wrap;          /* Allow wrapping if the container is too small */
                 z-index: 9999 !important; /* Make it appear above other content */
    overflow-x: auto;
    gap: 10px;                /* Adjust gap between items */
}



}


/* ============================== */
/* Devices: 576px (Mobile Phones)*/
/* ============================== */
@media (max-width: 576px) {
    #carouselExampleCaptions {
        width: 100%;
        margin-left: 0;
    }
}



/* Target screens roughly the size of 15-inch laptops */
@media (min-width: 1200px) and (max-width: 1250px) {
  /* Your styles here */

  /* Example: limit carousel max width */
  #carouselExampleCaptions {
      max-width: 1200px !important;     /* reduced from 100% */
    width: 120% !important;
    margin: 0 auto;
     /* center it */
  }


     #description-wrapper {
        display:none !important;
         }



    .carousel-inner {
    position: relative;
    height:100% !important; /* Ensures that inner content takes full height */
    width:100% !important;

}

        #hrAfterBestSellers
{
    position:  relative !important; left:2% !important;   width:95% !important; color: black;
}



       #hrAfterTopDeals
{
    position:relative !important; left:2% !important;   width:95% !important; color: black;
}

        .custom-divider
{
    position:relative !important;
    margin: 20% auto !important;
    width:65%;
}


           #extraDetails
{
margin-top:20% !important;
}

    #hrAfterBestSellers
{
    position: relative !important; top: -150px; left:2% !important;   width:300px !important; color: black;
}

    #extraDescriptionSection
    {
        position:relative;
        margin-top:15% !important;
    }


  /* Example: font size adjustment */
  body {
    font-size: 16px;
  }
}

/* ============================== */
/* Devices: 430px (Small Phones) */
/* ============================== */
@media (max-width: 430px) {

    #cartDropdown {
        position: relative !important;
        top: -55px !important;
        left: 58% !important;
        padding: 8px;
        border-radius: 8px;
    }



    #carouselItems
    {
        background-color: white !important;
    }

     #welcomeMessage
        {
          width:300px !important;
        }

     #saveBillingBtn {
    position: relative; /* Needed for z-index to take effect */
    z-index: 10000;
  }

    #searchContainerShop
    {
        position:relative;
        top:30px;
    }

    #my-custom-btn-zoom
    {
        position:absolute !important;
        top:-15px !important;
        left: 90% !important;
    }


    #facebookLogin
    {
        position:relative;
        left:-1%;
        border-radius:20px;
    }

        #hrLineBeforeFeedback {
            display:none;
    margin-top: 300px !important; /* Adjust value as needed */
}

    #variationDropDown
    {
         display: flex !important;
    }



#variationContainer {
  display: flex !important;
}



      #mainImage
        {
            position:relative !important;
            left:-10px !important;
          background: white !important;
        }

    div[id^="cartItem-"] {
    min-height: 300px !important;  /* Ensures the height is at least 300px */
    height: auto !important;       /* Allows the height to grow based on content */
}


    div[id^="savedItem-"] {
    min-height: 300px;  /* Ensures the height is at least 300px */
    height: auto;       /* Allows the height to grow based on content */
}

    #cartItemsContainer {
    display: flex;
    flex-direction: column;
    gap:1px; /* Adjust the gap between cart items */
    height:auto;
}

#shopProductSection {
  padding: 0.5rem !important;
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* Increased gap between elements */
}

#shopProductSection h5.card-title {
  font-size: 0.87rem;
  line-height: 1.15em;
  height: 3.45em;
  margin: 0 0 0.25rem 0 !important;
}

.product-rating {
  margin-bottom: 0.25rem !important;
  line-height: 1.15em;
}

.product-price {
  font-size: 0.92rem;
  margin: 0 !important;
  line-height: 1.15em;
}



    #cartItems {
    height: auto;           /* Ensures natural height growth */
    overflow: visible;      /* Avoid clipping content */
}

    #signInMenu
 {
     position:relative;
        top:48px;
     left:-215%;
     border-radius:10px;
 }

          .custom-divider
{
              display:none;
              border:0.5px solid grey;
    position:relative !important;
    top :680px  !important;
    width:90% !important;
}

                #productDetailsSection
{
    margin-top:5% !important;
              min-height:450px !important;
}


                .product-quantity
                {
                 position:relative !important;
                    top:30px !important
                }


              #soldQuantityDisplay {
    position: relative !important;
    margin-top: 1.5rem !important;/* or use padding-top, depending on layout */
}



          .product-details
{
    position:relative !important;
          top:1px !important;
       height: 400px !important;
}

    #customizeButton
    {
        position:relative !important;
        left:1% !important;
        top:-15% !important;
        width:90% !important;
    }
    #applePayButtonContainer
    {
        position:relative  !important;
        left:-29% !important;
    }


    #col-12_custom_built
    {
        height:100% !important;
    }

    #custom_built_image
    {
        height:350px !important;
        width:120% !important;
        object-fit: cover !important;
           max-height: 150% !important; /* Increased height for mobile */
    }


    #responsive-ad {
   display: block;
  max-width: 320px;
  height: 50px;
  margin: auto;
  }

    #carouselExampleCaptions {
        position:relative !important;
        top:2.5px !important;
    width: 100% !important;
    margin-left: 0%;

    margin-right: 15%;
    height: 100% !important;
}

    #signInDropdown {
        position: relative;
        left: 30%;
    }

    #searchForm {
        position: relative;
        top:-10px;
        left: 7%;
        width: 75%;
    }


}


  /* ============================= */
/* Mobile Styles - Max 430px     */
/* ============================= */
@media (max-width: 430px) {

    /* ========== Navbar ========== */
    .navbar {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
        height: 130px !important;
    }

    .navbar .container-fluid {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    #addTextBtn
    {
        position:relative;
        left:0%;
        width:100%;
    }


    .navbar form {
        width: 100% !important;
        left: 2% !important;
        position: relative !important;
        top: 20px;
        max-width: none !important;
        margin: 10px 0 !important;
    }

    /* Align nav items vertically */
    .navbar-nav {
        flex-direction: column !important;
        text-align: center !important;
    }

    .navbar-nav .nav-item {
        margin: 5px 0 !important;
    }

    #navbar_navbar-expand-lg_navbar-dark_bg-dark_category {
        height: 80px !important;
    }

    /* ========== Search Bar ========== */
    #searchForm {
        position: relative;
        left: 1%;
        width: 100%;
    }


    .navbar input[type="search"] {
        width: 80% !important;
        margin-right: 10px !important;
    }

    .navbar button {
        width: 20% !important;
    }

    /* ========== Category Dropdown ========== */
    #categoryDropdown {
   margin-top: 0 !important;
  position: absolute !important;
        width:200px !important;
  top: 50% !important;
  left: -16.5px !important;
  transform: translateY(-50%) !important;
  right: 15% !important;
}


    #categoryDropdown::after {
    display: none; /* This removes the default arrow icon */
}


    #dropdown-me-2-header
    {
        position:relative !important;
        top:50px !important;
    }

    .custom-dropdown-btn {
        position: relative;
        top: -10%;
        width: 100% !important;
    }

    /* ========== Cart Icon ========== */
    .cart-icon {
        position: relative !important;
        left: -30px !important;
        top: 35px !important;
        z-index: 140 !important;
        margin-top: 10px !important;
    }

    .cart-icon img {
        position: relative;
        left: -40%;
        width: 35px !important;
        height: 35px !important;
    }

    .cart-icon .badge {
        top: -5px !important;
        right: -5px !important;
        font-size: 10px !important;
    }

    /* ========== Auth Buttons ========== */
    #loggedOutLinks {
        position: relative;
        left: auto;
        width: auto;
        display: flex !important;
        margin-top: 10px;
    }




    #signInButton {
        width: 100% !important;
        text-align: center !important;
    }



    #custom_cases_sleeves_section
{
    position:relative !important; top:-80px !important; height:70% !important;
}

}


#col-md-3-customer_feedback
{
    position:relative;
    margin-top:4%;
}

#recent_feedback-col-md-9
{
     position:relative;
    margin-top:4%;
}



#slideshow_button_home {
    position:relative;
    top:-40px !important;
    left:24% !important;
    width:70%;
    height:40px;
    background-color: #000;
    color: #fff;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}


#custom_built_image {
    width: 100% !important;
    height: 300px !important;
    max-height: 100% !important;
    object-fit: cover !important; /* or try 'contain', 'fill', or 'none' */
    border-radius: 15px;
}




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
}

/* Navbar Customization */
.navbar {
    background-color: #111;
}

.navbar-brand {
    font-size: 28px;
    font-weight: bold;
    width:200px;
}

.navbar-nav .nav-link {
    color: white;
    font-size: 16px;
    margin-right: 20px;
}

.navbar-nav .nav-link:hover {
    color: #e53935;
}

.navbar-toggler-icon {
    background-color: white;
}

/* Carousel (Slideshow) */
.carousel {
    border: 2px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    width:100%;
    height: 500px; /* Increased height for the carousel */
    position: relative;
}

.carousel-inner {
    position: relative;
    height:100%; /* Ensures that inner content takes full height */
    width:100%;

}



.carousel-item img {
    border-radius: 10px;
    object-fit: contain; /* Makes sure images cover the entire height and width */
    max-width: 100%;
    height:85% !important;
    max-height: 90%; /* Ensures images take the full height of the carousel */
    transition: transform 0.3s ease-in-out;
}

.carousel-item img:hover {
    transform: scale(1.05);
}

.carousel-control-prev,
.carousel-control-next {
    background-color: black;
    width: 50px;  /* Slightly larger button size */
    height: 50px; /* Slightly larger button size */
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: white;
    width: 25px;  /* Adjust icon size */
    height: 25px; /* Adjust icon size */
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: #c62828;
}



#productCarousel {
    border:none;
    max-width: 100%;
    width: 100%;
    height:100%;
    margin: 0 auto;       /* Center the carousel on the page */
    border-radius: 10px;  /* Optional: round the corners of the carousel */
    overflow: hidden;     /* Prevent overflow of carousel content */
}


/* Adjust the text for the product name and price */
.product-details h5 {
    font-size: 1rem;    /* Set smaller font size for product name */
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

.product-details .price {
    font-size: 1.25rem;   /* Set smaller font size for price */
    font-weight: 600;
    color: #007bff;       /* Make price color blue */
    margin-top: 5px;
}
.product-details
{
    margin-top:50px !important;
    height:auto;
}



/* Product Card Customization */
.card {
    height:350px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px; /* Added padding for spacing inside the card */
    transition: box-shadow 0.3s ease; /* Smooth transition for hover */
    margin-bottom: -5px;
}

.card-img-top
{
    height:240px;
}

.card:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Increased shadow on hover */
}

.card-title {
    font-size: 18px;
    font-weight: bold;
}



.custom-divider {
       margin-top: 179px;
    position: relative;
    left: 17.5%;
    width: 62%;
}


#description-wrapper {
    position:absolute !important;
    left: 19.5% !important;
    top:765px !important;
    width:30% !important;
  text-align: left ;
  padding: 0 1rem !important; /* Optional, add some horizontal padding */
}

#product-extra-info{
    position:relative;
    margin-top:2%;
}

#favouriteBtn {
  position: absolute;
  top: 5px;       /* small offset from top */
  right: -10px !important;     /* small offset from right */
  z-index: 10;
  width: 36px;    /* optional, for consistent size */
  height: 36px;   /* optional, for consistent size */
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  padding: 6px;
  cursor: pointer;

  display: flex;               /* center icon inside */
  align-items: center;
  justify-content: center;
}

#favoriteCount {
  position: absolute;
  top: 10px;
  left: 102%  !important;
  z-index: 10;
  font-weight: bold;
}


.card-text {
    font-size: 20px;
    font-weight: bold;
}

.price {
    font-size: 16px;
    font-weight: bold;
    color: #e53935;
}

/* Footer Customization */
footer {
    background-color: #111;
    color: white;
    padding: 30px 0;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

footer .copyright {
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
}

footer .footer-nav {
    text-align: center;
}

footer .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer-nav ul li {
    display: inline-block;
    margin-right: 20px;
}

footer .footer-nav ul li a {
    color: white;
    font-size: 16px;
    text-decoration: none;
    padding: 8px;
}

footer .footer-nav ul li a:hover {
    color: #e53935;
}

#hrAfterBestSellers
{
    position: relative; top: -150px; left:15%;   width:75%; color: black;
}

#hrAfterCustomBuilt
{
position: relative; margin-top: 2%; left:15%;  width:75%; color: black;
}



  #topDealsContainer
    {
        position: relative; top: -140px;  height:400px; color: black;

    }



/** Troy***/

  .custom-mb {
    margin-bottom: 1rem;  /* 1rem is the default size for mb-3 in Bootstrap */
}


  #customizeButton
  {
border-radius: 25px; color: white; padding: 8px 20px; font-size: 14px; width: auto; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }


   .product-card {
            width: 100%;  /* Make the card take full width of its container */
            height: 400px; /* Slightly increased height */
            margin: 10px auto;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            border-radius: 10px;
        }

   #feedback-summary
{
       position: relative !important; font-weight: bold; margin-top:-8% !important; left: 26%;

}

   [id^="productControls_"] {
       position: relative;
       top:-35px;
   }

#hrAfterProgressbar
{
position:absolute; top:1410px; left:35.5% ;width:10%;
}

#hrLineBeforeFeedback {
    margin-top:4% !important; /* Adjust value as needed */
}

#extraDetails
{
margin-top:-11% !important;
    position:relative;
    left:-2%;
}

.share-button {
  position: absolute;
  top:2%;
  right: 60px;
  z-index: 10;
}


#productBanner
{
  position:relative; top:45px; left:74%;
}



/* Restrict image size and make it consistent */
.order-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #ccc;
}

/* Add border around progress bar */
.progress-bordered {
    height: 30px;
    border: 2px solid black;
    border-radius: 0.5rem;
    background-color: #f8f9fa;
    position: relative;
}

.progress-bar {
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive fallback if needed */
.min-w-300 {
    min-width: 300px;
}


#col-md-9-searching
{
    height:5% !important;
}

#shareButtonProduct {
    position: absolute;
    top: 15%;
    z-index: 1050;
    left: -82% !important;
}




#favourite-mt-1
{
    text-align: left; position:absolute !important; top:-1% !important; left:-2% !important;
}

 #navbarNav
    {
        position:relative !important;
        left:0.5% !important;

    }

  #cartDropdownImage {
        width: 50px;
        height: 50px;
        object-fit: cover;
        border-radius: 5px;
    }

     #categoryDropdown::after {
    display: none; /* This removes the default arrow icon */
}


     #paypal-button-container
{
    position:relative !important;
    top:50px !important;
         left:300px !important;
     z-index: 1000 !important;
    height:200px !important;
}


     #google-pay-button
     {
         position:relative;
         left:1%;
     }


#coinbase-button-container
{
    position:relative !important;
    top:50px !important;
         left:300px !important;
     z-index: 1000 !important;
    height:200px !important;
}


#stripe-payment-form
{
      position:relative !important;
    top:50px !important;
         left:300px !important;
     z-index: 1000 !important;
    height:200px !important;
}

.app-coming-soon {
    display: none;
}

.star-rating {
    font-size: 30px;  /* Slightly smaller stars */
    color: #FFA500;   /* Darker yellow (you can adjust this color as needed) */
    font-family: 'Arial', sans-serif; /* Optional: Make sure it's easy to read */
}



 #col-md-9-shop
     {
          min-height: 1000px;
     }


 #col-md-9-searching
 {
          min-height: 1000px;
     }




 #btnCartButtonDrop {
    color: black;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    display: block;
    margin-top: 10px; /* <-- positions it from the top */
}


 #signin-for-dropdown
 {
     position:relative !important;
     left:17% !important;
 }


  #loadSavedItemName
    {
        position:relative !important;
        left:-5% !important;
    }


  #card-text-forCart
  {
      position:relative  !important;
      left:-5% !important;

  }


  #moveToCartButton
  {
  position:relative  !important;
      left:-5% !important;
      width:40% !important;
      border-radius:10px !important;
  }

#custom_built_sectionButton
{
 bottom: 60px;
           left: 51%;
           transform: translateX(-50%);
           padding: 14px 32px;
           font-size: 1rem;
    width:230px;
           background-color: #000;
           color: #fff;
           border-radius: 30px;
           box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
           text-transform: uppercase;
           font-weight: 500;
           text-decoration: none;
}


#custom_built_image{
      width: 100%  !important;
  height: auto; /* Prevents stretching  troy */
  max-width: 1300px; /* Optional max cap */
  border-radius: 8px;
  object-fit: cover;
}


#custom_cases_sleeves_image {
  width: 100%;
  height: 310px; /* Prevents distortion */
  max-width: 1300px; /* Optional: prevents being too wide on big screen */
  object-fit: cover;
  border-radius: 0.5rem;
}



  #design_own_case_section
  {
bottom: 60px;
           left: 50%;
           transform: translateX(-50%);
           padding: 14px 32px;
           font-size: 1rem;
      width:240px;
           background-color: #000;
           color: #fff;
           border-radius: 30px;
           box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
           text-transform: uppercase;
           font-weight: 500;
           text-decoration: none;
  }

  #slideshow_button_home {
    position:relative;
    left:-100px;
    width:40%;
    background-color: #000;
    color: #fff;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}



    #custom_cases_sleeves_section
{
    margin-top: 1% !important; height:70% !important;   border-radius:15px;
}


    #productImage
    {
        width:100%;
        height:75%;
        border:none !important;
        left:-1%;
    }

     #countdownTimer
    {
        position:relative !important;
         top:10px !important;
        left:-2% !important;
    }


        #shareDropdown
    {
        position:relative !important;
       margin-top: 17%;   /* space between button and dropdown */
        z-index: 1000;
            padding:10px;
            width:100% !important;
            left:2% !important;
    }

        #hrAfterShareButton {
            position: relative;
            margin-top:-16%;
            left: 17.5%;
            width: 30%;
        }


        #addToCartBtnCustomize
{
    position:relative !important;
top:10px !important;
}

#buyNowBtn
{
    position:relative  !important;
top:10px !important;
}


 #signInButton {
            position:relative;
     top:10px;
            left:-45% !important;
            width: 100% !important;
            text-align: center !important;
        }


 .status-tabs {
  display: inline-flex;
  justify-content: center;
  border: 1px solid #ced4da;
  border-radius: 50px;
  padding: 5px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

/* General button styles */
.status-tabs .btn {
  padding: 10px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  background-color: transparent;
  border: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}

/* Hover effect */
.status-tabs .btn:hover {
  background-color: #e9ecef;
  color: #000;
}

/* Active tab */
.status-tabs .btn.active {
  background-color: #0d6efd;
  color: #fff;
  box-shadow: 0 0 5px rgba(13, 110, 253, 0.5);
}


#googlePayButtonContainer
{
    position:relative !important;
    margin-top:30px !important;
}

#updateBtnCheckout
{
      display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 48%; /* Set both buttons to be the same width, using 48% to leave space for the margin */
  height: 50px; /* Set the same height for both buttons */
  font-size: 16px; /* Adjust font size to be consistent */
}

#deleteBtnCheckout {
      position:relative !important;
         left:60% !important;
    top: -50px !important;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 48%; /* Set both buttons to be the same width, using 48% to leave space for the margin */
  height: 50px; /* Set the same height for both buttons */
  font-size: 16px; /* Adjust font size to be consistent */
}

#updateBtnCheckout {
  border-color: #007bff; /* Blue border for update */
}

#deleteBtnCheckout {
  background-color: #dc3545; /* Red background for delete */
  border-color: #dc3545; /* Red border for delete */
}

#updateBtnCheckout i,
#deleteBtnCheckout i {
  margin-right: 8px; /* Space between icon and text */
}

#updateBtnCheckout:hover,
#deleteBtnCheckout:hover {
  opacity: 0.8; /* Add hover effect for better interactivity */
}


 #btn-primary_shop
    {
        position: relative;
    left: 3%;
     margin-top:-1% !important;
        /* Remove bold */
    font-weight: 400 !important;    /* Explicitly set the normal weight to 400 */
    }



     #quantityInputWrapper
     {
         width:200px !important;

     }


          .quantity-input
     {
         width:100% !important;
               border:0.5px  solid grey;
         border-radius:10px;
     }


#searchBar
    {
        position:relative;
    top:40px;
        left:31% !important;
        width:50% !important;
    border:0.5px solid grey;
    border-radius:8px;
    }

.track-section {
    height: 340px; /* Set your desired height */

}

 #specificationsSection {
     margin-top:-5% !important;
    height: auto !important;
    min-height: unset !important;
    flex: none !important; /* If flexbox is forcing height */
  }

   #returnShippingSection
    {
    margin-top: -3% !important; /* or whatever spacing you want */
    }



   #extraDescriptionSection {
                width: 95%;
                height: auto;
                margin-top: 11%;
            }

#moveToCartButton
{
    position:relative;
    top:-75px !important;
    left: 7px !important;
}


#product-condition
{
    position:relative !important;
    top:5px !important;
}

#shareDropdownWrapper {
    height: 150px !important;  /* Adjust this height based on your design */
}

 #facebookLogin
    {
        position:relative;
        left:-1%;
        border-radius:20px;
    }

#deliveryEstimate {
    position: relative;
    top: 1150px;
    left:48.5%;
    z-index:10000;
    width:565px;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    background: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    color: #333;
}


#productCount
{
    position:relative; top:-30px; left:76%;
}

#otherPages
{
height: 41px; width: 90px !important; border-radius: 10px; margin-right: 10px;
}


    #yourAccountDropdown {
        z-index: 12000 !important;
    }


      #navYourAccount {
      z-index: 12000;
      }

      #suggestions
      {
         z-index: 12000 !important;
      }


/* Mobile Responsiveness for mobile*/
@media (max-width: 430px) {
/* Main Image Styling */
    .navbar .container-fluid {
    padding-top: 0 !important;  /* Remove extra padding */
    padding-bottom: 0 !important;  /* Remove extra padding */
        height:100px;
}
    #cartIconHomeNew
    {
        position:relative !important;
        top:25px !important
    }


    #otherPages
{
height: 45px; width: 100px !important; border-radius: 10px; margin-right: 10px;
}

    #payment{
    position: relative !important; /* needed for z-index */
    z-index: 10000 !important;
  }


    #helpContainer
    {
        position:relative;
        left:5%;
        width: 90% !important;
    }


    #productCount
{
    position:relative; top:5px; left:0.5%;
}


    #productCarousel {
    border:none;
    max-width: 100%;
    width: 100%;
    height:100%;
    margin-top:-10% !important;       /* Center the carousel on the page */
    border-radius: 10px;  /* Optional: round the corners of the carousel */
    overflow: hidden;     /* Prevent overflow of carousel content */
}

#relatedProductsTitle
{
    position:relative;
    top:-20px
}


    #savedItems
    {
        position: relative;
        top:-30px;
        left: 3%;
        width:98% !important;
    }

     [id^="productControls_"] {
       position: relative;
       top:-13px;
   }

     #description-wrapper {
    position:absolute !important;
    left: -1% !important;
    top:300px !important;
    width:95% !important;
  text-align: left ;
  padding: 0 1rem !important; /* Optional, add some horizontal padding */
}

     #seeMoreLink {
     position:relative !important;
         left:-20px !important;
     }




       #thumbnailContainer .thumbnail {
        height: 95% !important; /* Ensure all thumbnails (images + video) have the same height */
        object-fit: contain !important;
    }



    #returnShippingSection
    {
    margin-top: 0% !important; /* or whatever spacing you want */
    }


    #yourAccountDropdown
    {
        z-index:12000;
        position:relative;
        top:10px;
    }

    .navbar-brand
    {
        position:relative;
        top:5px;
    }

    #productSection
    {
        height: auto !important;
    }





    #productGrid
    {
        position:relative !important;;
        top:-60px !important;
    }



        .quantity-input
     {
         width:100% !important;
             border:0.5px  solid grey;
         border-radius:10px;
     }

     #hrAfterShareButton {
            position: relative !important;
         border:0.5px solid grey;
            top:-260px !important;
            left: -100% !important;
            width: 200% !important;
        }

     #updateBtnCheckout,
#deleteBtnCheckout {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 48%; /* For larger screens, use 48% width */
  height: 50px; /* Same height for both buttons */
  font-size: 16px; /* Consistent font size */
  margin-bottom: 10px; /* Space between buttons for mobile */
}

/* Update button with blue border */
#updateBtnCheckout {
  border-color: #007bff;
}

/* Delete button with red background */
#deleteBtnCheckout {
  background-color: #dc3545;
  border-color: #dc3545;
}

/* Margin between icon and text */
#updateBtnCheckout i,
#deleteBtnCheckout i {
  margin-right: 8px;
}

/* Hover effect for both buttons */
#updateBtnCheckout:hover,
#deleteBtnCheckout:hover {
  opacity: 0.8;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  #updateBtnCheckout,
  #deleteBtnCheckout {
    width: 90%; /* Increase width to 90% on smaller screens */
    margin: 5px auto; /* Center buttons and add space between */
  }

  /* Make buttons take up full width on very small screens (optional) */
  #updateBtnCheckout {
    width: 90%;
  }


  #deleteBtnCheckout {
    width: 90%;
  }
}



  .status-tabs {
  display: flex;
  justify-content: center;
      border:none !important;
  flex-wrap: wrap;
  gap: 10px; /* Space between buttons */
  margin-bottom: 20px;
}

/* Button styling */
.status-tabs .btn {
  padding: 10px 20px;
  min-width: 120px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Hover and focus states */
.status-tabs .btn:hover,
.status-tabs .btn:focus {
  background-color: #f1f1f1;
  box-shadow: 0 0 8px rgba(13, 110, 253, 0.2);
  outline: none;
}

/* Active/selected state */
.status-tabs .btn.active {
  background-color: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
  box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
}

    #custom_built_sectionButton
{
 bottom: 70px;
        top:180px;
           left: 65%;
           transform: translateX(-50%);
           padding: 14px 32px;
        width:220px !important;
         height:45px;
           font-size: 1rem;
           background-color: #000;
           color: #fff;
           border-radius: 30px;
           box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
           text-transform: uppercase;
           font-weight: 500;
           text-decoration: none;
}



    #custom_built_pc_section
    {
        width:100% !important;
        height:100% !important;
        position:relative !important;
        top:-40px !important;

    }



      #design_own_case_section
  {
bottom: 60px;
          top:168px;
           left: 59%;
           transform: translateX(-50%);
           padding: 14px 32px;
          width:220px !important;
      height:45px;
           font-size: 1rem;
           background-color: #000;
           color: #fff;
           border-radius: 30px;
           box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
           text-transform: uppercase;
           font-weight: 500;
           text-decoration: none;
  }

#slideshow_button_home {
    position:relative;
    top:-70px !important;
    left:-5% !important;
    width:120% !important;
    background-color: #000;
    color: #fff;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

#oledCarouselCaption
{
    position:relative;
    top:-120px !important;
    left:5% !important;
    width:85%;
    height:20px !important;
}




.star-rating {
    font-size: 30px;  /* Slightly smaller stars */
    color: #FFA500;   /* Darker yellow (you can adjust this color as needed) */
    font-family: 'Arial', sans-serif; /* Optional: Make sure it's easy to read */
}

#btnCartButtonDrop
{
    color:black; border-radius: 10px; padding: 10px; text-align: center; display: block;
    position:relative !important;
    bottom:1px !important;
}

      .app-coming-soon {
        display: block; /* Show on mobile devices */
    }


    #loadSavedItemName
    {
        position:relative !important;
        left:23.5% !important;
    }


     #card-text-forCart
  {
      position:relative  !important;
      left:23.5% !important;

  }


     #quantityInputWrapper
     {
         width:400px !important;
     }

    .cart-item-content {
    display: flex;
    align-items: center;
    gap: 2px; /* Space between image and info */
        height:80PX;
}

    #col-md-6-checkout-page
    {
        position:relative !important;
        top:50px !important;
    }



    #subsribeBtnForHome
    {
        position:relative !important;
        left:1% !important
    }

    #col-md-6-chatbox
    {
        position:absolute !important;
        top:70% !important;
    }

#favourite-mt-1
{
    position:absolute !important;
    top:-10% !important;
    left:2% !important;


}

    #navLaptopaccessories
    {
        display:none !important;
    }


    #navNumber3
    {
          display:none !important;
    }

     #navNumber4
    {
          display:none !important;
    }

      #navNumber5
    {
          display:none !important;
    }

       #navNumber6
    {
          display:none !important;
    }



    #navCellphoneacc
    {
        display:none !important;
    }

    #mobile-container-my-5-custom
    {
        position:relative; top:100px !important;
    }

    #btn-primary-custom-built
    {
        position:relative;
        left:0% !important;
    }
    #buttonsProductInventory
    {
        position:relative !important;
        top:-10px !important;
        height:40% !important;
    }

      .custom-dropdown-menu {
    position: absolute !important;
    z-index: 1050 !important; /* Bootstrap's default for dropdowns */
  }


      #filterBtn
      {
          position:relative;
          left:1%;
      }
      /*** Order section*/
.table-responsive {
  -webkit-overflow-scrolling: touch;
}
      .table th,
  .table td {
    font-size: 12px;
    padding: 8px;
  }

     .table thead {
    display: none;
  }

  .table tbody, .table tr, .table td {
    display: block;
    width: 100%;
  }

  .table tr {
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 0.5rem;
  }

  .table td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
  }

#col-md-6_product-page
{
    position:relative;
    margin-top:10%;
}

#quantitySelectLabel
{
     position:relative !important;
    margin-top:8% !important;
}

#quantitySelect
{
    position:relative !important;
    margin-top:-1% !important;
}


    #dropdown-menu_show {
        position:absolute !important;
        left:-60% !important;
        top: 55% !important;
    z-index: 12000 !important;
        width:20% !IMPORTANT;/* Bootstrap's default for dropdowns */
  }


    .main-image {
        width:66% !important;
        max-height: 340px;
    }




    #navbarNav
    {
        display:inline-block !important;
        position:relative !important;
        left:12% !important;
        top:-20% !important;
    }

    #navYourAccount
    {
        position:relative !important;
        top:-110px !important;
        left:57%;
        width:20%;
    }

    #navShop
    {
        position:relative;
        top:-25px;
        width:20%;
        height:30px;
left:40%;
         border: 2px solid #fff; /* changed border color to white */
    border-radius: 8px;      /* adjust the radius as needed */
    padding: 5px 10px;       /* optional: makes the border look nicer */
    margin: 5px 0;
    }

    #nav-link-shop-link
    {
        position:relative !important;
        top:-10px !important;
    }

    #h3productCarousel
    {
        position: relative !important;
        left:-7% !important;
        margin-top:0% !important
    }

    #h3browsingCarousel
    {
        position: relative !important;
        left:-7% !important;
    }


     #relatedProductsCarousel {
    border:none;
      position:relative !important;
        margin-top:2% !important;
         left:-9% ! important;
      top:30px;
        width: 120% !important;
        bottom: 20px; /* Position from the bottom of the page */
        right: 20px; /* Position from the right side of the page */
      height:40%;
      object-fit: contain;
}

      #browsingHistoryCarousel {
        border:none;
      position:relative;
          left:-9% ! important;
        margin-top:1%;
      top:30px;
        width: 120% !important;
        bottom: 20px; /* Position from the bottom of the page */
        right: 20px; /* Position from the right side of the page */
      height:40%;
      object-fit: contain;
    }

#feedback-col-md-12
{
    position:relative !important;
    margin-top:28% !important;
}

 #specificationsSection {
    height: auto !important;
    min-height: unset !important;
    flex: none !important; /* If flexbox is forcing height */
  }

#card_h-100_related_product_product_page
{
    height:100% !important;
}


.browsing-history-img {
        height: 80px; /* Reduced image height on mobile */
        padding: 5px;
    }

    #card_history_card {
        padding: 0.5rem;
    }


#customBuiltHeading
{
    position:relative !important;
    left:2% !important;
    text-align:left !important;
    font-size:20px !important;
}


#username
{
    width:300px !important;
}

      /* Make sign-in button larger for mobile */
        #signInButton {
            position:relative;
            top:3px;
            left:15%!important;
            width: 100% !important;
            text-align: center !important;
        }

          #searchForm{
          position: relative;
    left: 1%;
    width: 430px !important;

    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    }

          #extraDescriptionSection
          {
              position:relative !important; margin-top:80% !important; width: 100%; height: auto;
          }



    #productBanner
{
  position:relative; left:20%; top:-10px !important; display:none;
}

    #card-text-forCart
    {
        position:relative !important;
        left:25%;
    }


    #moveToCartButton
    {
        position:relative !important;
        top:5px  !important;
        left:2% !important;
        width:95% !important;
    }

    #applyFilterSearch
    {
        height:450px !important;
    }


    #card-shadow-sm-border-0-search
    {
        height:800px !important;
    }

    #footer-placeholder-search
    {
        position:relative !important;
         top:500px;
    }

#favouriteBtn {
  position: absolute !important;
    background:none;
  top: 5px !important;
  left:85% !important;
  z-index: 10;
}

#favoriteCount {
  position: absolute !important;
  top: 10px !important;
  left:97%  !important;
  z-index: 10;
  font-weight: bold;
}


#card-shadow-sm-h-100-search
{
    position:relative !important;
    margin-top:10% !important;
}

#descriptionHeading
{
    display:none;
   position:relative !important;
    top:-5px !important;
        left:-1% !important
}


#description_for_product {
    display:none;
  height: 350px !important; /* or any value you want */
position:relative !important;
    top:-1px !important;
    left:-1% !important;
    width:100% !important;
}


    #extraDetails
{
        position:relative !important;
margin-top:150% !important;
}


    #soldQuantityDisplay {
margin-top: 11% !important;
}


    .share-button
{
position: relative; top: -320px; left:28%; z-index: 10;
}

    #shareButtonProduct
    {
        display:none;
        position:absolute !important;
        top:100px !important;
        left:-20px !important;
    }

    #countdownTimer
    {
        position:relative !important;
         top:10px !important;
        left:-2% !important;
    }

   #feedback-summary
{
position: relative !important; font-weight: bold; top: 20px !important; left: 0% !important; z-index: 1000;
}


#hrAfterProgressbar
{
position:relative !important; top:30px; left:36% ;width:5%;
}


#googlePayButtonContainer
{
    position:relative !important;
    margin-top:30px !important;
}

#paypal-button-container
{
    position:relative !important;
     top:-10px !important;
    left:60% !important;
    width:100% !important;
     z-index: 1000 !important;
    height:200px !important;
}


  #google-pay-button
     {
         position:relative;
         left:1%;
     }

  #paypal-button
  {
         position:relative !important;
      top:30px !important;
         left:20% !important ;
  }

#coinbase-button-container
{
    position:relative !important;
     top:-100px !important;
    width:90% !important;
    left:0% !important;
     z-index: 1000 !important;
    height:200px !important;
}


#stripe-payment-form
{
      position:relative !important;
    top:-100px !important;
    left:0% !important;
     z-index: 1000 !important;
    height:200px !important;
}


#saveShippingInfo
{
    position:relative !important;
    left:1px !important;
}

#coinbase-button {
    position: relative !important;
    left: 1px !important;
}

#stripe-button{
     position: relative !important;
    left: 1px !important;
}

    #container-fluid
    {
        height:40px;
        position:relative;
        top:10px;
    }


    #thumbnailContainer
    {
        position:relative !important;
        top:-70px !important;
        width:100% !important;
        height:110px !important;
        z-index: 9999 !important; /* Make it appear above other content */
    }

.thumbnail {
    width: 30%; /* Thumbnail width on mobile */
    object-fit: contain;
    cursor: pointer;
    border-radius: 8px;
     height: 100%  !important;
    transition: transform 0.3s ease;
}


    #applyFiltersShop
    {
        position:relative;
        left:-3%;
    }

#dropdownFilterButton
{
    position:relative;
    left:0%;
    top:2px;
}
    #btn-primary_shop
    {
        position: relative;
    left: 1% !important;
        /* Remove bold */
    font-weight: 400 !important;    /* Explicitly set the normal weight to 400 */
    }

   .product-card {
            width: 100%;  /* Make the card take full width of its container */
            height: 400px; /* Slightly increased height */
            margin: 1px auto;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            border-radius: 10px;
       padding:10px;
        }


    .product-card .card-body {
    padding: 0.5rem !important;
  }

   #currentCategory
   {
       position:relative !important;
       top:-80px !important

   }

    #shareDropdownWrapper {

    max-width: 100% !important;
  }

   #shareDropdown {
    position: absolute !important;
          z-index: 1050; /* Ensure it's above other elements */
    top: 70px !important;
    left: 25% !important;
    width: 93% !important;
    margin-top: 0 !important; /* reset mobile margin */
  }






/* Hover effect for thumbnails */
.thumbnail:hover {
    transform: scale(1.1);
}



/* Flexbox Layout for Thumbnails */
.thumbnails-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;  /* Align thumbnails to the left */
    gap: 15px;  /* Add more space between thumbnails */
}

    #d-flexmx-auto
    {
        width:120% !important;
    }


    #totalAmount
{
font-size: 18px; font-weight: bold; text-align: center; margin-top: -15px !important;
}

    .payment-form {
        width: 90%; /* Take up 90% of the screen width */
        margin-top: 20px; /* Reduce the top margin for smaller screens */
    }


    #paymentEditButton
    {
     position:relative !important;
        top:1px !important;
        width:40% !important;
    }

    #paymentRemoveButton
    {
  position:relative !important;
        top:4px !important;
        left:10% !important;
        width:40% !important;
    }



     #addressEditButton
    {
     position:relative !important;
        top:1px !important;
        width:40% !important;
    }

    #addressRemoveButton
    {
  position:relative !important;
        top:4px !important;
        left:10% !important;
        width:40% !important;
    }


    #dropdown_menu_cart {
    position: absolute !important;
    top: 2% !important;
        margin-left:100px !important;
        text-align:center !important;
    left:12% !important;  /* Make it 5% from the left edge */
    width: 300px !important;
     z-index: 9999 !important; /* Higher than modals/navs */
}


    #dropdown_menu_cart img {
         display: inline-block;
        max-width: 100%; /* Ensure the image takes up the correct width */
        height: auto; /* Keep aspect ratio intact */
    }


    #cartDropdownImage {
        position:relative;
    left:2%;
        width: 50px;
        height: 50px;
        object-fit: cover;
        border-radius: 5px;
    }

    #addToCartBtn
    {
        position:relative !important;
        top:-20% !important;
        left:-1%
    }

/* Or use min-height to make sure the card is not too small */
.cart-item {
    min-height: 520px; /* This will allow the card to grow if needed */
}

    .input-group {
          display: flex;
    flex-direction: row; /* Use row direction for larger screens */
    flex-wrap: wrap; /* Allow wrapping of elements */
    width: 90%; /* Make it 90% width of the parent container */
    }


     .d-flex {
        justify-content: flex-start;
        position: relative;  /* Reset position to avoid conflict */
    }

     #bestSellerContainer
     {
         margin-top:1% !important;
         width:95% !important;
         height:auto !important;
     }

     #navbarnavbar-expand-lgnavbar-darkbg-dark
     {
         position:relative;
         top:0.5px;
         height:150px !important;
     }

     #navbar-navbar-expand-lg-navbar-dark-bg-dark-two
     {
         position:relative;
         top:2px;
          height:80px !important;
     }


      /* Target only the specific card-body by ID */
    #productCardBody {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Product name */
    #productCardBody .card-title {
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        margin-bottom: 5px !important;
        text-align: left !important;
    }

    /* Rating */
    #productCardBody .product-rating {
        font-size: 0.9rem !important;
        margin-bottom: 5px !important;
        text-align: left !important;
    }

    /* Price */
    #productCardBody .price {
        font-size: 1.1rem !important;
        font-weight: bold !important;
        margin-bottom: 10px !important;
        color: #007bff !important;
        text-align: left !important;
    }

    /* Button */
    #productCardBody .btn {
        position:relative;
        left:0px;
        align-self: flex-start !important;
        padding: 0.4rem 1rem !important;
        font-size: 0.85rem !important;
        margin-top: 5px !important;
    }




     .filter-dropdown-menu {
        width: 100%; /* Makes dropdown full width */
        position: absolute; /* Position it absolutely to align with the screen start */
        left: 0; /* Aligns the dropdown with the left edge of the screen */
        top: 100%; /* Places it right below the button */
        padding: 10px; /* Adds some padding */
        z-index: 1050; /* Ensures it appears above other content */
    }

    .filter-dropdown-menu li {
        padding: 10px 0; /* Adds space between filter options */
    }

    .dropdown-toggle {
        width: 100%; /* Makes the toggle button take up the full width as well */
    }


     #col-md-9-searching
     {
         position:relative;
         top:60px;
     }

     #col-md-9-shop
     {
         position:relative;
         top:-20px;
     }

    #signinSection {
    position: relative !important;
    top: -195px !important;
    width: 50% !important;
    left: 95px !important;
    z-index: 1000 !important; /* Adjust number as needed */
}


        #signinSectionHome
     {
         position:relative !important;
         top: -205px !important;
         width:50% !important;
         left:95px !important;
     }


    /* Adjust the visibility of the logged-in and logged-out links */
    #loggedInLinks {
        position: absolute !important; /* Stack vertically */
        top: 3px !important; /* Remove absolute positioning */
        left: 10% !important;
       /*/ display:none !important;*/
        margin-top: 10px; /* Add margin to separate from top */ /* Display the logged-in links */
    }

    #loggedOutLinks {
        position: absolute !important; /* Stack vertically */
        left: 10% !important;
        top:10px !important;
        width: 100px; /* Adjust width */
        display: flex !important;  /* Display the logged-out links */
        margin-top: 10px; /* Add margin to separate from top */
    }

        #logoutLink {
            position:absolute !important;
            top:15px !important;
            left:10% !important;
            display: block !important;
            width: 30% !important;
            height:30px;
            text-align: center !important;
            margin-top: 5px !important;
        }

        .btn-primary
        {
            position:relative; left:30%;
        }

        .card-title{
            position:relative;
            left:1%;
        }

        #cardTitleCartName
        {
            position:relative;
            left:1% !important;

        }

        #cardTitleSavedName
        {
         position:relative;
            left:25% !important;
        }


        #proceedCheckout
        {
            position:relative;
            left:-1%
        }

    /* Adjust button sizes for smaller screens */
    .btn {
        padding: 8px 16px;
    }

    select[id^="quantity-"]
    {
        position:relative !important;
        width:95% !important;
        top:1px;
        left:5px !important;
    }



    #removeButtonCart
    {
        position:relative;
        top:76px;
        left:-95%;
        width:150px !important;
    }


    #saveButtonCart
    {
position:relative;
        top:76px;
        left:-95%;
        width:150px !important;
    }


    #topDealsContainer
    {
        position: relative; top: -100px; width:95% !important;  height:400px; color: black;

    }

     #carAccessoriesContainer
    {
        position: relative; top: -100px; width:95% !important;  height:400px; color: black;

    }




#clearanceContainer
{

    position: relative; top: -100px;   width:95% !important;  height:400px; color: black;

}


#macbookHardCasesContainer {
    position: relative;
    top: -100px;
    width: 95% !important;
    height: 400px;
    color: black;
}


#iphoneCasesContainer {
    position: relative;
    top: -100px;
    width: 95% !important;
    height: 400px;
    color: black;
}

  #iphoneCasesProducts
{
    position:relative;
    left:-5%;
    width:90%;
}



  #customizeButton
  {
      position:relative;
      top:10px;
      left:-10%;
       border-radius: 25px;
      color: white;
      padding: 8px 20px;
      font-size: 14px;
      width: auto;
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 1px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }


    #searchButton
    {
      position:relative !important;
        left: 69% !important;
        top:-49.5px !important;
        width:20%;
        height:50% !important;
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
    }

    #searchButtonHome
    {
      position:relative !important;
        left: 69% !important;
        top:-53px !important;
        width:20%;
        height:49% !important;
    }

    #voiceSearchButton
    {
         position:relative !important;
        left:69% !important;
        border:none !important;
          top:-51px;
        height:39px;
        width:10% !important;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-link {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .carousel-inner {
    position: relative;
    height:100% !important; /* Ensures that inner content takes full height */
    width:100%;

}


 .carousel-inner img {
    width: 100%;
    height: 300px; /* Set a fixed height */
    object-fit: contain; /* Ensures images fill the space and crop as necessary */
}


 #slide1HomePage
 {
     height:210px !important;
 }

 #bestSellersProducts
{
    position:relative;
    left:-5% !important;
    width:110% !important;
}

  #carAccessoriesHeading {
position:relative !important;
     left:-6% !important;
      top:35px !important;
 }



 #bestSellersProductsHeading
 {
position:relative !important;
     left:-6% !important;
      top:35px !important;
 }


 #topDealsProductsHeading
{
     position:relative !important;
    left:-6% !important;
     top:35px !important;
}

 #clearanceProductsHeading
 {
     position:relative !important;
    left:-6% !important;
     top:35px !important;
}

  #iphoneCasesProductsHeading
 {
     position:relative !important;
    left:-6% !important;
     top:35px !important;
}



#topDealsProducts
{
    position:relative;
    left:-5%  !important;
    width:110% !important;
}

#carAccessoriesProducts
{
    position:relative;
    left:-5%  !important;
    width:110% !important;
}


#macbookHardCasesProducts {
    position: relative;
    left: -5% !important;
    width: 110% !important;
}

#macbookHardCasesProductsHeading {
    position: relative !important;
    left: -6% !important;
    top: 35px !important;
}


 .carousel-item img {
    border-radius: 10px;
    object-fit: contain; /* Makes sure images cover the entire height and width */
    max-width: 100%;
    height:300px !important;
    max-height: 100%; /* Ensures images take the full height of the carousel */
    transition: transform 0.3s ease-in-out;
}

 #slide3
 {
     height:300px;
 }


 #mageGeeShopNowBtn
 {
     position: relative !important;
      top:10px  !important;
     height:40px  !important;
 }


  #oledShopNowBtn
 {
      position: relative !important;
      top:5px  !important;
     height:40px  !important;
 }


 #slide1HomePage
 {
     height:300px !important;
 }


 #bestSellerItems .carousel-item img,
#topDealItems .carousel-item img, #customBuiltItems .carousel-item img {
    width: 120% !important; /* Each image takes up 48% width */
    object-fit: contain; /* Ensure images maintain aspect ratio */
    margin: 0 2%; /* Space between images */
      padding: 2px;
}

#bestSellerItems .carousel-item img,
    #topDealItems .carousel-item img,
    #customBuiltItems .carousel-item img {
        width: 46%; /* Show 2 images per slide on mobile */
         padding-left: 2px;
        padding-right: 2px;
    }

#hrAfterBestSellers{
position: relative; border:0.5px solid grey !important; top: -60px !important; left:5%;   width:90%; color: black;
}


#hrAfterTopDeals{
position: relative; border:0.5px solid grey !important; top: -60px !important; left:5%;   width:90%; color: black;
}

#hrAfterClearance
{
 position: relative; top: -80px !important; left:5%;   width:90%; color: black;
}

#hrAfterMacbookHardCases
{
 position: relative; top: -20px !important; left:5%;   width:90%; color: black;
}

#hrAfterCarAccessories
{
 position: relative; top: -60px !important; left:-5% !important; border:0.5px solid grey;   width:110% !important; color: black;
}


#hrAfterIphoneCases
{
 position: relative; top: -60px !important; left:-5% !important; border:0.5px solid grey;   width:110% !important; color: black;
}


#feedback-list {
    display: block;
    overflow: visible !important;
}


.feedback-item {
    overflow: visible !important;
    margin-bottom: 20px; /* Ensures space between items */
    padding-bottom: 10px;
}


hr {
    overflow: hidden;
    border: 0;
    border-top: 1px dashed #aaa;
    margin: 20px 0;  /* Adds spacing before and after */
}

#macbook-cases {
        width: 65% !important;  /* Adjust width for mobile */
        margin: 0 auto;  /* Center the text */
    }



#hrAfterCustomBuilt
{
position: relative !important; top:-75px !important; left:1%;  width:100%; color: black; border-top: 0.5px solid black;
}

#footer-placeholder
{
    position:relative; margin-top:35%;
}

 #paginationShop {
        flex-direction: column !important; /* Stack buttons vertically */
        align-items: center !important; /* Center the pagination */
      position:relative !important;
     margin-top:-20% !important;

    }

    #paginationShop button {
        width: 100%; /* Make buttons full-width on mobile */
        /* Add space between buttons */
    }


    #pagination
    {
        position:relative;
        top:15px;
    }

    #searchBar
    {
        position:relative;
        top:1px !important;
        left:4% !important;
        width:90% !important;
    }

    #card-body-shop
    {
        position:relative !important;
        top:-30px !important;
    }

    #footer-placeholder-shop
    {
        margin-top:20% !important;
    }


    .carousel {
        height: 400px; /* Reduced height for mobile */
    }



    footer .footer-nav ul li {
        display: block;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .card {
        margin-bottom: 20px;
        width: 100%; /* Ensure cards take up full width on mobile */
    }
}

/* Additional Fix for Button */
button {
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #e53935;
    color: white;
}

/* Wide Search Bar */
.wide-search-bar {
    width: 100%; /* Make the search bar responsive */
    max-width: 700px; /* Set a max-width for larger screens */
    margin: 0 auto; /* Center it */
}

#bestSellersProducts
{
    position:relative;
    left:-5%;
    width:110%;
}

#bestSellersProductsHeading
{
    position:relative;
    top:40px;
    left:-5%;
}


 #clearanceProductsHeading
 {
      position:relative;
    top:40px;
    left:-5%;
}

  #iphoneCasesProductsHeading
 {
      position:relative;
    top:40px;
    left:-5%;
}

 #relatedProductsCarousel {
    border:none;
      position:relative;
        margin-top:1%;
      top:30px;
        width: 100%;
        bottom: 20px; /* Position from the bottom of the page */
        right: 20px; /* Position from the right side of the page */
      height:40%;
      object-fit: contain;
}



    #browsingHistoryCarousel {
        border:none;
      position:relative;
        margin-top:1%;
      top:30px;
        width: 100%;
        bottom: 20px; /* Position from the bottom of the page */
        right: 20px; /* Position from the right side of the page */
      height:40%;
      object-fit: contain;
    }


#topDealsProductsHeading
{
     position:relative;
    left:-5%;
       top:40px;
}

#carAccessoriesHeading
{
     position:relative;
    left:-5%;
       top:40px;
}

#macbookHardCasesProductsHeading
{
     position:relative;
    left:-5%;
       top:40px;
}


#topDealsProducts
{
    position:relative;
    left:-5%;
    width:110%;
}

#carAccessoriesProducts
{
    position:relative;
    left:-5%;
    width:110%;
}


#clearanceProducts
{
    position:relative;
    left:-5%;
    width:110%;
}

#macbookHardCasesProducts
{
    position:relative;
    left:-5%;
    width:110%;
}


#iphoneCasesProducts
{
    position:relative;
    left:-5%;
    width:110%;
}

/* Dropdown Menu Fix Troy */
/* Ensure the dropdown is contained within the screen */
.dropdown-menu {
    max-height: 400px; /* Limit the height of the dropdown */
    overflow-y: auto; /* Add vertical scrolling if necessary */
    padding: 0;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Add subtle shadow for better visibility */
    background-color: white;
    position: absolute;
    top: 100%; /* Ensure it appears below the trigger element */
    left: 0;
    right: 0;
}


#dropdown_menu_cart
{
    position:absolute;
     border-radius:15px;
    top:40px;
    left:-350px !important;
    width:400px;
    height:250px;
}

/* Styling individual items inside the dropdown */
.dropdown-item {
    padding: 10px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f8f8; /* Change background on hover */
}

.cart-item{
    height:250px !important;
}


#cartItemsContainer {
    display: flex;
    flex-direction: column;
    gap:1px; /* Adjust the gap between cart items */
    height:auto;
}

div[id^="cartItem-"] {
    min-height: 300px;  /* Ensures the height is at least 300px */
    height: auto;       /* Allows the height to grow based on content */
}



#totalAmount
{
position:relative; top:90px;font-size: 18px; font-weight: bold; text-align: center; margin-top: 10px;
}


.cart-item-content {
    display: flex;
    align-items: center;
    gap: 2px; /* Space between image and info */
}

/* Adjust image size and add some margin for spacing */
.cart-item-image {
    width: 40px; /* Set image width */
    height: 40px; /* Set image height */
    object-fit: cover;
    margin-right: 10px; /* Add spacing between image and text */
    border-radius: 5px; /* Optional: add a border-radius for rounded corners */
}



/* Styling for the product info section */
.product-info {
    flex-grow: 1; /* Allow this section to grow and take up available space */
}

/* Styling for the product name */
.product-name {
    font-size: 14px;
    font-weight: 600;
}

/* Styling for the product price */
.product-price {
    font-size: 12px;
    color: #888;
}

/* Styling for the remove button */
.remove-btn {
    margin-left: auto;
    font-size: 12px;
    color: #dc3545;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.remove-btn:hover {
    text-decoration: underline;
}

/* Add some padding to the "Go to Cart" link */
.text-center a {
    padding: 10px;
    display: block;
    text-decoration: none;
    color: #007bff;
    font-weight: 600;
}

.text-center a:hover {
    background-color: #f8f8f8;
}



.cartDropdownMenu {
    display: none; /* Initially hide the dropdown */
    position: absolute; /* Use absolute positioning to remove it from the normal document flow */
    left: -100px; /* Move it 100px to the left */
    top: 100%; /* Align the dropdown directly below the button or link */
    background-color: #fff; /* White background */
    border: 1px solid #ddd; /* Light gray border */
    border-radius: 5px; /* Rounded corners */
    width: 300px; /* Set a width for the dropdown */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
    z-index: 150; /* Ensure it appears on top of other content */
    padding: 10px 0; /* Add padding inside the dropdown */
    list-style: none; /* Remove default list styling */
    max-height: 400px; /* Limit the max height */
    overflow-y: auto; /* Enable scrolling if the content exceeds max height */
    transition: all 0.3s ease; /* Add smooth transition for moving */
}


.col-md-6
{
    height:530px;
}



/* Style for empty cart message */
.empty-cart-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    font-size: 14px;
    color: #888;
}

/* Style for the empty cart icon */
.empty-cart-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
}


.dropdown-menu .cartDropdownMenu{
  }


/* Optionally, you can add an arrow to indicate that it's a dropdown */
.cartDropdownMenu::before {
    content: "";
    position: absolute;
    top: -10px; /* Adjust the position */
    left: 10px; /* Adjust the position */
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 10px solid #fff; /* Create a small triangle */
}

/* Show the dropdown menu when it's triggered */
.cartDropdownMenu.show {
    display: block; /* Display the dropdown */
}


#cartTotal
{
    font-weight:bold;
}

/* Main Image Styling */

.main-image {
    position: relative !important;
    top:0px;
    left:-30px;
    width: 100%; /* Take up full width of its container */
    max-width: 450px !important; /* Prevent the image from growing too large */
    height: 350px !important; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure the image fits without distortion */
    border-radius: 10px; /* Rounded corners */
    margin: 0 auto; /* Center the image horizontally */
    display: block; /* Remove any inline-block or extra spacing */
}

/* Thumbnail Styling */
.thumbnail {
    position: relative;
    width: 100% !important; /* Ensure full width inside the container */
    height: 100% !important; /* Fill the container height */
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
    object-fit: contain !important; /* Make the video fill the container and crop if necessary */
    background-color:white;
}

/* Hover effect on thumbnails */
.thumbnail:hover {
    transform: scale(1.1); /* Zoom effect on hover */
}

/* Optional: Styling for selected thumbnail to distinguish it */
.selected-thumbnail {
    border: 2px solid #f39c12 !important;  /* Highlight selected thumbnail */
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.6) !important;  /* Optional: Add glow effect */
    z-index: 2 !important;  /* Ensure selected thumbnail stays on top */
    transform: scale(1) !important;  /* Keep size consistent with other thumbnails */
}


#videoThumbnailContainer {
    position: relative;
    width: 100%;
    max-width: 250px;  /* Set a max width for large screens */
    height: 150px;  /* Set a height to maintain consistency */
    border-radius: 8px;
    overflow: hidden;
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    flex-shrink: 0;
    cursor: pointer;
}


 #imagePopupModal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 9999;
            align-items: center;
            justify-content: center;
        }

        #imagePopupModal .modal-content {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            max-width: 80%;
            max-height: 80%;
            text-align: center;
        }

        #imagePopupModal img {
            max-width: 100%;
            max-height: 100%;
            border-radius: 8px;
        }

        #closeModal {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 24px;
            color: white;
            cursor: pointer;
        }




        /* Style for the popup */
.popup {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* Popup content */
.popup-content {
    position: relative;
    margin: 10% auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    width: 70%;
    max-width: 500px;
}

/* Close button (X) */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

/* Button to retry */
#retryButton {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

/* Change color on hover */
#retryButton:hover {
    background-color: #45a049;
}





/* More Images Section */
.more-images {
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s ease;
    object-fit: cover;
}

.more-images:hover {
    transform: scale(1.05);
}



/***  The arrows  for the slideshow browsing history and also related products ***/


/* Layout adjustments */
.container {
    max-width: 1200px;
}



.product-card img {
    object-fit: contain;  /* Ensures the image fits within the card */
    width: 100%;          /* Makes sure the image doesn't overflow */
    height: 150px;        /* Sets a fixed height for consistency */
}

  /* Adjust the cart dropdown to align to the left */
    .cart-icon .dropdown-menu {
        left: -420% !important; /* Move the dropdown to the left */
        right: auto !important; /* Disable the default right positioning */
          padding-left: 10px; /* Adjust the padding as needed */
    }

    #loggedOutLinks .dropdown-menu {
    z-index: 110;
}


  .carousel-control-prev, .carousel-control-next {
            background-color: black;
            width: 40px;
            height: 40px;
            border-radius: 50%;
        }

        .carousel-control-prev-icon, .carousel-control-next-icon {
            background-color: white;
            width: 20px;
            height: 20px;
        }

        .carousel-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
}

.carousel-container .card {
    flex: 0 0 auto;
    width: 300px; /* Increased width */
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

 #categoryDropdownMenu {
    width: 350px; /* Adjust the width as per your need */
}


  /* Style for the button */
    .custom-dropdown-btn {
        font-size: 1.2rem;
        padding: 10px 20px;
        border-radius: 30px;  /* Rounded button edges */
        transition: background-color 0.3s ease;
    }

    .custom-dropdown-btn:hover {
        background-color: #5a6268; /* Darker shade on hover */
        color: white;
    }

    /* Style for the dropdown menu */
    .custom-dropdown-menu {
        width: 250px;
        min-width: 220px;
        background-color: #f8f9fa; /* Light background for the dropdown */
        border: 1px solid #ddd;  /* Subtle border */
        border-radius: 10px; /* Rounded corners for the menu */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
        padding: 10px 0;
        transition: all 0.3s ease;
    }

    /* Hover effect for each item in the dropdown */
    .custom-dropdown-menu .dropdown-item {
        padding: 10px 20px;
        font-size: 1rem;
        color: #333;
        transition: background-color 0.3s ease;
    }

    /* Hover effect for the dropdown items */
    .custom-dropdown-menu .dropdown-item:hover {
        background-color: #007bff;
        color: white;
    }

    /* Style for the active category */
    .custom-dropdown-menu .dropdown-item.active {
        background-color: #007bff;
        color: white;
    }

    /* Optional: Space out items for better visual balance */
    .dropdown-item + .dropdown-item {
        margin-top: 5px;
    }

    /* Add a custom arrow or icon to the button (optional) */
    .custom-dropdown-btn:before {
        content: " ▼";
    }




/* Styling for PayPal button */
#paypal-button {
    position:relative;
    left:-60% !important;
    width: 100%;  /* Adjust width */
    height: 50px;  /* Adjust height */
    border-radius: 25px;  /* Rounded corners */
    overflow: hidden;  /* Ensure the button's content fits within the rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow to make it look nicer */
}

/* Optional: Style the iframe directly */
#paypal-button iframe {
    border-radius: 25px !important; /* Ensures the iframe inside the button has rounded corners */
}

/* Optional: Adjust text styles */
#paypal-button button {
    font-size: 14px; /* Adjust font size */
    padding: 8px 16px; /* Adjust padding inside the button */
}


/* General Payment Form Styling */
.payment-form {
    background-color: #f9f9f9; /* Light background for forms */
    border-radius: 12px; /* Rounded corners */
    border: 1px solid #ddd; /* Light border */
    padding: 20px; /* Add some internal space */
    margin-top: 20px; /* Add space between forms */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

/* Payment Form Heading Styling */
.payment-form h2 {
    font-size: 1.6rem;
    font-weight: bold;
    color: #333; /* Dark text for better readability */
    margin-bottom: 15px; /* Space below heading */
}

/* Payment Form Paragraph Styling */
.payment-form p {
    font-size: 1rem;
    color: #555; /* Slightly lighter text for description */
    margin-bottom: 20px; /* Space below paragraph */
}

/* Hover Effect on Payment Forms */
.payment-form:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); /* Increase shadow on hover */
    transform: translateY(-5px); /* Slight upward movement on hover */
}

/* Make each payment form a bit more flexible in width */
.payment-form {
    width: 100%; /* Full width of its container */
    max-width: 500px; /* Maximum width to prevent it from becoming too wide */
    margin-left: auto; /* Center horizontally */
    margin-right: auto; /* Center horizontally */
}

/* Add margins for spacing between the payment forms */
.payment-form + .payment-form {
    margin-top: 25px;
}

 .chart-container {
      width: 100%;
      max-width: 400px; /* slightly smaller width */
      height: 300px; /* slightly smaller height */
      margin: auto;
    }
    /* Add extra spacing between rows */
    .chart-row {
      margin-bottom: 30px;
    }


    img {
    transition: none;
}

    /*** Feedback  system section*/
.fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-warning {
    font-size: 2rem; /* Increase star size */
}



/***Feedback section of the website ***/
 /* Custom button style */
.btn-feedback {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #6a11cb, #2575fc); /* Gradient from purple to blue */
    color: white;
    font-weight: bold;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effects */
    border: none;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    text-align: center;
    text-decoration: none; /* Remove default link styling */
}

.btn-feedback:hover {
    background: linear-gradient(135deg, #2575fc, #6a11cb); /* Inverted gradient on hover */
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.2); /* Increased shadow on hover */
    transform: translateY(-3px); /* Slight raise effect */
}

.btn-feedback:active {
    transform: translateY(1px); /* Button presses down slightly */
}

/* Optional: Adding a focus effect for better accessibility */
.btn-feedback:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(39, 117, 252, 0.5); /* Blue outline when focused */
}

.btn-danger, .btn-warning {
    width:180px;
    height: 35px; /* Remove fixed height */
    padding: 8px 16px; /* Adjust padding for desired button size */
    border-radius: 30px; /* Increase border radius for rounded corners */
    font-size: 14px; /* Adjust font size */
}



/** Adm in section of the website */