html {
  scroll-behavior: smooth;
}

body {
  background-color: #fcfbfe !important;
  font-family: "Poppins", sans-serif !important;
  margin: 0;
  padding: 0;
}

/* ==================== Floating Messages (Toasts) ==================== */
.floating-messages {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.custom-toast {
  position: relative;
  min-width: 320px;
  max-width: 600px;
  padding: 15px 20px;
  border: 2px solid #000;
  border-radius: 12px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.8);
  color: #000;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  animation: slideFade 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.custom-toast p {
  margin: 0;
  flex: 1;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.4;
}

.custom-toast.success {
  border-color: #28a745;
  color: #28a745;
}
.custom-toast.error {
  border-color: #dc3545;
  color: #dc3545;
}
.custom-toast.warning {
  border-color: #ffc107;
  color: #e6a400;
}
.custom-toast.info {
  border-color: #0dcaf0;
  color: #0dcaf0;
}

.close-toast {
  background: none;
  border: none;
  font-size: 20px;
  font-weight: bold;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s;
}
.close-toast:hover {
  transform: scale(1.2);
}

@keyframes slideFade {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==================== Floating Sidebar ==================== */
.floating-sidebar {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 65px;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid #ddd;
  border-radius: 0 12px 12px 0;
  box-shadow: 2px 4px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.sidebar-icon {
  position: relative;
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: #000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.sidebar-icon:hover {
  background: #000;
  color: #fff;
  transform: scale(1.1) translateY(-2px);
}

.sidebar-icon i {
  font-size: 20px;
}

.indicator-dot,
.cart-indicator-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  background-color: #dc3545;
  border-radius: 50%;
  border: 2px solid white;
  pointer-events: none;
}

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
  .floating-sidebar {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    height: 65px;
    border-radius: 0;
    padding: 0 10px;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
  }

  .sidebar-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .floating-messages {
    top: 15px;
    left: 10px;
    right: 10px;
  }
}
