/* Shared NS-Event chrome (public / customer / vendor / auth) */

body {
  font-family: "Inter", sans-serif;
  background-color: #ede9fe;
  color: #1c192c;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
}

.glass-card,
.glass-header,
.glass-panel,
.glass-effect {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.7);
}

.sidebar-open {
  transform: translateX(0) !important;
}

/* Vendor + customer drawers — CSS-owned transforms (avoid Tailwind CDN fights) */
#vendor-sidebar {
  transform: translate3d(-100%, 0, 0);
  translate: none;
  will-change: transform;
}

#vendor-sidebar.sidebar-open {
  transform: translate3d(0, 0, 0);
}

#vendor-sidebar-overlay.is-visible {
  display: block;
}

#customer-sidebar {
  transform: translate3d(-100%, 0, 0);
  translate: none;
  will-change: transform;
}

#customer-sidebar.sidebar-open {
  transform: translate3d(0, 0, 0) !important;
  translate: none !important;
}

#customer-sidebar-overlay.is-visible,
#sidebar-overlay.is-visible {
  display: block;
}

@media (min-width: 768px) {
  #vendor-sidebar {
    transform: translate3d(0, 0, 0);
  }

  #vendor-sidebar-overlay,
  #vendor-sidebar-overlay.is-visible {
    display: none !important;
  }

  #customer-sidebar {
    transform: none;
    translate: none;
  }

  #sidebar-overlay,
  #sidebar-overlay.is-visible {
    display: none !important;
  }
}

.card-shadow {
  box-shadow: 0px 4px 20px rgba(74, 29, 150, 0.05);
}

.card-shadow:hover {
  box-shadow: 0px 10px 30px rgba(74, 29, 150, 0.12);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.vendor-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vendor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 10px 30px rgba(74, 29, 150, 0.12);
}

.vendor-card-shadow {
  box-shadow: 0px 4px 20px rgba(74, 29, 150, 0.05);
}

.pricing-list::-webkit-scrollbar {
  width: 4px;
}

.pricing-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.pricing-list::-webkit-scrollbar-thumb {
  background: #4a1d96;
  border-radius: 10px;
}

.filters-scroll::-webkit-scrollbar {
  width: 4px;
}

.filters-scroll::-webkit-scrollbar-thumb {
  background: #ccc3d4;
  border-radius: 10px;
}

.glass-overlay {
  background: linear-gradient(to bottom, rgba(50, 0, 117, 0.35), rgba(50, 0, 117, 0.85));
}

.ornamental-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fea619, transparent);
  position: relative;
}

.ornamental-divider::before {
  content: "◆";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fea619;
  font-size: 10px;
}

.form-input-focus:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(50, 0, 117, 0.1);
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0px 10px 30px rgba(74, 29, 150, 0.12);
}

.card-hover:hover .material-symbols-outlined {
  transform: scale(1.15) rotate(4deg);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-scrollbar::-webkit-scrollbar {
  height: 4px;
  width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #ccc3d4;
  border-radius: 10px;
}

@media (max-width: 767px) {
  #filters-aside {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(20rem, 88vw);
    transform: translateX(-105%);
    z-index: 50;
  }

  #filters-aside.is-open {
    transform: translateX(0);
  }

  .font-headline-lg,
  .text-headline-lg {
    font-size: 24px;
    line-height: 32px;
  }

  .font-display-lg,
  .text-display-lg {
    font-size: 28px;
    line-height: 36px;
  }
}
