* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #05070f;
  color: white;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.wrapper {
  display: flex;
  min-height: 100vh;

  width: 80%;
  max-width: 1600px;
  margin: 20px auto;

  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  overflow: hidden;
}

/* ================= SIDEBAR ================= */

.sidebar {
  width: 300px;
  background: #0a101c;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 25px;
  overflow-y: auto;
}

.filter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.filter-head h2 {
  font-size: 20px;
}

.reset {
  color: #f5c04d;
  font-size: 14px;
  cursor: pointer;
}

.filter-group {
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.filter-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #cfcfcf;
  cursor: pointer;
}

.checkbox-item input {
  accent-color: #f5c04d;
  width: 16px;
  height: 16px;
}

.see-more {
  margin-top: 10px;
  color: #8c8c8c;
  font-size: 13px;
  cursor: pointer;
}

/* ================= RANGE ================= */

.price-input {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.price-input input {
  width: 100%;
  padding: 12px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: white;
  outline: none;
}

.range {
  width: 100%;
  accent-color: #f5c04d;
}

.range-label {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  color: #9f9f9f;
  font-size: 13px;
}

/* ================= CONTENT ================= */

.content {
  flex: 1;
  padding: 35px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.page-title {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 20px;
}

.search-area {
  display: flex;
  gap: 20px;
  width: 100%;
}

.search-box {
  flex: 1;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 16px 18px;
  background: #0c1320;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  color: white;
  outline: none;
  font-size: 15px;
}

.search-box input::placeholder {
  color: #7e7e7e;
}

.sort-box select {
  padding: 16px 20px;
  background: #0c1320;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  color: white;
  outline: none;
  font-size: 14px;
  min-width: 180px;
}

/* ================= CARD GRID ================= */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.number-card {
  background: linear-gradient(180deg, #111827, #090d16);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

.number-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 192, 77, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.favorite {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #d0d0d0;
  cursor: pointer;
  transition: 0.3s;
}

.favorite:hover {
  color: #ff4f82;
}

.number {
  font-size: 34px;
  font-weight: 500;
  color: #f5c04d;
  margin-bottom: 18px;
}

.provider {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cfcfcf;
  font-size: 14px;
  margin-bottom: 10px;
}

.provider i {
  color: #ff4f82;
  font-size: 12px;
}

.badge {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 30px;
  background: rgba(245, 192, 77, 0.12);
  border: 1px solid rgba(245, 192, 77, 0.2);
  color: #f5c04d;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 20px;
}

.bottom-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 20px;
  font-weight: 700;
  color: #ffd15c;
}

.wa-btn {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: none;
  background: #25D366;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: 0.3s;
}

.wa-btn:hover {
  transform: scale(1.08);
}

/* ================= PAGINATION ================= */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 45px;
  flex-wrap: wrap;
}

.page-btn {
  width: 45px;
  height: 45px;
  border-radius: 14px;
  background: #0d1320;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #cfcfcf;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
}

.page-btn:hover,
.page-btn.active {
  background: #f5c04d;
  color: #111;
  border-color: #f5c04d;
}

/* ================= RESPONSIVE ================= */

@media(max-width:1000px) {

  .wrapper {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .search-area {
    flex-direction: column;
  }

  .sort-box select {
    width: 100%;
  }
}

@media(max-width:700px) {

  .content {
    padding: 20px;
  }

  .page-title {
    font-size: 28px;
  }

  .number {
    font-size: 28px;
  }

  .price {
    font-size: 22px;
  }
}