/* Custom Styles for AmazeSafe */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #111827;
  background-color: #ffffff;
}

/* Product Card Hover Transitions */
.ProductCard {
  transition: all 0.3s ease-out;
}

.ProductCard .textpart {
  transition: transform 0.3s ease-out;
}

.ProductCard:hover .textpart {
  transform: translateY(-1rem);
}

.ProductCard:hover {
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

/* MUI Style Stepper */
.stepper-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 100%;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

.stepper-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #e5e7eb;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}

.stepper-step.active .stepper-circle {
  background-color: #4f46e5;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
}

.stepper-step.completed .stepper-circle {
  background-color: #10b981;
  color: #ffffff;
}

.stepper-label {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  text-align: center;
}

.stepper-step.active .stepper-label {
  color: #111827;
  font-weight: 600;
}

.stepper-line {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #e5e7eb;
  z-index: 0;
}

.stepper-line-progress {
  height: 100%;
  background-color: #4f46e5;
  transition: width 0.3s ease;
}

/* Rating Stars */
.rating-stars {
  display: inline-flex;
  gap: 2px;
  color: #faaf00;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #c7c7c7;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Home Section Carousel styling */
.carousel-track-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  gap: 1.5rem;
}

/* Popover mega menu transition */
.mega-menu-panel {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.mega-menu-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mobile Drawer */
.mobile-drawer-overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-panel {
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-drawer-panel.open {
  transform: translateX(0);
}
