/* --- Shape Selection Grid --- */
.shape-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Desktop par 4 columns */
  gap: 20px;
  margin: 20px 0;
}

.shape-item {
  text-align: center;
  border: 2px solid #eee;
  padding: 10px;
  cursor: pointer;
  transition: 0.3s;
  background: #fff3f3;
  border-radius: 20px;
}

.shape-item.active {
  border-color: #007cba; /* Blue border jab select ho */
  background-color: #f0f8ff;
}

.shape-item img {
  max-width: 100%;
  height: auto;
}

.next-btn {
  padding: 10px 40px;
  border-radius: 10px;
  background-color: #050505;
  color: white;
  cursor: pointer;
}

/* --- Canvas Responsive --- */
#canvas {
  max-width: 100%; /* Mobile par canvas bahar nahi jayega */
  height: auto;
  border: 1px solid #ccc;
  display: block;
  /* margin: 20px 0; */
}

.row {
  display: flex;
  gap: 10px;
}
.col-6 {
  width: 50%;
}
.d-flex {
  display: flex;
}
.justify-content-end {
  justify-content: flex-end;
}
.img-fluid {
  width: 100%;
}
.mb-2 {
  margin-bottom: 20px;
}
/* --- RESPONSIVE QUERIES --- */

/* Tablet (iPad) */
@media (max-width: 768px) {
  .shape-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
  }
}

/* Mobile Phone */
@media (max-width: 480px) {
  .shape-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 10px;
  }

  h1 {
    font-size: 20px;
  }

  #shapeNext,
  #photoNext {
    width: 100%; /* Buttons poori width le lenge mobile par */
    padding: 15px;
  }
}
