:root {
  font-size: 18px;
}
body {
  background: #000;
  color: #fff;
  font-family: "Inter", sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
}

/* ——— SORTING BAR ——— */
.sort-bar {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.sort-select {
  background: #111;
  border: 1px solid #333;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}
.sort-select:hover {
  background: #222;
}

/* ——— PRODUCT GRID ——— */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 800px;
}
.product-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #111;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.product-card:hover {
  background: #1a1a1a;
  transform: translateY(-3px);
}
.product-card img {
  width: 95px;
  height: 95px;
  object-fit: cover;
  border-radius: 8px;
}
.product-info {
  flex: 1;
}
.product-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #7aa2ff;
}
.product-brand {
  margin-top: 4px;
  font-size: 0.95rem;
  color: #ccc;
}
.product-type {
  margin-top: 4px;
  font-size: 0.9rem;
  color: #aaa;
}
.product-desc {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #ddd;
  line-height: 1.4;
}

/* ——— POPUP MODAL ——— */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10,10,10,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.25s ease;
}
.modal-content {
  background: #111;
  border-radius: 14px;
  padding: 30px;
  width: 90%;
  max-width: 600px;
  color: #fff;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
}
.modal-content img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}
.modal-content h2 {
  font-family: "Space Grotesk", sans-serif;
  color: #7aa2ff;
  margin-bottom: 10px;
}
.modal-content p {
  color: #ccc;
  margin-bottom: 20px;
  line-height: 1.5;
}
.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.coa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  background-color: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 1.1rem;
  font-family: "Space Grotesk", sans-serif;
  border-radius: 10px;
  padding: 18px;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.3s ease;
}
.coa-btn:hover {
  transform: scale(1.02);
  background-color: rgba(20,20,20,0.9);
}
.close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  background: #222;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.3s;
}
.close-btn:hover {
  background: #333;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}