#content{
  height: calc(100vh - 6.5rem);
  overflow: auto;
}
.nav-buttons {
  display: flex;
  flex-wrap: nowrap; /* Critical! Prevents wrapping */
  overflow-x: auto; /* Enables horizontal scroll */
  gap: 10px; /* Spacing between buttons */
  
  scroll-behavior: smooth; /* Optional: smooth scrolling */
  
}

/* Hide scrollbar on desktop (but keep functionality) */
.nav-buttons::-webkit-scrollbar {
  display: none; /* Hide scrollbar in WebKit browsers */
}
.nav-buttons {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}

/* Scroll arrows (appear only when needed) */
.scrollBtn {
  position: absolute;
  top: 4rem;
  background-color: #96310f;
  border: none;
  
  width: 2.5rem;
  height: 2.5rem;
  display: none; /* Hidden until needed */
  cursor: pointer;
  z-index: 2001;
  
  font-weight: bold;
  
  transition: opacity 0.2s;
}

.scrollLeft {
  left: 0px;
}
.scrollRight {
  right: 0px;
}
/* Show arrows when content overflows */
.nav-buttons:has(> *:last-child:after) .scroll-right,
.nav-buttons:has(> *:first-child:before) .scroll-left {
  display: block;
}

/* Optional: Fade-in effect on hover */
.scroll-btn:hover {
  opacity: 1;
}
.top10{
  width: 100%;
  height: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #444;
  border: 1px solid #666;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.container-xl{
  height: calc(100vh - 6rem);
  overflow: scroll;
}
#results{
  gap: 2rem;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.itemCard{
  border: 2px solid #555;
  border-radius: 1.5rem;
  overflow: hidden;
  width: 16rem;
  justify-content: space-between;
  height: 28rem;
  /*width: unset;*/
}
.itemImgDiv{
  height: 13rem;
  background-color: #eee;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.card-name{
  font-size: 1rem;
}
.itemCard p{
  font-size: 0.8rem;
}
.sticky-top-table
{
  top: 4rem;
}
.faceImg{
  max-height: 3rem;
}
#faceOverlay{
  display: none;
  position: fixed;
  width: 12rem;
  left: calc(50% - 5rem);
  top: 15rem;
  z-index: 2001;
  padding: 1rem;
  background-color: #0007;
  border: 1px solid #555;
}
.cartEdit{
  width: 10rem;
  height: 3rem;
  border-radius: 1.5rem;
  background-color: #96310f;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}
.cartBtn{
  width: 3rem;
  height: 3rem;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background-color: #0000;
  color: white;
  border: none;
  transition: all 0.4s;
  position: relative;
}
.cartBtn:hover{
  background-color: #BF4C26ff;
}
.cartBtn:after {
  content: " ";
  background: #cceecc;
  display: block;
  border-radius: 50%;
  position: absolute;
  top: calc(50% - 50px);
  left: calc(50% - 50px);

  width: 100px;
  height: 100px;
  /*padding-top: 300%;
  margin-left: -20px!important;
  margin-top: -120%;
  padding-left: 350%;*/
  opacity: 0;
  transition: all 0.8s
}

.cartBtn:active:after {
  padding: 0;
  top: 50%;
  left: 50%;
  height: 0px;
  width: 0px;
  margin: 0;
  opacity: 1;
  transition: 0s
}
.sidebar{
  width: 10rem;
  background-color: #555;
  position: fixed;
  top: 0;
  left: -10rem;
  height: 100vh;
  padding-left: 0;
  z-index: 1100;
  overflow:hidden;
  display: none;
}
.bar1, .bar2, .bar3 {
  width: 35px;
  height: 5px;
  background-color: #eee;
  margin: 6px 0;
  transition: 0.4s;
}
.closeSidebarBtn{
  position: relative;
  left: 7rem;
  font-size: 2rem;
  padding: 0.25rem;
  border-radius: 0;
}
.status{
  padding: 0.5rem;
  background-color: #555;
  border-radius: 0.25rem;
}
.status-complete{
  background-color: #373;
}
.status-progress{
  background-color: #772;
}
.status-cancelled{
  background-color: #a33;
}
.sidebarShow{
  left: 0;
  padding-left: 1rem;
}
.profile-picture {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0; /*15px 0 25px 0;*/
}
.navbar{
  background-color: #96310f;
  padding-left: 2rem;
  height: 4rem;
}
.hamburger{
  display: none;
}

.orderDetail{
  width: 100%;
  
  border: 1px solid #555;
  border-radius: 0.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}


.profile-picture img {
  margin-right: 0.25rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.addToCart{
  /*
  font-size: 28px;
  background-color: #04AA6D;
  */

  border: none;
  border-radius: 2rem;
  position: relative;
  background-color: #96310f;
  border: none;
  color: #FFFFFF;

  padding: 0.4rem;
  padding-left: 0.8rem;
  padding-right: 0.8rem;

  /*width: 16rem;*/
  text-align: center;
  /*-webkit-transition-duration: 1s; /* Safari * /
  transition-duration: 1s;*/
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s;

}
.addToCart:hover{
  background: #BF4C26;
  transition: all 0.4s;
  padding: 0.7rem;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
  margin-top: -0.15rem;
}
.addToCart:after {
  content: " ";
  background: #cceecc;
  display: block;
  border-radius: 50%;
  position: absolute;
  top: calc(50% - 100px);
  left: calc(50% - 100px);

  width: 200px;
  height: 200px;
  /*padding-top: 300%;
  margin-left: -20px!important;
  margin-top: -120%;
  padding-left: 350%;*/
  opacity: 0;
  transition: all 0.8s
}
/*.addToCart:active{
  /*padding: 0.3rem;
  padding-left: 0.7rem;
  padding-right: 0.7rem;
  transition: all 0.3s;* /
}*/
.addToCart:active:after {
  padding: 0;
  top: 50%;
  left: 50%;
  height: 0px;
  width: 0px;
  margin: 0;
  opacity: 1;
  transition: 0s
}

.typeBtn{
  border: none;
  background-color: #444;
  height: 2.5rem;
  width: auto;
  white-space: nowrap;
  border-radius: 0;

}
.typeBtn:hover{
  background-color: #bb3f16;
}
.typeBtnActive{
  background-color: #96310f;
}
.nav-link{
  white-space: nowrap;
}
.controlNav{
  background-color: #444; 
  /*padding-left: 2rem; */
  height: 2.5rem; 
  top: 4rem; 
  overflow-x: scroll;
}
#cartMobile{
  display: none;
  flex-direction: row;
}
#cartMobileBtn{
  text-decoration: none;
  margin: 0;
  padding: 0;
  padding-right: 0.5rem;
  color: white;
}
.badge{
  position: relative;
  left: -0.75rem;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #eeea;
  border: none;
  height: 1rem;
  width: 1rem;
  border-radius: 0.6rem;
}
.badge span{
  font-size: 0.5rem;
  color: #333;
}
#cartBadge{
  top: 0.5rem;
  left: -0.4rem;
}
* {
  box-sizing: border-box;
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 16px;
}

