body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  margin: 0;
  padding: 0;
  color: #111;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  border-bottom: 1px solid #ddd;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 5;
}

.left-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.left-logo img {
  width: 26px;
  height: 26px;
}

header h1 {
  font-size: 16px;
  font-weight: 600;
}

.price-btn {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-btn span {
  font-weight: bold;
  font-size: 18px;
}

.price-btn button {
  background-color: black;
  color: white;
  border: none;
  padding: 6px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

.container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
  padding: 60px 20px;
  flex-wrap: wrap;
}

.product-image img {
  max-width: 350px;
  border-radius: 8px;
}

.product-info {
  max-width: 400px;
}

.product-info h2 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 5px;
}

.product-info p.price {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0;
}

.buy-btn {
  width: 100%;
  background-color: black;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.buy-btn:hover {
  background-color: #222;
}

.creator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.creator img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.creator span {
  font-size: 15px;
  font-weight: 500;
}

.reviews {
  margin-top: 30px;
}

.reviews h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.review-box {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.review {
  width: 220px;
  height: 100px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.review.active {
  display: flex;
}

.stars {
  color: gold;
  font-size: 18px;
  margin-bottom: 5px;
}

.review p {
  font-size: 14px;
  color: #333;
}

.counter {
  text-align: right;
  font-size: 13px;
  color: #666;
  margin: 5px 0;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 5px;
}

.controls button {
  border: none;
  background: #000;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.view-all-btn {
  margin-top: 15px;
  background: #fff;
  color: #000;
  border: 1px solid #ccc;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
}

.view-all-btn:hover {
  background-color: #f3f3f3;
}

.beacons-badge {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  cursor: default;
}

.beacons-badge img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.beacons-badge strong {
  font-weight: 700;
}


/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  width: 340px;
  max-height: 600px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.2);
  overflow-y: auto;
  padding: 20px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}

.modal-header h2 {
  font-size: 18px;
  font-weight: bold;
}

.close {
  font-size: 22px;
  cursor: pointer;
}

.modal-body {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: #ccc #f9f9f9;
}

.modal-review {
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}
