/* ===== GLOBAL ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0f0f0f;
  color: #fff;
}

/* ===== TOP BAR ===== */
.topbar {
  display: flex;
  align-items: center;
  background: #000;
  color: #d4af37;
  padding: 12px 15px;
  border-bottom: 1px solid rgba(212,175,55,0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

#menuBtn {

  width: 42px;
  height: 42px;

  border-radius: 12px;

  border: 1px solid rgba(212,175,55,0.45);

  background:
    linear-gradient(
      145deg,
      #1a1a1a,
      #0d0d0d
    );

  color: #d4af37;

  font-size: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  box-shadow:
    0 0 8px rgba(212,175,55,0.08);

  transition: all 0.25s ease;
}

#menuBtn:hover {

  transform: scale(1.05);

  border-color:
    rgba(212,175,55,0.85);

  box-shadow:
    0 0 12px rgba(212,175,55,0.18);
}



.topbar h2 {
  flex: 1;
  text-align: center;
  margin: 0;
  font-size: 18px;
}

/* ===== OVERLAY ===== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  z-index: 150;
}

.overlay.show {
  display: block;
}

/* ===== SIDEBAR ===== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100%;
  background: #111;
  padding: 12px;
  transform: translateX(-100%);
  transition: 0.3s ease;
  z-index: 200;
  overflow-y: auto;
  border-right: 1px solid rgba(212,175,55,0.2);
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar h3 {
  color: #d4af37;
  font-size: 18px;
  font-weight: bold;
  margin: 14px 0;
  cursor: pointer;
  letter-spacing: 0.5px;
}


.sidebar div div {
  padding: 8px 0;
  color: #ccc;
  font-size: 15px;
}


/* ===== MAIN ===== */
.main {
  padding: 20px;
}

/* ===== GRID ===== */
/* ===== PRODUCT GRID ===== */

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}


@media (min-width: 768px) {

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}



/* ===== CARD ===== */
.card {
  background: #121212;
  border-radius: 12px;
  padding: 10px;
  border: 1px solid rgba(212,175,55,0.25);
}


.card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  background: #000;
}

.card h4 {
  color: #f5d76e;
  margin: 8px 0;
}

.qty {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  background: black;
  color: white;
  border: 1px solid #d4af37;
}

.price {
  color: #d4af37;
  font-weight: bold;
}

.buy {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border-radius: 20px;
  background: linear-gradient(45deg, #d4af37, #f5d76e);
  border: none;
  cursor: pointer;
}

/* ===== MOBILE ===== */
/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .main {
    padding: 12px;
  }

  /* ONE CARD PER ROW */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }


.card {

  background: #151515;

  border: 1.5px solid rgba(212,175,55,0.45);

  border-radius: 16px;

  padding: 12px;

  box-shadow:
    0 0 8px rgba(212,175,55,0.08),
    0 6px 18px rgba(0,0,0,0.6);

  transition: all 0.25s ease;
}

.card:hover {

  transform: translateY(-2px);

  border-color: rgba(212,175,55,0.8);

  box-shadow:
    0 0 12px rgba(212,175,55,0.18),
    0 8px 22px rgba(0,0,0,0.7);
}


  
  

  .card img {
    height: 220px;
  }

  .card h4 {
    font-size: 16px;
  }


.card p {
  font-size: 13px;
  opacity: 0.9;
  margin: 4px 0;
}

  .buy {
    padding: 10px;
    font-size: 14px;
  }
}


.desc {
  font-size: 12px;
  line-height: 1.3;
  opacity: 0.9;
  margin: 4px 0 2px 0;
}

.pricingText {

  white-space: pre-line;

  font-size: 11px;

  color: #d4af37;

  line-height: 1.3;

  margin: 2px 0 4px 0;

  padding: 0;
}
body {
  overflow-x: hidden;
}

.pagination {

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 10px;

  margin-top: 20px;
}

.pagination button {

  background:
    linear-gradient(
      45deg,
      #d4af37,
      #f5d76e
    );

  border: none;

  padding: 8px 14px;

  border-radius: 20px;

  font-weight: bold;

  cursor: pointer;
}

#backBtn {
  background: none;
  border: none;
  color: #d4af37;
  font-size: 22px;
  cursor: pointer;
}

#searchInput{
  width:100%;
  padding:12px;
  margin-bottom:15px;
  border-radius:8px;
  border:1px solid #ccc;
  font-size:16px;
}