/* toggle-pill-color */
.toggle-pill-color input[type="checkbox"] {
  display: none;
}
.toggle-pill-color input[type="checkbox"] + label {
  display: block;
  position: relative;
  width: 3em;
  height: 1.6em;
  margin-bottom: 20px;
  border-radius: 1em;
  background: #555;
  box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-transition: background 0.1s ease-in-out;
  transition: background 0.1s ease-in-out;
}
.toggle-pill-color input[type="checkbox"] + label:before {
  content: "";
  display: block;
  width: 1.2em;
  height: 1.2em;
  border-radius: 1em;
  background: #fff;
  box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.2);
  position: absolute;
  left: 0.2em;
  top: 0.2em;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.toggle-pill-color input[type="checkbox"]:checked + label {
  background: #47cf73;
}
.toggle-pill-color input[type="checkbox"]:checked + label:before {
  box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.2);
  left: 1.6em;
}
/* toggle-pill-color end */


body {

  margin: 0;
}
.content {
  max-width: 400px;
  width: 100%;
  margin: 50px auto 15px auto;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  padding: 25px;
}
.content h1 {
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 15px 0;
  color: #3b4252;
}
.content h1 .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #9196a5;
  margin-left: 5px;
  font-size: 14px;
}
.content h1 .icon svg {
  fill: #fff;
}
.content .login-txt {
  margin: 0;
  padding: 15px 0 25px 0;
  color: #3b4252;
}
.content .google-login-btn {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  width: 100%;
  overflow: hidden;
  border-radius: 5px;
  background-color: #d6523e;
  cursor: pointer;
}
.content .google-login-btn .icon {
  display: inline-flex;
  height: 100%;
  padding: 15px 20px;
  align-items: center;
  justify-content: center;
  background-color: #cf412c;
  margin-right: 15px;
}
.content .google-login-btn .icon svg {
  fill: #fff;
}
.content .google-login-btn:hover {
  background-color: #d44a36;
}
.content .google-login-btn:hover .icon {
  background-color: #c63f2a;
}
.content .profile-picture {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0 25px 0;
}
.content .profile-picture img {
  width: 100%;
  max-width: 100px;
  border-radius: 50%;
}
.content .profile-details {
  display: flex;
  flex-flow: column;
  padding: 10px 0;
}
.content .profile-details > div {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f1f2f5;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
.content .profile-details > div .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #9196a5;
  margin-right: 15px;
  font-size: 14px;
}
.content .profile-details > div .icon svg {
  fill: #fff;
}
.content .profile-details > div strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.content .profile-details > div:last-child {
  border-bottom: none;
}
.content .logout-btn {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  width: 100%;
  overflow: hidden;
  border-radius: 5px;
  background-color: #db5d36;
  cursor: pointer;
}
.content .logout-btn .icon {
  display: inline-flex;
  height: 100%;
  padding: 15px 20px;
  align-items: center;
  justify-content: center;
  background-color: #d24e26;
  margin-right: 15px;
}
.content .logout-btn .icon svg {
  fill: #fff;
}
.content .logout-btn:hover {
  background-color: #d9562d;
}
.content .logout-btn:hover .icon {
  background-color: #c94b24;
}

