 @keyframes fadeSlideUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .fade-slide-up {
    opacity: 0;
    animation: fadeSlideUp 1s ease-out forwards;
  }

  .fade-delay-1 {
    animation-delay: 0.3s;
  }

  .fade-delay-2 {
    animation-delay: 0.5s;
  }

/* Container around all products */
.store-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

/* Grid Layout */
.custom-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns always on desktop */
  gap: 30px;
}

/* Product Card */
.custom-product-card {
  display: block;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  padding: 16px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  color: inherit;
  transition: box-shadow 0.3s ease;
}

.custom-product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Image Container */
.custom-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 12px;
}

.custom-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}


/* Title Text */
.custom-product-title {
  font-size: 1.1rem;
  margin: 0;
}

.custom-product-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 6px;
  min-height:7rem;
}

.current-price {
  font-size: 1.75rem;
  font-weight: 500;
  margin: 4px 0;
  color: #111;
}

.inventory {
    color:red !important;
    margin-bottom: 2px !important;
}


.color-swatches {
  display: flex;
  gap: 5px;
  margin-top: 5px;
}

.color-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #ccc;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.custom-image-wrapper img {
  transition: transform 0.3s ease;
}

.custom-product-card:hover .custom-image-wrapper img {
  transform: scale(1.05);
}



.carousel {
    width: 100%; /* Make the carousel take up the full width of its container */
    max-width: 600px; /* Optional: Limit the maximum width of the carousel */
    margin: 0 auto; /* Center the carousel horizontally */
}

.carousel-inner {
    width: 100%;
    max-width: 600px; /* Optional: Limit the maximum width of the carousel */
    height: auto; /* Adjust based on the desired height */
}

.carousel-item {
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

.carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Adjust navbar link size for admin users */
.admin-navbar li a {
    font-size: 0.9em; /* Adjust size as needed */
    padding: 10px 12px; /* Adjust padding as needed */
}

/* Ensure that navbar links don't overflow */
.admin-navbar {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#calendar {
    width: 100%;
    overflow-y: auto;
    height: auto;
    margin-top: 25px;
    border-radius: 2px;
}


.fc-daygrid-day-top {
    padding: 2px; /* Adjust padding */
}

.fc-daygrid-day-frame {
    padding: 2px; /* Adjust padding */
}


#calendar .fc-agendaWeek-view .fc-widget-header {
  background-image: linear-gradient(rgba(237,237,237),rgba(231,231,231), rgba(237,237,237)) !important;
}

#calendar .fc-toolbar {
  background-image: linear-gradient(rgba(237,237,237),rgba(231,231,231), rgba(237,237,237)) !important;
  margin-bottom: 0px;
  padding: 2px;
}


.fc-event-time {
    display: none !important;
}

.popper,
.tooltip {
  opacity:1;
  position: absolute;
  z-index: 9999;
  background: #337ab7;
  color: black;
  width: 150px;
  border-radius: 3px;
  box-shadow: 0 0 2px rgba(0,0,0,0.5);
  padding: 10px;
  text-align: center;
}
.style5 .tooltip {
  background: #337ab7;
  color: #FFFFFF;
  max-width: 200px;
  width: auto;
  font-size: .8rem;
  padding: .5em 1em;
}
.popper .popper__arrow,
.tooltip .tooltip-arrow {
  width: 0;
  height: 0;
  border-style: solid;
  position: absolute;
  margin: 5px;
}

.tooltip .tooltip-arrow,
.popper .popper__arrow {
  border-color: #337ab7;
}
.style5 .tooltip .tooltip-arrow {
  border-color: #1E252B;
}
.popper[x-placement^="top"],
.tooltip[x-placement^="top"] {
  margin-bottom: 5px;
}
.popper[x-placement^="top"] .popper__arrow,
.tooltip[x-placement^="top"] .tooltip-arrow {
  border-width: 5px 5px 0 5px;
  border-left-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  bottom: -5px;
  left: calc(50% - 5px);
  margin-top: 0;
  margin-bottom: 0;
}
.popper[x-placement^="bottom"],
.tooltip[x-placement^="bottom"] {
  margin-top: 5px;
}
.tooltip[x-placement^="bottom"] .tooltip-arrow,
.popper[x-placement^="bottom"] .popper__arrow {
  border-width: 0 5px 5px 5px;
  border-left-color: transparent;
  border-right-color: transparent;
  border-top-color: transparent;
  top: -5px;
  left: calc(50% - 5px);
  margin-top: 0;
  margin-bottom: 0;
}
.tooltip[x-placement^="right"],
.popper[x-placement^="right"] {
  margin-left: 5px;
}
.popper[x-placement^="right"] .popper__arrow,
.tooltip[x-placement^="right"] .tooltip-arrow {
  border-width: 5px 5px 5px 0;
  border-left-color: transparent;
  border-top-color: transparent;
  border-bottom-color: transparent;
  left: -5px;
  top: calc(50% - 5px);
  margin-left: 0;
  margin-right: 0;
}
.popper[x-placement^="left"],
.tooltip[x-placement^="left"] {
  margin-right: 5px;
}
.popper[x-placement^="left"] .popper__arrow,
.tooltip[x-placement^="left"] .tooltip-arrow {
  border-width: 5px 0 5px 5px;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  right: -5px;
  top: calc(50% - 5px);
  margin-left: 0;
  margin-right: 0;
}

.tooltip-inner {
    background-color: transparent;
}


.fa {
  padding: 20px;
  font-size: 30px;
  width: 30px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 50%;
}

.fa:hover {
    opacity: 0.7;
}

.fa-facebook {
  background: #3B5998;
  color: white;
}

.fa-instagram {
  background: #f40083;
  color: white;
}

.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}



.pr-0 {
  padding-right: 0 !important;
}

@media (max-width: 600px) {
  .product-card {
    width: 100%;
    max-width: 300px;
  }

  .product-grid {
    flex-direction: column;
    align-items: center;
  }
    #calendar {
        font-size: 0.7em; /* Adjust as needed */
    }

    .fc-daygrid-day-number, .fc-daygrid-day-top {
        font-size: 0.7em; /* Adjust as needed */
    }
}

@media screen and (max-width: 1028px){
  #larger-h1{ display: none; }   /* hide it on larger screens */
}

@media (min-width: 992px) {
    .col-md-6 {
        width: 75%;
    }
}

@media screen and (min-width: 775px){
  #smaller-h1{ display: none; }   /* hide it on larger screens */
}


@media (min-width: 100px) and (max-width: 440px)  {
  .custom-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
}
