body {
      background: #f8f8f8;
      padding: 2rem;
}
header {
      text-align: center;
      margin-bottom: 2rem;
}
.store-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1.5rem;
}
.product {
      background: #fff;
      border-radius: 8px;
      padding: 1rem;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      text-align: center;
      transition: transform 0.15s ease;
}
.product:hover {
      transform: translateY(-3px);
}
.product img {
      max-width: 100%;
      height: 120px;
      object-fit: contain;
      margin-bottom: 1rem;
}
.price {
      color: #888;
      font-size: 1.5rem;
      margin-bottom: 0.5rem;
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.modal-content {
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  max-width: 90%;
  width: 800px; /* increase width */
  text-align: center;
  position: relative;
}

model-viewer {
  width: 100%;      /* fill modal width */
  height: 600px;    /* bigger height */
  background-color: #fafafa;
  border-radius: 8px;
}
@media (max-width: 600px) {
  .modal-content {
    width: 95%;
  }
  model-viewer {
    height: 400px;
  }
}

.cart-item {
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  background: #f5f5f5;
  border-radius: 4px;
  cursor: pointer;
}

.remove-btn {
  background: #ff4444;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
}

.remove-btn:hover {
  background: #cc0000;
}

/* Notification */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #4CAF50;
  color: white;
  padding: 1rem;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  display: none;
}

/* Admin Styles */
.admin-nav {
    background: white;
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #cce7ff; color: #004085; }
.status-completed { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }

.order-card {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-right: 4px solid #ddd;
}

.order-card.pending { border-right-color: #ffa500; }
.order-card.confirmed { border-right-color: #007bff; }
.order-card.completed { border-right-color: #28a745; }
.order-card.cancelled { border-right-color: #dc3545; }