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

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(255, 211, 107, 0.12), transparent 25%),
    radial-gradient(circle at 80% 0%, rgba(97, 181, 255, 0.08), transparent 30%),
    #0a121c;
  color: #d6dde8;
}

.bg-dark-glass {
  background: rgba(14, 21, 32, 0.8);
  border: 1px solid rgba(255, 211, 107, 0.08);
  backdrop-filter: blur(6px);
}

.bg-gradient-dark {
  background: linear-gradient(135deg, #112131, #0a0f1a);
  border: 1px solid rgba(255, 211, 107, 0.15);
}

.bg-stars {
  position: relative;
}

.bg-stars::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(1px 1px at 20% 30%, #fff, transparent),
    radial-gradient(1px 1px at 80% 80%, #fff, transparent),
    radial-gradient(1px 1px at 60% 10%, #fff, transparent),
    radial-gradient(1px 1px at 30% 70%, #fff, transparent);
  opacity: 0.2;
  pointer-events: none;
}

.card-gold {
  background: linear-gradient(180deg, rgba(20, 31, 46, 0.9), rgba(12, 18, 28, 0.9));
  border: 1px solid rgba(255, 211, 107, 0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.card-gold .card-title {
  letter-spacing: 0.01em;
}

.card-gold .card-img-top {
  aspect-ratio: 4 / 3;
  height: 225px;
  object-fit: cover;
}

.card-img-fallback {
  background: linear-gradient(145deg, #0f1a28, #0a121c);
  color: #ffd36b;
  padding: 12px;
  word-break: break-word;
}

.card-img-fallback .fallback-title {
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  line-height: 1.25;
  font-weight: 700;
}

.product-thumb {
  position: relative;
}

.product-thumb .thumb-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(10, 18, 28, 0) 0%, rgba(10, 18, 28, 0.9) 80%);
  color: #f8fbff;
}

.product-thumb .thumb-title {
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}

.product-card .price-block {
  background: rgba(255, 211, 107, 0.05);
  border: 1px solid rgba(255, 211, 107, 0.15);
  border-radius: 10px;
  padding: 8px 10px;
  margin-top: auto;
}

.product-card .tags-row {
  min-height: 24px;
}

.detail-img {
  width: 100%;
  object-fit: contain;
  background: #0b1320;
}

.detail-fallback {
  min-height: 360px;
  background: linear-gradient(145deg, #0f1a28, #0a121c);
}

.detail-fallback .fallback-title {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.25;
  font-weight: 700;
}

.price-detail > div {
  min-width: 120px;
}

.text-muted {
  color: #b8c5d6 !important;
}

@media (max-width: 768px) {
  .card-gold .card-img-top {
    height: 180px;
  }
}

.lang-switch .nav-link.active {
  color: #ffd36b !important;
}

.flash-stack .alert {
  margin-bottom: 8px;
}

.badge.bg-outline {
  background: rgba(255, 211, 107, 0.1);
}

.navbar-brand small {
  font-size: 0.8rem;
}

.hero .rounded-4 {
  border-radius: 20px;
}

@media (max-width: 768px) {
  .navbar .lang-switch .nav-link {
    padding: 4px 6px;
  }
}

/* Form readability on dark backgrounds */
.form-control,
.form-select {
  color: #f7f9fd;
}

.form-control::placeholder {
  color: rgba(247, 249, 253, 0.6);
}

.input-group-text {
  color: #f7f9fd;
}
