/* ===== Metropolis font (marka fontu) ===== */
@font-face {
  font-family: "Metropolis";
  src: url("https://ext.same-assets.com/3069022275/280130985.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Metropolis";
  src: url("https://ext.same-assets.com/3069022275/2927686666.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Metropolis";
  src: url("https://ext.same-assets.com/3069022275/1730544926.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --theme-bg: 257 73% 24%;
  --theme-bg-2: 256 65% 16%;
  --theme-purple: 256 67% 48%;
  --theme-purple-dark: 256 73% 39%;
  --theme-purple-light: 256 60% 60%;
  --theme-card: 257 55% 30%;
  --theme-yellow: 45 100% 50%;
  --theme-yellow-hover: 46 100% 58%;
  --theme-teal: 162 45% 58%;
  --theme-cyan: 184 70% 62%;
  --theme-red: 339 64% 49%;
  --foreground: 0 0% 100%;
  --radius: 0.5rem;
}

* {
  border-color: hsl(257 45% 40%);
}

body {
  color: hsl(var(--foreground));
  background-color: hsl(var(--theme-bg));
  font-family: "Metropolis", "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Tema renk yardımcıları */
.bg-theme-purple { background-color: hsl(256 67% 48%); }
.bg-theme-bg { background-color: hsl(257 73% 24%); }
.bg-theme-bg-2 { background-color: hsl(256 65% 16%); }
.bg-theme-card { background-color: hsl(257 55% 30%); }
.bg-theme-yellow { background-color: hsl(45 100% 50%); }
.text-theme-bg { color: hsl(257 73% 24%); }
.text-theme-teal { color: hsl(162 45% 58%); }
.text-theme-cyan { color: hsl(184 70% 62%); }
.text-theme-yellow { color: hsl(45 100% 50%); }
.ring-theme-yellow { --tw-ring-color: hsl(45 100% 50%); }
.hover\:bg-theme-yellow-hover:hover { background-color: hsl(46 100% 58%); }
.bg-theme-purple\/20 { background-color: hsl(256 67% 48% / 0.2); }
.bg-theme-purple\/30 { background-color: hsl(256 67% 48% / 0.3); }
.hover\:ring-theme-purple:hover { --tw-ring-color: hsl(256 67% 48%); }
.ring-theme-purple { --tw-ring-color: hsl(256 67% 48%); }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.theme-gradient-text {
  background: linear-gradient(90deg, #ff5fd1 0%, #ffd93d 50%, #5be7c4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.carousel-scroll { scroll-behavior: smooth; }

/* Kategori ikonları */
.category-icon-img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.category-icon-svg {
  width: 2rem;
  height: 2rem;
}

.category-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: hsl(257 55% 30%);
}

.category-icon-wrap--brand {
  background: hsl(257 55% 34%);
  border: 1px solid hsl(257 45% 42% / 0.6);
}

/* Ürün kartı */
.product-card {
  background-color: hsl(257 55% 30%);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.15s ease;
}
.product-card:hover { transform: translateY(-2px); }

.product-card-cover {
  aspect-ratio: 2/3;
  overflow: hidden;
  background: hsl(256 65% 16%);
}

/* Yönetim paneli */
.admin-sidebar { background: hsl(256 65% 16%); min-height: 100vh; }
.admin-card { background: hsl(257 55% 30%); border-radius: 0.5rem; }
.admin-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  background: hsl(257 73% 20%);
  border: 1px solid hsl(257 45% 40%);
  color: #fff;
}
.admin-input:focus { outline: 2px solid hsl(45 100% 50%); }
.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
}
.admin-btn-primary { background: hsl(45 100% 50%); color: hsl(257 73% 14%); }
.admin-btn-danger { background: hsl(339 64% 49%); color: #fff; }
.admin-btn-secondary { background: hsl(257 45% 38%); color: #fff; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid hsl(257 45% 40%);
}
.admin-table th { color: hsl(255 30% 78%); font-weight: 500; font-size: 0.875rem; }
