.specialoffers {
  left: 0;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: left 0.3s ease-in-out;
  writing-mode: sideways-lr;
  text-orientation: mixed;
}
.flying-item {
  position: fixed;
  width: 30px;
  height: 30px;
  background-color: #ff9800; /* Customize */
  border-radius: 50%;
  z-index: 1000;
  transition: all 0.8s ease-in-out;
  pointer-events: none;
}
.filter-tag {
  display: inline-block;
  background: #007bff;
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
}
.filter-tag button {
  border: none;
  background: transparent;
  color: white;
  margin-left: 5px;
  cursor: pointer;
}
#sidebar {
  position: fixed;
  top: var(--nav-size-slim); /* Start below the navbar */
  left: -300px; /* Initially hidden */
  width: 18.75rem; /* Default: 300px */
  height: calc(100vh - 2*var(--nav-size-slim)); /* Adjust height */
  background: #f8f9fa;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
  overflow-y: auto; /* Enables auto-scroll */
  transition: all 0.3s ease-in-out;
  z-index: 999;
  padding-top: 1.25rem; /* 20px in rem */
}

/* Full width on mobile */
@media (max-width: 768px) {
  #sidebar {
    width: 100vw; /* Full screen width */
    left: -100vw; /* Hide initially */
  }
}


/* Content Push Effect */
.content {
  transition: margin-left 0.3s ease-in-out;
  margin-left: 50px !important;
}

/* When sidebar is open */
.sidebar-open {
  left: 0 !important;
}

.content-shift {
  margin-left: 300px !important;
}

/* Close button */
#closeSidebar {
  position: absolute;
  top: 10px;
  right: 15px;
}
#filterBtn {
  position: fixed;
  top: var(--nav-size-slim);
  left: 0;
  height: calc(100vh - 2*var(--nav-size-slim)); /* Full height minus navbar */
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: left 0.3s ease-in-out;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
#filterBtn i {
  writing-mode: horizontal-tb;
}

.filter-container {
  text-align: center;
  margin: 20px;
}
input {
  padding: 8px;
  width: 250px;
  font-size: 16px;
}
#loading {
  display: none;
  text-align: center;
  font-size: 18px;
  padding: 10px;
}

.ribbon {
  line-height: 0.8em;
  text-transform: uppercase;
  text-align: center;
  font-weight: bold;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.15);
  display: block;
  width: 4rem;
  height: 2rem;
  background: linear-gradient(to bottom, #999999 0%, var(--primary) 100%);
  color: white;
  float: left;
  padding-top: 1rem;
  position: relative;
  -webkit-filter: drop-shadow(0 0.5rem 0.3em rgba(0, 0, 0, 0.5));
  transform: translate3d(0, 0, 0);
}
.ribbon:after {
  content: "";
  width: 0;
  height: 0;
  border-right: 2rem solid transparent;
  border-left: 2rem solid transparent;
  border-top: 1rem solid #CCCCCC;
  position: absolute;
  top: 2rem;
  left: 0;
}
.ribbon.ribbon--red {
  background: linear-gradient(to bottom, #D3362D 0%, #E57368 100%);
}
.ribbon.ribbon--red:after {
  border-top: 1.5rem solid #E57368;
}
.ribbon.ribbon--orange {
  background: linear-gradient(to bottom, #E7711B 0%, #F7981D 100%);
}
.ribbon.ribbon--orange:after {
  border-top: 1.5rem solid #F7981D;
}
.ribbon.ribbon--yellow {
  background: linear-gradient(to bottom, #F1CA3A 0%, #F6EB3B 100%);
}
.ribbon.ribbon--yellow:after {
  border-top: 1.5rem solid #F6EB3B;
}
.ribbon.ribbon--green {
  background: linear-gradient(to bottom, #5f9654 0%, #65b045 100%);
}
.ribbon.ribbon--green:after {
  border-top: 1.5rem solid #65B045;
}
.ribbon.ribbon--blue {
  background: linear-gradient(to bottom, #1C91C0 0%, #11A9CC 100%);
}
.ribbon.ribbon--blue:after {
  border-top: 1.5rem solid #11A9CC;
}
.ribbon.ribbon--purple {
  background: linear-gradient(to bottom, #5C3292 0%, #7E3794 100%);
}
.ribbon.ribbon--purple:after {
  border-top: 1.5rem solid #7E3794;
}

/* Skeleton Loading Styles */
.skeleton-card {
  width: 100%;
  background: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.skeleton {
  background: linear-gradient(90deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: 5px;
}
.skeleton-img {
  width: 100%;
  height: 150px;
  margin-bottom: 10px;
}
.skeleton-title {
  width: 80%;
  height: 20px;
  margin-bottom: 10px;
}
.skeleton-text {
  width: 100%;
  height: 15px;
  margin-bottom: 5px;
}
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
