/* Yıldız Sahnesi — hareketli gece gökyüzü + merkezî arama (stardust-hub) */

@import url("https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&display=swap");

.shop-mp-hero--stardust {
  position: relative;
  isolation: isolate;
  --star-ink: #f8fafc;
  --star-muted: rgba(226, 232, 240, 0.78);
  --star-gold: #fbbf24;
  --star-cyan: #67e8f9;
  --star-panel: rgba(15, 23, 42, 0.55);
}

.shop-mp-hero--stardust::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 100vw;
  height: min(420px, 64vw);
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 15% 20%, rgba(251, 191, 36, 0.18), transparent 55%),
    radial-gradient(ellipse 80% 60% at 85% 10%, rgba(103, 232, 249, 0.16), transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 90%, rgba(99, 102, 241, 0.12), transparent 55%),
    linear-gradient(160deg, #020617 0%, #0f172a 42%, #111827 100%);
  background-size: 140% 140%;
  animation: shop-stardust-sky 14s ease-in-out infinite alternate;
}

@keyframes shop-stardust-sky {
  0% {
    background-position: 0% 20%;
    filter: hue-rotate(0deg) brightness(1);
  }
  100% {
    background-position: 100% 40%;
    filter: hue-rotate(18deg) brightness(1.08);
  }
}

.shop-mp-hero--stardust > .shop-mp-container {
  position: relative;
  z-index: 1;
}

.shop-stardust-shell {
  position: relative;
  margin: 0.2rem auto 1.5rem;
  max-width: 720px;
  font-family: "Sora", system-ui, sans-serif;
  animation: shop-stardust-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes shop-stardust-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.shop-stardust-shell__sky {
  position: absolute;
  inset: -8% -4%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.shop-stardust-shell__star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
  animation: shop-stardust-twinkle 2.8s ease-in-out infinite;
}

.shop-stardust-shell__star--a {
  left: 12%;
  top: 18%;
  animation-delay: 0s;
}

.shop-stardust-shell__star--b {
  right: 18%;
  top: 28%;
  width: 2px;
  height: 2px;
  animation-delay: 0.8s;
}

.shop-stardust-shell__star--c {
  left: 48%;
  top: 12%;
  width: 2px;
  height: 2px;
  animation-delay: 1.4s;
}

@keyframes shop-stardust-twinkle {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.6);
  }
}

.shop-stardust-shell__meteor {
  position: absolute;
  width: 90px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #fff 35%, var(--star-gold) 70%, transparent);
  opacity: 0;
  transform: rotate(-28deg);
  animation: shop-stardust-meteor 5.5s linear infinite;
}

.shop-stardust-shell__meteor--1 {
  top: 22%;
  left: -10%;
  animation-delay: 0.4s;
}

.shop-stardust-shell__meteor--2 {
  top: 48%;
  left: 20%;
  width: 70px;
  animation-delay: 2.2s;
  animation-duration: 6.5s;
}

.shop-stardust-shell__meteor--3 {
  top: 16%;
  right: -5%;
  width: 60px;
  animation-delay: 3.8s;
  animation-duration: 7s;
}

@keyframes shop-stardust-meteor {
  0% {
    opacity: 0;
    transform: translateX(0) translateY(0) rotate(-28deg);
  }
  8% {
    opacity: 1;
  }
  28% {
    opacity: 0;
    transform: translateX(220px) translateY(110px) rotate(-28deg);
  }
  100% {
    opacity: 0;
    transform: translateX(220px) translateY(110px) rotate(-28deg);
  }
}

.shop-stardust-shell__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.45;
  animation: shop-stardust-glow 8s ease-in-out infinite alternate;
}

.shop-stardust-shell__glow--1 {
  width: 160px;
  height: 160px;
  left: -20px;
  top: 30%;
  background: rgba(251, 191, 36, 0.35);
}

.shop-stardust-shell__glow--2 {
  width: 180px;
  height: 180px;
  right: -30px;
  top: 10%;
  background: rgba(103, 232, 249, 0.28);
  animation-delay: 1.5s;
}

@keyframes shop-stardust-glow {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(-12px) scale(1.08);
  }
}