@media only screen and (max-width: 991px){
  .navbar{
    background-color: #96310f;
    padding-left: 0.5rem;
    height: 6rem;
  }
  .hamburger{
    display: block;
  }
  .sidebar{
    display: block;
  }
  #content{
    height: calc(100vh - 8.5rem);
  }
  #cartMobile{
    display: flex;
  }
  .sticky-top-table
  {
    top: 6rem;
  }
  .itemImgDiv{
    height: 13rem;
    width: 40%;
    overflow-x: hidden;
    background-color: #eee;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  .itemImgDiv img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  .itemCard{
    flex-direction: row !important;
    max-width: 90%;
    border-radius: 1.2rem;
    height: auto;
    width: 90%;
  }
  .itemDetailDiv{
    width: 60%;
  }
  .card-name{
    font-size: 1rem;
  }
  .itemCard p{
    font-size: 0.8rem;
  }
  .addToCart{
    font-size: 0.8rem;
  }
  .img-fluid{
    max-height: 10rem;
  }
  #results{
    flex-direction: column;
    gap: 0.75rem;
    
  }
  .scrollBtn{
    display: none;
  }
  
}

#loadScreen{
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: #3337;
}
.loader-container{
  padding-top:5%;
  display: flex;
  flex-direction: row;
}

.loader-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 25%;
}

.loader-item{
    display: inline-block;
    width: 2em;
    height: 2em;
    color: inherit;
    vertical-align: middle;
    pointer-events: none;
    font-size: 2.4rem;
    border: 0.3rem solid #96310f; 
    border-bottom-color: transparent;
    border-radius: 50%;
    animation: 1s loader-animation linear infinite;
    position: relative;
    margin-bottom: 2rem;
}

@keyframes loader-animation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader-success-completed{
    animation: none;
    border-bottom-color: none;
    border-color: #00b359;
    border-width: 0.3rem;
    animation: fade-in-bck 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

.loader-failure-completed{
    animation: none;
    border-bottom-color: none;
    border-color: #ff6666;
    border-width: 0.3rem;
    animation: fade-in-bck 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

.loader-check-icon{
    display: none;
    font-size: 4.3rem;
}

.loader-check-icon-completed{
    display: block;
    color: #00b359;
    animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.loader-failure-icon{
    display: none;
    font-size: 4.3rem;
}

.loader-failure-icon-completed{
    display: block;
    color: #ff6666;
    animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}

@keyframes fade-in-bck {
  0% {
    -webkit-transform: translateZ(80px);
            transform: translateZ(80px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
    opacity: 1;
  }
}