body { margin: 0; font-family: Arial, sans-serif; }
	#pano { width: 100%; height: 85vh; background: #fff; }
	div.vr:nth-child(2) {display:none;}
	#color-options-bar {
	  position: absolute;
	  top: 45%;
	  right: 60px;
	  display: grid;
	  grid-template-rows: auto auto;
	  grid-template-columns: repeat(5, 40px);
	  grid-gap: 0 16px;
	  justify-items: center;
	  align-items: end;
	  z-index: 20;
	}
	#color-swatches {
	  display: contents;
	}
	.color-btn {
	  width: 40px;
	  height: 40px;
	  border-radius: 50% !important;
	  border: 2px solid #888;
	  margin-right: 16px;
	  outline: none;
	  cursor: pointer;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  position: relative;
	  transition: border 0.2s !important;
	}
	.color-btn.selected {
	  border: 4px solid #444;
	}
	.color-btn:last-child { margin-right: 0; }
	.color-btn .tick {
	  position: absolute;
	  left: 50%;
	  top: 50%;
	  transform: translate(-50%, -50%);
	  color: #fff;
	  font-size: 22px;
	  pointer-events: none;
	  font-weight: bold;
	  text-shadow: 0 1px 2px #222, 0 0 2px #222;
	}
	#color-label {
	  grid-row: 2;
	  grid-column: 1 / 5;
	  margin-top: 4px;
	  font-size: 16px;
	  font-weight: 600;
	  color: #222;
	  text-align: left;
	  justify-self: start;
	  align-self: start;
	  min-height: 44px;
	  line-height: 22px;
	  display: flex;
	  align-items: flex-start;
	  white-space: normal;
	  word-break: break-word;
	}
	#more-colors-btn {
	  width: 40px;
	  height: 40px;
	  border-radius: 50% !important;
	  border: 2px solid #888;
	  background: #fff;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  font-size: 28px;
	  cursor: pointer;
	  margin-left: 16px;
	}
	#more-label {
	  grid-row: 2;
	  grid-column: 5;
	  font-size: 14px;
	  color: #222;
	  margin-top: 4px;
	  text-align: center;
	  justify-self: center;
	  align-self: start;
	}
	#disclaimer {
	  position: absolute;
	  bottom: 20px;
	  right: 60px;
	  left: auto;
	  margin-left: 0;
	  margin-right: 0;
	  font-size: 10px;
	  color: #222;
	  font-weight: 600;
	  font-family: Arial, sans-serif;
	  text-align: right;
	  display: none;
	}
	/* Modal styles */
	#color-modal-bg {
	  display: none;
	  position: fixed;
	  top: 0; left: 0; right: 0; bottom: 0;
	  background: rgba(80,80,80,0.85);
	  z-index: 1000;
	  align-items: center;
	  justify-content: center;
	}
	#color-modal-bg.active {
	  display: flex;
	}
	#color-modal {
  background: #fff;
  border-radius: 28px;
  padding: 32px 32px 0 32px;
  min-width: 320px;
  min-height: 260px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: Arial, sans-serif;
  font-weight: 600;
  width: 420px;
  max-width: 85vw;
}
	#modal-swatches {
	  display: grid;
	  grid-template-columns: 1fr 1fr;
	  gap: 12px 32px;
	  width: 100%;
	  margin-bottom: 24px;
	  font-family: Arial, sans-serif;
	  font-weight: 600;
	}
	.modal-color-btn {
	  width: 32px;
	  height: 32px;
	  border-radius: 50% !important;
	  border: 2px solid #888;
	  margin: 12px 24px 12px 0;
	  outline: none;
	  cursor: pointer;
	  display: inline-flex;
	  align-items: center;
	  justify-content: center;
	  position: relative;
	  transition: border 0.2s !important;
	}
	.modal-color-btn.selected {
	  border: 4px solid #444;
	}
	.modal-color-btn .tick {
	  position: absolute;
	  left: 50%;
	  top: 50%;
	  transform: translate(-50%, -50%);
	  color: #fff;
	  font-size: 18px;
	  pointer-events: none;
	  font-weight: bold;
	  text-shadow: 0 1px 2px #222, 0 0 2px #222;
	}
	.modal-color-label {
	  font-size: 15px;
	  margin-left: 12px;
	  color: #222;
	  font-weight: 600;
	  font-family: Arial, sans-serif;
	  vertical-align: middle;
	}
	#modal-actions {
	  display: flex;
	  width: 100%;
	  border-top: 1px solid #eee;
	  margin-top: 18px;
	  box-shadow: 0 -6px 16px -8px #bbb;
	  position: relative;
	}
	#modal-apply, #modal-cancel {
	  flex: 1;
	  padding: 18px 0;
	  text-align: center;
	  font-size: 16px;
	  font-weight: 700;
	  cursor: pointer;
	  user-select: none;
	  font-family: Arial, sans-serif;
	  font-weight: 600;
	  background: none;
	  border: none;
	  outline: none;
	  position: relative;
	}
	#modal-apply { color: #b00; }
	#modal-cancel { color: #888; }
	/* Vertical separator between apply and cancel */
	#modal-actions:before {
	  content: '';
	  position: absolute;
	  left: 50%;
	  top: 0;
	  bottom: 0;
	  width: 1px;
	  background: #ddd;
	  z-index: 1;
	}
	#spinner {
	  position: absolute;
	  left: 50%;
	  top: 50%;
	  transform: translate(-50%, -50%);
	  z-index: 2000;
	  display: none;
	}
	.spinner {
	  border: 8px solid #f3f3f3;
	  border-top: 8px solid #444;
	  border-radius: 50%;
	  width: 60px;
	  height: 60px;
	  animation: spin 1s linear infinite;
	}
	@keyframes spin {
	  0% { transform: rotate(0deg); }
	  100% { transform: rotate(360deg); }
	}
	.vr {
	  width: 600px;
	  height: 400px;
	  position: relative;
	}
	
	/* Responsive styles for mobile */
	@media (max-width: 600px) {
	  #color-modal {
		min-width: unset;
		width: 90vw;
		max-width: 90vw;
		padding: 16px 12px 0 12px;
		border-radius: 16px;
	  }
	  #modal-swatches {
		grid-template-columns: 1fr;
		gap: 8px 0;
		margin-bottom: 16px;
	  }
	  .modal-color-btn {
		width: 32px;
		height: 32px;
		margin: 8px 12px 8px 0;
		border-radius: 50% !important;
	  }
	  .modal-color-btn .tick {
		font-size: 16px;
	  }
	  .modal-color-label {
		font-size: 14px;
		margin-left: 8px;
	  }
	  #modal-apply, #modal-cancel {
		font-size: 14px;
		padding: 12px 0;
	  }
	  #modal-actions {
		margin-top: 10px;
	  }
	}