.shop-stardust-shell__panel {
  position: relative;
  z-index: 1;
  padding: 1.25rem 1.2rem 1.15rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(15, 23, 42, 0.45) 45%,
    rgba(2, 6, 23, 0.55) 100%
  );
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(251, 191, 36, 0.06) inset;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.shop-stardust-shell.is-focused .shop-stardust-shell__panel {
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(251, 191, 36, 0.12);
}

.shop-stardust-shell__head {
  text-align: center;
  margin: 0 0 0.75rem;
}

.shop-stardust-shell__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--star-gold);
}

.shop-stardust-shell__title {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--star-ink);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.shop-stardust-shell__sub {
  margin: 0.45rem auto 0;
  max-width: 26rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--star-muted);
  transition: color 0.2s ease;
}

.shop-stardust-shell[data-mode="oem"] .shop-stardust-shell__sub {
  color: var(--star-cyan);
}

.shop-stardust-shell[data-mode="vin"] .shop-stardust-shell__sub {
  color: var(--star-gold);
}

.shop-stardust-shell__chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
}

.shop-stardust-shell__chip {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(248, 250, 252, 0.75);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.shop-hero-hub--stardust {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  max-width: none;
}

.shop-hero-hub--stardust .shop-hero-hub__layout {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.shop-hero-hub--stardust .shop-vf__chassis-row {
  display: none !important;
}

.shop-hero-hub--stardust .shop-hero-hub__search-row {
  display: flex;
  gap: 0.45rem;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0.35rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(2, 6, 23, 0.55);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, box-shadow 0.25s ease;
}

.shop-stardust-shell.is-focused .shop-hero-hub--stardust .shop-hero-hub__search-row {
  border-color: rgba(251, 191, 36, 0.55);
  box-shadow:
    0 0 0 3px rgba(251, 191, 36, 0.15),
    0 12px 30px rgba(0, 0, 0, 0.3);
}

.shop-hero-hub--stardust .shop-hero-hub__input-wrap {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}

.shop-hero-hub--stardust .shop-hero-hub__input-wrap input,
.shop-hero-hub--stardust #shop-hero-search-input {
  height: 2.7rem;
  border: none;
  background: transparent;
  color: #f8fafc;
  font-family: "Sora", system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 550;
  outline: none;
  box-shadow: none;
  width: 100%;
}

.shop-hero-hub--stardust #shop-hero-search-input::placeholder {
  color: rgba(226, 232, 240, 0.42);
}

.shop-hero-hub--stardust .shop-hero-hub__icon {
  color: var(--star-gold);
}

.shop-hero-hub--stardust .shop-hero-hub__btn {
  flex: 0 0 auto;
  min-width: 6.25rem;
  height: 2.7rem;
  padding: 0 1.15rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 45%, #f59e0b 100%);
  color: #1c1917;
  font-family: "Sora", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(251, 191, 36, 0.3);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.shop-hero-hub--stardust .shop-hero-hub__btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Filtreler — gökyüzü paneliyle harmanlı */
.shop-hero-hub--stardust #shop-vehicle-filter,
.shop-hero-hub--stardust.is-manual-open #shop-vehicle-filter {
  display: block !important;
  margin: 0.85rem 0 0;
  padding: 0.85rem 0 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  box-shadow: none;
}

.shop-hero-hub--stardust .shop-vf__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.25rem;
  gap: 0.45rem;
  align-items: stretch;
}

.shop-hero-hub--stardust .shop-vf__filters-row {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  min-width: 0;
}

.shop-hero-hub--stardust .shop-vf__trigger--inline {
  width: 100%;
  min-height: 2.7rem;
  padding: 0.45rem 0.55rem !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(2, 6, 23, 0.45) !important;
  box-shadow: none !important;
  color: #f8fafc !important;
  font-family: "Sora", system-ui, sans-serif;
}

.shop-hero-hub--stardust .shop-vf__col--brand .shop-vf__trigger--inline,
.shop-hero-hub--stardust .shop-vf__col--model .shop-vf__trigger--inline,
.shop-hero-hub--stardust .shop-vf__col--engine .shop-vf__trigger--inline {
  background: rgba(2, 6, 23, 0.45) !important;
}

.shop-hero-hub--stardust .shop-vf__trigger--inline:hover:not(:disabled) {
  border-color: rgba(103, 232, 249, 0.45) !important;
  background: rgba(103, 232, 249, 0.1) !important;
  transform: none;
}

.shop-hero-hub--stardust .shop-vf__trigger--inline[aria-expanded="true"],
.shop-hero-hub--stardust .shop-vf__trigger--inline.is-active {
  border-color: rgba(251, 191, 36, 0.5) !important;
  background: rgba(251, 191, 36, 0.12) !important;
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.12) !important;
}

.shop-hero-hub--stardust .shop-vf__field-icon {
  color: var(--star-cyan) !important;
  opacity: 1 !important;
}

.shop-hero-hub--stardust .shop-vf__trigger--inline .shop-vf__val,
.shop-hero-hub--stardust .shop-vf__col--brand .shop-vf__trigger--inline .shop-vf__val,
.shop-hero-hub--stardust .shop-vf__col--model .shop-vf__trigger--inline .shop-vf__val,
.shop-hero-hub--stardust .shop-vf__col--engine .shop-vf__trigger--inline .shop-vf__val {
  font-family: "Sora", system-ui, sans-serif;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  color: rgba(248, 250, 252, 0.92) !important;
}

.shop-hero-hub--stardust .shop-vf__trigger--inline.is-active .shop-vf__val {
  color: var(--star-gold) !important;
}

.shop-hero-hub--stardust .shop-vf__chev {
  color: rgba(226, 232, 240, 0.5) !important;
}

.shop-hero-hub--stardust .shop-vf__apply--stacked {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  min-height: 2.7rem;
  border-radius: 12px !important;
  border: none !important;
  background: linear-gradient(135deg, #67e8f9, #22d3ee) !important;
  color: #083344 !important;
  box-shadow: 0 8px 18px rgba(34, 211, 238, 0.28) !important;
  opacity: 1;
}

.shop-hero-hub--stardust .shop-vf__apply--stacked:disabled {
  opacity: 0.35 !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: rgba(248, 250, 252, 0.55) !important;
  box-shadow: none !important;
}

.shop-hero-hub--stardust .shop-vf__apply--stacked:not(:disabled):hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.shop-hero-hub--stardust .shop-vf__apply-label {
  font-family: "Sora", system-ui, sans-serif;
  color: inherit !important;
}

.shop-hero-hub--stardust .shop-vf__panel--inline {
  border-radius: 12px;
  border: 1px solid rgba(103, 232, 249, 0.25);
  background: #0b1220;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
}

.shop-stardust-confirm {
  margin-top: 0.8rem;
}

.shop-stardust-confirm__card {
  border-radius: 14px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: linear-gradient(160deg, rgba(251, 191, 36, 0.16) 0%, rgba(2, 6, 23, 0.75) 100%);
  animation: shop-stardust-rise 0.35s ease;
}

.shop-stardust-confirm__eyebrow {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--star-gold);
}

.shop-stardust-confirm__q {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
  font-weight: 750;
  color: #f8fafc;
}

.shop-stardust-confirm__vehicle {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.9);
}

.shop-stardust-confirm__vin {
  margin: 0.15rem 0 0;
  font-size: 0.74rem;
  font-family: ui-monospace, monospace;
  color: rgba(226, 232, 240, 0.55);
}

.shop-stardust-confirm__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.shop-stardust-confirm__yes {
  border: none;
  border-radius: 10px;
  padding: 0.5rem 0.95rem;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  color: #1c1917;
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
}

.shop-stardust-confirm__no {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 0.5rem 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(248, 250, 252, 0.85);
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
}

@media (max-width: 640px) {
  .shop-stardust-shell__panel {
    padding: 1rem 0.9rem 1rem;
    border-radius: 18px;
  }

  .shop-hero-hub--stardust .shop-hero-hub__search-row {
    flex-direction: column;
  }

  .shop-hero-hub--stardust .shop-hero-hub__btn {
    width: 100%;
  }

  .shop-hero-hub--stardust .shop-vf__layout {
    grid-template-columns: 1fr;
  }

  .shop-hero-hub--stardust .shop-vf__filters-row {
    grid-template-columns: 1fr;
  }

  .shop-hero-hub--stardust .shop-vf__apply--stacked {
    grid-column: 1;
    grid-row: 2;
    flex-direction: row;
    gap: 0.35rem;
    min-height: 2.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-mp-hero--stardust::before,
  .shop-stardust-shell,
  .shop-stardust-shell__star,
  .shop-stardust-shell__meteor,
  .shop-stardust-shell__glow {
    animation: none !important;
  }
}
